projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac6247
)
anv/pipeline: Only lower input indirects if EmitNoIndirectInput is set
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 27 Jan 2016 05:45:21 +0000
(21:45 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 27 Jan 2016 05:45:21 +0000
(21:45 -0800)
src/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_pipeline.c
b/src/vulkan/anv_pipeline.c
index f52b78628cc6f0e353478fecbe4edc55cd035e26..40f26d708ee560cec809a3bbcfcd94c240bd013b 100644
(file)
--- a/
src/vulkan/anv_pipeline.c
+++ b/
src/vulkan/anv_pipeline.c
@@
-171,7
+171,9
@@
anv_shader_compile_to_nir(struct anv_device *device,
nir_shader_gather_info(nir, entry_point->impl);
- uint32_t indirect_mask = (1 << nir_var_shader_in);
+ uint32_t indirect_mask = 0;
+ if (compiler->glsl_compiler_options[stage].EmitNoIndirectInput)
+ indirect_mask |= (1 << nir_var_shader_in);
if (compiler->glsl_compiler_options[stage].EmitNoIndirectTemp)
indirect_mask |= 1 << nir_var_local;