Skip to content

Commit dcbd02e

Browse files
dump: Add Descriptor Heaps Unions
1 parent b89039f commit dcbd02e

4 files changed

Lines changed: 90 additions & 27 deletions

File tree

layersvt/api_dump.h

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/* Copyright (c) 2015-2023 The Khronos Group Inc.
2-
* Copyright (c) 2015-2023 Valve Corporation
3-
* Copyright (c) 2015-2023 LunarG, Inc.
1+
/* Copyright (c) 2015-2026 The Khronos Group Inc.
2+
* Copyright (c) 2015-2026 Valve Corporation
3+
* Copyright (c) 2015-2026 LunarG, Inc.
44
* Copyright (C) 2015-2016 Google Inc.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -973,6 +973,9 @@ class ApiDumpInstance {
973973
VkIndirectExecutionSetInfoTypeEXT getIndirectExecutionSetInfoType() { return this->indirectExecutionSetInfoType; }
974974
void setIndirectCommandsLayoutToken(VkIndirectCommandsTokenTypeEXT type) { this->indirectCommandsLayoutToken = type; }
975975
VkIndirectCommandsTokenTypeEXT getIndirectCommandsLayoutToken() { return this->indirectCommandsLayoutToken; }
976+
void setDescriptorMappingSource(VkDescriptorMappingSourceEXT source) { this->descriptorMappingSource = source; }
977+
VkDescriptorMappingSourceEXT getDescriptorMappingSource() { return this->descriptorMappingSource; }
978+
976979
void setSpsMaxSubLayersMinus1(uint8_t sps_max_sub_layers_minus1) {
977980
this->sps_max_sub_layers_minus1 = sps_max_sub_layers_minus1;
978981
}
@@ -1052,7 +1055,7 @@ class ApiDumpInstance {
10521055
// Storage for VkPhysicalDeviceMemoryBudgetPropertiesEXT which needs the number of heaps from VkPhysicalDeviceMemoryProperties
10531056
uint32_t memory_heap_count;
10541057

1055-
// Storage for the VkDescriptorDataEXT union to know what is the active element
1058+
// Storage for the VkDescriptorDataEXT/VkResourceDescriptorDataEXT union to know what is the active element
10561059
VkDescriptorType descriptor_type;
10571060

10581061
// True when creating a graphics pipeline library with VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT or
@@ -1065,6 +1068,9 @@ class ApiDumpInstance {
10651068
// Storage for the VkIndirectCommandsTokenDataEXT union to know which is the active element
10661069
VkIndirectCommandsTokenTypeEXT indirectCommandsLayoutToken;
10671070

1071+
// Storage for the VkDescriptorMappingSourceDataEXT union
1072+
VkDescriptorMappingSourceEXT descriptorMappingSource;
1073+
10681074
// Storage for StdVideoH265HrdParameters's array length for pSubLayerHrdParametersNal and pSubLayerHrdParametersVcl
10691075
uint8_t sps_max_sub_layers_minus1;
10701076
uint8_t vps_max_sub_layers_minus1;

layersvt/generated/api_dump_dispatch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
/* Copyright (c) 2015-2025 Valve Corporation
3-
* Copyright (c) 2015-2025 LunarG, Inc.
2+
/* Copyright (c) 2015-2026 Valve Corporation
3+
* Copyright (c) 2015-2026 LunarG, Inc.
44
* Copyright (c) 2015-2017, 2019, 2021 Google Inc.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");

layersvt/generated/api_dump_implementation.h

Lines changed: 49 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
/* Copyright (c) 2015-2025 Valve Corporation
3-
* Copyright (c) 2015-2025 LunarG, Inc.
2+
/* Copyright (c) 2015-2026 Valve Corporation
3+
* Copyright (c) 2015-2026 LunarG, Inc.
44
* Copyright (c) 2015-2017, 2019, 2021 Google Inc.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -32474,18 +32474,27 @@ void dump_VkTensorViewCreateInfoARM(const VkTensorViewCreateInfoARM& object, con
3247432474
template <ApiDumpFormat Format>
3247532475
void dump_VkResourceDescriptorDataEXT(const VkResourceDescriptorDataEXT& object, const ApiDumpSettings& settings, const char* type_name, const char* var_name, int indents, const void* address = nullptr) {
3247632476
dump_start<Format>(settings, OutputConstruct::api_union, type_name, var_name, indents, address);
32477-
dump_pointer<Format>(object.pImage, settings, "const VkImageDescriptorInfoEXT*", "pImage", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkImageDescriptorInfoEXT<Format>);
32477+
if (ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) {
32478+
dump_pointer<Format>(object.pImage, settings, "const VkImageDescriptorInfoEXT*", "pImage", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkImageDescriptorInfoEXT<Format>);
32479+
}
3247832480
dump_separate_members<Format>(settings);
32479-
dump_pointer<Format>(object.pTexelBuffer, settings, "const VkTexelBufferDescriptorInfoEXT*", "pTexelBuffer", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkTexelBufferDescriptorInfoEXT<Format>);
32481+
if (ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER) {
32482+
dump_pointer<Format>(object.pTexelBuffer, settings, "const VkTexelBufferDescriptorInfoEXT*", "pTexelBuffer", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkTexelBufferDescriptorInfoEXT<Format>);
32483+
}
3248032484
dump_separate_members<Format>(settings);
32481-
dump_pointer<Format>(object.pAddressRange, settings, "const VkDeviceAddressRangeEXT*", "pAddressRange", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkDeviceAddressRangeEXT<Format>);
32485+
if (ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV) {
32486+
dump_pointer<Format>(object.pAddressRange, settings, "const VkDeviceAddressRangeEXT*", "pAddressRange", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkDeviceAddressRangeEXT<Format>);
32487+
}
3248232488
dump_separate_members<Format>(settings);
32483-
dump_pointer<Format>(object.pTensorARM, settings, "const VkTensorViewCreateInfoARM*", "pTensorARM", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkTensorViewCreateInfoARM<Format>);
32489+
if (ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_TENSOR_ARM) {
32490+
dump_pointer<Format>(object.pTensorARM, settings, "const VkTensorViewCreateInfoARM*", "pTensorARM", indents + (Format == ApiDumpFormat::Json ? 2 : 1), dump_VkTensorViewCreateInfoARM<Format>);
32491+
}
3248432492
dump_end<Format>(settings, OutputConstruct::api_struct, indents);
3248532493
}
3248632494
template <ApiDumpFormat Format>
3248732495
void dump_VkResourceDescriptorInfoEXT(const VkResourceDescriptorInfoEXT& object, const ApiDumpSettings& settings, const char* type_name, const char* var_name, int indents, const void* address = nullptr) {
3248832496
dump_start<Format>(settings, OutputConstruct::api_struct, type_name, var_name, indents, address);
32497+
ApiDumpInstance::current().setDescriptorType(object.type);
3248932498
dump_VkStructureType<Format>(object.sType, settings, "VkStructureType", "sType", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
3249032499
dump_separate_members<Format>(settings);
3249132500
dump_pNext<Format>(object.pNext, settings, "const void*", "pNext", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
@@ -32663,32 +32672,55 @@ void dump_VkDescriptorMappingSourceIndirectIndexArrayEXT(const VkDescriptorMappi
3266332672
template <ApiDumpFormat Format>
3266432673
void dump_VkDescriptorMappingSourceDataEXT(const VkDescriptorMappingSourceDataEXT& object, const ApiDumpSettings& settings, const char* type_name, const char* var_name, int indents, const void* address = nullptr) {
3266532674
dump_start<Format>(settings, OutputConstruct::api_union, type_name, var_name, indents, address);
32666-
dump_VkDescriptorMappingSourceConstantOffsetEXT<Format>(object.constantOffset, settings, "VkDescriptorMappingSourceConstantOffsetEXT", "constantOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32675+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT) {
32676+
dump_VkDescriptorMappingSourceConstantOffsetEXT<Format>(object.constantOffset, settings, "VkDescriptorMappingSourceConstantOffsetEXT", "constantOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32677+
}
3266732678
dump_separate_members<Format>(settings);
32668-
dump_VkDescriptorMappingSourcePushIndexEXT<Format>(object.pushIndex, settings, "VkDescriptorMappingSourcePushIndexEXT", "pushIndex", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32679+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT) {
32680+
dump_VkDescriptorMappingSourcePushIndexEXT<Format>(object.pushIndex, settings, "VkDescriptorMappingSourcePushIndexEXT", "pushIndex", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32681+
}
3266932682
dump_separate_members<Format>(settings);
32670-
dump_VkDescriptorMappingSourceIndirectIndexEXT<Format>(object.indirectIndex, settings, "VkDescriptorMappingSourceIndirectIndexEXT", "indirectIndex", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32683+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT) {
32684+
dump_VkDescriptorMappingSourceIndirectIndexEXT<Format>(object.indirectIndex, settings, "VkDescriptorMappingSourceIndirectIndexEXT", "indirectIndex", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32685+
}
3267132686
dump_separate_members<Format>(settings);
32672-
dump_VkDescriptorMappingSourceIndirectIndexArrayEXT<Format>(object.indirectIndexArray, settings, "VkDescriptorMappingSourceIndirectIndexArrayEXT", "indirectIndexArray", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32687+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT) {
32688+
dump_VkDescriptorMappingSourceIndirectIndexArrayEXT<Format>(object.indirectIndexArray, settings, "VkDescriptorMappingSourceIndirectIndexArrayEXT", "indirectIndexArray", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32689+
}
3267332690
dump_separate_members<Format>(settings);
32674-
dump_VkDescriptorMappingSourceHeapDataEXT<Format>(object.heapData, settings, "VkDescriptorMappingSourceHeapDataEXT", "heapData", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32691+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT) {
32692+
dump_VkDescriptorMappingSourceHeapDataEXT<Format>(object.heapData, settings, "VkDescriptorMappingSourceHeapDataEXT", "heapData", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32693+
}
3267532694
dump_separate_members<Format>(settings);
32676-
dump_type<Format, uint32_t>(object.pushDataOffset, settings, "uint32_t", "pushDataOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32695+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT) {
32696+
dump_type<Format, uint32_t>(object.pushDataOffset, settings, "uint32_t", "pushDataOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32697+
}
3267732698
dump_separate_members<Format>(settings);
32678-
dump_type<Format, uint32_t>(object.pushAddressOffset, settings, "uint32_t", "pushAddressOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32699+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT) {
32700+
dump_type<Format, uint32_t>(object.pushAddressOffset, settings, "uint32_t", "pushAddressOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32701+
}
3267932702
dump_separate_members<Format>(settings);
32680-
dump_VkDescriptorMappingSourceIndirectAddressEXT<Format>(object.indirectAddress, settings, "VkDescriptorMappingSourceIndirectAddressEXT", "indirectAddress", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32703+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT) {
32704+
dump_VkDescriptorMappingSourceIndirectAddressEXT<Format>(object.indirectAddress, settings, "VkDescriptorMappingSourceIndirectAddressEXT", "indirectAddress", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32705+
}
3268132706
dump_separate_members<Format>(settings);
32682-
dump_VkDescriptorMappingSourceShaderRecordIndexEXT<Format>(object.shaderRecordIndex, settings, "VkDescriptorMappingSourceShaderRecordIndexEXT", "shaderRecordIndex", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32707+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXT) {
32708+
dump_VkDescriptorMappingSourceShaderRecordIndexEXT<Format>(object.shaderRecordIndex, settings, "VkDescriptorMappingSourceShaderRecordIndexEXT", "shaderRecordIndex", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32709+
}
3268332710
dump_separate_members<Format>(settings);
32684-
dump_type<Format, uint32_t>(object.shaderRecordDataOffset, settings, "uint32_t", "shaderRecordDataOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32711+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXT) {
32712+
dump_type<Format, uint32_t>(object.shaderRecordDataOffset, settings, "uint32_t", "shaderRecordDataOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32713+
}
3268532714
dump_separate_members<Format>(settings);
32686-
dump_type<Format, uint32_t>(object.shaderRecordAddressOffset, settings, "uint32_t", "shaderRecordAddressOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32715+
if (ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXT) {
32716+
dump_type<Format, uint32_t>(object.shaderRecordAddressOffset, settings, "uint32_t", "shaderRecordAddressOffset", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
32717+
}
3268732718
dump_end<Format>(settings, OutputConstruct::api_struct, indents);
3268832719
}
3268932720
template <ApiDumpFormat Format>
3269032721
void dump_VkDescriptorSetAndBindingMappingEXT(const VkDescriptorSetAndBindingMappingEXT& object, const ApiDumpSettings& settings, const char* type_name, const char* var_name, int indents, const void* address = nullptr) {
3269132722
dump_start<Format>(settings, OutputConstruct::api_struct, type_name, var_name, indents, address);
32723+
ApiDumpInstance::current().setDescriptorMappingSource(object.source);
3269232724
dump_VkStructureType<Format>(object.sType, settings, "VkStructureType", "sType", indents + (Format == ApiDumpFormat::Json ? 2 : 1));
3269332725
dump_separate_members<Format>(settings);
3269432726
dump_pNext<Format>(object.pNext, settings, "const void*", "pNext", indents + (Format == ApiDumpFormat::Json ? 2 : 1));

scripts/generators/api_dump_generator.py

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/python3 -i
22
#
3-
# Copyright (c) 2015-2025 Valve Corporation
4-
# Copyright (c) 2015-2025 LunarG, Inc.
3+
# Copyright (c) 2015-2026 Valve Corporation
4+
# Copyright (c) 2015-2026 LunarG, Inc.
55
# Copyright (c) 2015-2016, 2019, 2021 Google Inc.
66
#
77
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -67,11 +67,17 @@
6767
'type': {
6868
'VkDescriptorGetInfoEXT':
6969
'ApiDumpInstance::current().setDescriptorType(object.type);',
70+
'VkResourceDescriptorInfoEXT':
71+
'ApiDumpInstance::current().setDescriptorType(object.type);',
7072
'VkIndirectExecutionSetInfoEXT':
7173
'ApiDumpInstance::current().setIndirectExecutionSetInfoType(object.type);',
7274
'VkIndirectCommandsLayoutTokenEXT':
7375
'ApiDumpInstance::current().setIndirectCommandsLayoutToken(object.type);',
7476
},
77+
'source': {
78+
'VkDescriptorSetAndBindingMappingEXT':
79+
'ApiDumpInstance::current().setDescriptorMappingSource(object.source);',
80+
},
7581
'sps_max_sub_layers_minus1':{
7682
'StdVideoH265SequenceParameterSet':
7783
'ApiDumpInstance::current().setSpsMaxSubLayersMinus1(object.sps_max_sub_layers_minus1);'
@@ -135,6 +141,25 @@
135141
'pStorageBuffer': 'ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER',
136142
'accelerationStructure': 'ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR',
137143
},
144+
'VkResourceDescriptorDataEXT':{
145+
'pImage': 'ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT',
146+
'pTexelBuffer': 'ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER',
147+
'pAddressRange': 'ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV || ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV',
148+
'pTensorARM': 'ApiDumpInstance::current().getDescriptorType() == VK_DESCRIPTOR_TYPE_TENSOR_ARM',
149+
},
150+
'VkDescriptorMappingSourceDataEXT':{
151+
'constantOffset' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT',
152+
'pushIndex' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT',
153+
'indirectIndex' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT',
154+
'indirectIndexArray' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT',
155+
'heapData' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT',
156+
'pushDataOffset' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT',
157+
'pushAddressOffset' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT',
158+
'indirectAddress' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT',
159+
'shaderRecordIndex' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXT',
160+
'shaderRecordDataOffset' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXT',
161+
'shaderRecordAddressOffset' : 'ApiDumpInstance::current().getDescriptorMappingSource() == VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXT',
162+
},
138163
'VkPipelineRenderingCreateInfo': {
139164
'colorAttachmentCount': '!ApiDumpInstance::current().getIsGPLPreRasterOrFragmentShader()',
140165
'pColorAttachmentFormats': '!ApiDumpInstance::current().getIsGPLPreRasterOrFragmentShader()',
@@ -318,8 +343,8 @@ def generate(self):
318343

319344
def generate_copyright(self):
320345
self.write('''
321-
/* Copyright (c) 2015-2025 Valve Corporation
322-
* Copyright (c) 2015-2025 LunarG, Inc.
346+
/* Copyright (c) 2015-2026 Valve Corporation
347+
* Copyright (c) 2015-2026 LunarG, Inc.
323348
* Copyright (c) 2015-2017, 2019, 2021 Google Inc.
324349
*
325350
* Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)