mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
ac: constify ac_compute_cs_workgroup_size()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18210>
This commit is contained in:
parent
8cd1683944
commit
a04fd5c61f
2 changed files with 2 additions and 2 deletions
|
|
@ -720,7 +720,7 @@ void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_cu
|
|||
*late_alloc_wave64 = MIN2(*late_alloc_wave64, G_00B11C_LIMIT(~0u));
|
||||
}
|
||||
|
||||
unsigned ac_compute_cs_workgroup_size(uint16_t sizes[3], bool variable, unsigned max)
|
||||
unsigned ac_compute_cs_workgroup_size(const uint16_t sizes[3], bool variable, unsigned max)
|
||||
{
|
||||
if (variable)
|
||||
return max;
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ void ac_choose_spi_color_formats(unsigned format, unsigned swap, unsigned ntype,
|
|||
void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_culling,
|
||||
bool uses_scratch, unsigned *late_alloc_wave64, unsigned *cu_mask);
|
||||
|
||||
unsigned ac_compute_cs_workgroup_size(uint16_t sizes[3], bool variable, unsigned max);
|
||||
unsigned ac_compute_cs_workgroup_size(const uint16_t sizes[3], bool variable, unsigned max);
|
||||
|
||||
unsigned ac_compute_lshs_workgroup_size(enum amd_gfx_level gfx_level, gl_shader_stage stage,
|
||||
unsigned tess_num_patches,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue