From 7c6aa5f49d7263fa9b73c9764bb0afed7d562f4b Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Wed, 23 Dec 2020 01:28:02 +1300 Subject: [PATCH] pan/bi: Set compute lowering options Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h index 7aa5a386761..9c94087dba2 100644 --- a/src/panfrost/bifrost/bifrost_compile.h +++ b/src/panfrost/bifrost/bifrost_compile.h @@ -80,6 +80,9 @@ static const nir_shader_compiler_options bifrost_nir_options = { .use_interpolated_input_intrinsics = true, .lower_uniforms_to_ubo = true, + + .has_cs_global_id = true, + .lower_cs_local_index_from_id = true, }; #endif