Mesa (master): i965/vec4: Lower ARB_shader_group_vote intrinsics

Matt Turner mattst88 at kemper.freedesktop.org
Fri Jul 21 00:03:33 UTC 2017


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

Author: Matt Turner <mattst88 at gmail.com>
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 <kenneth at whitecape.org>

---

 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,
 };
 




More information about the mesa-commit mailing list