mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
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:
parent
bb3f33014d
commit
6e78aef0e9
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue