mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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 <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
e137b3a9b7
commit
2bf8a9b337
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue