radeonsi: Collapse SSA check
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24432>
This commit is contained in:
committed by
Marge Bot
parent
b047016e70
commit
84f7fb70e1
@@ -15,8 +15,7 @@ bool si_alu_to_scalar_packed_math_filter(const nir_instr *instr, const void *dat
|
||||
if (instr->type == nir_instr_type_alu) {
|
||||
nir_alu_instr *alu = nir_instr_as_alu(instr);
|
||||
|
||||
if (alu->dest.dest.is_ssa &&
|
||||
alu->dest.dest.ssa.bit_size == 16 &&
|
||||
if (alu->dest.dest.ssa.bit_size == 16 &&
|
||||
alu->dest.dest.ssa.num_components == 2)
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user