freedreno/ir3: fix fallout from new block iterators
authorRob Clark <robclark@freedesktop.org>
Mon, 9 May 2016 17:51:18 +0000 (13:51 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 9 May 2016 17:52:29 +0000 (13:52 -0400)
commit57763ee73556ad6cbe988d042b46a7c35536cae9
tree636362d09c2c0c9c3c1174fff6c5449442ff6ff4
parentfe102f7677547a48e2985b78ff6671a2ac9da9c4
freedreno/ir3: fix fallout from new block iterators

Since this is potentially modifying the block structure of the shader,
it needs the _safe() version of the iterator.

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