summaryrefslogtreecommitdiff
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorIcecream95 <ixn@disroot.org>2020-12-23 01:53:15 +1300
committerMarge Bot <eric+marge@anholt.net>2021-01-01 02:58:49 +0000
commit65354d76710fa1e32e5432ad5bb7926e5cfd9c7a (patch)
tree41f85427eba1e4aa746ee506ef7f7ccb1fd07c8b /src/panfrost/midgard
parentfbc97ab125265e087b4d940a22dc358339a026fd (diff)
pan/mdg: Set compute lowering options
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8264>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/midgard_compile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_compile.h b/src/panfrost/midgard/midgard_compile.h
index a6bedb6dddd..3b393998393 100644
--- a/src/panfrost/midgard/midgard_compile.h
+++ b/src/panfrost/midgard/midgard_compile.h
@@ -79,7 +79,10 @@ static const nir_shader_compiler_options midgard_nir_options = {
.lower_bitfield_extract_to_shifts = true,
.vectorize_io = true,
- .use_interpolated_input_intrinsics = true
+ .use_interpolated_input_intrinsics = true,
+
+ .has_cs_global_id = true,
+ .lower_cs_local_index_from_id = true,
};
#endif