diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-10-25 10:26:50 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-10-30 11:57:07 +0100 |
commit | 396195e8f1aac339cac85c0b1b554caab73f8abe (patch) | |
tree | dfdc3d4a11d817b3d3ceebeb17239825ea9ad2fd /src/amd/vulkan/radv_device.c | |
parent | 4aa75bb3bdd195d4715ee8fae51bfb0c0fcd823b (diff) |
radv: Enable VK_KHR_timeline_semaphore.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index f5ce68e5ffd..8a008b527da 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1087,6 +1087,12 @@ void radv_GetPhysicalDeviceFeatures2( features->texelBufferAlignment = true; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES_KHR: { + VkPhysicalDeviceTimelineSemaphoreFeaturesKHR *features = + (VkPhysicalDeviceTimelineSemaphoreFeaturesKHR *) ext; + features->timelineSemaphore = true; + break; + } default: break; } @@ -1569,6 +1575,12 @@ void radv_GetPhysicalDeviceProperties2( properties->shaderSignedZeroInfNanPreserveFloat64 = pdevice->rad_info.chip_class >= GFX8; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES_KHR: { + VkPhysicalDeviceTimelineSemaphorePropertiesKHR *props = + (VkPhysicalDeviceTimelineSemaphorePropertiesKHR *) ext; + props->maxTimelineSemaphoreValueDifference = UINT64_MAX; + break; + } default: break; } |