mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 09:20:23 +01:00
ttn: fix 64-bit shift on 32-bit 1
Fixes:4d0b2c7aaa("ttn: Update shader->info as we generate code.") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Rob Clark <robdclark@gmail.com> (cherry picked from commit3afe9d798a)
This commit is contained in:
parent
4115781efa
commit
524373ba99
1 changed files with 1 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ ttn_src_for_file_and_index(struct ttn_compile *c, unsigned file, unsigned index,
|
|||
|
||||
src = nir_src_for_ssa(load);
|
||||
b->shader->info.system_values_read |=
|
||||
(1 << nir_system_value_from_intrinsic(op));
|
||||
(1ull << nir_system_value_from_intrinsic(op));
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue