From d7a071a28f8c49a4d105701221b39b9b6055893c Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 11 May 2022 22:44:44 +1000 Subject: gallium/drivers: set force_indirect_unrolling_sampler for all required drivers This is set to true for all drivers that have a GLSL level of support lower than 4.00. This matches the rule for setting the GLSL IR option EmitNoIndirectSampler. Reviewed-by: Emma Anholt Part-of: --- src/panfrost/midgard/midgard_compile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/panfrost/midgard/midgard_compile.h') diff --git a/src/panfrost/midgard/midgard_compile.h b/src/panfrost/midgard/midgard_compile.h index f9c44f9cac2..3c5193f63fe 100644 --- a/src/panfrost/midgard/midgard_compile.h +++ b/src/panfrost/midgard/midgard_compile.h @@ -97,6 +97,7 @@ static const nir_shader_compiler_options midgard_nir_options = { .lower_cs_local_index_to_id = true, .max_unroll_iterations = 32, .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), + .force_indirect_unrolling_sampler = true, }; #endif -- cgit v1.2.3