From fc84c63e17baa9790baa0d63e21f81ef1b10a745 Mon Sep 17 00:00:00 2001 From: Sidney Just Date: Wed, 25 Jan 2023 15:53:05 -0800 Subject: [PATCH] zink: Add missing features to the profile file Fixes: 2ea481b2f0a ("Zink: add Zink profiles file") Part-of: --- src/gallium/drivers/zink/VP_ZINK_requirements.json | 50 +++++++++++++++++++--- 1 file changed, 45 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/zink/VP_ZINK_requirements.json b/src/gallium/drivers/zink/VP_ZINK_requirements.json index 2f999c6..a530edc 100644 --- a/src/gallium/drivers/zink/VP_ZINK_requirements.json +++ b/src/gallium/drivers/zink/VP_ZINK_requirements.json @@ -31,8 +31,14 @@ "VkPhysicalDeviceCustomBorderColorFeaturesEXT": { "customBorderColorWithoutFormat": true }, + "VkPhysicalDeviceBorderColorSwizzleFeaturesEXT": { + "borderColorSwizzleFromImage": true + }, "VkPhysicalDeviceLineRasterizationFeaturesEXT": { "rectangularLines": true + }, + "VkPhysicalDeviceProvokingVertexFeaturesEXT": { + "provokingVertexLast": true } } }, @@ -43,13 +49,22 @@ "features": { "VkPhysicalDeviceScalarBlockLayoutFeaturesEXT": { "scalarBlockLayout": true + }, + "VkPhysicalDeviceTimelineSemaphoreFeaturesKHR": { + "timelineSemaphore": true + }, + "VkPhysicalDeviceImagelessFramebufferFeatures": { + "imagelessFramebuffer": true } } }, "gl21_baseline_vk12": { "features": { "VkPhysicalDeviceVulkan12Features": { - "scalarBlockLayout": true + "scalarBlockLayout": true, + "drawIndirectCount": true, + "imagelessFramebuffer": true, + "timelineSemaphore": true } } }, @@ -82,6 +97,12 @@ "features": { "VkPhysicalDeviceFeatures": { "independentBlend": true + }, + "VkPhysicalDeviceTransformFeedbackFeaturesEXT": { + "transformFeedback": true + }, + "VkPhysicalDeviceConditionalRenderingFeaturesEXT": { + "conditionalRendering": true } } }, @@ -116,6 +137,9 @@ "features": { "VkPhysicalDeviceFeatures": { "dualSrcBlend": true + }, + "VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT": { + "vertexAttributeInstanceRateDivisor": true } } }, @@ -183,6 +207,9 @@ "shaderStorageImageWriteWithoutFormat": true, "vertexPipelineStoresAndAtomics": true, "fragmentStoresAndAtomics": true + }, + "VkPhysicalDeviceImage2DViewOf3DFeaturesEXT": { + "image2DViewOf3D": true } } }, @@ -311,9 +338,6 @@ } }, "gl44_baseline": { - "extensions": { - "VK_KHR_sampler_mirror_clamp_to_edge": 1 - }, "formats": { "VK_FORMAT_B10G11R11_UFLOAT_PACK32": { "VkFormatProperties": { @@ -324,6 +348,18 @@ } } }, + "gl44_baseline_ext": { + "extensions": { + "VK_KHR_sampler_mirror_clamp_to_edge": 1 + } + }, + "gl44_baseline_vk12": { + "features": { + "VkPhysicalDeviceVulkan12Features": { + "samplerMirrorClampToEdge": true + } + } + }, "gl45_baseline": { "features": { "VkPhysicalDeviceFeatures": { @@ -749,7 +785,8 @@ [ "gl42_baseline_vk10", "gl42_baseline_vk12" ], "gl43_baseline", [ "gl43_baseline_rb2", "gl43_baseline_rb_image_vk13", "gl43_baseline_rb_image_ext" ], - "gl44_baseline" + "gl44_baseline", + [ "gl44_baseline_ext", "gl44_baseline_vk12" ] ] }, "VP_ZINK_gl45_baseline": { @@ -773,6 +810,7 @@ "gl43_baseline", [ "gl43_baseline_rb2", "gl43_baseline_rb_image_vk13", "gl43_baseline_rb_image_ext" ], "gl44_baseline", + [ "gl44_baseline_ext", "gl44_baseline_vk12" ], "gl45_baseline" ] }, @@ -797,6 +835,7 @@ "gl43_baseline", [ "gl43_baseline_rb2", "gl43_baseline_rb_image_vk13", "gl43_baseline_rb_image_ext" ], "gl44_baseline", + [ "gl44_baseline_ext", "gl44_baseline_vk12" ], "gl45_baseline", "gl46_baseline" ] @@ -822,6 +861,7 @@ "gl43_baseline", [ "gl43_baseline_rb2", "gl43_baseline_rb_image_vk13", "gl43_baseline_rb_image_ext" ], "gl44_baseline", + [ "gl44_baseline_ext", "gl44_baseline_vk12" ], "gl45_baseline", "gl46_baseline", "gl46_optimal", -- 2.7.4