Module: Mesa
Branch: master
Commit: 30d6bc470a1a75ead8afa08a90ad96a50331f1cd
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=30d6bc470a1a75ead8afa08a90ad96a50331f1cd

Author: Kenneth Graunke <[email protected]>
Date:   Fri Jul 21 18:08:37 2017 -0700

i965: Set lower_vote_trivial in vector_nir_options_gen6 too.

There's a second struct for Gen6+.

Reviewed-by: Matt Turner <[email protected]>

---

 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 27fea4c8a0..2f6af7d2c3 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,
 };
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to