diff options
author | Samuel Pitoiset <[email protected]> | 2019-10-24 15:16:07 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-10-25 07:49:20 +0200 |
commit | 2bf8a9b33790614041df26a1a9327449cf3bb3f3 (patch) | |
tree | b94824dec8e4e99a5cc7221829e0a3db857ebe5a /src | |
parent | e137b3a9b71a2711c1f68c8a8b9c0a7407fbcc4b (diff) |
radv: fix VK_KHR_shader_float_controls dependency on GFX6-7
From the Vulkan spec 1.1.126 :
"VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR specifies
that shader float controls for 32-bit floating point can be set
independently; other bit widths must be set identically to each
other."
Forgot to update this when I enabled that extension recently.
Fixes dEQP-VK.spirv_assembly.instruction.compute.float_controls.independence_settings.independence_setting
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-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 aa466844ec4..b7dddd27a3a 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1520,10 +1520,10 @@ void radv_GetPhysicalDeviceProperties2( properties->shaderSignedZeroInfNanPreserveFloat16 = pdevice->rad_info.chip_class >= GFX8; properties->shaderDenormFlushToZeroFloat64 = false; - properties->shaderDenormPreserveFloat64 = true; - properties->shaderRoundingModeRTEFloat64 = true; + properties->shaderDenormPreserveFloat64 = pdevice->rad_info.chip_class >= GFX8; + properties->shaderRoundingModeRTEFloat64 = pdevice->rad_info.chip_class >= GFX8; properties->shaderRoundingModeRTZFloat64 = false; - properties->shaderSignedZeroInfNanPreserveFloat64 = true; + properties->shaderSignedZeroInfNanPreserveFloat64 = pdevice->rad_info.chip_class >= GFX8; break; } default: |