Module: Mesa Branch: main Commit: 10ce61e16c0e68d0944523f97a28b736c8d628bd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10ce61e16c0e68d0944523f97a28b736c8d628bd
Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Sep 18 09:25:39 2023 +0200 radv: advertise VK_KHR_maintenance6 Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26757> --- docs/relnotes/new_features.txt | 1 + src/amd/vulkan/radv_physical_device.c | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 2507b962bae..3f9dbe04660 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -18,3 +18,4 @@ GL_ARB_fragment_layer_viewport on Asahi GL_ARB_cull_distance on Asahi VK_KHR_calibrated_timestamps on RADV VK_KHR_vertex_attribute_divisor on RADV +VK_KHR_maintenance6 on RADV diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 17aec0f65aa..2e3efeab11e 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -454,6 +454,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .KHR_maintenance3 = true, .KHR_maintenance4 = true, .KHR_maintenance5 = true, + .KHR_maintenance6 = true, .KHR_map_memory2 = true, .KHR_multiview = true, .KHR_performance_query = radv_perf_query_supported(device), @@ -1093,6 +1094,9 @@ radv_physical_device_get_features(const struct radv_physical_device *pdevice, st /* VK_EXT_depth_clamp_zero_one */ .depthClampZeroOne = true, + + /* VK_KHR_maintenance6 */ + .maintenance6 = true, }; } @@ -1769,6 +1773,11 @@ radv_get_physical_device_properties(struct radv_physical_device *pdevice) /* VK_KHR_cooperative_matrix */ p->cooperativeMatrixSupportedStages = VK_SHADER_STAGE_COMPUTE_BIT; + + /* VK_KHR_maintenance6 */ + p->blockTexelViewCompatibleMultipleLayers = true; + p->maxCombinedImageSamplerDescriptorCount = 1; + p->fragmentShadingRateClampCombinerInputs = true; } static VkResult