radv: remove useless check about CS in radv_lower_io()
This function is now called only for graphics pipeline. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20990>
This commit is contained in:
committed by
Marge Bot
parent
6eb75dc74c
commit
08e496c29d
@@ -1200,9 +1200,6 @@ radv_lower_view_index(nir_shader *nir, bool per_primitive)
|
||||
void
|
||||
radv_lower_io(struct radv_device *device, nir_shader *nir)
|
||||
{
|
||||
if (nir->info.stage == MESA_SHADER_COMPUTE)
|
||||
return;
|
||||
|
||||
if (nir->info.stage == MESA_SHADER_FRAGMENT) {
|
||||
nir_assign_io_var_locations(nir, nir_var_shader_in, &nir->num_inputs, MESA_SHADER_FRAGMENT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user