ac/nir: Add bool return value to ac_nir_lower_tes_inputs_to_mem.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33609>
This commit is contained in:
Timur Kristóf
2025-02-18 17:03:56 +01:00
parent 6e78aef0e9
commit 6e9ede61c4
2 changed files with 6 additions and 6 deletions

View File

@@ -113,7 +113,7 @@ ac_nir_lower_hs_outputs_to_mem(nir_shader *shader, const nir_tcs_info *info,
uint32_t tes_patch_inputs_read,
unsigned wave_size);
void
bool
ac_nir_lower_tes_inputs_to_mem(nir_shader *shader,
ac_nir_map_io_driver_location map);

View File

@@ -1269,7 +1269,7 @@ ac_nir_lower_hs_outputs_to_mem(nir_shader *shader, const nir_tcs_info *info,
return true;
}
void
bool
ac_nir_lower_tes_inputs_to_mem(nir_shader *shader,
ac_nir_map_io_driver_location map)
{
@@ -1281,10 +1281,10 @@ ac_nir_lower_tes_inputs_to_mem(nir_shader *shader,
.tes_patch_inputs_read = shader->info.patch_inputs_read,
};
nir_shader_lower_instructions(shader,
filter_any_input_access,
lower_tes_input_load,
&state);
return nir_shader_lower_instructions(shader,
filter_any_input_access,
lower_tes_input_load,
&state);
}
void