From d4ff011b12d36ad5e6ced8bc57c41ff3bd3a4db8 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 4 Oct 2024 16:26:45 +0200 Subject: [PATCH] radv: advertise VK_KHR_maintenance8 There is nothing to do for VK_PIPELINE_CACHE_CREATE_INTERNALLY_SYNCHRONIZED_MERGE_BIT_KHR because the vulkan/runtime code already locks the dstCache unconditionally. Signed-off-by: Samuel Pitoiset Part-of: --- docs/relnotes/new_features.txt | 1 + src/amd/vulkan/radv_physical_device.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 80f7854f9cf..4313edc9536 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -33,3 +33,4 @@ shaderInt16 on panvk shaderInt64 on panvk imageCubeArray on panvk VK_KHR_depth_clamp_zero_one on RADV +VK_KHR_maintenance8 on radv diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index de2911852d4..1134fdbc1b7 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -583,6 +583,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .KHR_maintenance5 = true, .KHR_maintenance6 = true, .KHR_maintenance7 = true, + .KHR_maintenance8 = true, .KHR_map_memory2 = true, .KHR_multiview = true, .KHR_performance_query = radv_perf_query_supported(pdev), @@ -1321,6 +1322,9 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc /* VK_EXT_device_generated_commands */ .deviceGeneratedCommands = true, .dynamicGeneratedPipelineLayout = true, + + /* VK_KHR_maintenance8 */ + .maintenance8 = true, }; }