freedreno/ir3: handle color clamp variant ourselves
authorRob Clark <robclark@freedesktop.org>
Mon, 25 Apr 2016 13:07:04 +0000 (09:07 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 30 Apr 2016 18:56:19 +0000 (14:56 -0400)
commite04db879f8933915501bfb9cce0d1359d62766bd
tree765b56d0a273fefaa0a922e037842e1c445a15fd
parent64abf6d404be9030d1232e1533a64edb09ad8b13
freedreno/ir3: handle color clamp variant ourselves

Now that there is a pass to do this in NIR, lets just use that and
manage the variants ourself, rather than letting state-tracker do it.
This way, mesa/st will precompile shaders without requiring
ST_DEBUG=precompile (which requires a debug build).

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_draw.c
src/gallium/drivers/freedreno/a4xx/fd4_draw.c
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/ir3/ir3_nir.c
src/gallium/drivers/freedreno/ir3/ir3_shader.h