diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-09-05 20:09:47 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-09-06 08:27:23 -0700 |
commit | 20b2f1ecb90847c4437cee003c3d274b5195ba0b (patch) | |
tree | 63bf703befbb508f67c1d9be018b2b1031a40763 /src/intel | |
parent | 244f0aba16a7e197ed30e118a9978e200aee2c64 (diff) | |
download | external_mesa3d-20b2f1ecb90847c4437cee003c3d274b5195ba0b.zip external_mesa3d-20b2f1ecb90847c4437cee003c3d274b5195ba0b.tar.gz external_mesa3d-20b2f1ecb90847c4437cee003c3d274b5195ba0b.tar.bz2 |
anv/pipeline: Lower indirect outputs when EmitNoIndirectOutput is set
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reported-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/intel')
-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 35acc4a..9780201 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; |