projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792c9a0
)
i915g: use a valid setting for force_indirect_unrolling
author
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 9 May 2022 04:40:52 +0000
(14:40 +1000)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 17 May 2022 02:12:21 +0000
(
02:12
+0000)
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>
src/gallium/drivers/i915/i915_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_screen.c
b/src/gallium/drivers/i915/i915_screen.c
index
f107738
..
658d627
100644
(file)
--- 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,
};