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

Author: Matt Turner <[email protected]>
Date:   Thu Jun 22 12:21:52 2017 -0700

i965/vec4: Lower ARB_shader_group_vote intrinsics

I don't expect anyone is going to care about using this in vec4 programs
(vertex/tessellation/geometry on Gen6/7), no one has come up with a good
way to implement it much less test it.

Reviewed-by: Kenneth Graunke <[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 f31f29d2ad..397c8cccf9 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -78,6 +78,7 @@ static const struct nir_shader_compiler_options 
vector_nir_options = {
    .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