radeonsi: remove unused function si_get_tcs_out_patch_stride
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32171>
This commit is contained in:
@@ -3653,15 +3653,6 @@ nir_shader *si_get_prev_stage_nir_shader(struct si_shader *shader,
|
||||
return nir;
|
||||
}
|
||||
|
||||
unsigned si_get_tcs_out_patch_stride(const struct si_shader_info *info)
|
||||
{
|
||||
unsigned tcs_out_vertices = info->base.tess.tcs_vertices_out;
|
||||
unsigned vertex_stride = util_last_bit64(info->outputs_written_before_tes_gs) * 4;
|
||||
unsigned num_patch_outputs = util_last_bit64(info->patch_outputs_written);
|
||||
|
||||
return tcs_out_vertices * vertex_stride + num_patch_outputs * 4;
|
||||
}
|
||||
|
||||
void si_get_ps_prolog_args(struct si_shader_args *args,
|
||||
const union si_shader_part_key *key)
|
||||
{
|
||||
|
||||
@@ -108,7 +108,6 @@ nir_shader *si_get_prev_stage_nir_shader(struct si_shader *shader,
|
||||
struct si_shader *prev_shader,
|
||||
struct si_shader_args *args,
|
||||
bool *free_nir);
|
||||
unsigned si_get_tcs_out_patch_stride(const struct si_shader_info *info);
|
||||
void si_get_ps_prolog_args(struct si_shader_args *args,
|
||||
const union si_shader_part_key *key);
|
||||
void si_get_ps_epilog_args(struct si_shader_args *args,
|
||||
|
||||
Reference in New Issue
Block a user