mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
zink: use right function to get src_type in eliminate_io_wrmasks
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24950>
This commit is contained in:
parent
459b49a174
commit
8b4904405e
1 changed files with 1 additions and 1 deletions
|
|
@ -5326,7 +5326,7 @@ eliminate_io_wrmasks_instr(const nir_instr *instr, const void *data)
|
|||
unsigned num_components = util_bitcount(wrmask);
|
||||
if (num_components != src_components)
|
||||
return true;
|
||||
if ((nir_intrinsic_instr_src_type(intr, 0) & NIR_ALU_TYPE_SIZE_MASK) == 64)
|
||||
if ((nir_intrinsic_src_type(intr) & NIR_ALU_TYPE_SIZE_MASK) == 64)
|
||||
num_components *= 2;
|
||||
if (nir->xfb_info) {
|
||||
nir_io_semantics s = nir_intrinsic_io_semantics(intr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue