From 30d6bc470a1a75ead8afa08a90ad96a50331f1cd Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 21 Jul 2017 18:08:37 -0700 Subject: [PATCH] i965: Set lower_vote_trivial in vector_nir_options_gen6 too. There's a second struct for Gen6+. Reviewed-by: Matt Turner --- src/intel/compiler/brw_compiler.c | 1 + 1 file changed, 1 insertion(+) 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, }; -- 2.30.2