Commit a455ff61 authored by Liam Middlebrook's avatar Liam Middlebrook Committed by Alexandre Julliard

winevulkan: Update to VK spec version 1.2.148.

parent e6314baa
......@@ -64,7 +64,7 @@ from enum import Enum
LOGGER = logging.Logger("vulkan")
LOGGER.addHandler(logging.StreamHandler())
VK_XML_VERSION = "1.2.145"
VK_XML_VERSION = "1.2.148"
WINE_VK_VERSION = (1, 2)
# Filenames to create.
......
......@@ -1913,6 +1913,33 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT:
{
const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT *in = (const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT *)in_header;
VkPhysicalDeviceShaderAtomicFloatFeaturesEXT *out;
if (!(out = heap_alloc(sizeof(*out)))) goto out_of_memory;
out->sType = in->sType;
out->pNext = NULL;
out->shaderBufferFloat32Atomics = in->shaderBufferFloat32Atomics;
out->shaderBufferFloat32AtomicAdd = in->shaderBufferFloat32AtomicAdd;
out->shaderBufferFloat64Atomics = in->shaderBufferFloat64Atomics;
out->shaderBufferFloat64AtomicAdd = in->shaderBufferFloat64AtomicAdd;
out->shaderSharedFloat32Atomics = in->shaderSharedFloat32Atomics;
out->shaderSharedFloat32AtomicAdd = in->shaderSharedFloat32AtomicAdd;
out->shaderSharedFloat64Atomics = in->shaderSharedFloat64Atomics;
out->shaderSharedFloat64AtomicAdd = in->shaderSharedFloat64AtomicAdd;
out->shaderImageFloat32Atomics = in->shaderImageFloat32Atomics;
out->shaderImageFloat32AtomicAdd = in->shaderImageFloat32AtomicAdd;
out->sparseImageFloat32Atomics = in->sparseImageFloat32Atomics;
out->sparseImageFloat32AtomicAdd = in->sparseImageFloat32AtomicAdd;
out_header->pNext = (VkBaseOutStructure *)out;
out_header = out_header->pNext;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT:
{
const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT *in = (const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT *)in_header;
......@@ -2144,6 +2171,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT:
{
const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT *in = (const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT *)in_header;
VkPhysicalDeviceFragmentDensityMap2FeaturesEXT *out;
if (!(out = heap_alloc(sizeof(*out)))) goto out_of_memory;
out->sType = in->sType;
out->pNext = NULL;
out->fragmentDensityMapDeferred = in->fragmentDensityMapDeferred;
out_header->pNext = (VkBaseOutStructure *)out;
out_header = out_header->pNext;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES:
{
const VkPhysicalDeviceScalarBlockLayoutFeatures *in = (const VkPhysicalDeviceScalarBlockLayoutFeatures *)in_header;
......@@ -2731,6 +2774,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT:
{
const VkPhysicalDeviceImageRobustnessFeaturesEXT *in = (const VkPhysicalDeviceImageRobustnessFeaturesEXT *)in_header;
VkPhysicalDeviceImageRobustnessFeaturesEXT *out;
if (!(out = heap_alloc(sizeof(*out)))) goto out_of_memory;
out->sType = in->sType;
out->pNext = NULL;
out->robustImageAccess = in->robustImageAccess;
out_header->pNext = (VkBaseOutStructure *)out;
out_header = out_header->pNext;
break;
}
default:
FIXME("Application requested a linked structure of type %u.\n", in_header->sType);
}
......@@ -5755,9 +5814,11 @@ static const char * const vk_device_extensions[] =
"VK_EXT_external_memory_host",
"VK_EXT_filter_cubic",
"VK_EXT_fragment_density_map",
"VK_EXT_fragment_density_map2",
"VK_EXT_fragment_shader_interlock",
"VK_EXT_global_priority",
"VK_EXT_host_query_reset",
"VK_EXT_image_robustness",
"VK_EXT_index_type_uint8",
"VK_EXT_inline_uniform_block",
"VK_EXT_line_rasterization",
......@@ -5773,6 +5834,7 @@ static const char * const vk_device_extensions[] =
"VK_EXT_sampler_filter_minmax",
"VK_EXT_scalar_block_layout",
"VK_EXT_separate_stencil_usage",
"VK_EXT_shader_atomic_float",
"VK_EXT_shader_demote_to_helper_invocation",
"VK_EXT_shader_stencil_export",
"VK_EXT_shader_subgroup_ballot",
......
......@@ -2,6 +2,6 @@
"file_format_version": "1.0.0",
"ICD": {
"library_path": ".\\winevulkan.dll",
"api_version": "1.2.145"
"api_version": "1.2.148"
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment