mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 09:00:30 +01:00
asahi: handle load_global_invocation_id_zero_base
Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>
This commit is contained in:
parent
ce5d1100eb
commit
9f8a466e03
1 changed files with 1 additions and 0 deletions
|
|
@ -1082,6 +1082,7 @@ agx_emit_intrinsic(agx_builder *b, nir_intrinsic_instr *instr)
|
|||
AGX_SR_THREADS_PER_THREADGROUP_X);
|
||||
|
||||
case nir_intrinsic_load_global_invocation_id:
|
||||
case nir_intrinsic_load_global_invocation_id_zero_base:
|
||||
return agx_load_compute_dimension(b, dst, instr,
|
||||
AGX_SR_THREAD_POSITION_IN_GRID_X);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue