intel: use imm-helpers
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23855>
This commit is contained in:

committed by
Marge Bot

parent
0b57f76986
commit
c4b6b0d949
@@ -100,7 +100,7 @@ compute_local_index_id(nir_builder *b,
|
||||
id_x = nir_umod(b, block, size_x);
|
||||
id_y = nir_umod(b,
|
||||
nir_iadd(b,
|
||||
nir_umod(b, linear, nir_imm_int(b, height)),
|
||||
nir_umod_imm(b, linear, height),
|
||||
nir_imul_imm(b,
|
||||
nir_udiv(b, block, size_x),
|
||||
height)),
|
||||
|
Reference in New Issue
Block a user