nir: Copy propagate through vec8s and vec16s
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4365>
This commit is contained in:
parent
842338e2f0
commit
f5bbdf7621
|
@ -61,9 +61,8 @@ static bool is_vec(nir_alu_instr *instr)
|
|||
return false;
|
||||
}
|
||||
|
||||
return instr->op == nir_op_vec2 ||
|
||||
instr->op == nir_op_vec3 ||
|
||||
instr->op == nir_op_vec4;
|
||||
assert(instr->dest.dest.is_ssa);
|
||||
return nir_op_is_vec(instr->op);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
Loading…
Reference in New Issue