aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-09-12 19:39:02 -0400
committerMarek Olšák <[email protected]>2019-09-18 14:39:06 -0400
commitca43006fd2e9af1db9fe7e6dc2fc89502df7f596 (patch)
tree2d5ae2a915b0c81e4f0e9c9b3e48bcea93050c36 /src/amd/vulkan
parentdeab3a23f6c35720248144637058697f46b2fa34 (diff)
ac: move ac_get_max_wave64_per_simd into radeon_info
Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index 02a8712a972..b875b989088 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -1258,7 +1258,7 @@ radv_get_max_waves(struct radv_device *device,
unsigned max_simd_waves;
unsigned lds_per_wave = 0;
- max_simd_waves = ac_get_max_wave64_per_simd(device->physical_device->rad_info.family);
+ max_simd_waves = device->physical_device->rad_info.max_wave64_per_simd;
if (stage == MESA_SHADER_FRAGMENT) {
lds_per_wave = conf->lds_size * lds_increment +