mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
r600g: Check comp_mask before merging export instructions
Fixes a llvm uncovered (rare) bug where consecutive exports were
merged even if they have incompatible mask.
(cherry picked from commit 83e7d111af)
This commit is contained in:
parent
9a5f513773
commit
1dc162d52f
1 changed files with 1 additions and 0 deletions
|
|
@ -322,6 +322,7 @@ int r600_bytecode_add_output(struct r600_bytecode *bc, const struct r600_bytecod
|
|||
output->swizzle_y == bc->cf_last->output.swizzle_y &&
|
||||
output->swizzle_z == bc->cf_last->output.swizzle_z &&
|
||||
output->swizzle_w == bc->cf_last->output.swizzle_w &&
|
||||
output->comp_mask == bc->cf_last->output.comp_mask &&
|
||||
(output->burst_count + bc->cf_last->output.burst_count) <= 16) {
|
||||
|
||||
if ((output->gpr + output->burst_count) == bc->cf_last->output.gpr &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue