diff options
-rw-r--r-- | src/amd/vulkan/radv_device.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index a03cf11691c..a130952e88f 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1659,12 +1659,7 @@ void radv_GetPhysicalDeviceProperties2( properties->simdPerComputeUnit = pdevice->rad_info.num_simd_per_compute_unit; properties->wavefrontsPerSimd = - pdevice->rad_info.family == CHIP_TONGA || - pdevice->rad_info.family == CHIP_ICELAND || - pdevice->rad_info.family == CHIP_POLARIS10 || - pdevice->rad_info.family == CHIP_POLARIS11 || - pdevice->rad_info.family == CHIP_POLARIS12 || - pdevice->rad_info.family == CHIP_VEGAM ? 8 : 10; + pdevice->rad_info.max_wave64_per_simd; properties->wavefrontSize = 64; /* SGPR. */ |