diff options
author | Bryan Cain <[email protected]> | 2011-12-08 13:48:27 -0600 |
---|---|---|
committer | Bryan Cain <[email protected]> | 2011-12-08 13:54:16 -0600 |
commit | 20b0daf82de91fd57b7e8d825786789149f6358d (patch) | |
tree | c21d3a3ae4adbedd1a513c78806dfd75189ac15a /src/mesa/swrast/swrast.h | |
parent | 6cf7245f6938e27c9b8a1742f27659aec017bbdc (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/swrast.h')
0 files changed, 0 insertions, 0 deletions