Skip to content
Snippets Groups Projects
Commit c07d719e authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen
Browse files

radv: Disallow indirect outputs for GS on GFX9 as well.


Since it also uses the output vector before writing to memory.

Fixes: e38685cc 'Revert "radv: disable support for VEGA for now."'
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
parent 2c5b43c8
No related branches found
No related tags found
No related merge requests found
......@@ -265,9 +265,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
indirect_mask |= nir_var_shader_in;
}
if (!llvm_has_working_vgpr_indexing &&
(nir->info.stage == MESA_SHADER_VERTEX ||
nir->info.stage == MESA_SHADER_TESS_EVAL ||
nir->info.stage == MESA_SHADER_FRAGMENT))
nir->info.stage != MESA_SHADER_TESS_CTRL)
indirect_mask |= nir_var_shader_out;
/* TODO: We shouldn't need to do this, however LLVM isn't currently
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment