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:

committed by
Marge Bot

parent
b3402997a5
commit
cdf6d93498
@@ -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,
|
||||
|
Reference in New Issue
Block a user