From: Jason Ekstrand Date: Tue, 6 Sep 2016 03:09:47 +0000 (-0700) Subject: anv/pipeline: Lower indirect outputs when EmitNoIndirectOutput is set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20b2f1ecb90847c4437cee003c3d274b5195ba0b;p=mesa.git anv/pipeline: Lower indirect outputs when EmitNoIndirectOutput is set Signed-off-by: Jason Ekstrand Reported-by: Timothy Arceri Reviewed-by: Kenneth Graunke --- 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;