summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_masking.c
diff options
context:
space:
mode:
authorBryan Cain <[email protected]>2011-12-08 13:48:27 -0600
committerBryan Cain <[email protected]>2011-12-08 13:54:16 -0600
commit20b0daf82de91fd57b7e8d825786789149f6358d (patch)
treec21d3a3ae4adbedd1a513c78806dfd75189ac15a /src/mesa/swrast/s_masking.c
parent6cf7245f6938e27c9b8a1742f27659aec017bbdc (diff)
glsl_to_tgsi: fix a bug in eliminate_dead_code_advanced()
The bug, reported to me by Vadim Girlin on IRC, was causing overzealous elimination of code in parallel if statements such as the following: if (x) { r = false; } if (y) { r = true; } Before this commit, the assignment inside the first if block would be misdetected as dead code and removed.
Diffstat (limited to 'src/mesa/swrast/s_masking.c')
0 files changed, 0 insertions, 0 deletions