radv/llvm: lower VS IO

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6912>
This commit is contained in:
Samuel Pitoiset
2020-09-30 09:15:54 +02:00
committed by Marge Bot
parent b3402997a5
commit cdf6d93498
2 changed files with 6 additions and 9 deletions

View File

@@ -760,11 +760,6 @@ radv_lower_io(struct radv_device *device, nir_shader *nir)
if (nir->info.stage == MESA_SHADER_COMPUTE)
return;
/* TODO: Lower IO for all stages with LLVM. */
if (nir->info.stage == MESA_SHADER_VERTEX &&
radv_use_llvm_for_stage(device, nir->info.stage))
return;
if (nir->info.stage == MESA_SHADER_FRAGMENT) {
NIR_PASS_V(nir, lower_view_index);
nir_assign_io_var_locations(nir, nir_var_shader_in, &nir->num_inputs,