diff options
author | Jason Ekstrand <[email protected]> | 2016-09-05 20:09:47 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-06 08:27:23 -0700 |
commit | 20b2f1ecb90847c4437cee003c3d274b5195ba0b (patch) | |
tree | 63bf703befbb508f67c1d9be018b2b1031a40763 | |
parent | 244f0aba16a7e197ed30e118a9978e200aee2c64 (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]>
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 2 |
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; |