From: Matt Turner Date: Thu, 22 Jun 2017 19:21:52 +0000 (-0700) Subject: i965/vec4: Lower ARB_shader_group_vote intrinsics X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30b72f41267c7359e1809d2874c76effe661049b;p=mesa.git 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 --- diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c index f31f29d2ade..397c8cccf90 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, };