summaryrefslogtreecommitdiff
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorIcecream95 <ixn@disroot.org>2020-12-29 00:44:56 +1300
committerMarge Bot <eric+marge@anholt.net>2021-01-18 20:49:45 +0000
commitf5a35918db04dfe051e903a89323d9d8ba47c78a (patch)
treed4b11f8cc4dd95d2fd737e0aa746662fc3b3c97e /src/panfrost/midgard
parent76fa57d1955f2767dce9d9a583bddd73d751d83c (diff)
panfrost: Add a sysval for local_group_size
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/midgard_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index 253cdedc53f..46eadd53c86 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -1809,6 +1809,7 @@ emit_intrinsic(compiler_context *ctx, nir_intrinsic_instr *instr)
case nir_intrinsic_load_viewport_offset:
case nir_intrinsic_load_num_work_groups:
case nir_intrinsic_load_sampler_lod_parameters_pan:
+ case nir_intrinsic_load_local_group_size:
emit_sysval_read(ctx, &instr->instr, 3, 0);
break;