zink: hook up VK_EXT_legacy_vertex_attributes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29069>
This commit is contained in:
committed by
Marge Bot
parent
97e3c6a12a
commit
ac78076cd2
@@ -447,7 +447,8 @@
|
||||
"extensions": {
|
||||
"VK_EXT_provoking_vertex": 1,
|
||||
"VK_KHR_dynamic_rendering": 1,
|
||||
"VK_EXT_dynamic_rendering_unused_attachments": 1
|
||||
"VK_EXT_dynamic_rendering_unused_attachments": 1,
|
||||
"VK_EXT_legacy_vertex_attributes": 1
|
||||
},
|
||||
"features": {
|
||||
"VkPhysicalDeviceDynamicRenderingFeatures": {
|
||||
@@ -455,6 +456,9 @@
|
||||
},
|
||||
"VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT": {
|
||||
"dynamicRenderingUnusedAttachments": true
|
||||
},
|
||||
"VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT": {
|
||||
"legacyVertexAttributes": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -111,6 +111,7 @@ EXTENSIONS = [
|
||||
features=True),
|
||||
Extension("VK_EXT_shader_subgroup_ballot"),
|
||||
Extension("VK_EXT_shader_subgroup_vote"),
|
||||
Extension("VK_EXT_legacy_vertex_attributes", alias="legacyverts", features=True, properties=True),
|
||||
Extension("VK_EXT_shader_atomic_float",
|
||||
alias="atomic_float",
|
||||
features=True),
|
||||
|
||||
@@ -742,7 +742,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
||||
return 1;
|
||||
|
||||
case PIPE_CAP_VERTEX_ATTRIB_ELEMENT_ALIGNED_ONLY:
|
||||
return 1;
|
||||
return !screen->info.have_EXT_legacy_vertex_attributes;
|
||||
|
||||
case PIPE_CAP_GL_CLAMP:
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user