From: Kenneth Graunke Date: Sat, 22 Jul 2017 01:08:37 +0000 (-0700) Subject: i965: Set lower_vote_trivial in vector_nir_options_gen6 too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30d6bc470a1a75ead8afa08a90ad96a50331f1cd;p=mesa.git i965: Set lower_vote_trivial in vector_nir_options_gen6 too. There's a second struct for Gen6+. Reviewed-by: Matt Turner --- 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, };