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:
Karol Herbst 2023-08-29 20:33:42 +02:00 committed by Marge Bot
parent ce5d1100eb
commit 9f8a466e03

View file

@ -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);