diff options
Diffstat (limited to 'src/freedreno/ir3/ir3_compiler.c')
-rw-r--r-- | src/freedreno/ir3/ir3_compiler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_compiler.c b/src/freedreno/ir3/ir3_compiler.c index 0cfbefb77b7..07b16044f2d 100644 --- a/src/freedreno/ir3/ir3_compiler.c +++ b/src/freedreno/ir3/ir3_compiler.c @@ -115,6 +115,7 @@ static const nir_shader_compiler_options nir_options = { .has_isub = true, .lower_wpos_pntc = true, .lower_cs_local_index_to_id = true, + .force_indirect_unrolling_sampler = true, /* Only needed for the spirv_to_nir() pass done in ir3_cmdline.c * but that should be harmless for GL since 64b is not @@ -172,6 +173,7 @@ static const nir_shader_compiler_options nir_options_a6xx = { .has_isub = true, .max_unroll_iterations = 32, .force_indirect_unrolling = nir_var_all, + .force_indirect_unrolling_sampler = true, .lower_wpos_pntc = true, .lower_cs_local_index_to_id = true, |