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/amd/vulkan/radv_shader.c | |
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/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 367817c16f8..40fa3d783d4 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -1336,7 +1336,7 @@ radv_get_max_waves(struct radv_device *device, device->physical_device->rad_info.num_physical_wave64_vgprs_per_simd / vgprs); } - unsigned max_lds_per_simd = device->physical_device->rad_info.lds_size_per_cu / device->physical_device->rad_info.num_simd_per_compute_unit; + unsigned max_lds_per_simd = device->physical_device->rad_info.lds_size_per_workgroup / device->physical_device->rad_info.num_simd_per_compute_unit; if (lds_per_wave) max_simd_waves = MIN2(max_simd_waves, max_lds_per_simd / lds_per_wave); |