freedreno/a3xx: re-emit shaders on variant change
authorRob Clark <robclark@freedesktop.org>
Mon, 29 Sep 2014 18:29:04 +0000 (14:29 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 29 Sep 2014 22:30:43 +0000 (18:30 -0400)
commitdce96f6da2d8ec4c17403db57326731dcf9d6051
treef67c855ab414c09186241410f37c224de910d911
parent3aaab87563e40bdd8fb98494d7e3eb844521476c
freedreno/a3xx: re-emit shaders on variant change

We need to keep track if a state change other than frag/vert shader
state will trigger us to need a different shader variant, and if
necessary mark the appropriate shader state as dirty.  Otherwise we will
forget to re-emit the shader state.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_context.h
src/gallium/drivers/freedreno/a3xx/fd3_draw.c