gallium: add fragment shader property for color writes to all buffers. (v2)
authorDave Airlie <airlied@redhat.com>
Sat, 18 Dec 2010 00:34:35 +0000 (10:34 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Dec 2010 21:19:57 +0000 (07:19 +1000)
commitc9c8a5ed02408495b3132cabd7947cc352a117a2
treeb2f7d6a72e798d77c33d304b3ab69c280c4d5745
parenteccffe2328aff8c81b82287cf9567a2a67ff09c6
gallium: add fragment shader property for color writes to all buffers. (v2)

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.

v2: fix missing comma pointed out by Tilman on mesa-dev.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_text.c
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h
src/gallium/docs/source/tgsi.rst
src/gallium/include/pipe/p_shader_tokens.h