zink: move maintenance2 extension to right file
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8862>
This commit is contained in:

committed by
Marge Bot

parent
a88cd98315
commit
50bac9f3fb
@@ -61,6 +61,7 @@ import sys
|
||||
EXTENSIONS = [
|
||||
Extension("VK_KHR_maintenance1",
|
||||
required=True),
|
||||
Extension("VK_KHR_maintenance2"),
|
||||
Extension("VK_KHR_external_memory"),
|
||||
Extension("VK_KHR_external_memory_fd"),
|
||||
Extension("VK_KHR_vulkan_memory_model"),
|
||||
|
@@ -42,7 +42,6 @@ import sys
|
||||
# will be added by the codegen accordingly.
|
||||
EXTENSIONS = [
|
||||
Extension("VK_EXT_debug_utils"),
|
||||
Extension("VK_KHR_maintenance2"),
|
||||
Extension("VK_KHR_get_physical_device_properties2",
|
||||
functions=["GetPhysicalDeviceFeatures2", "GetPhysicalDeviceProperties2"]),
|
||||
Extension("VK_KHR_draw_indirect_count",
|
||||
|
@@ -423,7 +423,7 @@ zink_get_shader_param(struct pipe_screen *pscreen,
|
||||
case PIPE_SHADER_TESS_EVAL:
|
||||
if (screen->info.have_KHR_vulkan_memory_model &&
|
||||
screen->info.feats.features.tessellationShader &&
|
||||
screen->instance_info.have_KHR_maintenance2)
|
||||
screen->info.have_KHR_maintenance2)
|
||||
return INT_MAX;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user