OSDN Git Service

r600/sb: update last_cf for finalize if.
authorDave Airlie <airlied@redhat.com>
Mon, 31 Aug 2015 04:22:23 +0000 (14:22 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 31 Aug 2015 21:39:24 +0000 (07:39 +1000)
commit3063913f77cd2db1a263cb824a5c8c3dcc1a51a0
tree8e6f2d58a871c176d0d97720463cebfe1665f922
parenta4ba41638d41865ef34bf36a525efcf8102c01ee
r600/sb: update last_cf for finalize if.

As Glenn did for finalize_loop we need to update_cf when we
add a POP at the end of a shader.

I think this fixes one of the earlier shader going off end
of memory problems we've stopped.

Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
Cc: "10.6" "11.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/sb/sb_bc_finalize.cpp