radv: make use of ac_gpu_info::max_wave64_per_simd
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3899> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3899>
This commit is contained in:
parent
9204ad70f2
commit
4c03d20396
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue