diff options
author | Samuel Pitoiset <[email protected]> | 2019-11-26 14:07:07 +0100 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2020-01-15 08:42:25 -0600 |
commit | af25c8d57bd327ad4bfefda7ad4ed3b1ed1cf3fe (patch) | |
tree | 7b4d1f456e8d51b3c718e2015b07a702f67e5d80 | |
parent | 5335bb6c39e7641c80193ff98e95fa21d5e66876 (diff) |
radv: update VK_KHR_shader_float_controls for Vulkan 1.2
Promoted to Vulkan 1.2 with the KHR suffix omitted.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_device.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 554f2d60e79..02ed41c20f7 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1645,16 +1645,16 @@ void radv_GetPhysicalDeviceProperties2( properties->uniformTexelBufferOffsetSingleTexelAlignment = true; break; } - case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR : { - VkPhysicalDeviceFloatControlsPropertiesKHR *properties = - (VkPhysicalDeviceFloatControlsPropertiesKHR *)ext; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES : { + VkPhysicalDeviceFloatControlsProperties *properties = + (VkPhysicalDeviceFloatControlsProperties *)ext; /* On AMD hardware, denormals and rounding modes for * fp16/fp64 are controlled by the same config * register. */ - properties->denormBehaviorIndependence = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR; - properties->roundingModeIndependence = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR; + properties->denormBehaviorIndependence = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY; + properties->roundingModeIndependence = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY; /* Do not allow both preserving and flushing denorms * because different shaders in the same pipeline can |