summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-06-17 17:12:25 -0500
committerKenneth Graunke <[email protected]>2020-01-03 00:41:50 +0000
commitd0d28c783d41960a556441593d80925dc0e9aaf0 (patch)
tree66043466588156b4cc622fc9318638983454dcb5 /src/intel
parent19ed12afd170c97180a9cc7eb6c5589d4c427a40 (diff)
iris: Set nir_shader_compiler_options::unify_interfaces.
This is technically enabling the option in the common intel backend code, but only the st/nir linker uses the option, so it's iris-only. Fixes Piglit's spec/glsl-1.50/execution/geometry/clip-distance-vs-gs-out Closes: #2274 Reviewed-by: Timothy Arceri <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3249> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3249>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/compiler/brw_compiler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c
index 06b70193dd6..0a4140eda43 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -194,6 +194,9 @@ brw_compiler_create(void *mem_ctx, const struct gen_device_info *devinfo)
nir_options->lower_int64_options = int64_options;
nir_options->lower_doubles_options = fp64_options;
+
+ nir_options->unify_interfaces = i < MESA_SHADER_FRAGMENT;
+
compiler->glsl_compiler_options[i].NirOptions = nir_options;
compiler->glsl_compiler_options[i].ClampBlockIndicesToArrayBounds = true;