freedreno/a4xx: move where SP_FS_MRT_REGn is emitted
authorRob Clark <robclark@freedesktop.org>
Sat, 15 Nov 2014 17:49:22 +0000 (12:49 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 15 Nov 2014 23:16:36 +0000 (18:16 -0500)
commit0c6275300e7eeee347cecc3f41d1a62f9e0592ef
tree5a762f6b5280491c5afa28d7c45b5a15bddab84a
parente07c9a288c8bf41ecf2dc15f5e26542d9219bb69
freedreno/a4xx: move where SP_FS_MRT_REGn is emitted

Addition of color fmt bitfield to this register (compared to a3xx) means
we need to re-emit if either prog or framebuffer state is dirty.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c