diff options
author | Christian König <[email protected]> | 2013-03-25 10:57:48 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2013-03-26 10:22:27 +0100 |
commit | 462de2e65ff084f5f0b8baa75445ced60ddc517a (patch) | |
tree | 1c716067c42b94828b6ee76baafee5138ee8f7a2 /src/mesa/state_tracker | |
parent | 98a8e5b87ea99bc64ad85a6b9095f63f71fdbf91 (diff) |
glsl_to_tgsi: make simplify_cmp work with arrays
Even when we have arrays it is possible for simplify_cmp
to work on temps, just not on arrays.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=62696
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index e3718eeda3f..08855647c87 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -3191,7 +3191,7 @@ glsl_to_tgsi_visitor::simplify_cmp(void) prevWriteMask = tempWrites[inst->dst.index]; tempWrites[inst->dst.index] |= inst->dst.writemask; } else - break; + continue; /* For a CMP to be considered a conditional write, the destination * register and source register two must be the same. */ |