ac/nir: Add bool return value to ac_nir_lower_hs_outputs_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:
@@ -105,7 +105,7 @@ ac_nir_lower_hs_inputs_to_mem(nir_shader *shader,
|
||||
uint64_t tcs_inputs_via_temp,
|
||||
uint64_t tcs_inputs_via_lds);
|
||||
|
||||
void
|
||||
bool
|
||||
ac_nir_lower_hs_outputs_to_mem(nir_shader *shader, const nir_tcs_info *info,
|
||||
ac_nir_map_io_driver_location map,
|
||||
enum amd_gfx_level gfx_level,
|
||||
|
||||
@@ -1224,7 +1224,7 @@ ac_nir_lower_hs_inputs_to_mem(nir_shader *shader,
|
||||
&state);
|
||||
}
|
||||
|
||||
void
|
||||
bool
|
||||
ac_nir_lower_hs_outputs_to_mem(nir_shader *shader, const nir_tcs_info *info,
|
||||
ac_nir_map_io_driver_location map,
|
||||
enum amd_gfx_level gfx_level,
|
||||
@@ -1265,6 +1265,8 @@ ac_nir_lower_hs_outputs_to_mem(nir_shader *shader, const nir_tcs_info *info,
|
||||
NIR_PASS(_, shader, nir_lower_alu_to_scalar, NULL, NULL);
|
||||
NIR_PASS(_, shader, nir_lower_phis_to_scalar, true);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user