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>
This commit is contained in:
parent
244f0aba16
commit
20b2f1ecb9
|
@ -186,6 +186,8 @@ anv_shader_compile_to_nir(struct anv_device *device,
|
||||||
nir_variable_mode indirect_mask = 0;
|
nir_variable_mode indirect_mask = 0;
|
||||||
if (compiler->glsl_compiler_options[stage].EmitNoIndirectInput)
|
if (compiler->glsl_compiler_options[stage].EmitNoIndirectInput)
|
||||||
indirect_mask |= nir_var_shader_in;
|
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)
|
if (compiler->glsl_compiler_options[stage].EmitNoIndirectTemp)
|
||||||
indirect_mask |= nir_var_local;
|
indirect_mask |= nir_var_local;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue