freedreno/a4xx: clear cached fp when switching blit prog
authorRob Clark <robclark@freedesktop.org>
Mon, 10 Aug 2015 11:11:56 +0000 (07:11 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 10 Aug 2015 11:12:54 +0000 (07:12 -0400)
commitd2f669e6c72a16dede22f107c3b015ec0516bc56
tree82b993dafaa148907418d44b1ce24d20663001f5
parent6dabf455970f3a1fdbf384a53621ebe2bcd7545e
freedreno/a4xx: 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/a4xx/fd4_gmem.c