summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_sanity.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-04-02 10:47:23 -0400
committerRob Clark <[email protected]>2018-04-03 06:08:56 -0400
commit91f9450b3222469d93c270b8ca5fb4bf2ef584f2 (patch)
treef116835d71b69b7cffb9212b2ff1322388cd3a1e /src/gallium/auxiliary/tgsi/tgsi_sanity.c
parent7e9b7ec094500f1245eed518592f99244e54a753 (diff)
freedreno/ir3: fix fallout of unused false-depth elimination
Since we were MARK flag for both preventing loops, and tracking whether instructions were used, we could end up in an infinite loop due to bd2ca2bcdd. Instead invert the logic.. mark all instructions UNUSED up front and clear the flag as we visit them. Fixes: bd2ca2bcdd freedreno/ir3: eliminate unused false-deps Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_sanity.c')
0 files changed, 0 insertions, 0 deletions