mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
anv/pipeline: Only lower input indirects if EmitNoIndirectInput is set
This commit is contained in:
parent
9ac624751e
commit
dc3de6f8df
1 changed files with 3 additions and 1 deletions
|
|
@ -171,7 +171,9 @@ anv_shader_compile_to_nir(struct anv_device *device,
|
|||
|
||||
nir_shader_gather_info(nir, entry_point->impl);
|
||||
|
||||
uint32_t indirect_mask = (1 << nir_var_shader_in);
|
||||
uint32_t indirect_mask = 0;
|
||||
if (compiler->glsl_compiler_options[stage].EmitNoIndirectInput)
|
||||
indirect_mask |= (1 << nir_var_shader_in);
|
||||
if (compiler->glsl_compiler_options[stage].EmitNoIndirectTemp)
|
||||
indirect_mask |= 1 << nir_var_local;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue