summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/ir_to_mesa.cpp
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-09-09 17:27:17 -0400
committerRob Clark <[email protected]>2015-09-09 17:34:47 -0400
commit9ce2e3072696428277988040908c9ae7a0abf9ad (patch)
tree1118ecc5f232492a175762cdfab052cbab5febde /src/mesa/program/ir_to_mesa.cpp
parente50c01d5af305e07110cb4a38d5a655437058f04 (diff)
gallium/ttn: fix cursor handling vs builder
After inserting instructions the cursor.option becomes _after_instr (even if it started life as an _after_block). So we cannot simply stash the current cursor on the if/loop_stack. Otherwise we end up inserting instructions after the endif/endloop in the block preceeding the if/ loop. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program/ir_to_mesa.cpp')
0 files changed, 0 insertions, 0 deletions