mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 04:30:29 +01:00
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 <christian.koenig@amd.com>
This commit is contained in:
parent
98a8e5b87e
commit
462de2e65f
1 changed files with 1 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue