freedreno/a3xx: clear cached fp when switching blit prog
authorRob Clark <robclark@freedesktop.org>
Sun, 9 Aug 2015 12:38:25 +0000 (08:38 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 10 Aug 2015 11:12:54 +0000 (07:12 -0400)
commit6dabf455970f3a1fdbf384a53621ebe2bcd7545e
treeba99710baebe6ba6aa1989e3df2203a672a31500
parent08f2dfe3430789085c165ce7c546d5afd2e295c2
freedreno/a3xx: clear cached fp when switching blit prog

For gmem restore (mem2gmem), we swap blit programs, in order to have a
different frag shader for depth vs color restore.  But we weren't
actually clearing the cached fp, so it would not actually change the
frag shader as expected.

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