diff options
author | Samuel Pitoiset <[email protected]> | 2020-02-27 08:45:46 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2020-03-03 08:16:56 +0100 |
commit | 9432eb3e9ce56e475d29bc59494c83815305aede (patch) | |
tree | cbd0f78706964b4bc073a929ced86c43a2aeafec /src/gallium/drivers/radeonsi | |
parent | 69628ababbd79a5865c2c5bd01b4a963eb7800f9 (diff) |
ac: rename lds_size_per_cu to lds_size_per_workgroup
It's more accurate.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3975>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 12878cf97b9..01911cc8b54 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -1063,7 +1063,7 @@ static void si_calculate_max_simd_waves(struct si_shader *shader) max_simd_waves = MIN2(max_simd_waves, max_vgprs / conf->num_vgprs); } - unsigned max_lds_per_simd = sscreen->info.lds_size_per_cu / 4; + unsigned max_lds_per_simd = sscreen->info.lds_size_per_workgroup / 4; if (lds_per_wave) max_simd_waves = MIN2(max_simd_waves, max_lds_per_simd / lds_per_wave); |