mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 17:50:12 +01:00
i965/vec4: Don't attempt to reduce swizzles of send from GRF instructions.
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
bda7698fce
commit
63d6d09a3b
1 changed files with 2 additions and 1 deletions
|
|
@ -455,7 +455,8 @@ vec4_visitor::opt_reduce_swizzle()
|
||||||
bool progress = false;
|
bool progress = false;
|
||||||
|
|
||||||
foreach_block_and_inst_safe(block, vec4_instruction, inst, cfg) {
|
foreach_block_and_inst_safe(block, vec4_instruction, inst, cfg) {
|
||||||
if (inst->dst.file == BAD_FILE || inst->dst.file == HW_REG)
|
if (inst->dst.file == BAD_FILE || inst->dst.file == HW_REG ||
|
||||||
|
inst->is_send_from_grf())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int swizzle[4];
|
int swizzle[4];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue