projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22bca8e
)
i965: Set lower_vote_trivial in vector_nir_options_gen6 too.
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 22 Jul 2017 01:08:37 +0000
(18:08 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 22 Jul 2017 01:09:01 +0000
(18:09 -0700)
There's a second struct for Gen6+.
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_compiler.c
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_compiler.c
b/src/intel/compiler/brw_compiler.c
index
27fea4c
..
2f6af7d
100644
(file)
--- 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,
};