mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
nir/lower_system_values: Use the correct invication id for CS
This commit is contained in:
parent
d8c0e0805b
commit
13858a1c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ convert_block(nir_block *block, void *void_state)
|
|||
* gl_WorkGroupSize.x + gl_LocalInvocationID.x"
|
||||
*/
|
||||
nir_ssa_def *local_id =
|
||||
nir_load_system_value(b, nir_intrinsic_load_invocation_id, 0);
|
||||
nir_load_system_value(b, nir_intrinsic_load_local_invocation_id, 0);
|
||||
|
||||
unsigned stride_y = b->shader->info.cs.local_size[0];
|
||||
unsigned stride_z = b->shader->info.cs.local_size[0] *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue