Module: Mesa
Branch: master
Commit: 20b2f1ecb90847c4437cee003c3d274b5195ba0b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=20b2f1ecb90847c4437cee003c3d274b5195ba0b

Author: Jason Ekstrand <[email protected]>
Date:   Mon Sep  5 20:09:47 2016 -0700

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]>

---

 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 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;
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to