[Mesa-dev] [PATCH 1/4] gallium: add fragment shader property for color writes to all buffers.

2010-12-23 Thread Dave Airlie
For GL fragColor semantics we need to tell the pipe drivers that the fragment shader color result is to be replicated to all bound color buffers, this adds the basic TGSI + documentation. Signed-off-by: Dave Airlie airl...@redhat.com --- src/gallium/auxiliary/tgsi/tgsi_text.c |3 +++

Re: [Mesa-dev] [PATCH 1/4] gallium: add fragment shader property for color writes to all buffers.

2010-12-23 Thread Tilman Sauerbeck
Dave Airlie [2010-12-23 18:43]: --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -1265,6 +1265,7 @@ static const char *property_names[] = GS_MAX_OUTPUT_VERTICES, FS_COORD_ORIGIN, FS_COORD_PIXEL_CENTER + FS_COLOR0_WRITE_ALL_CBUFS };

Re: [Mesa-dev] [PATCH 1/4] gallium: add fragment shader property for color writes to all buffers.

2010-12-23 Thread Keith Whitwell
Dave, This all looks good to me (modulo the glitch Tilman pointed out). Keith On Thu, 2010-12-23 at 00:43 -0800, Dave Airlie wrote: For GL fragColor semantics we need to tell the pipe drivers that the fragment shader color result is to be replicated to all bound color buffers, this adds the