From dbf4424d070ded0b3b5e985207b549bc17fa6148 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Tue, 10 Sep 2024 19:56:25 -0500 Subject: [PATCH] nvk: Add new Vulkan 1.4 features and properties These are the features and properties that don't already exist in extensions. Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 27f3074207a..24722ef4906 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -430,6 +430,9 @@ nvk_get_device_features(const struct nv_device_info *info, .shaderIntegerDotProduct = true, .maintenance4 = true, + /* Vulkan 1.4 */ + .pushDescriptor = true, + /* VK_KHR_compute_shader_derivatives */ .computeDerivativeGroupQuads = true, .computeDerivativeGroupLinear = true, @@ -954,6 +957,10 @@ nvk_get_device_properties(const struct nvk_instance *instance, .uniformTexelBufferOffsetSingleTexelAlignment = true, .maxBufferSize = NVK_MAX_BUFFER_SIZE, + /* Vulkan 1.4 properties */ + .dynamicRenderingLocalReadDepthStencilAttachments = true, + .dynamicRenderingLocalReadMultisampledAttachments = true, + /* VK_KHR_compute_shader_derivatives */ .meshAndTaskShaderDerivatives = false,