mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
intel/fs: Fix an assert in load_scratch
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6405>
This commit is contained in:
parent
63dd1e980c
commit
febe762246
1 changed files with 1 additions and 1 deletions
|
|
@ -4818,7 +4818,7 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
|
|||
/* Read the vector */
|
||||
assert(nir_dest_num_components(instr->dest) == 1);
|
||||
assert(nir_dest_bit_size(instr->dest) <= 32);
|
||||
assert(nir_intrinsic_align(instr) > 1);
|
||||
assert(nir_intrinsic_align(instr) > 0);
|
||||
if (nir_dest_bit_size(instr->dest) >= 4 &&
|
||||
nir_intrinsic_align(instr) >= 4) {
|
||||
/* The offset for a DWORD scattered message is in dwords. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue