summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2022-05-09 14:40:52 +1000
committerMarge Bot <emma+marge@anholt.net>2022-05-17 02:12:21 +0000
commit643774cdab0b66442b054bf32019c2884a6265c1 (patch)
tree85f5369930626642655c7ec125e3990340445f70 /src/gallium/drivers/i915
parent792c9a0a24c8d46c0f1ee58162c0c24cc8fb228b (diff)
i915g: use a valid setting for force_indirect_unrolling
Otherwise we can hit asserts for example nir_deref_mode_must_be() asserts on !(modes & ~nir_var_all) Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16543>
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index f107738e6e7..658d6275e78 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -120,7 +120,7 @@ static const nir_shader_compiler_options i915_compiler_options = {
.lower_uniforms_to_ubo = true,
.lower_vector_cmp = true,
.use_interpolated_input_intrinsics = true,
- .force_indirect_unrolling = ~0,
+ .force_indirect_unrolling = nir_var_all,
.force_indirect_unrolling_sampler = true,
};