winevulkan: Enable VK_EXT_ycbcr_image_arrays.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bbfc4f6f0d
commit
af3d82ddbe
|
@ -105,7 +105,6 @@ BLACKLISTED_EXTENSIONS = [
|
||||||
"VK_EXT_full_screen_exclusive",
|
"VK_EXT_full_screen_exclusive",
|
||||||
"VK_EXT_hdr_metadata", # Needs WSI work.
|
"VK_EXT_hdr_metadata", # Needs WSI work.
|
||||||
"VK_EXT_pipeline_creation_feedback",
|
"VK_EXT_pipeline_creation_feedback",
|
||||||
"VK_EXT_ycbcr_image_arrays",
|
|
||||||
"VK_GOOGLE_display_timing",
|
"VK_GOOGLE_display_timing",
|
||||||
"VK_KHR_external_fence_win32",
|
"VK_KHR_external_fence_win32",
|
||||||
"VK_KHR_external_memory_win32",
|
"VK_KHR_external_memory_win32",
|
||||||
|
|
|
@ -1945,6 +1945,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT:
|
||||||
|
{
|
||||||
|
const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *in = (const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *)in_header;
|
||||||
|
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *out;
|
||||||
|
|
||||||
|
if (!(out = heap_alloc(sizeof(*out)))) goto out_of_memory;
|
||||||
|
|
||||||
|
out->sType = in->sType;
|
||||||
|
out->pNext = NULL;
|
||||||
|
out->ycbcrImageArrays = in->ycbcrImageArrays;
|
||||||
|
|
||||||
|
out_header->pNext = (VkBaseOutStructure *)out;
|
||||||
|
out_header = out_header->pNext;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
FIXME("Application requested a linked structure of type %u.\n", in_header->sType);
|
FIXME("Application requested a linked structure of type %u.\n", in_header->sType);
|
||||||
}
|
}
|
||||||
|
@ -4324,6 +4340,7 @@ static const char * const vk_device_extensions[] =
|
||||||
"VK_EXT_transform_feedback",
|
"VK_EXT_transform_feedback",
|
||||||
"VK_EXT_validation_cache",
|
"VK_EXT_validation_cache",
|
||||||
"VK_EXT_vertex_attribute_divisor",
|
"VK_EXT_vertex_attribute_divisor",
|
||||||
|
"VK_EXT_ycbcr_image_arrays",
|
||||||
"VK_GOOGLE_decorate_string",
|
"VK_GOOGLE_decorate_string",
|
||||||
"VK_GOOGLE_hlsl_functionality1",
|
"VK_GOOGLE_hlsl_functionality1",
|
||||||
"VK_IMG_filter_cubic",
|
"VK_IMG_filter_cubic",
|
||||||
|
|
|
@ -310,6 +310,8 @@
|
||||||
#define VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME "VK_EXT_buffer_device_address"
|
#define VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME "VK_EXT_buffer_device_address"
|
||||||
#define VK_EXT_SEPARATE_STENCIL_USAGE_SPEC_VERSION 1
|
#define VK_EXT_SEPARATE_STENCIL_USAGE_SPEC_VERSION 1
|
||||||
#define VK_EXT_SEPARATE_STENCIL_USAGE_EXTENSION_NAME "VK_EXT_separate_stencil_usage"
|
#define VK_EXT_SEPARATE_STENCIL_USAGE_EXTENSION_NAME "VK_EXT_separate_stencil_usage"
|
||||||
|
#define VK_EXT_YCBCR_IMAGE_ARRAYS_SPEC_VERSION 1
|
||||||
|
#define VK_EXT_YCBCR_IMAGE_ARRAYS_EXTENSION_NAME "VK_EXT_ycbcr_image_arrays"
|
||||||
#define VK_EXT_HOST_QUERY_RESET_SPEC_VERSION 1
|
#define VK_EXT_HOST_QUERY_RESET_SPEC_VERSION 1
|
||||||
#define VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME "VK_EXT_host_query_reset"
|
#define VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME "VK_EXT_host_query_reset"
|
||||||
|
|
||||||
|
@ -2119,6 +2121,7 @@ typedef enum VkStructureType
|
||||||
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT = 1000244001,
|
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT = 1000244001,
|
||||||
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT = 1000244002,
|
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT = 1000244002,
|
||||||
VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT = 1000246000,
|
VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT = 1000246000,
|
||||||
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT = 1000252000,
|
||||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT = 1000261000,
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT = 1000261000,
|
||||||
VK_STRUCTURE_TYPE_MAX_ENUM = 0x7fffffff,
|
VK_STRUCTURE_TYPE_MAX_ENUM = 0x7fffffff,
|
||||||
} VkStructureType;
|
} VkStructureType;
|
||||||
|
@ -3126,6 +3129,13 @@ typedef struct VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
|
||||||
uint32_t maxVertexAttribDivisor;
|
uint32_t maxVertexAttribDivisor;
|
||||||
} VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT;
|
} VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT;
|
||||||
|
|
||||||
|
typedef struct VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
|
||||||
|
{
|
||||||
|
VkStructureType sType;
|
||||||
|
void *pNext;
|
||||||
|
VkBool32 ycbcrImageArrays;
|
||||||
|
} VkPhysicalDeviceYcbcrImageArraysFeaturesEXT;
|
||||||
|
|
||||||
typedef struct VkPipelineColorBlendAdvancedStateCreateInfoEXT
|
typedef struct VkPipelineColorBlendAdvancedStateCreateInfoEXT
|
||||||
{
|
{
|
||||||
VkStructureType sType;
|
VkStructureType sType;
|
||||||
|
|
Loading…
Reference in New Issue