summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-09-05 20:09:47 -0700
committerJason Ekstrand <[email protected]>2016-09-06 08:27:23 -0700
commit20b2f1ecb90847c4437cee003c3d274b5195ba0b (patch)
tree63bf703befbb508f67c1d9be018b2b1031a40763 /src
parent244f0aba16a7e197ed30e118a9978e200aee2c64 (diff)
anv/pipeline: Lower indirect outputs when EmitNoIndirectOutput is set
Signed-off-by: Jason Ekstrand <[email protected]> Reported-by: Timothy Arceri <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_pipeline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 35acc4aaef9..9780201ca33 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -186,6 +186,8 @@ anv_shader_compile_to_nir(struct anv_device *device,
nir_variable_mode indirect_mask = 0;
if (compiler->glsl_compiler_options[stage].EmitNoIndirectInput)
indirect_mask |= nir_var_shader_in;
+ if (compiler->glsl_compiler_options[stage].EmitNoIndirectOutput)
+ indirect_mask |= nir_var_shader_out;
if (compiler->glsl_compiler_options[stage].EmitNoIndirectTemp)
indirect_mask |= nir_var_local;