mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
nir: Increase tex opcode bits from 5 to 6 in nir_instr_set
We are already at our limit of 31 texture opcodes, and cannot add any more without expanding the opcode hashing in nir_instr_set. Thankfully, it's at 29 bits, so adding one here is possible still. Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40833>
This commit is contained in:
parent
73701c305e
commit
0c0fea1cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ pack_tex(const nir_tex_instr *instr)
|
|||
bit += bits; \
|
||||
} while (0)
|
||||
|
||||
PACK(instr->op, 5);
|
||||
PACK(instr->op, 6);
|
||||
PACK(instr->num_srcs, 5);
|
||||
PACK(instr->sampler_dim, 4);
|
||||
PACK(instr->coord_components, 3);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue