Skip to content

Commit ae945ae

Browse files
committed
build: Update to header 1.4.342
1 parent 45ed9e9 commit ae945ae

22 files changed

+630
-54
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cmake_minimum_required(VERSION 3.22.1)
1919
# The VERSION field is generated with the "--generated-version" flag in the generate_source.py script
2020
#
2121
# If working with unreleased extensions, make sure the header and validation version are all on the same header version
22-
project(VVL VERSION 1.4.341 LANGUAGES CXX)
22+
project(VVL VERSION 1.4.342 LANGUAGES CXX)
2323

2424
# This variable enables downstream users to customize the target API
2525
# variant (e.g. Vulkan SC)

layers/VkLayer_khronos_validation.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"prefix": "vvl",
66
"type": "GLOBAL",
77
"library_path": "@JSON_LIBRARY_PATH@",
8-
"api_version": "1.4.341",
8+
"api_version": "1.4.342",
99
"implementation_version": "1",
1010
"description": "Khronos Validation Layer",
1111
"introduction": "The main, comprehensive Khronos validation layer.\n\nVulkan is an Explicit API, enabling direct control over how GPUs actually work. By design, minimal error checking is done inside a Vulkan driver. Applications have full control and responsibility for correct operation. Any errors in how Vulkan is used can result in a crash. \n\nThe Khronos Validation Layer can be enabled to assist development by enabling developers to verify their applications correctly use the Vulkan API.",

