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:
@@ -455,7 +455,8 @@ vec4_visitor::opt_reduce_swizzle()
|
||||
bool progress = false;
|
||||
|
||||
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;
|
||||
|
||||
int swizzle[4];
|
||||
|
||||
Reference in New Issue
Block a user