summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-07-21 18:08:37 -0700
committerKenneth Graunke <[email protected]>2017-07-21 18:09:01 -0700
commit30d6bc470a1a75ead8afa08a90ad96a50331f1cd (patch)
tree17d3a6967e18293190cbabdab322e8ceceb2c2fb /src/intel/compiler
parent22bca8ef19e2f4e814e27d4af8d1962f343b0259 (diff)
i965: Set lower_vote_trivial in vector_nir_options_gen6 too.
There's a second struct for Gen6+. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/compiler')
-rw-r--r--src/intel/compiler/brw_compiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c
index 27fea4c8a00..2f6af7d2c3f 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -99,6 +99,7 @@ static const struct nir_shader_compiler_options vector_nir_options_gen6 = {
.lower_unpack_unorm_2x16 = true,
.lower_extract_byte = true,
.lower_extract_word = true,
+ .lower_vote_trivial = true,
.max_unroll_iterations = 32,
};