i965: Set lower_vote_trivial in vector_nir_options_gen6 too.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 22 Jul 2017 01:08:37 +0000 (18:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 22 Jul 2017 01:09:01 +0000 (18:09 -0700)
There's a second struct for Gen6+.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_compiler.c

index 27fea4c..2f6af7d 100644 (file)
@@ -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,
 };