From 20b2f1ecb90847c4437cee003c3d274b5195ba0b Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 5 Sep 2016 20:09:47 -0700 Subject: [PATCH] anv/pipeline: Lower indirect outputs when EmitNoIndirectOutput is set Signed-off-by: Jason Ekstrand Reported-by: Timothy Arceri Reviewed-by: Kenneth Graunke --- src/intel/vulkan/anv_pipeline.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2