[Mesa-dev] [PATCH 04/20] i965/vec4: Lower ARB_shader_group_vote intrinsics

Matt Turner mattst88 at gmail.com
Thu Jul 6 23:48:14 UTC 2017


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.
---
 src/intel/compiler/brw_compiler.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c
index f31f29d2ad..9ad5d8e4ee 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -78,6 +78,9 @@ 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_any = true,
+   .lower_vote_all = true,
+   .lower_vote_eq = true,
    .max_unroll_iterations = 32,
 };
 
-- 
2.13.0



More information about the mesa-dev mailing list