freedreno/a3xx: only emit dirty consts
authorRob Clark <robclark@freedesktop.org>
Fri, 17 Oct 2014 12:57:16 +0000 (08:57 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 21 Oct 2014 01:42:44 +0000 (21:42 -0400)
commit94bb33617d1e8978dc52b8aaa4eb41bfb6703f79
tree27b61c1659269a6b626c784a2aebc79f2b1ebb8d
parent74069e324e559a9361ebe631d1b819ff6e675c8f
freedreno/a3xx: only emit dirty consts

If app only updates (for example) vertex uniforms, it would be nice to
only re-emit those and not also frag uniforms.  Means we need to mark
the first frag shader const buffer dirty after a clear.

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