layers/vulkan/generated/device_features.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,12 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu
915915
features->representativeFragmentTest |= enabled->representativeFragmentTest == VK_TRUE;
916916
break;
917917
}
918+
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_CONVERSION_FEATURES_QCOM: {
919+
const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM *enabled =
920+
reinterpret_cast<const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM *>(pNext);
921+
features->cooperativeMatrixConversion |= enabled->cooperativeMatrixConversion == VK_TRUE;
922+
break;
923+
}
918924
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: {
919925
const VkPhysicalDeviceMeshShaderFeaturesNV *enabled =
920926
reinterpret_cast<const VkPhysicalDeviceMeshShaderFeaturesNV *>(pNext);

layers/vulkan/generated/device_features.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ struct DeviceFeatures {
124124
bool cooperativeMatrixTensorAddressing;
125125
// VkPhysicalDeviceCooperativeMatrix2FeaturesNV
126126
bool cooperativeMatrixWorkgroupScope;
127+
// VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM
128+
bool cooperativeMatrixConversion;
127129
// VkPhysicalDeviceCooperativeMatrixFeaturesKHR, VkPhysicalDeviceCooperativeMatrixFeaturesNV
128130
bool cooperativeMatrix;
129131
// VkPhysicalDeviceCooperativeMatrixFeaturesKHR, VkPhysicalDeviceCooperativeMatrixFeaturesNV

layers/vulkan/generated/enum_flag_bits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <array>
2525
#include "vulkan/vulkan.h"
2626
// clang-format off
27-
const uint32_t GeneratedVulkanHeaderVersion = 341;
27+
const uint32_t GeneratedVulkanHeaderVersion = 342;
2828
const VkAccessFlags AllVkAccessFlagBits = VK_ACCESS_INDIRECT_COMMAND_READ_BIT|VK_ACCESS_INDEX_READ_BIT|VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT|VK_ACCESS_UNIFORM_READ_BIT|VK_ACCESS_INPUT_ATTACHMENT_READ_BIT|VK_ACCESS_SHADER_READ_BIT|VK_ACCESS_SHADER_WRITE_BIT|VK_ACCESS_COLOR_ATTACHMENT_READ_BIT|VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT|VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT|VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT|VK_ACCESS_TRANSFER_READ_BIT|VK_ACCESS_TRANSFER_WRITE_BIT|VK_ACCESS_HOST_READ_BIT|VK_ACCESS_HOST_WRITE_BIT|VK_ACCESS_MEMORY_READ_BIT|VK_ACCESS_MEMORY_WRITE_BIT|VK_ACCESS_NONE|VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT|VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT|VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT|VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT|VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT|VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR|VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR|VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT|VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR|VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_EXT|VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_EXT;
2929
const VkImageAspectFlags AllVkImageAspectFlagBits = VK_IMAGE_ASPECT_COLOR_BIT|VK_IMAGE_ASPECT_DEPTH_BIT|VK_IMAGE_ASPECT_STENCIL_BIT|VK_IMAGE_ASPECT_METADATA_BIT|VK_IMAGE_ASPECT_PLANE_0_BIT|VK_IMAGE_ASPECT_PLANE_1_BIT|VK_IMAGE_ASPECT_PLANE_2_BIT|VK_IMAGE_ASPECT_NONE|VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT|VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT|VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT|VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT;
3030
const VkInstanceCreateFlags AllVkInstanceCreateFlagBits = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;

layers/vulkan/generated/error_location_helper.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,7 @@ const char* String(Struct structure) {
14101410
{"VkPhysicalDeviceConservativeRasterizationPropertiesEXT", 55},
14111411
{"VkPhysicalDeviceCooperativeMatrix2FeaturesNV", 45},
14121412
{"VkPhysicalDeviceCooperativeMatrix2PropertiesNV", 47},
1413+
{"VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM", 56},
14131414
{"VkPhysicalDeviceCooperativeMatrixFeaturesKHR", 45},
14141415
{"VkPhysicalDeviceCooperativeMatrixFeaturesNV", 44},
14151416
{"VkPhysicalDeviceCooperativeMatrixPropertiesKHR", 47},
@@ -2438,6 +2439,7 @@ const char* String(Field field) {
24382439
{"conversion", 11},
24392440
{"cooperativeMatrix", 18},
24402441
{"cooperativeMatrixBlockLoads", 28},
2442+
{"cooperativeMatrixConversion", 28},
24412443
{"cooperativeMatrixConversions", 29},
24422444
{"cooperativeMatrixFlexibleDimensions", 36},
24432445
{"cooperativeMatrixFlexibleDimensionsMaxDimension", 48},
@@ -6177,6 +6179,7 @@ const char* String(Extension extension) {
61776179
{"VK_NV_win32_keyed_mutex", 24},
61786180
{"VK_OHOS_external_memory", 24},
61796181
{"VK_OHOS_surface", 16},
6182+
{"VK_QCOM_cooperative_matrix_conversion", 38},
61806183
{"VK_QCOM_data_graph_model", 25},
61816184
{"VK_QCOM_filter_cubic_clamp", 27},
61826185
{"VK_QCOM_filter_cubic_weights", 29},
@@ -8125,6 +8128,8 @@ Struct StypeToStruct(VkStructureType stype) {
81258128
return Struct::VkPhysicalDeviceImageViewImageFormatInfoEXT;
81268129
case VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT:
81278130
return Struct::VkFilterCubicImageViewImageFormatPropertiesEXT;
8131+
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_CONVERSION_FEATURES_QCOM:
8132+
return Struct::VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM;
81288133
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT:
81298134
return Struct::VkImportMemoryHostPointerInfoEXT;
81308135
case VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT:

layers/vulkan/generated/error_location_helper.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,6 +1404,7 @@ enum class Struct {
14041404
VkPhysicalDeviceConservativeRasterizationPropertiesEXT,
14051405
VkPhysicalDeviceCooperativeMatrix2FeaturesNV,
14061406
VkPhysicalDeviceCooperativeMatrix2PropertiesNV,
1407+
VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM,
14071408
VkPhysicalDeviceCooperativeMatrixFeaturesKHR,
14081409
VkPhysicalDeviceCooperativeMatrixFeaturesNV,
14091410
VkPhysicalDeviceCooperativeMatrixPropertiesKHR,
@@ -2429,6 +2430,7 @@ enum class Field {
24292430
conversion,
24302431
cooperativeMatrix,
24312432
cooperativeMatrixBlockLoads,
2433+
cooperativeMatrixConversion,
24322434
cooperativeMatrixConversions,
24332435
cooperativeMatrixFlexibleDimensions,
24342436
cooperativeMatrixFlexibleDimensionsMaxDimension,
@@ -6159,6 +6161,7 @@ enum class Extension {
61596161
_VK_NV_win32_keyed_mutex,
61606162
_VK_OHOS_external_memory,
61616163
_VK_OHOS_surface,
6164+
_VK_QCOM_cooperative_matrix_conversion,
61626165
_VK_QCOM_data_graph_model,
61636166
_VK_QCOM_filter_cubic_clamp,
61646167
_VK_QCOM_filter_cubic_weights,

layers/vulkan/generated/feature_not_present.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,17 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice
537537
}
538538
break;
539539
}
540+
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_CONVERSION_FEATURES_QCOM: {
541+
VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM supported = vku::InitStructHelper();
542+
features_2.pNext = &supported;
543+
DispatchGetPhysicalDeviceFeatures2(gpu, &features_2);
544+
const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM *enabling =
545+
reinterpret_cast<const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM *>(current);
546+
if (enabling->cooperativeMatrixConversion && !supported.cooperativeMatrixConversion) {
547+
ss << "VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM::cooperativeMatrixConversion is not supported\n";
548+
}
549+
break;
550+
}
540551
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_KHR: {
541552
VkPhysicalDeviceCooperativeMatrixFeaturesKHR supported = vku::InitStructHelper();
542553
features_2.pNext = &supported;

layers/vulkan/generated/feature_requirements_helper.cpp

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,22 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i
851851
"VkPhysicalDeviceCooperativeMatrix2FeaturesNV::cooperativeMatrixWorkgroupScope"};
852852
}
853853

854+
case Feature::cooperativeMatrixConversion: {
855+
auto vk_struct = const_cast<VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM *>(
856+
vku::FindStructInPNextChain<VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM>(*inout_pnext_chain));
857+
if (!vk_struct) {
858+
vk_struct = new VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM;
859+
*vk_struct = vku::InitStructHelper();
860+
if (*inout_pnext_chain) {
861+
vvl::PnextChainAdd(*inout_pnext_chain, vk_struct);
862+
} else {
863+
*inout_pnext_chain = vk_struct;
864+
}
865+
}
866+
return {&vk_struct->cooperativeMatrixConversion,
867+
"VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM::cooperativeMatrixConversion"};
868+
}
869+
854870
case Feature::cooperativeMatrix: {
855871
auto vk_struct = const_cast<VkPhysicalDeviceCooperativeMatrixFeaturesKHR *>(
856872
vku::FindStructInPNextChain<VkPhysicalDeviceCooperativeMatrixFeaturesKHR>(*inout_pnext_chain));
@@ -4779,21 +4795,21 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i
47794795
}
47804796
#ifdef VK_ENABLE_BETA_EXTENSIONS
47814797

4782-
case Feature::constantAlphaColorBlendFactors: {
4783-
auto vk_struct = const_cast<VkPhysicalDevicePortabilitySubsetFeaturesKHR *>(
4784-
vku::FindStructInPNextChain<VkPhysicalDevicePortabilitySubsetFeaturesKHR>(*inout_pnext_chain));
4785-
if (!vk_struct) {
4786-
vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR;
4787-
*vk_struct = vku::InitStructHelper();
4788-
if (*inout_pnext_chain) {
4789-
vvl::PnextChainAdd(*inout_pnext_chain, vk_struct);
4790-
} else {
4791-
*inout_pnext_chain = vk_struct;
4798+
case Feature::constantAlphaColorBlendFactors : {
4799+
auto vk_struct = const_cast<VkPhysicalDevicePortabilitySubsetFeaturesKHR *>(
4800+
vku::FindStructInPNextChain<VkPhysicalDevicePortabilitySubsetFeaturesKHR>(*inout_pnext_chain));
4801+
if (!vk_struct) {
4802+
vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR;
4803+
*vk_struct = vku::InitStructHelper();
4804+
if (*inout_pnext_chain) {
4805+
vvl::PnextChainAdd(*inout_pnext_chain, vk_struct);
4806+
} else {
4807+
*inout_pnext_chain = vk_struct;
4808+
}
47924809
}
4810+
return {&vk_struct->constantAlphaColorBlendFactors,
4811+
"VkPhysicalDevicePortabilitySubsetFeaturesKHR::constantAlphaColorBlendFactors"};
47934812
}
4794-
return {&vk_struct->constantAlphaColorBlendFactors,
4795-
"VkPhysicalDevicePortabilitySubsetFeaturesKHR::constantAlphaColorBlendFactors"};
4796-
}
47974813
#endif // VK_ENABLE_BETA_EXTENSIONS
47984814
#ifdef VK_ENABLE_BETA_EXTENSIONS
47994815

layers/vulkan/generated/feature_requirements_helper.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ enum class Feature {
116116
cooperativeMatrixTensorAddressing,
117117
// VkPhysicalDeviceCooperativeMatrix2FeaturesNV
118118
cooperativeMatrixWorkgroupScope,
119+
// VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM
120+
cooperativeMatrixConversion,
119121
// VkPhysicalDeviceCooperativeMatrixFeaturesKHR, VkPhysicalDeviceCooperativeMatrixFeaturesNV
120122
cooperativeMatrix,
121123
// VkPhysicalDeviceCooperativeMatrixFeaturesKHR, VkPhysicalDeviceCooperativeMatrixFeaturesNV

0 commit comments

Comments
 (0)