diff options
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 5fdb1903c09..aa466844ec4 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1514,10 +1514,10 @@ void radv_GetPhysicalDeviceProperties2( properties->shaderSignedZeroInfNanPreserveFloat32 = true; properties->shaderDenormFlushToZeroFloat16 = false; - properties->shaderDenormPreserveFloat16 = true; - properties->shaderRoundingModeRTEFloat16 = true; + properties->shaderDenormPreserveFloat16 = pdevice->rad_info.chip_class >= GFX8; + properties->shaderRoundingModeRTEFloat16 = pdevice->rad_info.chip_class >= GFX8; properties->shaderRoundingModeRTZFloat16 = false; - properties->shaderSignedZeroInfNanPreserveFloat16 = true; + properties->shaderSignedZeroInfNanPreserveFloat16 = pdevice->rad_info.chip_class >= GFX8; properties->shaderDenormFlushToZeroFloat64 = false; properties->shaderDenormPreserveFloat64 = true; |