diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c3c9a6339..ffa009bf17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,6 +118,8 @@ if(${GFXRECON_ENABLE_RELEASE_ASSERTS}) add_definitions(-DGFXRECON_ENABLE_RELEASE_ASSERTS) endif() +option(GFXRECON_TOCPP_SUPPORT "Build ToCpp export tool as part of GFXReconstruct builds." OFF) + if(MSVC) # The host toolchain architecture (i.e. are the compiler and other tools compiled to ARM/Intel 32bit/64bit binaries): diff --git a/framework/decode/CMakeLists.txt b/framework/decode/CMakeLists.txt index b2d7e47360..9433877610 100644 --- a/framework/decode/CMakeLists.txt +++ b/framework/decode/CMakeLists.txt @@ -88,22 +88,20 @@ target_sources(gfxrecon_decode ${CMAKE_CURRENT_LIST_DIR}/struct_pointer_decoder.h ${CMAKE_CURRENT_LIST_DIR}/swapchain_image_tracker.h ${CMAKE_CURRENT_LIST_DIR}/value_decoder.h - ${CMAKE_CURRENT_LIST_DIR}/marker_consumer_base.h - ${CMAKE_CURRENT_LIST_DIR}/metadata_consumer_base.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_consumer_base.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_consumer_base.cpp - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_loader_generator.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_loader_generator.cpp - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_pre_process_consumer_base.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_pre_process_consumer_base.cpp - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_resource_tracker.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_resource_tracker.cpp - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_structs.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_structs.cpp - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_utilities.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_utilities.cpp - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_util_datapack.h - ${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_util_datapack.cpp + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_consumer_base.h> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_consumer_base.cpp> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_loader_generator.h> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_loader_generator.cpp> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_pre_process_consumer_base.h> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_pre_process_consumer_base.cpp> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_resource_tracker.h> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_resource_tracker.cpp> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_structs.h> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_structs.cpp> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_utilities.h> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_utilities.cpp> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_util_datapack.h> + $<$:${CMAKE_CURRENT_LIST_DIR}/vulkan_cpp_util_datapack.cpp> ${CMAKE_CURRENT_LIST_DIR}/vulkan_consumer_base.h ${CMAKE_CURRENT_LIST_DIR}/vulkan_stats_consumer.h ${CMAKE_CURRENT_LIST_DIR}/stat_decoder_base.h @@ -185,15 +183,15 @@ target_sources(gfxrecon_decode ${CMAKE_CURRENT_LIST_DIR}/vulkan_offscreen_swapchain.h ${CMAKE_CURRENT_LIST_DIR}/vulkan_offscreen_swapchain.cpp ${CMAKE_CURRENT_LIST_DIR}/window.h - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer.h - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer.cpp - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_pre_process_consumer.h - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_pre_process_consumer.cpp + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer.h> + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer.cpp> + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_pre_process_consumer.h> + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_pre_process_consumer.cpp> + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_structs.h> + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_structs.cpp> + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer_extension.h> + $<$:${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer_extension.cpp> ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_consumer.h - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_structs.h - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_structs.cpp - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer_extension.h - ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_cpp_consumer_extension.cpp ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_decoder.h ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_decoder.cpp ${CMAKE_SOURCE_DIR}/framework/generated/generated_vulkan_enum_to_json.h diff --git a/framework/decode/vulkan_cpp_consumer_base.cpp b/framework/decode/vulkan_cpp_consumer_base.cpp index 176f55ebec..dde432eee1 100644 --- a/framework/decode/vulkan_cpp_consumer_base.cpp +++ b/framework/decode/vulkan_cpp_consumer_base.cpp @@ -1,20 +1,19 @@ -/* -** Copyright (c) 2020 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2020 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #include "decode/vulkan_cpp_consumer_base.h" #include "decode/vulkan_cpp_template_strings.h" @@ -34,15 +33,15 @@ GFXRECON_BEGIN_NAMESPACE(gfxrecon) GFXRECON_BEGIN_NAMESPACE(decode) -struct GfxTocppPlatformMap +struct GfxToCppPlatformMap { - GfxTocppPlatform platform; + GfxToCppPlatform platform; std::string platform_str; }; -const GfxTocppPlatform GetGfxTocppPlatform(const std::string& format_str); -const std::string GfxTocppPlatformToString(GfxTocppPlatform platform); -bool GfxTocppPlatformIsValid(const GfxTocppPlatform& platform); +const GfxToCppPlatform GetGfxToCppPlatform(const std::string& format_str); +const std::string GfxToCppPlatformToString(GfxToCppPlatform platform); +bool GfxToCppPlatformIsValid(const GfxToCppPlatform& platform); VulkanCppConsumerBase::VulkanCppConsumerBase() : frame_file_(nullptr), global_file_(nullptr), header_file_(nullptr), main_file_(nullptr), pfn_loader_() @@ -86,21 +85,21 @@ void VulkanCppConsumerBase::WriteMainHeader() { switch (platform_) { - case GfxTocppPlatform::PLATFORM_ANDROID: + case GfxToCppPlatform::PLATFORM_ANDROID: fprintf(main_file_, "%s", sAndroidOutputDrawFunctionStart); break; - case GfxTocppPlatform::PLATFORM_WIN32: + case GfxToCppPlatform::PLATFORM_WIN32: fprintf(main_file_, "%s", sWin32OutputMainStart); break; - case GfxTocppPlatform::PLATFORM_XCB: + case GfxToCppPlatform::PLATFORM_XCB: fprintf(main_file_, "%s", sXcbOutputMainStart); break; - case GfxTocppPlatform::PLATFORM_COUNT: + case GfxToCppPlatform::PLATFORM_COUNT: default: { fprintf(main_file_, "// Nothing to generate for unknown platform: %s\n", - GfxTocppPlatformToString(platform_).c_str()); + GfxToCppPlatformToString(platform_).c_str()); assert(false); break; } @@ -111,21 +110,21 @@ void VulkanCppConsumerBase::WriteMainFooter() { switch (platform_) { - case GfxTocppPlatform::PLATFORM_ANDROID: + case GfxToCppPlatform::PLATFORM_ANDROID: fprintf(main_file_, "%s", sAndroidOutputDrawFunctionEnd); break; - case GfxTocppPlatform::PLATFORM_WIN32: + case GfxToCppPlatform::PLATFORM_WIN32: fprintf(main_file_, "%s", sWin32OutputMainEnd); break; - case GfxTocppPlatform::PLATFORM_XCB: + case GfxToCppPlatform::PLATFORM_XCB: fprintf(main_file_, "%s", sXcbOutputMainEnd); break; - case GfxTocppPlatform::PLATFORM_COUNT: + case GfxToCppPlatform::PLATFORM_COUNT: default: { fprintf(main_file_, "// Nothing to generate for unknown platform: %s\n", - GfxTocppPlatformToString(platform_).c_str()); + GfxToCppPlatformToString(platform_).c_str()); assert(false); break; } @@ -136,7 +135,7 @@ void VulkanCppConsumerBase::WriteGlobalHeaderFile() { switch (platform_) { - case GfxTocppPlatform::PLATFORM_ANDROID: + case GfxToCppPlatform::PLATFORM_ANDROID: fprintf(GetHeaderFile(), "%s%s%s%s", sAndroidOutputHeadersPlatform, @@ -144,7 +143,7 @@ void VulkanCppConsumerBase::WriteGlobalHeaderFile() sAndroidOutputHeader, sCommonOutputHeaderFunctions); break; - case GfxTocppPlatform::PLATFORM_WIN32: + case GfxToCppPlatform::PLATFORM_WIN32: fprintf(GetHeaderFile(), "%s%s%s%s", sWin32OutputHeadersPlatform, @@ -152,7 +151,7 @@ void VulkanCppConsumerBase::WriteGlobalHeaderFile() sWin32OutputHeader, sCommonOutputHeaderFunctions); break; - case GfxTocppPlatform::PLATFORM_XCB: + case GfxToCppPlatform::PLATFORM_XCB: fprintf(GetHeaderFile(), "%s%s%s%s", sXcbOutputHeadersPlatform, @@ -160,18 +159,18 @@ void VulkanCppConsumerBase::WriteGlobalHeaderFile() sXcbOutputHeader, sCommonOutputHeaderFunctions); break; - case GfxTocppPlatform::PLATFORM_COUNT: + case GfxToCppPlatform::PLATFORM_COUNT: default: { fprintf(main_file_, "// Nothing to generate for unknown platform: %s\n", - GfxTocppPlatformToString(platform_).c_str()); + GfxToCppPlatformToString(platform_).c_str()); assert(false); break; } } - PrintToFile(GetHeaderFile(), "extern %s;\n", GfxToCppVariable::toStrVec(variable_data_)); + PrintToFile(GetHeaderFile(), "extern %s;\n", GfxToCppVariable::GenerateStringVec(variable_data_)); PrintToFile(GetHeaderFile(), "%s", func_data_); @@ -197,16 +196,16 @@ void VulkanCppConsumerBase::PrintOutCMakeFile() { switch (platform_) { - case GfxTocppPlatform::PLATFORM_ANDROID: + case GfxToCppPlatform::PLATFORM_ANDROID: // Nothing to do here break; - case GfxTocppPlatform::PLATFORM_WIN32: + case GfxToCppPlatform::PLATFORM_WIN32: fprintf(cmake_file, "%s", sWin32CMakeFile); break; - case GfxTocppPlatform::PLATFORM_XCB: + case GfxToCppPlatform::PLATFORM_XCB: fprintf(cmake_file, "%s", sXcbCMakeFile); break; - case GfxTocppPlatform::PLATFORM_COUNT: + case GfxToCppPlatform::PLATFORM_COUNT: default: { fprintf(stderr, "Error while opening file: %s\n", filename.c_str()); @@ -272,10 +271,10 @@ void VulkanCppConsumerBase::PrintOutGlobalVar() switch (platform_) { - case GfxTocppPlatform::PLATFORM_ANDROID: + case GfxToCppPlatform::PLATFORM_ANDROID: fputs(sAndroidOutputGlobalSource, global_file); break; - case GfxTocppPlatform::PLATFORM_WIN32: + case GfxToCppPlatform::PLATFORM_WIN32: { int size = snprintf(NULL, 0, sWin32OutputOverrideMethod, window_width_, window_height_); char* formatted_output_override_method = new char[size + 2]; @@ -288,7 +287,7 @@ void VulkanCppConsumerBase::PrintOutGlobalVar() delete[] formatted_output_override_method; break; } - case GfxTocppPlatform::PLATFORM_XCB: + case GfxToCppPlatform::PLATFORM_XCB: { int size = snprintf(NULL, 0, sXcbOutputOverrideMethod, window_width_, window_height_); char* formatted_output_override_method = new char[size + 2]; @@ -301,17 +300,17 @@ void VulkanCppConsumerBase::PrintOutGlobalVar() delete[] formatted_output_override_method; break; } - case GfxTocppPlatform::PLATFORM_COUNT: + case GfxToCppPlatform::PLATFORM_COUNT: default: { fprintf(main_file_, "// Nothing to generate for unknown platform: %s\n", - GfxTocppPlatformToString(platform_).c_str()); + GfxToCppPlatformToString(platform_).c_str()); return; } } - PrintToFile(global_file, "%s;\n", GfxToCppVariable::toStrVec(variable_data_)); + PrintToFile(global_file, "%s;\n", GfxToCppVariable::GenerateStringVec(variable_data_)); if (needs_debug_util_callback_) { @@ -339,7 +338,7 @@ void VulkanCppConsumerBase::PrintOutGlobalVar() } bool VulkanCppConsumerBase::Initialize(const std::string& filename, - const GfxTocppPlatform& platform, + const GfxToCppPlatform& platform, const std::string& outputDir) { bool success = false; @@ -349,7 +348,7 @@ bool VulkanCppConsumerBase::Initialize(const std::string& filename, int32_t result = util::platform::FileOpen(&main_file_, filename.c_str(), "w"); if (result == 0) { - if (platform != GfxTocppPlatform::PLATFORM_COUNT) + if (platform != GfxToCppPlatform::PLATFORM_COUNT) { filename_ = filename; platform_ = platform; @@ -400,7 +399,7 @@ void VulkanCppConsumerBase::Destroy() WriteGlobalHeaderFile(); WriteMainFooter(); util::platform::FileClose(main_file_); - if (platform_ != GfxTocppPlatform::PLATFORM_ANDROID) + if (platform_ != GfxToCppPlatform::PLATFORM_ANDROID) { PrintOutCMakeFile(); } @@ -496,7 +495,7 @@ void VulkanCppConsumerBase::GenerateLoadData( const std::string& filename, uint64_t fileOffset, const std::string& dataPtrVarName, uint64_t offset, uint64_t size) { fprintf(GetFrameFile(), - "\tloadData(\"%s\", %" PRIu64 ", %s, %" PRIu64 ", %" PRIu64 ", appdata);\n", + "\tLoadBinaryData(\"%s\", %" PRIu64 ", %s, %" PRIu64 ", %" PRIu64 ", appdata);\n", filename.c_str(), fileOffset, dataPtrVarName.c_str(), @@ -756,13 +755,13 @@ void VulkanCppConsumerBase::Generate_vkGetBufferMemoryRequirements2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); - /* device */ - /* pInfo */ + // device + // pInfo std::stringstream stream_info; std::string info_struct_name = GenerateStruct_VkBufferMemoryRequirementsInfo2( stream_info, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_info.str().c_str()); - /* pMemoryRequirements */ + // pMemoryRequirements std::string memory_requirements_var_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pMemoryRequirements; memory_requirements_var_name = GenerateStruct_VkMemoryRequirements2(stream_pMemoryRequirements, @@ -795,13 +794,13 @@ void VulkanCppConsumerBase::Generate_vkGetImageMemoryRequirements2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); - /* device */ - /* pInfo */ + // device + // pInfo std::stringstream stream_info; std::string info_struct_name = GenerateStruct_VkImageMemoryRequirementsInfo2( stream_info, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_info.str().c_str()); - /* pMemoryRequirements */ + // pMemoryRequirements std::string memory_requirements_var_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pMemoryRequirements; memory_requirements_var_name = GenerateStruct_VkMemoryRequirements2(stream_pMemoryRequirements, @@ -1068,7 +1067,7 @@ static void BuildInstanceCreateInfo(std::ostream& out, out, struct_info->pApplicationInfo, metaInfo->pApplicationInfo->GetMetaStructPointer(), consumer); } - /* Print out enabled layers if there is any */ + // Print out enabled layers if there is any std::string enabled_layers_value = "NULL"; if (layerNames.size() > 0) { @@ -1082,7 +1081,7 @@ static void BuildInstanceCreateInfo(std::ostream& out, if (struct_info->enabledExtensionCount > 0) { // The array should be setup so that the enum could be used as an index. Just verify it - GfxTocppPlatform cur_platform = consumer.GetPlatform(); + GfxToCppPlatform cur_platform = consumer.GetPlatform(); assert(kValidTargetPlatforms[static_cast(cur_platform)].platformEnum == cur_platform); std::string cur_extension_name = kValidTargetPlatforms[static_cast(cur_platform)].wsiSurfaceExtName; @@ -1103,14 +1102,14 @@ static void BuildInstanceCreateInfo(std::ostream& out, } out << "\t\tVkInstanceCreateInfo " << var_name << " = {" << std::endl; - out << "\t\t/* sType */ " << util::ToString(struct_info->sType) << "," << std::endl; - out << "\t\t/* pNext */ " << next_name << "," << std::endl; - out << "\t\t/* flags */ " << util::ToString(struct_info->flags) << "," << std::endl; - out << "\t\t/* pApplicationInfo */ " << app_info_struct_var_name << "," << std::endl; - out << "\t\t/* enabledLayerCount */ " << layerNames.size() << "," << std::endl; - out << "\t\t/* ppEnabledLayerNames */ " << enabled_layers_value << "," << std::endl; - out << "\t\t/* enabledExtensionCount */ " << extension_names.size() << "," << std::endl; - out << "\t\t/* ppEnabledExtensionNames */ " << enabled_extensions_names << "," << std::endl; + out << "\t\t" << util::ToString(struct_info->sType) << ", // sType" << std::endl; + out << "\t\t" << next_name << ", // pNext" << std::endl; + out << "\t\t" << util::ToString(struct_info->flags) << ", // flags" << std::endl; + out << "\t\t" << app_info_struct_var_name << ", // pApplicationInfo" << std::endl; + out << "\t\t" << layerNames.size() << ", // enabledLayerCount" << std::endl; + out << "\t\t" << enabled_layers_value << ", // ppEnabledLayerNames" << std::endl; + out << "\t\t" << extension_names.size() << ", // enabledExtensionCount" << std::endl; + out << "\t\t" << enabled_extensions_names << " // ppEnabledExtensionNames" << std::endl; out << "\t\t};" << std::endl; std::string vkInstanceCreateInfoVar = "VkInstanceCreateInfo " + var_name + ";\n"; @@ -1172,7 +1171,7 @@ void VulkanCppConsumerBase::Generate_vkCreateShaderModule( const VkShaderModuleCreateInfo* struct_info = pCreateInfo->GetPointer(); - /* emit spirv data load. */ + // emit spirv data load. std::string code_var_name = "pCode_" + std::to_string(VulkanCppConsumerBase::GetNextId()); const SavedFileInfo file_info = spv_saver_.AddFileContents((const uint8_t*)struct_info->pCode, struct_info->codeSize); @@ -1186,12 +1185,11 @@ void VulkanCppConsumerBase::Generate_vkCreateShaderModule( std::stringstream out_struct; out_struct << "\t\tVkShaderModuleCreateInfo " << create_info_struct_name << " = {" << std::endl; - out_struct << "\t\t/* sType */ " << util::ToString(struct_info->sType) << "," << std::endl; - out_struct << "\t\t/* pNext */ " << struct_info->pNext << "," << std::endl; - out_struct << "\t\t/* flags */ " << util::ToString(struct_info->flags) << "," - << std::endl; - out_struct << "\t\t/* codeSize */ " << struct_info->codeSize << "," << std::endl; - out_struct << "\t\t/* pCode */ (const uint32_t*)" << code_var_name << "," << std::endl; + out_struct << "\t\t" << util::ToString(struct_info->sType) << ", // sType" << std::endl; + out_struct << "\t\t" << struct_info->pNext << ", // pNext" << std::endl; + out_struct << "\t\t" << util::ToString(struct_info->flags) << ", // flags" << std::endl; + out_struct << "\t\t" << struct_info->codeSize << ", // codeSize" << std::endl; + out_struct << "\t\t(const uint32_t*)" << code_var_name << " // pCode" << std::endl; out_struct << "\t\t};" << std::endl; fprintf(file, "%s", out_struct.str().c_str()); @@ -1210,7 +1208,7 @@ void VulkanCppConsumerBase::Generate_vkCreateShaderModule( shader_module_name.c_str(), util::ToString(returnValue).c_str()); - /* emit delete the allocated spv data. */ + // emit delete the allocated spv data. fprintf(file, "\t\tdelete [] %s;\n\n", code_var_name.c_str()); fprintf(file, "\t}\n"); } @@ -1231,16 +1229,12 @@ void VulkanCppConsumerBase::Generate_vkCreatePipelineCache( std::stringstream stream_create_info; stream_create_info << "\t\tVkPipelineCacheCreateInfo " << create_info_struct_var_name << " {" << std::endl; - stream_create_info << "\t\t/* sType */ " << util::ToString(struct_info->sType) << "," << std::endl; - stream_create_info << "\t\t/* pNext */ " << struct_info->pNext << "," << std::endl; - stream_create_info << "\t\t/* flags */ " << util::ToString(struct_info->flags) << "," + stream_create_info << "\t\t" << util::ToString(struct_info->sType) << ", // sType" << std::endl; + stream_create_info << "\t\t" << struct_info->pNext << ", // pNext" << std::endl; + stream_create_info << "\t\t" << util::ToString(struct_info->flags) << ", // flags" << std::endl; - stream_create_info << "\t\t/* initialDataSize */ " - << "0" - << "," << std::endl; - stream_create_info << "\t\t/* pInitialData */ " - << "NULL" - << "," << std::endl; + stream_create_info << "\t\t0, // initialDataSize" << std::endl; + stream_create_info << "\t\tNULL // pInitialData" << std::endl; stream_create_info << "\t\t};" << std::endl; fprintf(file, "\n%s", stream_create_info.str().c_str()); @@ -1321,7 +1315,7 @@ void VulkanCppConsumerBase::Generate_vkCreateXlibSurfaceKHR( GenerateSurfaceCreation(platform_, returnValue, instance, (void*)pCreateInfo, pSurface->GetPointer()); } -void VulkanCppConsumerBase::GenerateSurfaceCreation(GfxTocppPlatform platform, +void VulkanCppConsumerBase::GenerateSurfaceCreation(GfxToCppPlatform platform, VkResult returnValue, format::HandleId instance, void* pSurfaceCreateInfo, @@ -1338,7 +1332,7 @@ void VulkanCppConsumerBase::GenerateSurfaceCreation(GfxTocppPlatform plat switch (platform_) { - case GfxTocppPlatform::PLATFORM_ANDROID: + case GfxToCppPlatform::PLATFORM_ANDROID: { VkAndroidSurfaceCreateInfoKHR android_struct_info = {}; Decoded_VkAndroidSurfaceCreateInfoKHR decoded_android_info = {}; @@ -1355,7 +1349,7 @@ void VulkanCppConsumerBase::GenerateSurfaceCreation(GfxTocppPlatform plat surface_create_func_call = "vkCreateAndroidSurfaceKHR"; break; } - case GfxTocppPlatform::PLATFORM_WIN32: + case GfxToCppPlatform::PLATFORM_WIN32: { VkWin32SurfaceCreateInfoKHR win32_struct_info = {}; Decoded_VkWin32SurfaceCreateInfoKHR decoded_win32_info = {}; @@ -1372,7 +1366,7 @@ void VulkanCppConsumerBase::GenerateSurfaceCreation(GfxTocppPlatform plat surface_create_func_call = "vkCreateWin32SurfaceKHR"; break; } - case GfxTocppPlatform::PLATFORM_XCB: + case GfxToCppPlatform::PLATFORM_XCB: { VkXcbSurfaceCreateInfoKHR xcb_struct_info = {}; Decoded_VkXcbSurfaceCreateInfoKHR decoded_xcb_info = {}; @@ -1389,7 +1383,7 @@ void VulkanCppConsumerBase::GenerateSurfaceCreation(GfxTocppPlatform plat surface_create_func_call = "vkCreateXcbSurfaceKHR"; break; } - case GfxTocppPlatform::PLATFORM_COUNT: + case GfxToCppPlatform::PLATFORM_COUNT: default: { assert(false); @@ -1419,7 +1413,7 @@ void VulkanCppConsumerBase::Intercept_vkCreateSwapchainKHR( StructPointerDecoder* pAllocator, HandlePointerDecoder* pSwapchain) { - if (platform_ == GfxTocppPlatform::PLATFORM_ANDROID) + if (platform_ == GfxToCppPlatform::PLATFORM_ANDROID) { VkSwapchainCreateInfoKHR* struct_info = pCreateInfo->GetPointer(); struct_info->imageExtent.width = GetProperWindowWidth(struct_info->imageExtent.width); @@ -1434,7 +1428,7 @@ void VulkanCppConsumerBase::Intercept_vkCreateFramebuffer( StructPointerDecoder* pAllocator, HandlePointerDecoder* pFramebuffer) { - if (platform_ == GfxTocppPlatform::PLATFORM_ANDROID) + if (platform_ == GfxToCppPlatform::PLATFORM_ANDROID) { VkFramebufferCreateInfo* struct_info = pCreateInfo->GetPointer(); struct_info->width = GetProperWindowWidth(struct_info->width); @@ -1447,7 +1441,7 @@ void VulkanCppConsumerBase::Intercept_vkCmdBeginRenderPass( StructPointerDecoder* pRenderPassBegin, VkSubpassContents contents) { - if (platform_ == GfxTocppPlatform::PLATFORM_ANDROID) + if (platform_ == GfxToCppPlatform::PLATFORM_ANDROID) { // TODO: This completely breaks desktop, especially if anti-aliasing is enabled. // Leaving this in as the original drop had this code and it may be required @@ -2074,10 +2068,10 @@ void VulkanCppConsumerBase::Generate_vkCreateGraphicsPipelines( { FILE* file = GetFrameFile(); fprintf(file, " {\n"); - /* device */ - /* pipelineCache */ - /* createInfoCount */ - /* pCreateInfos */ + // device + // pipelineCache + // createInfoCount + // pCreateInfos std::stringstream stream_create_infos; std::string create_infos_array_variable = "NULL"; PointerPairContainerGetPointer()), decltype(pCreateInfos->GetMetaStructPointer())> @@ -2102,8 +2096,8 @@ void VulkanCppConsumerBase::Generate_vkCreateGraphicsPipelines( create_infos_array_variable.c_str(), create_info_var_name.c_str()); } - /* pAllocator */ - /* pPipelines */ + // pAllocator + // pPipelines std::string pipeline_var_name = "pPipelines_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PIPELINE)); AddKnownVariables("VkPipeline", pipeline_var_name, pPipelines->GetPointer(), createInfoCount); if (returnValue == VK_SUCCESS) @@ -2134,10 +2128,10 @@ void VulkanCppConsumerBase::Generate_vkCreateRayTracingPipelinesKHR( { FILE* file = GetFrameFile(); fprintf(file, " {\n"); - /* device */ - /* pipelineCache */ - /* createInfoCount */ - /* pCreateInfos */ + // device + // pipelineCache + // createInfoCount + // pCreateInfos std::stringstream stream_create_infos; std::string create_infos_array_variable = "NULL"; PointerPairContainerGetPointer()), decltype(pCreateInfos->GetMetaStructPointer())> @@ -2162,8 +2156,8 @@ void VulkanCppConsumerBase::Generate_vkCreateRayTracingPipelinesKHR( create_infos_array_variable.c_str(), create_info_var_name.c_str()); } - /* pAllocator */ - /* pPipelines */ + // pAllocator + // pPipelines std::string pipeline_var_name = "pPipelines_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PIPELINE)); AddKnownVariables("VkPipeline", pipeline_var_name, pPipelines->GetPointer(), createInfoCount); if (returnValue == VK_SUCCESS) @@ -2193,10 +2187,10 @@ void VulkanCppConsumerBase::Generate_vkCreateComputePipelines( { FILE* file = GetFrameFile(); fprintf(file, " {\n"); - /* device */ - /* pipelineCache */ - /* createInfoCount */ - /* pCreateInfos */ + // device + // pipelineCache + // createInfoCount + // pCreateInfos std::stringstream stream_create_infos; std::string create_infos_array_variable = "NULL"; PointerPairContainerGetPointer()), decltype(pCreateInfos->GetMetaStructPointer())> @@ -2221,8 +2215,8 @@ void VulkanCppConsumerBase::Generate_vkCreateComputePipelines( create_infos_array_variable.c_str(), create_info_var_name.c_str()); } - /* pAllocator */ - /* pPipelines */ + // pAllocator + // pPipelines std::string pipeline_var_name = "pPipelines_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PIPELINE)); AddKnownVariables("VkPipeline", pipeline_var_name, pPipelines->GetPointer(), createInfoCount); if (returnValue == VK_SUCCESS) @@ -2290,7 +2284,7 @@ std::string VulkanCppConsumerBase::EscapeStringArray(const std::vector"; } -bool GfxTocppPlatformIsValid(const GfxTocppPlatform& platform) +bool GfxToCppPlatformIsValid(const GfxToCppPlatform& platform) { - return platform != GfxTocppPlatform::PLATFORM_COUNT; + return platform != GfxToCppPlatform::PLATFORM_COUNT; } std::string VulkanCppConsumerBase::AddStruct(const std::stringstream& content, const std::string& var_namePrefix) @@ -2555,7 +2549,7 @@ void VulkanCppConsumerBase::AddKnownVariables(const std::string& type, if (!resource_tracker_->IsGlobalVariable(*handleId)) { fprintf(file, "//Local var at frame: %d, handle id: %" PRIu64 "\n", frame_number_, *handleId); - fprintf(file, "%s;\n", variable.str().c_str()); + fprintf(file, "%s;\n", variable.GenerateString().c_str()); return; } variable_data_.emplace_back(variable); @@ -2574,7 +2568,7 @@ void VulkanCppConsumerBase::AddKnownVariables(const std::string& type, if (!has_global) { fprintf(GetFrameFile(), "//Local var at frame: %d, handle id: %" PRIu64 "\n", frame_number_, handleId[0]); - fprintf(GetFrameFile(), "%s;\n", variable.str().c_str()); + fprintf(GetFrameFile(), "%s;\n", variable.GenerateString().c_str()); return; } variable_data_.emplace_back(variable); @@ -2657,7 +2651,7 @@ void VulkanCppConsumerBase::ProcessFillMemoryCommand(uint64_t memory_id, "\t\t\t\tsize_t replay_row_pitch = %s.plane_info[0].replay_row_pitch;\n", android_hw_mem_name.c_str()); fprintf(file, "\t\t\t\tuint32_t height = %s.plane_info[0].height;\n", android_hw_mem_name.c_str()); - fprintf(file, "\t\t\t\tcopyImageSubresourceMemory(static_cast(buffer_data),\n"); + fprintf(file, "\t\t\t\tCopyImageSubresourceMemory(static_cast(buffer_data),\n"); fprintf(file, "\t\t\t\t data,\n"); fprintf(file, "\t\t\t\t data_offset,\n"); fprintf(file, "\t\t\t\t data_size,v\n"); @@ -2708,7 +2702,7 @@ void VulkanCppConsumerBase::ProcessResizeWindowCommand2(format::HandleId surface { FILE* file = GetFrameFile(); - if (platform_ == GfxTocppPlatform::PLATFORM_ANDROID) + if (platform_ == GfxToCppPlatform::PLATFORM_ANDROID) { fprintf( file, "\tscreen.windowSetSizePreTransform(%u, %u, %u);\n", window_width_, window_height_, pre_transform); @@ -2730,7 +2724,7 @@ void VulkanCppConsumerBase::ProcessCreateHardwareBufferCommand( uint32_t layers, const std::vector& plane_info) { - if (platform_ == GfxTocppPlatform::PLATFORM_ANDROID) + if (platform_ == GfxToCppPlatform::PLATFORM_ANDROID) { FILE* file = GetFrameFile(); @@ -2956,8 +2950,8 @@ void VulkanCppConsumerBase::Process_vkDeferredOperationJoinKHR(const ApiCallInfo { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); - /* device */ - /* operation */ + // device + // operation pfn_loader_.AddMethodName("vkDeferredOperationJoinKHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkDeferredOperationJoinKHR(%s, %s), %s);\n", diff --git a/framework/decode/vulkan_cpp_consumer_base.h b/framework/decode/vulkan_cpp_consumer_base.h index 58b38c6ae6..7e24c37dab 100644 --- a/framework/decode/vulkan_cpp_consumer_base.h +++ b/framework/decode/vulkan_cpp_consumer_base.h @@ -1,20 +1,19 @@ -/* -** Copyright (c) 2020 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2020 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #ifndef GFXRECON_DECODE_VULKAN_CPP_CONSUMER_BASE_H #define GFXRECON_DECODE_VULKAN_CPP_CONSUMER_BASE_H @@ -59,7 +58,7 @@ class VulkanCppConsumerBase : public VulkanConsumer virtual ~VulkanCppConsumerBase() override; - bool Initialize(const std::string& filename, const GfxTocppPlatform& platform, const std::string& outputDir); + bool Initialize(const std::string& filename, const GfxToCppPlatform& platform, const std::string& outputDir); void Destroy(); @@ -73,7 +72,7 @@ class VulkanCppConsumerBase : public VulkanConsumer const std::string& GetFilename() const { return filename_; } - GfxTocppPlatform GetPlatform() { return platform_; } + GfxToCppPlatform GetPlatform() { return platform_; } uint32_t GetProperWindowWidth(uint32_t width) { return std::min(width, window_width_); }; uint32_t GetProperWindowHeight(uint32_t height) { return std::min(height, window_height_); }; @@ -133,6 +132,9 @@ class VulkanCppConsumerBase : public VulkanConsumer uint32_t GetCurrentApiCallNumber() { return api_call_number_; } + void SetNeedsDebugUtilsCallback(bool value) { needs_debug_util_callback_ = value; } + + // Custom code generation commands void Generate_vkEnumeratePhysicalDevices(VkResult returnValue, format::HandleId instance, PointerDecoder* pPhysicalDeviceCount, @@ -236,7 +238,7 @@ class VulkanCppConsumerBase : public VulkanConsumer StructPointerDecoder* pAllocator, HandlePointerDecoder* pPipelineCache); - void GenerateSurfaceCreation(GfxTocppPlatform platform, + void GenerateSurfaceCreation(GfxToCppPlatform platform, VkResult returnValue, format::HandleId instance, void* pSurfaceCreateInfo, @@ -379,6 +381,7 @@ class VulkanCppConsumerBase : public VulkanConsumer StructPointerDecoder* pAllocator, HandlePointerDecoder* pPipelines); + // Intercept commands that perform additional work prior to the standard code generation void Intercept_vkCreateDevice(VkResult returnValue, format::HandleId physicalDevice, StructPointerDecoder* pCreateInfo, @@ -401,6 +404,7 @@ class VulkanCppConsumerBase : public VulkanConsumer StructPointerDecoder* pRenderPassBegin, VkSubpassContents contents); + // Complete manual process functions void Process_vkCreateRayTracingPipelinesKHR( const ApiCallInfo& call_info, VkResult returnValue, @@ -436,11 +440,13 @@ class VulkanCppConsumerBase : public VulkanConsumer format::HandleId descriptorUpdateTemplate, DescriptorUpdateTemplateDecoder* pData) override; + // String utilities static std::string ToEscape(const char* value); static std::string EscapeStringArray(const char* const* layerNames, const uint32_t stringArrayLength); static std::string ToEscape(const std::string& value); static std::string EscapeStringArray(const std::vector& strings); + // Special case struct build functions for cleaner use in generated code. static std::string BuildValue(const VkClearColorValue color); static std::string BuildValue(const VkClearValue clearValue); static std::string BuildValue(const VkClearValue* clearValue); @@ -494,8 +500,6 @@ class VulkanCppConsumerBase : public VulkanConsumer return output.str(); } - void SetNeedsDebugUtilsCallback(bool value) { needs_debug_util_callback_ = value; } - // Meta data commands virtual void ProcessSetDeviceMemoryPropertiesCommand(format::HandleId physical_device_id, @@ -572,30 +576,29 @@ class VulkanCppConsumerBase : public VulkanConsumer private: bool CreateSubOutputDirectories(const std::vector& subDirs); - + void PrintOutCMakeFile(); + void PrintOutGlobalVar(); void WriteMainHeader(); void WriteMainFooter(); void WriteGlobalHeaderFile(); - void PrintOutGlobalVar(); - void PrintOutCMakeFile(); struct FrameTempMemory { std::string name; size_t size; }; - std::vector frame_split_temp_memory_; uint32_t frame_number_; uint32_t frame_split_number_; uint32_t frame_api_call_number_; uint32_t api_call_number_; + std::vector frame_split_temp_memory_; FILE* frame_file_; FILE* global_file_; FILE* header_file_; FILE* main_file_; std::string filename_; - GfxTocppPlatform platform_; + GfxToCppPlatform platform_; std::string out_dir_; std::string bin_out_dir_; std::string spv_out_dir_; diff --git a/framework/decode/vulkan_cpp_loader_generator.cpp b/framework/decode/vulkan_cpp_loader_generator.cpp index 24e931dc1e..ff72c856d3 100644 --- a/framework/decode/vulkan_cpp_loader_generator.cpp +++ b/framework/decode/vulkan_cpp_loader_generator.cpp @@ -1,20 +1,19 @@ -/* -** Copyright (c) 2021 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2021 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #include "decode/vulkan_cpp_loader_generator.h" @@ -44,7 +43,7 @@ void VulkanCppLoaderGenerator::AddMethodName(const std::string method_name) vulkan_methods_.insert(method_name); } -void VulkanCppLoaderGenerator::WriteOutLoaderGenerator(const std::string& outDir, const GfxTocppPlatform& platform) +void VulkanCppLoaderGenerator::WriteOutLoaderGenerator(const std::string& outDir, const GfxToCppPlatform& platform) { FILE* pfn_src_file; // loader.cpp FILE* pfn_hdr_file; // loader.h @@ -57,22 +56,22 @@ void VulkanCppLoaderGenerator::WriteOutLoaderGenerator(const std::string& outDir fprintf(pfn_hdr_file, "%s\n", sLoaderHeader); switch (platform) { - case GfxTocppPlatform::PLATFORM_ANDROID: + case GfxToCppPlatform::PLATFORM_ANDROID: fprintf(pfn_src_file, "#define VK_USE_PLATFORM_ANDROID_KHR\n"); break; - case GfxTocppPlatform::PLATFORM_MACOS: + case GfxToCppPlatform::PLATFORM_MACOS: fprintf(pfn_src_file, "#define VK_USE_PLATFORM_METAL_EXT\n"); break; - case GfxTocppPlatform::PLATFORM_WAYLAND: + case GfxToCppPlatform::PLATFORM_WAYLAND: fprintf(pfn_src_file, "#define VK_USE_PLATFORM_WAYLAND_KHR\n"); break; - case GfxTocppPlatform::PLATFORM_WIN32: + case GfxToCppPlatform::PLATFORM_WIN32: fprintf(pfn_src_file, "#define VK_USE_PLATFORM_WIN32_KHR\n"); break; - case GfxTocppPlatform::PLATFORM_XCB: + case GfxToCppPlatform::PLATFORM_XCB: fprintf(pfn_src_file, "#define VK_USE_PLATFORM_XCB_KHR\n"); break; - case GfxTocppPlatform::PLATFORM_XLIB: + case GfxToCppPlatform::PLATFORM_XLIB: fprintf(pfn_src_file, "#define VK_USE_PLATFORM_XLIB_KHR\n"); break; default: diff --git a/framework/decode/vulkan_cpp_loader_generator.h b/framework/decode/vulkan_cpp_loader_generator.h index ee5830d499..6006d7aa2c 100644 --- a/framework/decode/vulkan_cpp_loader_generator.h +++ b/framework/decode/vulkan_cpp_loader_generator.h @@ -1,20 +1,19 @@ -/* -** Copyright (c) 2021 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2021 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #ifndef GFXRECON_DECODE_VULKAN_CPP_LOADER_GENERATOR_H #define GFXRECON_DECODE_VULKAN_CPP_LOADER_GENERATOR_H @@ -36,7 +35,7 @@ class VulkanCppLoaderGenerator ~VulkanCppLoaderGenerator(); void AddMethodName(const std::string method_name); - void WriteOutLoaderGenerator(const std::string& outDir, const GfxTocppPlatform& platform); + void WriteOutLoaderGenerator(const std::string& outDir, const GfxToCppPlatform& platform); private: std::set vulkan_methods_; diff --git a/framework/decode/vulkan_cpp_pre_process_consumer_base.cpp b/framework/decode/vulkan_cpp_pre_process_consumer_base.cpp index 4c1078a481..9749b99068 100644 --- a/framework/decode/vulkan_cpp_pre_process_consumer_base.cpp +++ b/framework/decode/vulkan_cpp_pre_process_consumer_base.cpp @@ -1,21 +1,20 @@ -/* -** Copyright (c) 2021 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2021 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #include "vulkan_cpp_pre_process_consumer_base.h" diff --git a/framework/decode/vulkan_cpp_pre_process_consumer_base.h b/framework/decode/vulkan_cpp_pre_process_consumer_base.h index e45e7e8dfd..63a16c38c2 100644 --- a/framework/decode/vulkan_cpp_pre_process_consumer_base.h +++ b/framework/decode/vulkan_cpp_pre_process_consumer_base.h @@ -1,21 +1,20 @@ -/* -** Copyright (c) 2021 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2021 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #ifndef GFXRECONSTRUCT_VULKAN_CPP_PRE_PROCESS_CONSUMER_BASE_H #define GFXRECONSTRUCT_VULKAN_CPP_PRE_PROCESS_CONSUMER_BASE_H diff --git a/framework/decode/vulkan_cpp_resource_tracker.cpp b/framework/decode/vulkan_cpp_resource_tracker.cpp index e1c1fdeb8d..c995aec805 100644 --- a/framework/decode/vulkan_cpp_resource_tracker.cpp +++ b/framework/decode/vulkan_cpp_resource_tracker.cpp @@ -1,21 +1,20 @@ -/* -** Copyright (c) 2021 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2021 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #include "vulkan_cpp_resource_tracker.h" #include "util/defines.h" diff --git a/framework/decode/vulkan_cpp_resource_tracker.h b/framework/decode/vulkan_cpp_resource_tracker.h index 653bc07b8b..3cacdce700 100644 --- a/framework/decode/vulkan_cpp_resource_tracker.h +++ b/framework/decode/vulkan_cpp_resource_tracker.h @@ -1,21 +1,20 @@ -/* -** Copyright (c) 2022 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2022 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #ifndef GFXRECONSTRUCT_VULKAN_CPP_RESOURCE_TRACKER_H #define GFXRECONSTRUCT_VULKAN_CPP_RESOURCE_TRACKER_H @@ -34,7 +33,6 @@ GFXRECON_BEGIN_NAMESPACE(decode) struct FrameId { - // TODO(tkeri: uint64_t to include xxhash64?) uint32_t frame_number; uint32_t frame_split; @@ -46,9 +44,11 @@ struct FrameId struct FrameIdHasher { - uint32_t operator()(const FrameId& frameId) const + uint64_t operator()(const FrameId& frameId) const { - return XXHash32::hash(&frameId.frame_split, 1, 0) ^ XXHash32::hash(&frameId.frame_number, 1, 0); + // With a 32-bit frame and split number, we can easily just output a 64-bit "hash" which is just both + // numbers bit-shifted giving a unique value instead of doing an actual 32-bit hash on each number. + return (static_cast(frameId.frame_split) << 32) | (static_cast(frameId.frame_number) & 0x00000000FFFFFFFF); } }; diff --git a/framework/decode/vulkan_cpp_structs.cpp b/framework/decode/vulkan_cpp_structs.cpp index f1fd1a4320..07b0e8dae6 100644 --- a/framework/decode/vulkan_cpp_structs.cpp +++ b/framework/decode/vulkan_cpp_structs.cpp @@ -39,24 +39,26 @@ std::string GenerateStruct_VkMemoryAllocateInfo(std::ostream& ou bool new_size = consumer.GetResourceMemoryRequirements(memoryHandleId, memory_reqs); std::stringstream struct_body; - /* sType */ + // sType struct_body << "\t\t\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; - /* pNext */ + // pNext std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); struct_body << "\t\t\t" << pnext_name << "," << std::endl; - /* allocationSize */ + // allocationSize struct_body << "\t\t\t" << structInfo->allocationSize << "UL" << "," << std::endl; - /* memoryTypeIndex */ + // memoryTypeIndex struct_body << "\t\t\t" << "RecalculateMemoryTypeIndex(" << structInfo->memoryTypeIndex << ")" << ","; + std::string variable_name = consumer.AddStruct(struct_body, "memoryAllocateInfo"); out << "\t\tVkMemoryAllocateInfo " << variable_name << " {" << std::endl; out << struct_body.str() << std::endl; out << "\t\t};" << std::endl; + return variable_name; } @@ -111,7 +113,7 @@ std::string GenerateStruct_VkWriteDescriptorSet(std::ostream& ou (structInfo->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) { sampler_value = consumer.GetHandle(image_meta_infos[idx].sampler); - assert(sampler_value.length() > 0); /* There should be a sampler in these cases */ + assert(sampler_value.length() > 0); // There should be a sampler in these cases } info_values += "{ " + sampler_value + ", " + consumer.GetHandle(image_meta_infos[idx].imageView) + @@ -226,7 +228,7 @@ std::string GenerateStruct_VkPresentInfoKHR(std::ostream& out, } else { - /* this should never happen */ + // this should never happen } } @@ -257,7 +259,7 @@ std::string GenerateStruct_VkPresentInfoKHR(std::ostream& out, struct_body << "\t\t\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; - /* pNext */ + // pNext std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); struct_body << "\t\t\t" << pnext_name << "," << std::endl; struct_body << "\t\t\t" << structInfo->waitSemaphoreCount << "," << std::endl; @@ -272,6 +274,7 @@ std::string GenerateStruct_VkPresentInfoKHR(std::ostream& out, out << "\t\tVkPresentInfoKHR " << variable_name << " {" << std::endl; out << struct_body.str() << std::endl; out << "\t\t};" << std::endl; + return variable_name; } @@ -391,34 +394,34 @@ GenerateStruct_VkDescriptorUpdateTemplateCreateInfoKHR(std::ostream& << "[] = {" << descriptor_update_entries_names << "};" << std::endl; } std::stringstream struct_body; - /* sType */ + // sType struct_body << "\t\t\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; - /* pNext */ + // pNext std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); struct_body << "\t\t\t" << pnext_name << "," << std::endl; - /* flags */ + // flags struct_body << "\t\t\t" << "VkDescriptorUpdateTemplateCreateFlags>(" << structInfo->flags << ")" << "," << std::endl; - /* descriptorUpdateEntryCount */ + // descriptorUpdateEntryCount struct_body << "\t\t\t" << structInfo->descriptorUpdateEntryCount << "," << std::endl; - /* pDescriptorUpdateEntries */ + // pDescriptorUpdateEntries struct_body << "\t\t\t" << descriptor_update_entries_array_string << "," << std::endl; - /* templateType */ + // templateType struct_body << "\t\t\t" << "VkDescriptorUpdateTemplateType(" << structInfo->templateType << ")" << "," << std::endl; - /* descriptorSetLayout */ + // descriptorSetLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->descriptorSetLayout) << "," << std::endl; - /* pipelineBindPoint */ + // pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; - /* pipelineLayout */ + // pipelineLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pipelineLayout) << "," << std::endl; - /* set */ + // set struct_body << "\t\t\t" << structInfo->set << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorUpdateTemplateCreateInfo"); @@ -471,19 +474,19 @@ std::string GenerateStruct_VkDescriptorUpdateTemplateEntry(std::ostream& VulkanCppConsumerBase& consumer) { std::stringstream struct_body; - /* dstBinding */ + // dstBinding struct_body << "\t\t\t" << structInfo->dstBinding << "," << std::endl; - /* dstArrayElement */ + // dstArrayElement struct_body << "\t\t\t" << structInfo->dstArrayElement << "," << std::endl; - /* descriptorCount */ + // descriptorCount struct_body << "\t\t\t" << structInfo->descriptorCount << "," << std::endl; - /* descriptorType */ + // descriptorType struct_body << "\t\t\t" << "VkDescriptorType(" << structInfo->descriptorType << ")" << "," << std::endl; - /* offset */ + // offset struct_body << "\t\t\t" << structInfo->offset << "," << std::endl; - /* stride */ + // stride struct_body << "\t\t\t" << structInfo->stride << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorUpdateTemplateEntry"); @@ -503,15 +506,15 @@ GenerateStruct_VkAccelerationStructureMotionInstanceNV(std::ostream& std::stringstream struct_body; std::string accel_struct_inst_variable = GenerateStruct_VkAccelerationStructureInstanceKHR( out, &structInfo->data.staticInstance, metaInfo->staticInstance, consumer); - /* type */ + // type struct_body << "\t\t\t" << "VkAccelerationStructureMotionInstanceTypeNV(" << structInfo->type << ")" << "," << std::endl; - /* flags */ + // flags struct_body << "\t\t\t" << "VkAccelerationStructureMotionInstanceFlagsNV(" << structInfo->flags << ")" << "," << std::endl; - /* data */ + // data struct_body << "\t\t\t" << accel_struct_inst_variable << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureMotionInstanceNV"); @@ -531,19 +534,19 @@ std::string GenerateStruct_VkAccelerationStructureGeometryKHR(std::ostream& std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); std::string triangle_geometry = GenerateStruct_VkAccelerationStructureGeometryTrianglesDataKHR( out, &structInfo->geometry.triangles, metaInfo->geometry->triangles, consumer); - /* sType */ + // sType struct_body << "\t\t\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; - /* pNext */ + // pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; - /* geometryType */ + // geometryType struct_body << "\t\t\t" << "VkGeometryTypeKHR(" << structInfo->geometryType << ")" << "," << std::endl; - /* geometry */ + // geometry struct_body << "\t\t\t" << triangle_geometry << "," << std::endl; - /* flags */ + // flags struct_body << "\t\t\t" << "VkGeometryFlagsKHR(" << structInfo->flags << ")" << ","; @@ -554,6 +557,7 @@ std::string GenerateStruct_VkAccelerationStructureGeometryKHR(std::ostream& out << struct_body.str() << std::endl; out << "\t\t" << "};" << std::endl; + return variable_name; } @@ -564,28 +568,28 @@ std::string GenerateStruct_VkDebugUtilsMessengerCreateInfoEXT(std::ostream& { std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); - /* sType */ + // sType struct_body << "\t\t\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; - /* pNext */ + // pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; - /* flags */ + // flags struct_body << "\t\t\t" << "VkDebugUtilsMessengerCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; - /* messageSeverity */ + // messageSeverity struct_body << "\t\t\t" << "VkDebugUtilsMessageSeverityFlagsEXT(" << structInfo->messageSeverity << ")" << "," << std::endl; - /* messageType */ + // messageType struct_body << "\t\t\t" << "VkDebugUtilsMessageTypeFlagsEXT(" << structInfo->messageType << ")" << "," << std::endl; - /* pfnUserCallback */ + // pfnUserCallback struct_body << "\t\t\t&vulkanCppDebugUtilsCallback," << std::endl; consumer.SetNeedsDebugUtilsCallback(true); - /* pUserData */ + // pUserData struct_body << "\t\t\tnullptr,"; std::string variable_name = consumer.AddStruct(struct_body, "debugUtilsMessengerCreateInfoEXT"); @@ -602,17 +606,18 @@ std::string GenerateStruct_VkPerformanceValueINTEL(std::ostream& VulkanCppConsumerBase& consumer) { std::stringstream struct_body; - /* type */ + // type struct_body << "\t\t\t" << "VkPerformanceValueTypeINTEL(" << structInfo->type << ")" << "," << std::endl; - /* data */ + // data struct_body << "\t\t\t" << structInfo->data.value32 << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceValueINTEL"); out << "\t\tVkPerformanceValueINTEL " << variable_name << " {" << std::endl; out << struct_body.str() << std::endl; out << "\t\t};" << std::endl; + return variable_name; } diff --git a/framework/decode/vulkan_cpp_structs.h b/framework/decode/vulkan_cpp_structs.h index 53c349eba8..4bda009a88 100644 --- a/framework/decode/vulkan_cpp_structs.h +++ b/framework/decode/vulkan_cpp_structs.h @@ -84,7 +84,10 @@ std::string GenerateStruct_VkDebugUtilsMessengerCreateInfoEXT(std::ostream& Decoded_VkDebugUtilsMessengerCreateInfoEXT* metainfo, VulkanCppConsumerBase& consumer); -std::string GenerateStruct_VkPerformanceValueINTEL(std::ostream &out, const VkPerformanceValueINTEL* structInfo, Decoded_VkPerformanceValueINTEL* metainfo, VulkanCppConsumerBase &consumer); +std::string GenerateStruct_VkPerformanceValueINTEL(std::ostream& out, + const VkPerformanceValueINTEL* structInfo, + Decoded_VkPerformanceValueINTEL* metainfo, + VulkanCppConsumerBase& consumer); GFXRECON_END_NAMESPACE(gfxrecon) GFXRECON_END_NAMESPACE(decode) diff --git a/framework/decode/vulkan_cpp_template_strings.h b/framework/decode/vulkan_cpp_template_strings.h index b865ef8bda..a7af4cb47a 100644 --- a/framework/decode/vulkan_cpp_template_strings.h +++ b/framework/decode/vulkan_cpp_template_strings.h @@ -86,24 +86,24 @@ static uint8_t CountBits(uint32_t val) { } uint32_t RecalculateMemoryTypeIndex(uint32_t originalMemoryTypeIndex) { - VkMemoryPropertyFlags targetPropertyFlags = originalMemoryTypes[0][originalMemoryTypeIndex].propertyFlags; - uint32_t memoryTypeIndex = UINT32_MAX; + VkMemoryPropertyFlags target_property_flags = originalMemoryTypes[0][originalMemoryTypeIndex].propertyFlags; + uint32_t memory_type_index = UINT32_MAX; // Always try the same index in case we are attempting a replay on the same device as it was recorded on. - if ((s_physicalDeviceMemoryProperties.memoryTypes[originalMemoryTypeIndex].propertyFlags & targetPropertyFlags) == - targetPropertyFlags) { - memoryTypeIndex = originalMemoryTypeIndex; + if ((s_physicalDeviceMemoryProperties.memoryTypes[originalMemoryTypeIndex].propertyFlags & target_property_flags) == + target_property_flags) { + memory_type_index = originalMemoryTypeIndex; } else { bool fallback_found = false; uint32_t fallback_index = 0; uint8_t fallback_important_bits = 0; uint8_t fallback_normal_bits = 0; for (uint32_t i = 0; i < s_physicalDeviceMemoryProperties.memoryTypeCount; i++) { - if((s_physicalDeviceMemoryProperties.memoryTypes[i].propertyFlags & targetPropertyFlags) == targetPropertyFlags) { - memoryTypeIndex = i; + if((s_physicalDeviceMemoryProperties.memoryTypes[i].propertyFlags & target_property_flags) == target_property_flags) { + memory_type_index = i; break; } - uint32_t cur_flags = (s_physicalDeviceMemoryProperties.memoryTypes[i].propertyFlags & targetPropertyFlags); + uint32_t cur_flags = (s_physicalDeviceMemoryProperties.memoryTypes[i].propertyFlags & target_property_flags); uint8_t normal_bits = CountBits(cur_flags); uint32_t important_flags = (cur_flags & (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT)); uint8_t important_bits = CountBits(important_flags); @@ -115,21 +115,21 @@ uint32_t RecalculateMemoryTypeIndex(uint32_t originalMemoryTypeIndex) { } } - if (memoryTypeIndex == UINT32_MAX) { + if (memory_type_index == UINT32_MAX) { if (fallback_found) { - memoryTypeIndex = fallback_index; + memory_type_index = fallback_index; } else { printf("Warning: couldn't find a matching memory type index, falling back to original.\n"); - memoryTypeIndex = originalMemoryTypeIndex; + memory_type_index = originalMemoryTypeIndex; } } - if (originalMemoryTypeIndex != memoryTypeIndex) { - printf("Warning: memory type index changed from %u to %u.\n", originalMemoryTypeIndex, memoryTypeIndex); + if (originalMemoryTypeIndex != memory_type_index) { + printf("Warning: memory type index changed from %u to %u.\n", originalMemoryTypeIndex, memory_type_index); } } - return memoryTypeIndex; + return memory_type_index; } )"; @@ -171,7 +171,7 @@ static const char* sXcbOutputMainEnd = R"( )"; static const char* sXcbOutputHeadersPlatform = R"( -/* This file is a generated source, follow the instructions under tools/tocpp/README.md to build. */ +// This file is a generated source, follow the instructions under tools/tocpp/README.md to build. #define VK_USE_PLATFORM_XCB_KHR )"; @@ -199,18 +199,18 @@ extern void LogVkError(const char* function, const char* file, int line, VkResult capturedReturnValue); -extern size_t loadData(const char* filename, - size_t file_offset, - void* buffer, - size_t offset, - size_t data_size, - struct XCBApp& appdata); +extern size_t LoadBinaryData(const char* filename, + size_t file_offset, + void* buffer, + size_t offset, + size_t data_size, + struct XCBApp& appdata); )"; static const char* sXcbOutputOverrideMethod = R"( void OverrideVkXcbSurfaceCreateInfoKHR(VkXcbSurfaceCreateInfoKHR* createInfo, struct XCBApp& appdata) { - /* Open the connection to the X server */ + // Open the connection to the X server xcb_connection_t *connection = xcb_connect(NULL, NULL); if (xcb_connection_has_error(connection) > 0) @@ -219,29 +219,28 @@ void OverrideVkXcbSurfaceCreateInfoKHR(VkXcbSurfaceCreateInfoKHR* createInfo, exit(1); } - /* Get the first screen */ + // Get the first screen const xcb_setup_t *setup = xcb_get_setup(connection); xcb_screen_iterator_t iter = xcb_setup_roots_iterator(setup); xcb_screen_t *screen = iter.data; - /* Create the window */ + // Create the window xcb_window_t window = xcb_generate_id(connection); - xcb_create_window(connection, /* Connection */ - XCB_COPY_FROM_PARENT, /* depth (same as root)*/ - window, /* window Id */ - screen->root, /* parent window */ - 0, 0, /* x, y */ - appdata.width, appdata.height, /* width, height */ - 10, /* border_width */ - XCB_WINDOW_CLASS_INPUT_OUTPUT, /* class */ - screen->root_visual, /* visual */ - 0, NULL ); /* masks, not used yet */ - - - /* Map the window on the screen */ + xcb_create_window(connection, // Connection + XCB_COPY_FROM_PARENT, // depth (same as root) + window, // window Id + screen->root, // parent window + 0, 0, // x, y + appdata.width, appdata.height, // width, height + 10, // border_width + XCB_WINDOW_CLASS_INPUT_OUTPUT, // class + screen->root_visual, // visual + 0, NULL ); // masks, not used yet + + // Map the window on the screen xcb_map_window(connection, window); - /* Make sure commands are sent before we pause so that the window gets shown */ + // Make sure commands are sent before we pause so that the window gets shown xcb_flush(connection); appdata.connection = connection; @@ -283,12 +282,12 @@ void UpdateWindowSize(uint32_t width, appdata.height = height; } -size_t loadData(const char* filename, - size_t file_offset, - void* buffer, - size_t offset, - size_t data_size, - struct XCBApp& appdata) { +size_t LoadBinaryData(const char* filename, + size_t file_offset, + void* buffer, + size_t offset, + size_t data_size, + struct XCBApp& appdata) { (void)appdata; // Unused FILE* fp = fopen(filename, "rb"); @@ -324,7 +323,7 @@ target_link_libraries(vulkan_app vulkan xcb) // Beginning of Android template strings static const char* sAndroidOutputHeadersPlatform = R"( -/* This file is a generated source, follow the instructions under tools/tocpp/README.md to build. */ +// This file is a generated source, follow the instructions under tools/tocpp/README.md to build. #define VK_USE_PLATFORM_ANDROID_KHR )"; @@ -344,12 +343,12 @@ void OverrideVkAndroidSurfaceCreateInfoKHR(VkAndroidSurfaceCreateInfoKHR* create createInfo->window = appdata->window; } -void loadData(const char* filename, - size_t file_offset, - void* buffer, - size_t offset, - size_t data_size, - android_app* app) { +void LoadBinaryData(const char* filename, + size_t file_offset, + void* buffer, + size_t offset, + size_t data_size, + android_app* app) { AAsset* file = AAssetManager_open(app->activity->assetManager, filename, AASSET_MODE_STREAMING); if (!file) { @@ -365,7 +364,7 @@ void loadData(const char* filename, AAsset_close(file); } -void copyImageSubresourceMemory(uint8_t* dst, +void CopyImageSubresourceMemory(uint8_t* dst, const uint8_t* src, size_t offset, size_t size, @@ -494,13 +493,13 @@ static const char* sAndroidOutputHeader = R"( extern void OverrideVkAndroidSurfaceCreateInfoKHR(VkAndroidSurfaceCreateInfoKHR* createInfo, struct android_app* appdata); -extern void loadData(const char* filename, - size_t file_offset, - void* buffer, - size_t offset, - size_t data_size, - android_app* app); -extern void copyImageSubresourceMemory(uint8_t* dst, +extern void LoadBinaryData(const char* filename, + size_t file_offset, + void* buffer, + size_t offset, + size_t data_size, + android_app* app); +extern void CopyImageSubresourceMemory(uint8_t* dst, const uint8_t* src, size_t offset, size_t size, @@ -555,7 +554,7 @@ static const char* sWin32OutputMainEnd = R"( )"; static const char* sWin32OutputHeadersPlatform = R"( -/* This file is a generated source, follow the instructions under tools/tocpp/README.md to build. */ +// This file is a generated source, follow the instructions under tools/tocpp/README.md to build. #define VK_USE_PLATFORM_WIN32_KHR )"; @@ -584,12 +583,12 @@ extern void LogVkError(const char* function, const char* file, int line, VkResult capturedReturnValue); -extern size_t loadData(const char* filename, - size_t file_offset, - void* buffer, - size_t offset, - size_t data_size, - struct Win32App& appdata); +extern size_t LoadBinaryData(const char* filename, + size_t file_offset, + void* buffer, + size_t offset, + size_t data_size, + struct Win32App& appdata); )"; static const char* sWin32OutputOverrideMethod = R"( @@ -624,12 +623,12 @@ void UpdateWindowSize(uint32_t width, appdata.height = height; } -size_t loadData(const char* filename, - size_t file_offset, - void* buffer, - size_t offset, - size_t data_size, - struct Win32App& appdata) { +size_t LoadBinaryData(const char* filename, + size_t file_offset, + void* buffer, + size_t offset, + size_t data_size, + struct Win32App& appdata) { (void)appdata; // Unused FILE* fp = fopen(filename, "rb"); diff --git a/framework/decode/vulkan_cpp_util_datapack.cpp b/framework/decode/vulkan_cpp_util_datapack.cpp index 1ef6eadb30..f898449c72 100644 --- a/framework/decode/vulkan_cpp_util_datapack.cpp +++ b/framework/decode/vulkan_cpp_util_datapack.cpp @@ -1,20 +1,19 @@ -/* -** Copyright (c) 2021 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2021 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #include "decode/vulkan_cpp_util_datapack.h" @@ -46,10 +45,10 @@ const SavedFileInfo DataFilePacker::AddFileContents(const uint8_t* data, const u if (dataEntry.file_path.empty()) { - /* The binary contents is not found in any previous chunk. */ + // The binary contents is not found in any previous chunk. if (current_data_file_.current_size > size_limit_in_bytes_) { - /* Reached the current file size limit, create a new data chunk. */ + // Reached the current file size limit, create a new data chunk. NewTargetFile(); } diff --git a/framework/decode/vulkan_cpp_util_datapack.h b/framework/decode/vulkan_cpp_util_datapack.h index fc82f3abac..0758ccd80a 100644 --- a/framework/decode/vulkan_cpp_util_datapack.h +++ b/framework/decode/vulkan_cpp_util_datapack.h @@ -1,20 +1,19 @@ -/* -** Copyright (c) 2021 Samsung -** Copyright (c) 2023 Google -** Copyright (c) 2023 LunarG, Inc -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ +// +// Copyright (c) 2021 Samsung +// Copyright (c) 2023 Google +// Copyright (c) 2023 LunarG, Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #ifndef GFXRECON_DECODE_VULKAN_CPP_UTIL_DATAPACK_H #define GFXRECON_DECODE_VULKAN_CPP_UTIL_DATAPACK_H diff --git a/framework/decode/vulkan_cpp_utilities.cpp b/framework/decode/vulkan_cpp_utilities.cpp index 7e6e04e0b4..1331bce4db 100644 --- a/framework/decode/vulkan_cpp_utilities.cpp +++ b/framework/decode/vulkan_cpp_utilities.cpp @@ -23,7 +23,7 @@ GFXRECON_BEGIN_NAMESPACE(gfxrecon) GFXRECON_BEGIN_NAMESPACE(decode) -std::string GfxToCppVariable::str() const +std::string GfxToCppVariable::GenerateString() const { std::string var_string = type + " " + name; if (count > 0) @@ -33,14 +33,14 @@ std::string GfxToCppVariable::str() const return var_string; } -std::vector GfxToCppVariable::toStrVec(const std::vector& variables) +std::vector GfxToCppVariable::GenerateStringVec(const std::vector& variables) { std::vector var_strings; var_strings.reserve(variables.size()); std::transform(variables.begin(), variables.end(), std::back_inserter(var_strings), - [](const GfxToCppVariable& variable) { return variable.str(); }); + [](const GfxToCppVariable& variable) { return variable.GenerateString(); }); return var_strings; } diff --git a/framework/decode/vulkan_cpp_utilities.h b/framework/decode/vulkan_cpp_utilities.h index e09680afbe..afb1f1c13d 100644 --- a/framework/decode/vulkan_cpp_utilities.h +++ b/framework/decode/vulkan_cpp_utilities.h @@ -31,7 +31,7 @@ GFXRECON_BEGIN_NAMESPACE(decode) const uint32_t MAX_FRAME_CAPACITY = 1000; -enum class GfxTocppPlatform +enum class GfxToCppPlatform { PLATFORM_ANDROID, PLATFORM_MACOS, @@ -44,18 +44,18 @@ enum class GfxTocppPlatform struct PlatformTargets { - gfxrecon::decode::GfxTocppPlatform platformEnum; + gfxrecon::decode::GfxToCppPlatform platformEnum; char platformName[32]; char wsiSurfaceExtName[32]; }; const PlatformTargets kValidTargetPlatforms[] = { - { GfxTocppPlatform::PLATFORM_ANDROID, "android", VK_KHR_ANDROID_SURFACE_EXTENSION_NAME }, - { GfxTocppPlatform::PLATFORM_MACOS, "macos", VK_EXT_METAL_SURFACE_EXTENSION_NAME }, - { GfxTocppPlatform::PLATFORM_WAYLAND, "wayland", VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME }, - { GfxTocppPlatform::PLATFORM_WIN32, "win32", VK_KHR_WIN32_SURFACE_EXTENSION_NAME }, - { GfxTocppPlatform::PLATFORM_XCB, "xcb", VK_KHR_XCB_SURFACE_EXTENSION_NAME }, - { GfxTocppPlatform::PLATFORM_XLIB, "xlib", VK_KHR_XLIB_SURFACE_EXTENSION_NAME } + { GfxToCppPlatform::PLATFORM_ANDROID, "android", VK_KHR_ANDROID_SURFACE_EXTENSION_NAME }, + { GfxToCppPlatform::PLATFORM_MACOS, "macos", VK_EXT_METAL_SURFACE_EXTENSION_NAME }, + { GfxToCppPlatform::PLATFORM_WAYLAND, "wayland", VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME }, + { GfxToCppPlatform::PLATFORM_WIN32, "win32", VK_KHR_WIN32_SURFACE_EXTENSION_NAME }, + { GfxToCppPlatform::PLATFORM_XCB, "xcb", VK_KHR_XCB_SURFACE_EXTENSION_NAME }, + { GfxToCppPlatform::PLATFORM_XLIB, "xlib", VK_KHR_XLIB_SURFACE_EXTENSION_NAME } }; struct GfxToCppVariable @@ -64,8 +64,8 @@ struct GfxToCppVariable std::string name; uint32_t count; - std::string str() const; - static std::vector toStrVec(const std::vector& variables); + std::string GenerateString() const; + static std::vector GenerateStringVec(const std::vector& variables); }; void PrintToFile(FILE* file, const std::string& format, const std::vector& data); diff --git a/framework/generated/generated_vulkan_cpp_consumer.cpp b/framework/generated/generated_vulkan_cpp_consumer.cpp index 263dcb4e60..250b65e01d 100644 --- a/framework/generated/generated_vulkan_cpp_consumer.cpp +++ b/framework/generated/generated_vulkan_cpp_consumer.cpp @@ -59,15 +59,15 @@ void VulkanCppConsumer::Process_vkAllocateCommandBuffers( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pAllocateInfo */ +// device +// pAllocateInfo std::stringstream stream_pallocate_info; std::string pallocate_info_struct = GenerateStruct_VkCommandBufferAllocateInfo(stream_pallocate_info, pAllocateInfo->GetPointer(), pAllocateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pallocate_info.str().c_str()); -/* pCommandBuffers */ +// pCommandBuffers std::string pcommand_buffers_name = "pCommandBuffers_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_COMMAND_BUFFER)); AddKnownVariables("VkCommandBuffer", pcommand_buffers_name, pCommandBuffers->GetPointer(), pAllocateInfo->GetPointer()->commandBufferCount); if (returnValue == VK_SUCCESS) { @@ -93,15 +93,15 @@ void VulkanCppConsumer::Process_vkAllocateDescriptorSets( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pAllocateInfo */ +// device +// pAllocateInfo std::stringstream stream_pallocate_info; std::string pallocate_info_struct = GenerateStruct_VkDescriptorSetAllocateInfo(stream_pallocate_info, pAllocateInfo->GetPointer(), pAllocateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pallocate_info.str().c_str()); -/* pDescriptorSets */ +// pDescriptorSets std::string pdescriptor_sets_name = "pDescriptorSets_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DESCRIPTOR_SET)); AddKnownVariables("VkDescriptorSet", pdescriptor_sets_name, pDescriptorSets->GetPointer(), pAllocateInfo->GetPointer()->descriptorSetCount); if (returnValue == VK_SUCCESS) { @@ -138,8 +138,8 @@ void VulkanCppConsumer::Process_vkBeginCommandBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pBeginInfo */ +// commandBuffer +// pBeginInfo std::stringstream stream_pbegin_info; std::string pbegin_info_struct = GenerateStruct_VkCommandBufferBeginInfo(stream_pbegin_info, pBeginInfo->GetPointer(), @@ -165,10 +165,10 @@ void VulkanCppConsumer::Process_vkBindBufferMemory( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* buffer */ -/* memory */ -/* memoryOffset */ +// device +// buffer +// memory +// memoryOffset fprintf(file, "\t\tVK_CALL_CHECK(vkBindBufferMemory(%s, %s, %s, %" PRIu64 "UL), %s);\n", this->GetHandle(device).c_str(), @@ -190,10 +190,10 @@ void VulkanCppConsumer::Process_vkBindImageMemory( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* image */ -/* memory */ -/* memoryOffset */ +// device +// image +// memory +// memoryOffset fprintf(file, "\t\tVK_CALL_CHECK(vkBindImageMemory(%s, %s, %s, %" PRIu64 "UL), %s);\n", this->GetHandle(device).c_str(), @@ -214,10 +214,10 @@ void VulkanCppConsumer::Process_vkCmdBeginQuery( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* queryPool */ -/* query */ -/* flags */ +// commandBuffer +// queryPool +// query +// flags fprintf(file, "\t\tvkCmdBeginQuery(%s, %s, %u, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -237,15 +237,15 @@ void VulkanCppConsumer::Process_vkCmdBeginRenderPass( Intercept_vkCmdBeginRenderPass(commandBuffer, pRenderPassBegin, contents); FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pRenderPassBegin */ +// commandBuffer +// pRenderPassBegin std::stringstream stream_prender_pass_begin; std::string prender_pass_begin_struct = GenerateStruct_VkRenderPassBeginInfo(stream_prender_pass_begin, pRenderPassBegin->GetPointer(), pRenderPassBegin->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_prender_pass_begin.str().c_str()); -/* contents */ +// contents fprintf(file, "\t\tvkCmdBeginRenderPass(%s, &%s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -268,12 +268,12 @@ void VulkanCppConsumer::Process_vkCmdBindDescriptorSets( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineBindPoint */ -/* layout */ -/* firstSet */ -/* descriptorSetCount */ -/* pDescriptorSets */ +// commandBuffer +// pipelineBindPoint +// layout +// firstSet +// descriptorSetCount +// pDescriptorSets std::string pdescriptor_sets_array = "NULL"; std::string pdescriptor_sets_values = toStringJoin(pDescriptorSets->GetPointer(), pDescriptorSets->GetPointer() + descriptorSetCount, @@ -285,8 +285,8 @@ void VulkanCppConsumer::Process_vkCmdBindDescriptorSets( pdescriptor_sets_array = "pdescriptor_sets_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkDescriptorSet %s[] = { %s };\n", pdescriptor_sets_array.c_str(), pdescriptor_sets_values.c_str()); } -/* dynamicOffsetCount */ -/* pDynamicOffsets */ +// dynamicOffsetCount +// pDynamicOffsets std::string pdynamic_offsets_array = "pDynamicOffsets_" + std::to_string(this->GetNextId()); if (dynamicOffsetCount > 0) { std::string pdynamic_offsets_values = toStringJoin(pDynamicOffsets->GetPointer(), @@ -320,10 +320,10 @@ void VulkanCppConsumer::Process_vkCmdBindIndexBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* indexType */ +// commandBuffer +// buffer +// offset +// indexType fprintf(file, "\t\tvkCmdBindIndexBuffer(%s, %s, %" PRIu64 "UL, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -342,9 +342,9 @@ void VulkanCppConsumer::Process_vkCmdBindPipeline( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineBindPoint */ -/* pipeline */ +// commandBuffer +// pipelineBindPoint +// pipeline fprintf(file, "\t\tvkCmdBindPipeline(%s, %s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -364,10 +364,10 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstBinding */ -/* bindingCount */ -/* pBuffers */ +// commandBuffer +// firstBinding +// bindingCount +// pBuffers std::string pbuffers_array = "NULL"; std::string pbuffers_values = toStringJoin(pBuffers->GetPointer(), pBuffers->GetPointer() + bindingCount, @@ -379,7 +379,7 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers( pbuffers_array = "pbuffers_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkBuffer %s[] = { %s };\n", pbuffers_array.c_str(), pbuffers_values.c_str()); } -/* pOffsets */ +// pOffsets std::string poffsets_array = "pOffsets_" + std::to_string(this->GetNextId()); if (bindingCount > 0) { std::string poffsets_values = toStringJoin(pOffsets->GetPointer(), @@ -414,13 +414,13 @@ void VulkanCppConsumer::Process_vkCmdBlitImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* srcImage */ -/* srcImageLayout */ -/* dstImage */ -/* dstImageLayout */ -/* regionCount */ -/* pRegions */ +// commandBuffer +// srcImage +// srcImageLayout +// dstImage +// dstImageLayout +// regionCount +// pRegions std::stringstream stream_pregions; std::string pregions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRegions->GetMetaStructPointer())> pregions_pair{ pRegions->GetPointer(), pRegions->GetMetaStructPointer(), regionCount }; @@ -437,7 +437,7 @@ void VulkanCppConsumer::Process_vkCmdBlitImage( fprintf(file, "\t\tVkImageBlit %s[] = { %s };\n", pregions_array.c_str(), pregions_names.c_str()); } } -/* filter */ +// filter fprintf(file, "\t\tvkCmdBlitImage(%s, %s, %s, %s, %s, %u, %s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -462,9 +462,9 @@ void VulkanCppConsumer::Process_vkCmdClearAttachments( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* attachmentCount */ -/* pAttachments */ +// commandBuffer +// attachmentCount +// pAttachments std::stringstream stream_pattachments; std::string pattachments_array = "NULL"; PointerPairContainerGetPointer()), decltype(pAttachments->GetMetaStructPointer())> pattachments_pair{ pAttachments->GetPointer(), pAttachments->GetMetaStructPointer(), attachmentCount }; @@ -481,8 +481,8 @@ void VulkanCppConsumer::Process_vkCmdClearAttachments( fprintf(file, "\t\tVkClearAttachment %s[] = { %s };\n", pattachments_array.c_str(), pattachments_names.c_str()); } } -/* rectCount */ -/* pRects */ +// rectCount +// pRects std::stringstream stream_prects; std::string prects_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRects->GetMetaStructPointer())> prects_pair{ pRects->GetPointer(), pRects->GetMetaStructPointer(), rectCount }; @@ -521,18 +521,18 @@ void VulkanCppConsumer::Process_vkCmdClearColorImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* image */ -/* imageLayout */ -/* pColor */ +// commandBuffer +// image +// imageLayout +// pColor std::stringstream stream_pcolor; std::string pcolor_struct = GenerateStruct_VkClearColorValue(stream_pcolor, pColor->GetPointer(), pColor->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcolor.str().c_str()); -/* rangeCount */ -/* pRanges */ +// rangeCount +// pRanges std::stringstream stream_pranges; std::string pranges_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRanges->GetMetaStructPointer())> pranges_pair{ pRanges->GetPointer(), pRanges->GetMetaStructPointer(), rangeCount }; @@ -572,18 +572,18 @@ void VulkanCppConsumer::Process_vkCmdClearDepthStencilImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* image */ -/* imageLayout */ -/* pDepthStencil */ +// commandBuffer +// image +// imageLayout +// pDepthStencil std::stringstream stream_pdepth_stencil; std::string pdepth_stencil_struct = GenerateStruct_VkClearDepthStencilValue(stream_pdepth_stencil, pDepthStencil->GetPointer(), pDepthStencil->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pdepth_stencil.str().c_str()); -/* rangeCount */ -/* pRanges */ +// rangeCount +// pRanges std::stringstream stream_pranges; std::string pranges_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRanges->GetMetaStructPointer())> pranges_pair{ pRanges->GetPointer(), pRanges->GetMetaStructPointer(), rangeCount }; @@ -622,11 +622,11 @@ void VulkanCppConsumer::Process_vkCmdCopyBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* srcBuffer */ -/* dstBuffer */ -/* regionCount */ -/* pRegions */ +// commandBuffer +// srcBuffer +// dstBuffer +// regionCount +// pRegions std::stringstream stream_pregions; std::string pregions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRegions->GetMetaStructPointer())> pregions_pair{ pRegions->GetPointer(), pRegions->GetMetaStructPointer(), regionCount }; @@ -665,12 +665,12 @@ void VulkanCppConsumer::Process_vkCmdCopyBufferToImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* srcBuffer */ -/* dstImage */ -/* dstImageLayout */ -/* regionCount */ -/* pRegions */ +// commandBuffer +// srcBuffer +// dstImage +// dstImageLayout +// regionCount +// pRegions std::stringstream stream_pregions; std::string pregions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRegions->GetMetaStructPointer())> pregions_pair{ pRegions->GetPointer(), pRegions->GetMetaStructPointer(), regionCount }; @@ -711,13 +711,13 @@ void VulkanCppConsumer::Process_vkCmdCopyImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* srcImage */ -/* srcImageLayout */ -/* dstImage */ -/* dstImageLayout */ -/* regionCount */ -/* pRegions */ +// commandBuffer +// srcImage +// srcImageLayout +// dstImage +// dstImageLayout +// regionCount +// pRegions std::stringstream stream_pregions; std::string pregions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRegions->GetMetaStructPointer())> pregions_pair{ pRegions->GetPointer(), pRegions->GetMetaStructPointer(), regionCount }; @@ -758,12 +758,12 @@ void VulkanCppConsumer::Process_vkCmdCopyImageToBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* srcImage */ -/* srcImageLayout */ -/* dstBuffer */ -/* regionCount */ -/* pRegions */ +// commandBuffer +// srcImage +// srcImageLayout +// dstBuffer +// regionCount +// pRegions std::stringstream stream_pregions; std::string pregions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRegions->GetMetaStructPointer())> pregions_pair{ pRegions->GetPointer(), pRegions->GetMetaStructPointer(), regionCount }; @@ -805,14 +805,14 @@ void VulkanCppConsumer::Process_vkCmdCopyQueryPoolResults( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* queryPool */ -/* firstQuery */ -/* queryCount */ -/* dstBuffer */ -/* dstOffset */ -/* stride */ -/* flags */ +// commandBuffer +// queryPool +// firstQuery +// queryCount +// dstBuffer +// dstOffset +// stride +// flags fprintf(file, "\t\tvkCmdCopyQueryPoolResults(%s, %s, %u, %u, %s, %" PRIu64 "UL, %" PRIu64 "UL, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -836,10 +836,10 @@ void VulkanCppConsumer::Process_vkCmdDispatch( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* groupCountX */ -/* groupCountY */ -/* groupCountZ */ +// commandBuffer +// groupCountX +// groupCountY +// groupCountZ fprintf(file, "\t\tvkCmdDispatch(%s, %u, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -858,9 +858,9 @@ void VulkanCppConsumer::Process_vkCmdDispatchIndirect( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ +// commandBuffer +// buffer +// offset fprintf(file, "\t\tvkCmdDispatchIndirect(%s, %s, %" PRIu64 "UL);\n", this->GetHandle(commandBuffer).c_str(), @@ -880,11 +880,11 @@ void VulkanCppConsumer::Process_vkCmdDraw( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* vertexCount */ -/* instanceCount */ -/* firstVertex */ -/* firstInstance */ +// commandBuffer +// vertexCount +// instanceCount +// firstVertex +// firstInstance fprintf(file, "\t\tvkCmdDraw(%s, %u, %u, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -907,12 +907,12 @@ void VulkanCppConsumer::Process_vkCmdDrawIndexed( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* indexCount */ -/* instanceCount */ -/* firstIndex */ -/* vertexOffset */ -/* firstInstance */ +// commandBuffer +// indexCount +// instanceCount +// firstIndex +// vertexOffset +// firstInstance fprintf(file, "\t\tvkCmdDrawIndexed(%s, %u, %u, %u, %d, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -935,11 +935,11 @@ void VulkanCppConsumer::Process_vkCmdDrawIndexedIndirect( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* drawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// drawCount +// stride fprintf(file, "\t\tvkCmdDrawIndexedIndirect(%s, %s, %" PRIu64 "UL, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -961,11 +961,11 @@ void VulkanCppConsumer::Process_vkCmdDrawIndirect( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* drawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// drawCount +// stride fprintf(file, "\t\tvkCmdDrawIndirect(%s, %s, %" PRIu64 "UL, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -985,9 +985,9 @@ void VulkanCppConsumer::Process_vkCmdEndQuery( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* queryPool */ -/* query */ +// commandBuffer +// queryPool +// query fprintf(file, "\t\tvkCmdEndQuery(%s, %s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -1003,7 +1003,7 @@ void VulkanCppConsumer::Process_vkCmdEndRenderPass( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ +// commandBuffer fprintf(file, "\t\tvkCmdEndRenderPass(%s);\n", this->GetHandle(commandBuffer).c_str()); @@ -1019,9 +1019,9 @@ void VulkanCppConsumer::Process_vkCmdExecuteCommands( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* commandBufferCount */ -/* pCommandBuffers */ +// commandBuffer +// commandBufferCount +// pCommandBuffers std::string pcommand_buffers_array = "NULL"; std::string pcommand_buffers_values = toStringJoin(pCommandBuffers->GetPointer(), pCommandBuffers->GetPointer() + commandBufferCount, @@ -1052,11 +1052,11 @@ void VulkanCppConsumer::Process_vkCmdFillBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* dstBuffer */ -/* dstOffset */ -/* size */ -/* data */ +// commandBuffer +// dstBuffer +// dstOffset +// size +// data fprintf(file, "\t\tvkCmdFillBuffer(%s, %s, %" PRIu64 "UL, %" PRIu64 "UL, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -1075,8 +1075,8 @@ void VulkanCppConsumer::Process_vkCmdNextSubpass( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* contents */ +// commandBuffer +// contents fprintf(file, "\t\tvkCmdNextSubpass(%s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -1100,12 +1100,12 @@ void VulkanCppConsumer::Process_vkCmdPipelineBarrier( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* srcStageMask */ -/* dstStageMask */ -/* dependencyFlags */ -/* memoryBarrierCount */ -/* pMemoryBarriers */ +// commandBuffer +// srcStageMask +// dstStageMask +// dependencyFlags +// memoryBarrierCount +// pMemoryBarriers std::stringstream stream_pmemory_barriers; std::string pmemory_barriers_array = "NULL"; PointerPairContainerGetPointer()), decltype(pMemoryBarriers->GetMetaStructPointer())> pmemory_barriers_pair{ pMemoryBarriers->GetPointer(), pMemoryBarriers->GetMetaStructPointer(), memoryBarrierCount }; @@ -1122,8 +1122,8 @@ void VulkanCppConsumer::Process_vkCmdPipelineBarrier( fprintf(file, "\t\tVkMemoryBarrier %s[] = { %s };\n", pmemory_barriers_array.c_str(), pmemory_barriers_names.c_str()); } } -/* bufferMemoryBarrierCount */ -/* pBufferMemoryBarriers */ +// bufferMemoryBarrierCount +// pBufferMemoryBarriers std::stringstream stream_pbuffer_memory_barriers; std::string pbuffer_memory_barriers_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBufferMemoryBarriers->GetMetaStructPointer())> pbuffer_memory_barriers_pair{ pBufferMemoryBarriers->GetPointer(), pBufferMemoryBarriers->GetMetaStructPointer(), bufferMemoryBarrierCount }; @@ -1140,8 +1140,8 @@ void VulkanCppConsumer::Process_vkCmdPipelineBarrier( fprintf(file, "\t\tVkBufferMemoryBarrier %s[] = { %s };\n", pbuffer_memory_barriers_array.c_str(), pbuffer_memory_barriers_names.c_str()); } } -/* imageMemoryBarrierCount */ -/* pImageMemoryBarriers */ +// imageMemoryBarrierCount +// pImageMemoryBarriers std::stringstream stream_pimage_memory_barriers; std::string pimage_memory_barriers_array = "NULL"; PointerPairContainerGetPointer()), decltype(pImageMemoryBarriers->GetMetaStructPointer())> pimage_memory_barriers_pair{ pImageMemoryBarriers->GetPointer(), pImageMemoryBarriers->GetMetaStructPointer(), imageMemoryBarrierCount }; @@ -1185,12 +1185,12 @@ void VulkanCppConsumer::Process_vkCmdPushConstants( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* layout */ -/* stageFlags */ -/* offset */ -/* size */ -/* pValues */ +// commandBuffer +// layout +// stageFlags +// offset +// size +// pValues std::string pvalues_array = "pValues_" + std::to_string(this->GetNextId()); if (size > 0) { std::string pvalues_values = toStringJoin(pValues->GetPointer(), @@ -1221,9 +1221,9 @@ void VulkanCppConsumer::Process_vkCmdResetEvent( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* event */ -/* stageMask */ +// commandBuffer +// event +// stageMask fprintf(file, "\t\tvkCmdResetEvent(%s, %s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -1242,10 +1242,10 @@ void VulkanCppConsumer::Process_vkCmdResetQueryPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* queryPool */ -/* firstQuery */ -/* queryCount */ +// commandBuffer +// queryPool +// firstQuery +// queryCount fprintf(file, "\t\tvkCmdResetQueryPool(%s, %s, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -1268,13 +1268,13 @@ void VulkanCppConsumer::Process_vkCmdResolveImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* srcImage */ -/* srcImageLayout */ -/* dstImage */ -/* dstImageLayout */ -/* regionCount */ -/* pRegions */ +// commandBuffer +// srcImage +// srcImageLayout +// dstImage +// dstImageLayout +// regionCount +// pRegions std::stringstream stream_pregions; std::string pregions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pRegions->GetMetaStructPointer())> pregions_pair{ pRegions->GetPointer(), pRegions->GetMetaStructPointer(), regionCount }; @@ -1311,8 +1311,8 @@ void VulkanCppConsumer::Process_vkCmdSetBlendConstants( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* blendConstants */ +// commandBuffer +// blendConstants std::string blend_constants_array = "blendConstants_" + std::to_string(this->GetNextId()); if (4 > 0) { std::string blend_constants_values = toStringJoin(blendConstants->GetPointer(), @@ -1340,10 +1340,10 @@ void VulkanCppConsumer::Process_vkCmdSetDepthBias( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthBiasConstantFactor */ -/* depthBiasClamp */ -/* depthBiasSlopeFactor */ +// commandBuffer +// depthBiasConstantFactor +// depthBiasClamp +// depthBiasSlopeFactor fprintf(file, "\t\tvkCmdSetDepthBias(%s, %f, %f, %f);\n", this->GetHandle(commandBuffer).c_str(), @@ -1362,9 +1362,9 @@ void VulkanCppConsumer::Process_vkCmdSetDepthBounds( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* minDepthBounds */ -/* maxDepthBounds */ +// commandBuffer +// minDepthBounds +// maxDepthBounds fprintf(file, "\t\tvkCmdSetDepthBounds(%s, %f, %f);\n", this->GetHandle(commandBuffer).c_str(), @@ -1382,9 +1382,9 @@ void VulkanCppConsumer::Process_vkCmdSetEvent( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* event */ -/* stageMask */ +// commandBuffer +// event +// stageMask fprintf(file, "\t\tvkCmdSetEvent(%s, %s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -1401,8 +1401,8 @@ void VulkanCppConsumer::Process_vkCmdSetLineWidth( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* lineWidth */ +// commandBuffer +// lineWidth fprintf(file, "\t\tvkCmdSetLineWidth(%s, %f);\n", this->GetHandle(commandBuffer).c_str(), @@ -1420,10 +1420,10 @@ void VulkanCppConsumer::Process_vkCmdSetScissor( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstScissor */ -/* scissorCount */ -/* pScissors */ +// commandBuffer +// firstScissor +// scissorCount +// pScissors std::stringstream stream_pscissors; std::string pscissors_array = "NULL"; PointerPairContainerGetPointer()), decltype(pScissors->GetMetaStructPointer())> pscissors_pair{ pScissors->GetPointer(), pScissors->GetMetaStructPointer(), scissorCount }; @@ -1458,9 +1458,9 @@ void VulkanCppConsumer::Process_vkCmdSetStencilCompareMask( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* faceMask */ -/* compareMask */ +// commandBuffer +// faceMask +// compareMask fprintf(file, "\t\tvkCmdSetStencilCompareMask(%s, %s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -1478,9 +1478,9 @@ void VulkanCppConsumer::Process_vkCmdSetStencilReference( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* faceMask */ -/* reference */ +// commandBuffer +// faceMask +// reference fprintf(file, "\t\tvkCmdSetStencilReference(%s, %s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -1498,9 +1498,9 @@ void VulkanCppConsumer::Process_vkCmdSetStencilWriteMask( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* faceMask */ -/* writeMask */ +// commandBuffer +// faceMask +// writeMask fprintf(file, "\t\tvkCmdSetStencilWriteMask(%s, %s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -1519,10 +1519,10 @@ void VulkanCppConsumer::Process_vkCmdSetViewport( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstViewport */ -/* viewportCount */ -/* pViewports */ +// commandBuffer +// firstViewport +// viewportCount +// pViewports std::stringstream stream_pviewports; std::string pviewports_array = "NULL"; PointerPairContainerGetPointer()), decltype(pViewports->GetMetaStructPointer())> pviewports_pair{ pViewports->GetPointer(), pViewports->GetMetaStructPointer(), viewportCount }; @@ -1559,11 +1559,11 @@ void VulkanCppConsumer::Process_vkCmdUpdateBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* dstBuffer */ -/* dstOffset */ -/* dataSize */ -/* pData */ +// commandBuffer +// dstBuffer +// dstOffset +// dataSize +// pData std::string pdata_array = "pData_" + std::to_string(this->GetNextId()); if (dataSize > 0) { std::string pdata_values = toStringJoin(pData->GetPointer(), @@ -1601,9 +1601,9 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* eventCount */ -/* pEvents */ +// commandBuffer +// eventCount +// pEvents std::string pevents_array = "NULL"; std::string pevents_values = toStringJoin(pEvents->GetPointer(), pEvents->GetPointer() + eventCount, @@ -1615,10 +1615,10 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents( pevents_array = "pevents_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkEvent %s[] = { %s };\n", pevents_array.c_str(), pevents_values.c_str()); } -/* srcStageMask */ -/* dstStageMask */ -/* memoryBarrierCount */ -/* pMemoryBarriers */ +// srcStageMask +// dstStageMask +// memoryBarrierCount +// pMemoryBarriers std::stringstream stream_pmemory_barriers; std::string pmemory_barriers_array = "NULL"; PointerPairContainerGetPointer()), decltype(pMemoryBarriers->GetMetaStructPointer())> pmemory_barriers_pair{ pMemoryBarriers->GetPointer(), pMemoryBarriers->GetMetaStructPointer(), memoryBarrierCount }; @@ -1635,8 +1635,8 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents( fprintf(file, "\t\tVkMemoryBarrier %s[] = { %s };\n", pmemory_barriers_array.c_str(), pmemory_barriers_names.c_str()); } } -/* bufferMemoryBarrierCount */ -/* pBufferMemoryBarriers */ +// bufferMemoryBarrierCount +// pBufferMemoryBarriers std::stringstream stream_pbuffer_memory_barriers; std::string pbuffer_memory_barriers_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBufferMemoryBarriers->GetMetaStructPointer())> pbuffer_memory_barriers_pair{ pBufferMemoryBarriers->GetPointer(), pBufferMemoryBarriers->GetMetaStructPointer(), bufferMemoryBarrierCount }; @@ -1653,8 +1653,8 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents( fprintf(file, "\t\tVkBufferMemoryBarrier %s[] = { %s };\n", pbuffer_memory_barriers_array.c_str(), pbuffer_memory_barriers_names.c_str()); } } -/* imageMemoryBarrierCount */ -/* pImageMemoryBarriers */ +// imageMemoryBarrierCount +// pImageMemoryBarriers std::stringstream stream_pimage_memory_barriers; std::string pimage_memory_barriers_array = "NULL"; PointerPairContainerGetPointer()), decltype(pImageMemoryBarriers->GetMetaStructPointer())> pimage_memory_barriers_pair{ pImageMemoryBarriers->GetPointer(), pImageMemoryBarriers->GetMetaStructPointer(), imageMemoryBarrierCount }; @@ -1697,10 +1697,10 @@ void VulkanCppConsumer::Process_vkCmdWriteTimestamp( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineStage */ -/* queryPool */ -/* query */ +// commandBuffer +// pipelineStage +// queryPool +// query fprintf(file, "\t\tvkCmdWriteTimestamp(%s, %s, %s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -1721,16 +1721,16 @@ void VulkanCppConsumer::Process_vkCreateBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkBufferCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pBuffer */ +// pAllocator +// pBuffer std::string pbuffer_name = "pBuffer_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_BUFFER)); AddKnownVariables("VkBuffer", pbuffer_name, pBuffer->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -1758,16 +1758,16 @@ void VulkanCppConsumer::Process_vkCreateBufferView( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkBufferViewCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pView */ +// pAllocator +// pView std::string pview_name = "pView_" + std::to_string(this->GetNextId()); AddKnownVariables("VkBufferView", pview_name, pView->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -1795,16 +1795,16 @@ void VulkanCppConsumer::Process_vkCreateCommandPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkCommandPoolCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pCommandPool */ +// pAllocator +// pCommandPool std::string pcommand_pool_name = "pCommandPool_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_COMMAND_POOL)); AddKnownVariables("VkCommandPool", pcommand_pool_name, pCommandPool->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -1846,16 +1846,16 @@ void VulkanCppConsumer::Process_vkCreateDescriptorPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDescriptorPoolCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pDescriptorPool */ +// pAllocator +// pDescriptorPool std::string pdescriptor_pool_name = "pDescriptorPool_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DESCRIPTOR_POOL)); AddKnownVariables("VkDescriptorPool", pdescriptor_pool_name, pDescriptorPool->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -1883,16 +1883,16 @@ void VulkanCppConsumer::Process_vkCreateDescriptorSetLayout( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDescriptorSetLayoutCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSetLayout */ +// pAllocator +// pSetLayout std::string pset_layout_name = "pSetLayout_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT)); AddKnownVariables("VkDescriptorSetLayout", pset_layout_name, pSetLayout->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -1921,16 +1921,16 @@ void VulkanCppConsumer::Process_vkCreateDevice( Intercept_vkCreateDevice(returnValue, physicalDevice, pCreateInfo, pAllocator, pDevice); FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pCreateInfo */ +// physicalDevice +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDeviceCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pDevice */ +// pAllocator +// pDevice std::string pdevice_name = "pDevice_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DEVICE)); AddKnownVariables("VkDevice", pdevice_name, pDevice->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -1958,16 +1958,16 @@ void VulkanCppConsumer::Process_vkCreateEvent( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkEventCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pEvent */ +// pAllocator +// pEvent std::string pevent_name = "pEvent_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_EVENT)); AddKnownVariables("VkEvent", pevent_name, pEvent->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -1995,16 +1995,16 @@ void VulkanCppConsumer::Process_vkCreateFence( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkFenceCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pFence */ +// pAllocator +// pFence std::string pfence_name = "pFence_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_FENCE)); AddKnownVariables("VkFence", pfence_name, pFence->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2033,16 +2033,16 @@ void VulkanCppConsumer::Process_vkCreateFramebuffer( Intercept_vkCreateFramebuffer(returnValue, device, pCreateInfo, pAllocator, pFramebuffer); FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkFramebufferCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pFramebuffer */ +// pAllocator +// pFramebuffer std::string pframebuffer_name = "pFramebuffer_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_FRAMEBUFFER)); AddKnownVariables("VkFramebuffer", pframebuffer_name, pFramebuffer->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2084,16 +2084,16 @@ void VulkanCppConsumer::Process_vkCreateImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkImageCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pImage */ +// pAllocator +// pImage std::string pimage_name = "pImage_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_IMAGE)); AddKnownVariables("VkImage", pimage_name, pImage->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2121,16 +2121,16 @@ void VulkanCppConsumer::Process_vkCreateImageView( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkImageViewCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pView */ +// pAllocator +// pView std::string pview_name = "pView_" + std::to_string(this->GetNextId()); AddKnownVariables("VkImageView", pview_name, pView->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2181,16 +2181,16 @@ void VulkanCppConsumer::Process_vkCreatePipelineLayout( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkPipelineLayoutCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pPipelineLayout */ +// pAllocator +// pPipelineLayout std::string ppipeline_layout_name = "pPipelineLayout_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PIPELINE_LAYOUT)); AddKnownVariables("VkPipelineLayout", ppipeline_layout_name, pPipelineLayout->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2218,16 +2218,16 @@ void VulkanCppConsumer::Process_vkCreateQueryPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkQueryPoolCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pQueryPool */ +// pAllocator +// pQueryPool std::string pquery_pool_name = "pQueryPool_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_QUERY_POOL)); AddKnownVariables("VkQueryPool", pquery_pool_name, pQueryPool->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2255,16 +2255,16 @@ void VulkanCppConsumer::Process_vkCreateRenderPass( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkRenderPassCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pRenderPass */ +// pAllocator +// pRenderPass std::string prender_pass_name = "pRenderPass_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_RENDER_PASS)); AddKnownVariables("VkRenderPass", prender_pass_name, pRenderPass->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2292,16 +2292,16 @@ void VulkanCppConsumer::Process_vkCreateSampler( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkSamplerCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSampler */ +// pAllocator +// pSampler std::string psampler_name = "pSampler_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SAMPLER)); AddKnownVariables("VkSampler", psampler_name, pSampler->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2329,16 +2329,16 @@ void VulkanCppConsumer::Process_vkCreateSemaphore( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkSemaphoreCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSemaphore */ +// pAllocator +// pSemaphore std::string psemaphore_name = "pSemaphore_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SEMAPHORE)); AddKnownVariables("VkSemaphore", psemaphore_name, pSemaphore->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -2376,9 +2376,9 @@ void VulkanCppConsumer::Process_vkDestroyBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* buffer */ -/* pAllocator */ +// device +// buffer +// pAllocator fprintf(file, "\t\tvkDestroyBuffer(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2396,9 +2396,9 @@ void VulkanCppConsumer::Process_vkDestroyBufferView( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* bufferView */ -/* pAllocator */ +// device +// bufferView +// pAllocator fprintf(file, "\t\tvkDestroyBufferView(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2416,9 +2416,9 @@ void VulkanCppConsumer::Process_vkDestroyCommandPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* commandPool */ -/* pAllocator */ +// device +// commandPool +// pAllocator fprintf(file, "\t\tvkDestroyCommandPool(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2436,9 +2436,9 @@ void VulkanCppConsumer::Process_vkDestroyDescriptorPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorPool */ -/* pAllocator */ +// device +// descriptorPool +// pAllocator fprintf(file, "\t\tvkDestroyDescriptorPool(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2456,9 +2456,9 @@ void VulkanCppConsumer::Process_vkDestroyDescriptorSetLayout( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorSetLayout */ -/* pAllocator */ +// device +// descriptorSetLayout +// pAllocator fprintf(file, "\t\tvkDestroyDescriptorSetLayout(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2475,8 +2475,8 @@ void VulkanCppConsumer::Process_vkDestroyDevice( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pAllocator */ +// device +// pAllocator fprintf(file, "\t\tvkDestroyDevice(%s, %s);\n", this->GetHandle(device).c_str(), @@ -2493,9 +2493,9 @@ void VulkanCppConsumer::Process_vkDestroyEvent( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* event */ -/* pAllocator */ +// device +// event +// pAllocator fprintf(file, "\t\tvkDestroyEvent(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2513,9 +2513,9 @@ void VulkanCppConsumer::Process_vkDestroyFence( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* fence */ -/* pAllocator */ +// device +// fence +// pAllocator fprintf(file, "\t\tvkDestroyFence(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2533,9 +2533,9 @@ void VulkanCppConsumer::Process_vkDestroyFramebuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* framebuffer */ -/* pAllocator */ +// device +// framebuffer +// pAllocator fprintf(file, "\t\tvkDestroyFramebuffer(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2553,9 +2553,9 @@ void VulkanCppConsumer::Process_vkDestroyImage( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* image */ -/* pAllocator */ +// device +// image +// pAllocator fprintf(file, "\t\tvkDestroyImage(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2573,9 +2573,9 @@ void VulkanCppConsumer::Process_vkDestroyImageView( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* imageView */ -/* pAllocator */ +// device +// imageView +// pAllocator fprintf(file, "\t\tvkDestroyImageView(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2592,8 +2592,8 @@ void VulkanCppConsumer::Process_vkDestroyInstance( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pAllocator */ +// instance +// pAllocator fprintf(file, "\t\tvkDestroyInstance(%s, %s);\n", this->GetHandle(instance).c_str(), @@ -2610,9 +2610,9 @@ void VulkanCppConsumer::Process_vkDestroyPipeline( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipeline */ -/* pAllocator */ +// device +// pipeline +// pAllocator fprintf(file, "\t\tvkDestroyPipeline(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2630,9 +2630,9 @@ void VulkanCppConsumer::Process_vkDestroyPipelineCache( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipelineCache */ -/* pAllocator */ +// device +// pipelineCache +// pAllocator fprintf(file, "\t\tvkDestroyPipelineCache(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2650,9 +2650,9 @@ void VulkanCppConsumer::Process_vkDestroyPipelineLayout( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipelineLayout */ -/* pAllocator */ +// device +// pipelineLayout +// pAllocator fprintf(file, "\t\tvkDestroyPipelineLayout(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2670,9 +2670,9 @@ void VulkanCppConsumer::Process_vkDestroyQueryPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* queryPool */ -/* pAllocator */ +// device +// queryPool +// pAllocator fprintf(file, "\t\tvkDestroyQueryPool(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2690,9 +2690,9 @@ void VulkanCppConsumer::Process_vkDestroyRenderPass( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* renderPass */ -/* pAllocator */ +// device +// renderPass +// pAllocator fprintf(file, "\t\tvkDestroyRenderPass(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2710,9 +2710,9 @@ void VulkanCppConsumer::Process_vkDestroySampler( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* sampler */ -/* pAllocator */ +// device +// sampler +// pAllocator fprintf(file, "\t\tvkDestroySampler(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2730,9 +2730,9 @@ void VulkanCppConsumer::Process_vkDestroySemaphore( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* semaphore */ -/* pAllocator */ +// device +// semaphore +// pAllocator fprintf(file, "\t\tvkDestroySemaphore(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2750,9 +2750,9 @@ void VulkanCppConsumer::Process_vkDestroyShaderModule( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* shaderModule */ -/* pAllocator */ +// device +// shaderModule +// pAllocator fprintf(file, "\t\tvkDestroyShaderModule(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2769,7 +2769,7 @@ void VulkanCppConsumer::Process_vkDeviceWaitIdle( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ +// device fprintf(file, "\t\tVK_CALL_CHECK(vkDeviceWaitIdle(%s), %s);\n", this->GetHandle(device).c_str(), @@ -2785,7 +2785,7 @@ void VulkanCppConsumer::Process_vkEndCommandBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ +// commandBuffer fprintf(file, "\t\tVK_CALL_CHECK(vkEndCommandBuffer(%s), %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -2814,9 +2814,9 @@ void VulkanCppConsumer::Process_vkFlushMappedMemoryRanges( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* memoryRangeCount */ -/* pMemoryRanges */ +// device +// memoryRangeCount +// pMemoryRanges std::stringstream stream_pmemory_ranges; std::string pmemory_ranges_array = "NULL"; PointerPairContainerGetPointer()), decltype(pMemoryRanges->GetMetaStructPointer())> pmemory_ranges_pair{ pMemoryRanges->GetPointer(), pMemoryRanges->GetMetaStructPointer(), memoryRangeCount }; @@ -2852,10 +2852,10 @@ void VulkanCppConsumer::Process_vkFreeCommandBuffers( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* commandPool */ -/* commandBufferCount */ -/* pCommandBuffers */ +// device +// commandPool +// commandBufferCount +// pCommandBuffers std::string pcommand_buffers_array = "NULL"; std::string pcommand_buffers_values = toStringJoin(pCommandBuffers->GetPointer(), pCommandBuffers->GetPointer() + commandBufferCount, @@ -2887,10 +2887,10 @@ void VulkanCppConsumer::Process_vkFreeDescriptorSets( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorPool */ -/* descriptorSetCount */ -/* pDescriptorSets */ +// device +// descriptorPool +// descriptorSetCount +// pDescriptorSets std::string pdescriptor_sets_array = "NULL"; std::string pdescriptor_sets_values = toStringJoin(pDescriptorSets->GetPointer(), pDescriptorSets->GetPointer() + descriptorSetCount, @@ -2921,9 +2921,9 @@ void VulkanCppConsumer::Process_vkFreeMemory( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* memory */ -/* pAllocator */ +// device +// memory +// pAllocator fprintf(file, "\t\tvkFreeMemory(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -2951,9 +2951,9 @@ void VulkanCppConsumer::Process_vkGetDeviceMemoryCommitment( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* memory */ -/* pCommittedMemoryInBytes */ +// device +// memory +// pCommittedMemoryInBytes std::string pcommitted_memory_in_bytes_name = "pCommittedMemoryInBytes_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkDeviceSize %s;\n", pcommitted_memory_in_bytes_name.c_str()); fprintf(file, @@ -2974,10 +2974,10 @@ void VulkanCppConsumer::Process_vkGetDeviceQueue( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* queueFamilyIndex */ -/* queueIndex */ -/* pQueue */ +// device +// queueFamilyIndex +// queueIndex +// pQueue std::string pqueue_name = "pQueue_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_QUEUE)); AddKnownVariables("VkQueue", pqueue_name, pQueue->GetPointer()); this->AddHandles(pqueue_name, @@ -3000,8 +3000,8 @@ void VulkanCppConsumer::Process_vkGetEventStatus( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* event */ +// device +// event fprintf(file, "\t\tVK_CALL_CHECK(vkGetEventStatus(%s, %s), %s);\n", this->GetHandle(device).c_str(), @@ -3051,16 +3051,16 @@ void VulkanCppConsumer::Process_vkGetImageSubresourceLayout( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* image */ -/* pSubresource */ +// device +// image +// pSubresource std::stringstream stream_psubresource; std::string psubresource_struct = GenerateStruct_VkImageSubresource(stream_psubresource, pSubresource->GetPointer(), pSubresource->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psubresource.str().c_str()); -/* pLayout */ +// pLayout std::string playout_name = "pLayout_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkSubresourceLayout %s;\n", playout_name.c_str()); fprintf(file, @@ -3080,8 +3080,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceFeatures( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pFeatures */ +// physicalDevice +// pFeatures std::string pfeatures_name = "pFeatures_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkPhysicalDeviceFeatures %s;\n", pfeatures_name.c_str()); fprintf(file, @@ -3100,9 +3100,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceFormatProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* format */ -/* pFormatProperties */ +// physicalDevice +// format +// pFormatProperties std::string pformat_properties_name = "pFormatProperties_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkFormatProperties %s;\n", pformat_properties_name.c_str()); fprintf(file, @@ -3127,13 +3127,13 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceImageFormatProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* format */ -/* type */ -/* tiling */ -/* usage */ -/* flags */ -/* pImageFormatProperties */ +// physicalDevice +// format +// type +// tiling +// usage +// flags +// pImageFormatProperties std::string pimage_format_properties_name = "pImageFormatProperties_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkImageFormatProperties %s;\n", pimage_format_properties_name.c_str()); fprintf(file, @@ -3156,8 +3156,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceMemoryProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pMemoryProperties */ +// physicalDevice +// pMemoryProperties std::string pmemory_properties_name = "pMemoryProperties_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkPhysicalDeviceMemoryProperties %s;\n", pmemory_properties_name.c_str()); fprintf(file, @@ -3175,8 +3175,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pProperties */ +// physicalDevice +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkPhysicalDeviceProperties %s;\n", pproperties_name.c_str()); fprintf(file, @@ -3210,16 +3210,16 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSparseImageFormatProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* format */ -/* type */ -/* samples */ -/* usage */ -/* tiling */ -/* pPropertyCount */ +// physicalDevice +// format +// type +// samples +// usage +// tiling +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); const uint32_t* in_pproperty_count = pPropertyCount->GetPointer(); fprintf(file, "\t\tVkSparseImageFormatProperties %s[%d];\n", pproperties_name.c_str(), *in_pproperty_count); @@ -3276,9 +3276,9 @@ void VulkanCppConsumer::Process_vkGetRenderAreaGranularity( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* renderPass */ -/* pGranularity */ +// device +// renderPass +// pGranularity std::string pgranularity_name = "pGranularity_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkExtent2D %s;\n", pgranularity_name.c_str()); fprintf(file, @@ -3299,9 +3299,9 @@ void VulkanCppConsumer::Process_vkInvalidateMappedMemoryRanges( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* memoryRangeCount */ -/* pMemoryRanges */ +// device +// memoryRangeCount +// pMemoryRanges std::stringstream stream_pmemory_ranges; std::string pmemory_ranges_array = "NULL"; PointerPairContainerGetPointer()), decltype(pMemoryRanges->GetMetaStructPointer())> pmemory_ranges_pair{ pMemoryRanges->GetPointer(), pMemoryRanges->GetMetaStructPointer(), memoryRangeCount }; @@ -3352,10 +3352,10 @@ void VulkanCppConsumer::Process_vkMergePipelineCaches( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* dstCache */ -/* srcCacheCount */ -/* pSrcCaches */ +// device +// dstCache +// srcCacheCount +// pSrcCaches std::string psrc_caches_array = "NULL"; std::string psrc_caches_values = toStringJoin(pSrcCaches->GetPointer(), pSrcCaches->GetPointer() + srcCacheCount, @@ -3388,9 +3388,9 @@ void VulkanCppConsumer::Process_vkQueueBindSparse( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* bindInfoCount */ -/* pBindInfo */ +// queue +// bindInfoCount +// pBindInfo std::stringstream stream_pbind_info; std::string pbind_info_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBindInfo->GetMetaStructPointer())> pbind_info_pair{ pBindInfo->GetPointer(), pBindInfo->GetMetaStructPointer(), bindInfoCount }; @@ -3407,7 +3407,7 @@ void VulkanCppConsumer::Process_vkQueueBindSparse( fprintf(file, "\t\tVkBindSparseInfo %s[] = { %s };\n", pbind_info_array.c_str(), pbind_info_names.c_str()); } } -/* fence */ +// fence fprintf(file, "\t\tVK_CALL_CHECK(vkQueueBindSparse(%s, %u, %s, %s), %s);\n", this->GetHandle(queue).c_str(), @@ -3429,9 +3429,9 @@ void VulkanCppConsumer::Process_vkQueueSubmit( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* submitCount */ -/* pSubmits */ +// queue +// submitCount +// pSubmits std::stringstream stream_psubmits; std::string psubmits_array = "NULL"; PointerPairContainerGetPointer()), decltype(pSubmits->GetMetaStructPointer())> psubmits_pair{ pSubmits->GetPointer(), pSubmits->GetMetaStructPointer(), submitCount }; @@ -3448,7 +3448,7 @@ void VulkanCppConsumer::Process_vkQueueSubmit( fprintf(file, "\t\tVkSubmitInfo %s[] = { %s };\n", psubmits_array.c_str(), psubmits_names.c_str()); } } -/* fence */ +// fence fprintf(file, "\t\tVK_CALL_CHECK(vkQueueSubmit(%s, %u, %s, %s), %s);\n", this->GetHandle(queue).c_str(), @@ -3467,7 +3467,7 @@ void VulkanCppConsumer::Process_vkQueueWaitIdle( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ +// queue fprintf(file, "\t\tVK_CALL_CHECK(vkQueueWaitIdle(%s), %s);\n", this->GetHandle(queue).c_str(), @@ -3484,8 +3484,8 @@ void VulkanCppConsumer::Process_vkResetCommandBuffer( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* flags */ +// commandBuffer +// flags fprintf(file, "\t\tVK_CALL_CHECK(vkResetCommandBuffer(%s, %s), %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -3504,9 +3504,9 @@ void VulkanCppConsumer::Process_vkResetCommandPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* commandPool */ -/* flags */ +// device +// commandPool +// flags fprintf(file, "\t\tVK_CALL_CHECK(vkResetCommandPool(%s, %s, %s), %s);\n", this->GetHandle(device).c_str(), @@ -3526,9 +3526,9 @@ void VulkanCppConsumer::Process_vkResetDescriptorPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorPool */ -/* flags */ +// device +// descriptorPool +// flags fprintf(file, "\t\tVK_CALL_CHECK(vkResetDescriptorPool(%s, %s, %s), %s);\n", this->GetHandle(device).c_str(), @@ -3547,8 +3547,8 @@ void VulkanCppConsumer::Process_vkResetEvent( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* event */ +// device +// event fprintf(file, "\t\tVK_CALL_CHECK(vkResetEvent(%s, %s), %s);\n", this->GetHandle(device).c_str(), @@ -3567,9 +3567,9 @@ void VulkanCppConsumer::Process_vkResetFences( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* fenceCount */ -/* pFences */ +// device +// fenceCount +// pFences std::string pfences_array = "NULL"; std::string pfences_values = toStringJoin(pFences->GetPointer(), pFences->GetPointer() + fenceCount, @@ -3599,8 +3599,8 @@ void VulkanCppConsumer::Process_vkSetEvent( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* event */ +// device +// event fprintf(file, "\t\tVK_CALL_CHECK(vkSetEvent(%s, %s), %s);\n", this->GetHandle(device).c_str(), @@ -3629,9 +3629,9 @@ void VulkanCppConsumer::Process_vkUpdateDescriptorSets( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorWriteCount */ -/* pDescriptorWrites */ +// device +// descriptorWriteCount +// pDescriptorWrites std::stringstream stream_pdescriptor_writes; std::string pdescriptor_writes_array = "NULL"; PointerPairContainerGetPointer()), decltype(pDescriptorWrites->GetMetaStructPointer())> pdescriptor_writes_pair{ pDescriptorWrites->GetPointer(), pDescriptorWrites->GetMetaStructPointer(), descriptorWriteCount }; @@ -3648,8 +3648,8 @@ void VulkanCppConsumer::Process_vkUpdateDescriptorSets( fprintf(file, "\t\tVkWriteDescriptorSet %s[] = { %s };\n", pdescriptor_writes_array.c_str(), pdescriptor_writes_names.c_str()); } } -/* descriptorCopyCount */ -/* pDescriptorCopies */ +// descriptorCopyCount +// pDescriptorCopies std::stringstream stream_pdescriptor_copies; std::string pdescriptor_copies_array = "NULL"; PointerPairContainerGetPointer()), decltype(pDescriptorCopies->GetMetaStructPointer())> pdescriptor_copies_pair{ pDescriptorCopies->GetPointer(), pDescriptorCopies->GetMetaStructPointer(), descriptorCopyCount }; @@ -3698,9 +3698,9 @@ void VulkanCppConsumer::Process_vkBindBufferMemory2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* bindInfoCount */ -/* pBindInfos */ +// device +// bindInfoCount +// pBindInfos std::stringstream stream_pbind_infos; std::string pbind_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBindInfos->GetMetaStructPointer())> pbind_infos_pair{ pBindInfos->GetPointer(), pBindInfos->GetMetaStructPointer(), bindInfoCount }; @@ -3736,9 +3736,9 @@ void VulkanCppConsumer::Process_vkBindImageMemory2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* bindInfoCount */ -/* pBindInfos */ +// device +// bindInfoCount +// pBindInfos std::stringstream stream_pbind_infos; std::string pbind_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBindInfos->GetMetaStructPointer())> pbind_infos_pair{ pBindInfos->GetPointer(), pBindInfos->GetMetaStructPointer(), bindInfoCount }; @@ -3777,13 +3777,13 @@ void VulkanCppConsumer::Process_vkCmdDispatchBase( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* baseGroupX */ -/* baseGroupY */ -/* baseGroupZ */ -/* groupCountX */ -/* groupCountY */ -/* groupCountZ */ +// commandBuffer +// baseGroupX +// baseGroupY +// baseGroupZ +// groupCountX +// groupCountY +// groupCountZ fprintf(file, "\t\tvkCmdDispatchBase(%s, %u, %u, %u, %u, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -3804,8 +3804,8 @@ void VulkanCppConsumer::Process_vkCmdSetDeviceMask( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* deviceMask */ +// commandBuffer +// deviceMask fprintf(file, "\t\tvkCmdSetDeviceMask(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -3836,16 +3836,16 @@ void VulkanCppConsumer::Process_vkCreateSamplerYcbcrConversion( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkSamplerYcbcrConversionCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pYcbcrConversion */ +// pAllocator +// pYcbcrConversion std::string pycbcr_conversion_name = "pYcbcrConversion_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION)); AddKnownVariables("VkSamplerYcbcrConversion", pycbcr_conversion_name, pYcbcrConversion->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -3871,9 +3871,9 @@ void VulkanCppConsumer::Process_vkDestroyDescriptorUpdateTemplate( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorUpdateTemplate */ -/* pAllocator */ +// device +// descriptorUpdateTemplate +// pAllocator fprintf(file, "\t\tvkDestroyDescriptorUpdateTemplate(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -3891,9 +3891,9 @@ void VulkanCppConsumer::Process_vkDestroySamplerYcbcrConversion( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* ycbcrConversion */ -/* pAllocator */ +// device +// ycbcrConversion +// pAllocator fprintf(file, "\t\tvkDestroySamplerYcbcrConversion(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -3912,11 +3912,11 @@ void VulkanCppConsumer::Process_vkEnumeratePhysicalDeviceGroups( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pPhysicalDeviceGroupCount */ +// instance +// pPhysicalDeviceGroupCount std::string pphysical_device_group_count_name = "pPhysicalDeviceGroupCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pphysical_device_group_count_name.c_str()); -/* pPhysicalDeviceGroupProperties */ +// pPhysicalDeviceGroupProperties std::string pphysical_device_group_properties_name = "pPhysicalDeviceGroupProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pphysical_device_group_properties; pphysical_device_group_properties_name = GenerateStruct_VkPhysicalDeviceGroupProperties(stream_pphysical_device_group_properties, @@ -3952,15 +3952,15 @@ void VulkanCppConsumer::Process_vkGetDescriptorSetLayoutSupport( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDescriptorSetLayoutCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pSupport */ +// pSupport std::string psupport_name = "pSupport_" + std::to_string(this->GetNextId()); std::stringstream stream_psupport; psupport_name = GenerateStruct_VkDescriptorSetLayoutSupport(stream_psupport, @@ -3987,11 +3987,11 @@ void VulkanCppConsumer::Process_vkGetDeviceGroupPeerMemoryFeatures( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* heapIndex */ -/* localDeviceIndex */ -/* remoteDeviceIndex */ -/* pPeerMemoryFeatures */ +// device +// heapIndex +// localDeviceIndex +// remoteDeviceIndex +// pPeerMemoryFeatures std::string ppeer_memory_features_name = "pPeerMemoryFeatures_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkPeerMemoryFeatureFlags %s;\n", ppeer_memory_features_name.c_str()); fprintf(file, @@ -4013,15 +4013,15 @@ void VulkanCppConsumer::Process_vkGetDeviceQueue2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pQueueInfo */ +// device +// pQueueInfo std::stringstream stream_pqueue_info; std::string pqueue_info_struct = GenerateStruct_VkDeviceQueueInfo2(stream_pqueue_info, pQueueInfo->GetPointer(), pQueueInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pqueue_info.str().c_str()); -/* pQueue */ +// pQueue std::string pqueue_name = "pQueue_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_QUEUE)); AddKnownVariables("VkQueue", pqueue_name, pQueue->GetPointer()); this->AddHandles(pqueue_name, @@ -4054,18 +4054,18 @@ void VulkanCppConsumer::Process_vkGetImageSparseMemoryRequirements2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkImageSparseMemoryRequirementsInfo2(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pSparseMemoryRequirementCount */ +// pSparseMemoryRequirementCount std::string psparse_memory_requirement_count_name = "pSparseMemoryRequirementCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", psparse_memory_requirement_count_name.c_str()); -/* pSparseMemoryRequirements */ +// pSparseMemoryRequirements std::string psparse_memory_requirements_name = "pSparseMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_psparse_memory_requirements; psparse_memory_requirements_name = GenerateStruct_VkSparseImageMemoryRequirements2(stream_psparse_memory_requirements, @@ -4091,15 +4091,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceExternalBufferProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pExternalBufferInfo */ +// physicalDevice +// pExternalBufferInfo std::stringstream stream_pexternal_buffer_info; std::string pexternal_buffer_info_struct = GenerateStruct_VkPhysicalDeviceExternalBufferInfo(stream_pexternal_buffer_info, pExternalBufferInfo->GetPointer(), pExternalBufferInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexternal_buffer_info.str().c_str()); -/* pExternalBufferProperties */ +// pExternalBufferProperties std::string pexternal_buffer_properties_name = "pExternalBufferProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pexternal_buffer_properties; pexternal_buffer_properties_name = GenerateStruct_VkExternalBufferProperties(stream_pexternal_buffer_properties, @@ -4124,15 +4124,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceExternalFenceProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pExternalFenceInfo */ +// physicalDevice +// pExternalFenceInfo std::stringstream stream_pexternal_fence_info; std::string pexternal_fence_info_struct = GenerateStruct_VkPhysicalDeviceExternalFenceInfo(stream_pexternal_fence_info, pExternalFenceInfo->GetPointer(), pExternalFenceInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexternal_fence_info.str().c_str()); -/* pExternalFenceProperties */ +// pExternalFenceProperties std::string pexternal_fence_properties_name = "pExternalFenceProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pexternal_fence_properties; pexternal_fence_properties_name = GenerateStruct_VkExternalFenceProperties(stream_pexternal_fence_properties, @@ -4157,15 +4157,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceExternalSemaphoreProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pExternalSemaphoreInfo */ +// physicalDevice +// pExternalSemaphoreInfo std::stringstream stream_pexternal_semaphore_info; std::string pexternal_semaphore_info_struct = GenerateStruct_VkPhysicalDeviceExternalSemaphoreInfo(stream_pexternal_semaphore_info, pExternalSemaphoreInfo->GetPointer(), pExternalSemaphoreInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexternal_semaphore_info.str().c_str()); -/* pExternalSemaphoreProperties */ +// pExternalSemaphoreProperties std::string pexternal_semaphore_properties_name = "pExternalSemaphoreProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pexternal_semaphore_properties; pexternal_semaphore_properties_name = GenerateStruct_VkExternalSemaphoreProperties(stream_pexternal_semaphore_properties, @@ -4189,8 +4189,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceFeatures2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pFeatures */ +// physicalDevice +// pFeatures std::string pfeatures_name = "pFeatures_" + std::to_string(this->GetNextId()); std::stringstream stream_pfeatures; pfeatures_name = GenerateStruct_VkPhysicalDeviceFeatures2(stream_pfeatures, @@ -4214,9 +4214,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceFormatProperties2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* format */ -/* pFormatProperties */ +// physicalDevice +// format +// pFormatProperties std::string pformat_properties_name = "pFormatProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pformat_properties; pformat_properties_name = GenerateStruct_VkFormatProperties2(stream_pformat_properties, @@ -4242,15 +4242,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceImageFormatProperties2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pImageFormatInfo */ +// physicalDevice +// pImageFormatInfo std::stringstream stream_pimage_format_info; std::string pimage_format_info_struct = GenerateStruct_VkPhysicalDeviceImageFormatInfo2(stream_pimage_format_info, pImageFormatInfo->GetPointer(), pImageFormatInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pimage_format_info.str().c_str()); -/* pImageFormatProperties */ +// pImageFormatProperties std::string pimage_format_properties_name = "pImageFormatProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pimage_format_properties; pimage_format_properties_name = GenerateStruct_VkImageFormatProperties2(stream_pimage_format_properties, @@ -4275,8 +4275,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceMemoryProperties2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pMemoryProperties */ +// physicalDevice +// pMemoryProperties std::string pmemory_properties_name = "pMemoryProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_properties; pmemory_properties_name = GenerateStruct_VkPhysicalDeviceMemoryProperties2(stream_pmemory_properties, @@ -4299,8 +4299,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceProperties2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pProperties */ +// physicalDevice +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkPhysicalDeviceProperties2(stream_pproperties, @@ -4324,11 +4324,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceQueueFamilyProperties2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pQueueFamilyPropertyCount */ +// physicalDevice +// pQueueFamilyPropertyCount std::string pqueue_family_property_count_name = "pQueueFamilyPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pqueue_family_property_count_name.c_str()); -/* pQueueFamilyProperties */ +// pQueueFamilyProperties std::string pqueue_family_properties_name = "pQueueFamilyProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pqueue_family_properties; pqueue_family_properties_name = GenerateStruct_VkQueueFamilyProperties2(stream_pqueue_family_properties, @@ -4354,18 +4354,18 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSparseImageFormatProperties2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pFormatInfo */ +// physicalDevice +// pFormatInfo std::stringstream stream_pformat_info; std::string pformat_info_struct = GenerateStruct_VkPhysicalDeviceSparseImageFormatInfo2(stream_pformat_info, pFormatInfo->GetPointer(), pFormatInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pformat_info.str().c_str()); -/* pPropertyCount */ +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkSparseImageFormatProperties2(stream_pproperties, @@ -4391,9 +4391,9 @@ void VulkanCppConsumer::Process_vkTrimCommandPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* commandPool */ -/* flags */ +// device +// commandPool +// flags fprintf(file, "\t\tvkTrimCommandPool(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -4410,15 +4410,15 @@ void VulkanCppConsumer::Process_vkCmdBeginRenderPass2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pRenderPassBegin */ +// commandBuffer +// pRenderPassBegin std::stringstream stream_prender_pass_begin; std::string prender_pass_begin_struct = GenerateStruct_VkRenderPassBeginInfo(stream_prender_pass_begin, pRenderPassBegin->GetPointer(), pRenderPassBegin->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_prender_pass_begin.str().c_str()); -/* pSubpassBeginInfo */ +// pSubpassBeginInfo std::stringstream stream_psubpass_begin_info; std::string psubpass_begin_info_struct = GenerateStruct_VkSubpassBeginInfo(stream_psubpass_begin_info, pSubpassBeginInfo->GetPointer(), @@ -4446,13 +4446,13 @@ void VulkanCppConsumer::Process_vkCmdDrawIndexedIndirectCount( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride fprintf(file, "\t\tvkCmdDrawIndexedIndirectCount(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -4478,13 +4478,13 @@ void VulkanCppConsumer::Process_vkCmdDrawIndirectCount( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride fprintf(file, "\t\tvkCmdDrawIndirectCount(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -4505,8 +4505,8 @@ void VulkanCppConsumer::Process_vkCmdEndRenderPass2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pSubpassEndInfo */ +// commandBuffer +// pSubpassEndInfo std::stringstream stream_psubpass_end_info; std::string psubpass_end_info_struct = GenerateStruct_VkSubpassEndInfo(stream_psubpass_end_info, pSubpassEndInfo->GetPointer(), @@ -4529,15 +4529,15 @@ void VulkanCppConsumer::Process_vkCmdNextSubpass2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pSubpassBeginInfo */ +// commandBuffer +// pSubpassBeginInfo std::stringstream stream_psubpass_begin_info; std::string psubpass_begin_info_struct = GenerateStruct_VkSubpassBeginInfo(stream_psubpass_begin_info, pSubpassBeginInfo->GetPointer(), pSubpassBeginInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psubpass_begin_info.str().c_str()); -/* pSubpassEndInfo */ +// pSubpassEndInfo std::stringstream stream_psubpass_end_info; std::string psubpass_end_info_struct = GenerateStruct_VkSubpassEndInfo(stream_psubpass_end_info, pSubpassEndInfo->GetPointer(), @@ -4563,16 +4563,16 @@ void VulkanCppConsumer::Process_vkCreateRenderPass2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkRenderPassCreateInfo2(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pRenderPass */ +// pAllocator +// pRenderPass std::string prender_pass_name = "pRenderPass_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_RENDER_PASS)); AddKnownVariables("VkRenderPass", prender_pass_name, pRenderPass->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -4598,8 +4598,8 @@ void VulkanCppConsumer::Process_vkGetBufferDeviceAddress( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkBufferDeviceAddressInfo(stream_pinfo, pInfo->GetPointer(), @@ -4622,8 +4622,8 @@ void VulkanCppConsumer::Process_vkGetBufferOpaqueCaptureAddress( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkBufferDeviceAddressInfo(stream_pinfo, pInfo->GetPointer(), @@ -4646,8 +4646,8 @@ void VulkanCppConsumer::Process_vkGetDeviceMemoryOpaqueCaptureAddress( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceMemoryOpaqueCaptureAddressInfo(stream_pinfo, pInfo->GetPointer(), @@ -4671,9 +4671,9 @@ void VulkanCppConsumer::Process_vkGetSemaphoreCounterValue( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* semaphore */ -/* pValue */ +// device +// semaphore +// pValue std::string pvalue_name = "pValue_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint64_t %s;\n", pvalue_name.c_str()); fprintf(file, @@ -4695,10 +4695,10 @@ void VulkanCppConsumer::Process_vkResetQueryPool( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* queryPool */ -/* firstQuery */ -/* queryCount */ +// device +// queryPool +// firstQuery +// queryCount fprintf(file, "\t\tvkResetQueryPool(%s, %s, %u, %u);\n", this->GetHandle(device).c_str(), @@ -4717,8 +4717,8 @@ void VulkanCppConsumer::Process_vkSignalSemaphore( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pSignalInfo */ +// device +// pSignalInfo std::stringstream stream_psignal_info; std::string psignal_info_struct = GenerateStruct_VkSemaphoreSignalInfo(stream_psignal_info, pSignalInfo->GetPointer(), @@ -4743,15 +4743,15 @@ void VulkanCppConsumer::Process_vkWaitSemaphores( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pWaitInfo */ +// device +// pWaitInfo std::stringstream stream_pwait_info; std::string pwait_info_struct = GenerateStruct_VkSemaphoreWaitInfo(stream_pwait_info, pWaitInfo->GetPointer(), pWaitInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pwait_info.str().c_str()); -/* timeout */ +// timeout fprintf(file, "\t\tVK_CALL_CHECK(vkWaitSemaphores(%s, &%s, %" PRIu64 "UL), %s);\n", this->GetHandle(device).c_str(), @@ -4768,8 +4768,8 @@ void VulkanCppConsumer::Process_vkCmdBeginRendering( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pRenderingInfo */ +// commandBuffer +// pRenderingInfo std::stringstream stream_prendering_info; std::string prendering_info_struct = GenerateStruct_VkRenderingInfo(stream_prendering_info, pRenderingInfo->GetPointer(), @@ -4796,10 +4796,10 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstBinding */ -/* bindingCount */ -/* pBuffers */ +// commandBuffer +// firstBinding +// bindingCount +// pBuffers std::string pbuffers_array = "NULL"; std::string pbuffers_values = toStringJoin(pBuffers->GetPointer(), pBuffers->GetPointer() + bindingCount, @@ -4811,7 +4811,7 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2( pbuffers_array = "pbuffers_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkBuffer %s[] = { %s };\n", pbuffers_array.c_str(), pbuffers_values.c_str()); } -/* pOffsets */ +// pOffsets std::string poffsets_array = "pOffsets_" + std::to_string(this->GetNextId()); if (bindingCount > 0) { std::string poffsets_values = toStringJoin(pOffsets->GetPointer(), @@ -4822,7 +4822,7 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2( } else { poffsets_array = "NULL"; } -/* pSizes */ +// pSizes std::string psizes_array = "pSizes_" + std::to_string(this->GetNextId()); if (bindingCount > 0 && pSizes->GetPointer() != nullptr) { std::string psizes_values = toStringJoin(pSizes->GetPointer(), @@ -4833,7 +4833,7 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2( } else { psizes_array = "NULL"; } -/* pStrides */ +// pStrides std::string pstrides_array = "pStrides_" + std::to_string(this->GetNextId()); if (bindingCount > 0 && pStrides->GetPointer() != nullptr) { std::string pstrides_values = toStringJoin(pStrides->GetPointer(), @@ -4864,8 +4864,8 @@ void VulkanCppConsumer::Process_vkCmdBlitImage2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pBlitImageInfo */ +// commandBuffer +// pBlitImageInfo std::stringstream stream_pblit_image_info; std::string pblit_image_info_struct = GenerateStruct_VkBlitImageInfo2(stream_pblit_image_info, pBlitImageInfo->GetPointer(), @@ -4887,8 +4887,8 @@ void VulkanCppConsumer::Process_vkCmdCopyBuffer2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyBufferInfo */ +// commandBuffer +// pCopyBufferInfo std::stringstream stream_pcopy_buffer_info; std::string pcopy_buffer_info_struct = GenerateStruct_VkCopyBufferInfo2(stream_pcopy_buffer_info, pCopyBufferInfo->GetPointer(), @@ -4910,8 +4910,8 @@ void VulkanCppConsumer::Process_vkCmdCopyBufferToImage2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyBufferToImageInfo */ +// commandBuffer +// pCopyBufferToImageInfo std::stringstream stream_pcopy_buffer_to_image_info; std::string pcopy_buffer_to_image_info_struct = GenerateStruct_VkCopyBufferToImageInfo2(stream_pcopy_buffer_to_image_info, pCopyBufferToImageInfo->GetPointer(), @@ -4933,8 +4933,8 @@ void VulkanCppConsumer::Process_vkCmdCopyImage2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyImageInfo */ +// commandBuffer +// pCopyImageInfo std::stringstream stream_pcopy_image_info; std::string pcopy_image_info_struct = GenerateStruct_VkCopyImageInfo2(stream_pcopy_image_info, pCopyImageInfo->GetPointer(), @@ -4956,8 +4956,8 @@ void VulkanCppConsumer::Process_vkCmdCopyImageToBuffer2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyImageToBufferInfo */ +// commandBuffer +// pCopyImageToBufferInfo std::stringstream stream_pcopy_image_to_buffer_info; std::string pcopy_image_to_buffer_info_struct = GenerateStruct_VkCopyImageToBufferInfo2(stream_pcopy_image_to_buffer_info, pCopyImageToBufferInfo->GetPointer(), @@ -4978,7 +4978,7 @@ void VulkanCppConsumer::Process_vkCmdEndRendering( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ +// commandBuffer fprintf(file, "\t\tvkCmdEndRendering(%s);\n", this->GetHandle(commandBuffer).c_str()); @@ -4993,8 +4993,8 @@ void VulkanCppConsumer::Process_vkCmdPipelineBarrier2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pDependencyInfo */ +// commandBuffer +// pDependencyInfo std::stringstream stream_pdependency_info; std::string pdependency_info_struct = GenerateStruct_VkDependencyInfo(stream_pdependency_info, pDependencyInfo->GetPointer(), @@ -5017,9 +5017,9 @@ void VulkanCppConsumer::Process_vkCmdResetEvent2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* event */ -/* stageMask */ +// commandBuffer +// event +// stageMask fprintf(file, "\t\tvkCmdResetEvent2(%s, %s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -5036,8 +5036,8 @@ void VulkanCppConsumer::Process_vkCmdResolveImage2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pResolveImageInfo */ +// commandBuffer +// pResolveImageInfo std::stringstream stream_presolve_image_info; std::string presolve_image_info_struct = GenerateStruct_VkResolveImageInfo2(stream_presolve_image_info, pResolveImageInfo->GetPointer(), @@ -5059,8 +5059,8 @@ void VulkanCppConsumer::Process_vkCmdSetCullMode( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* cullMode */ +// commandBuffer +// cullMode fprintf(file, "\t\tvkCmdSetCullMode(%s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -5076,8 +5076,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthBiasEnable( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthBiasEnable */ +// commandBuffer +// depthBiasEnable fprintf(file, "\t\tvkCmdSetDepthBiasEnable(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5093,8 +5093,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthBoundsTestEnable( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthBoundsTestEnable */ +// commandBuffer +// depthBoundsTestEnable fprintf(file, "\t\tvkCmdSetDepthBoundsTestEnable(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5110,8 +5110,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthCompareOp( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthCompareOp */ +// commandBuffer +// depthCompareOp fprintf(file, "\t\tvkCmdSetDepthCompareOp(%s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -5127,8 +5127,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthTestEnable( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthTestEnable */ +// commandBuffer +// depthTestEnable fprintf(file, "\t\tvkCmdSetDepthTestEnable(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5144,8 +5144,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthWriteEnable( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthWriteEnable */ +// commandBuffer +// depthWriteEnable fprintf(file, "\t\tvkCmdSetDepthWriteEnable(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5162,9 +5162,9 @@ void VulkanCppConsumer::Process_vkCmdSetEvent2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* event */ -/* pDependencyInfo */ +// commandBuffer +// event +// pDependencyInfo std::stringstream stream_pdependency_info; std::string pdependency_info_struct = GenerateStruct_VkDependencyInfo(stream_pdependency_info, pDependencyInfo->GetPointer(), @@ -5187,8 +5187,8 @@ void VulkanCppConsumer::Process_vkCmdSetFrontFace( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* frontFace */ +// commandBuffer +// frontFace fprintf(file, "\t\tvkCmdSetFrontFace(%s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -5204,8 +5204,8 @@ void VulkanCppConsumer::Process_vkCmdSetPrimitiveRestartEnable( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* primitiveRestartEnable */ +// commandBuffer +// primitiveRestartEnable fprintf(file, "\t\tvkCmdSetPrimitiveRestartEnable(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5221,8 +5221,8 @@ void VulkanCppConsumer::Process_vkCmdSetPrimitiveTopology( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* primitiveTopology */ +// commandBuffer +// primitiveTopology fprintf(file, "\t\tvkCmdSetPrimitiveTopology(%s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -5238,8 +5238,8 @@ void VulkanCppConsumer::Process_vkCmdSetRasterizerDiscardEnable( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* rasterizerDiscardEnable */ +// commandBuffer +// rasterizerDiscardEnable fprintf(file, "\t\tvkCmdSetRasterizerDiscardEnable(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5256,9 +5256,9 @@ void VulkanCppConsumer::Process_vkCmdSetScissorWithCount( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* scissorCount */ -/* pScissors */ +// commandBuffer +// scissorCount +// pScissors std::stringstream stream_pscissors; std::string pscissors_array = "NULL"; PointerPairContainerGetPointer()), decltype(pScissors->GetMetaStructPointer())> pscissors_pair{ pScissors->GetPointer(), pScissors->GetMetaStructPointer(), scissorCount }; @@ -5295,12 +5295,12 @@ void VulkanCppConsumer::Process_vkCmdSetStencilOp( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* faceMask */ -/* failOp */ -/* passOp */ -/* depthFailOp */ -/* compareOp */ +// commandBuffer +// faceMask +// failOp +// passOp +// depthFailOp +// compareOp fprintf(file, "\t\tvkCmdSetStencilOp(%s, %s, %s, %s, %s, %s);\n", this->GetHandle(commandBuffer).c_str(), @@ -5320,8 +5320,8 @@ void VulkanCppConsumer::Process_vkCmdSetStencilTestEnable( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* stencilTestEnable */ +// commandBuffer +// stencilTestEnable fprintf(file, "\t\tvkCmdSetStencilTestEnable(%s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5338,9 +5338,9 @@ void VulkanCppConsumer::Process_vkCmdSetViewportWithCount( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* viewportCount */ -/* pViewports */ +// commandBuffer +// viewportCount +// pViewports std::stringstream stream_pviewports; std::string pviewports_array = "NULL"; PointerPairContainerGetPointer()), decltype(pViewports->GetMetaStructPointer())> pviewports_pair{ pViewports->GetPointer(), pViewports->GetMetaStructPointer(), viewportCount }; @@ -5375,9 +5375,9 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* eventCount */ -/* pEvents */ +// commandBuffer +// eventCount +// pEvents std::string pevents_array = "NULL"; std::string pevents_values = toStringJoin(pEvents->GetPointer(), pEvents->GetPointer() + eventCount, @@ -5389,7 +5389,7 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents2( pevents_array = "pevents_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkEvent %s[] = { %s };\n", pevents_array.c_str(), pevents_values.c_str()); } -/* pDependencyInfos */ +// pDependencyInfos std::stringstream stream_pdependency_infos; std::string pdependency_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pDependencyInfos->GetMetaStructPointer())> pdependency_infos_pair{ pDependencyInfos->GetPointer(), pDependencyInfos->GetMetaStructPointer(), eventCount }; @@ -5425,10 +5425,10 @@ void VulkanCppConsumer::Process_vkCmdWriteTimestamp2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* stage */ -/* queryPool */ -/* query */ +// commandBuffer +// stage +// queryPool +// query fprintf(file, "\t\tvkCmdWriteTimestamp2(%s, %s, %s, %u);\n", this->GetHandle(commandBuffer).c_str(), @@ -5449,16 +5449,16 @@ void VulkanCppConsumer::Process_vkCreatePrivateDataSlot( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkPrivateDataSlotCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pPrivateDataSlot */ +// pAllocator +// pPrivateDataSlot std::string pprivate_data_slot_name = "pPrivateDataSlot_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PRIVATE_DATA_SLOT)); AddKnownVariables("VkPrivateDataSlot", pprivate_data_slot_name, pPrivateDataSlot->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -5484,9 +5484,9 @@ void VulkanCppConsumer::Process_vkDestroyPrivateDataSlot( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* privateDataSlot */ -/* pAllocator */ +// device +// privateDataSlot +// pAllocator fprintf(file, "\t\tvkDestroyPrivateDataSlot(%s, %s, %s);\n", this->GetHandle(device).c_str(), @@ -5504,15 +5504,15 @@ void VulkanCppConsumer::Process_vkGetDeviceBufferMemoryRequirements( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceBufferMemoryRequirements(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_requirements; pmemory_requirements_name = GenerateStruct_VkMemoryRequirements2(stream_pmemory_requirements, @@ -5537,15 +5537,15 @@ void VulkanCppConsumer::Process_vkGetDeviceImageMemoryRequirements( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceImageMemoryRequirements(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_requirements; pmemory_requirements_name = GenerateStruct_VkMemoryRequirements2(stream_pmemory_requirements, @@ -5571,18 +5571,18 @@ void VulkanCppConsumer::Process_vkGetDeviceImageSparseMemoryRequirements( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceImageMemoryRequirements(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pSparseMemoryRequirementCount */ +// pSparseMemoryRequirementCount std::string psparse_memory_requirement_count_name = "pSparseMemoryRequirementCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", psparse_memory_requirement_count_name.c_str()); -/* pSparseMemoryRequirements */ +// pSparseMemoryRequirements std::string psparse_memory_requirements_name = "pSparseMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_psparse_memory_requirements; psparse_memory_requirements_name = GenerateStruct_VkSparseImageMemoryRequirements2(stream_psparse_memory_requirements, @@ -5609,11 +5609,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceToolProperties( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pToolCount */ +// physicalDevice +// pToolCount std::string ptool_count_name = "pToolCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", ptool_count_name.c_str()); -/* pToolProperties */ +// pToolProperties std::string ptool_properties_name = "pToolProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_ptool_properties; ptool_properties_name = GenerateStruct_VkPhysicalDeviceToolProperties(stream_ptool_properties, @@ -5641,11 +5641,11 @@ void VulkanCppConsumer::Process_vkGetPrivateData( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* objectType */ -/* objectHandle */ -/* privateDataSlot */ -/* pData */ +// device +// objectType +// objectHandle +// privateDataSlot +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint64_t %s;\n", pdata_name.c_str()); fprintf(file, @@ -5669,9 +5669,9 @@ void VulkanCppConsumer::Process_vkQueueSubmit2( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* submitCount */ -/* pSubmits */ +// queue +// submitCount +// pSubmits std::stringstream stream_psubmits; std::string psubmits_array = "NULL"; PointerPairContainerGetPointer()), decltype(pSubmits->GetMetaStructPointer())> psubmits_pair{ pSubmits->GetPointer(), pSubmits->GetMetaStructPointer(), submitCount }; @@ -5688,7 +5688,7 @@ void VulkanCppConsumer::Process_vkQueueSubmit2( fprintf(file, "\t\tVkSubmitInfo2 %s[] = { %s };\n", psubmits_array.c_str(), psubmits_names.c_str()); } } -/* fence */ +// fence fprintf(file, "\t\tVK_CALL_CHECK(vkQueueSubmit2(%s, %u, %s, %s), %s);\n", this->GetHandle(queue).c_str(), @@ -5711,11 +5711,11 @@ void VulkanCppConsumer::Process_vkSetPrivateData( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* objectType */ -/* objectHandle */ -/* privateDataSlot */ -/* data */ +// device +// objectType +// objectHandle +// privateDataSlot +// data fprintf(file, "\t\tVK_CALL_CHECK(vkSetPrivateData(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL), %s);\n", this->GetHandle(device).c_str(), @@ -5735,9 +5735,9 @@ void VulkanCppConsumer::Process_vkDestroySurfaceKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* surface */ -/* pAllocator */ +// instance +// surface +// pAllocator pfn_loader_.AddMethodName("vkDestroySurfaceKHR"); fprintf(file, "\t\tloaded_vkDestroySurfaceKHR(%s, %s, %s);\n", @@ -5757,9 +5757,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSurfaceCapabilitiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* surface */ -/* pSurfaceCapabilities */ +// physicalDevice +// surface +// pSurfaceCapabilities std::string psurface_capabilities_name = "pSurfaceCapabilities_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkSurfaceCapabilitiesKHR %s;\n", psurface_capabilities_name.c_str()); pfn_loader_.AddMethodName("vkGetPhysicalDeviceSurfaceCapabilitiesKHR"); @@ -5807,10 +5807,10 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSurfaceSupportKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* queueFamilyIndex */ -/* surface */ -/* pSupported */ +// physicalDevice +// queueFamilyIndex +// surface +// pSupported std::string psupported_name = "pSupported_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkBool32 %s;\n", psupported_name.c_str()); pfn_loader_.AddMethodName("vkGetPhysicalDeviceSurfaceSupportKHR"); @@ -5860,16 +5860,16 @@ void VulkanCppConsumer::Process_vkCreateSwapchainKHR( Intercept_vkCreateSwapchainKHR(returnValue, device, pCreateInfo, pAllocator, pSwapchain); FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkSwapchainCreateInfoKHR(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSwapchain */ +// pAllocator +// pSwapchain std::string pswapchain_name = "pSwapchain_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SWAPCHAIN_KHR)); AddKnownVariables("VkSwapchainKHR", pswapchain_name, pSwapchain->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -5896,9 +5896,9 @@ void VulkanCppConsumer::Process_vkDestroySwapchainKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ -/* pAllocator */ +// device +// swapchain +// pAllocator pfn_loader_.AddMethodName("vkDestroySwapchainKHR"); fprintf(file, "\t\tloaded_vkDestroySwapchainKHR(%s, %s, %s);\n", @@ -5917,8 +5917,8 @@ void VulkanCppConsumer::Process_vkGetDeviceGroupPresentCapabilitiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pDeviceGroupPresentCapabilities */ +// device +// pDeviceGroupPresentCapabilities std::string pdevice_group_present_capabilities_name = "pDeviceGroupPresentCapabilities_" + std::to_string(this->GetNextId()); std::stringstream stream_pdevice_group_present_capabilities; pdevice_group_present_capabilities_name = GenerateStruct_VkDeviceGroupPresentCapabilitiesKHR(stream_pdevice_group_present_capabilities, @@ -5945,9 +5945,9 @@ void VulkanCppConsumer::Process_vkGetDeviceGroupSurfacePresentModesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* surface */ -/* pModes */ +// device +// surface +// pModes std::string pmodes_name = "pModes_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkDeviceGroupPresentModeFlagsKHR %s;\n", pmodes_name.c_str()); pfn_loader_.AddMethodName("vkGetDeviceGroupSurfacePresentModesKHR"); @@ -5971,12 +5971,12 @@ void VulkanCppConsumer::Process_vkGetPhysicalDevicePresentRectanglesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* surface */ -/* pRectCount */ +// physicalDevice +// surface +// pRectCount std::string prect_count_name = "pRectCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", prect_count_name.c_str()); -/* pRects */ +// pRects std::string prects_name = "pRects_" + std::to_string(this->GetNextId()); const uint32_t* in_prect_count = pRectCount->GetPointer(); fprintf(file, "\t\tVkRect2D %s[%d];\n", prects_name.c_str(), *in_prect_count); @@ -6012,8 +6012,8 @@ void VulkanCppConsumer::Process_vkQueuePresentKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* pPresentInfo */ +// queue +// pPresentInfo std::stringstream stream_ppresent_info; std::string ppresent_info_struct = GenerateStruct_VkPresentInfoKHR(stream_ppresent_info, pPresentInfo->GetPointer(), @@ -6040,17 +6040,17 @@ void VulkanCppConsumer::Process_vkCreateDisplayModeKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* display */ -/* pCreateInfo */ +// physicalDevice +// display +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDisplayModeCreateInfoKHR(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pMode */ +// pAllocator +// pMode std::string pmode_name = "pMode_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DISPLAY_MODE_KHR)); AddKnownVariables("VkDisplayModeKHR", pmode_name, pMode->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -6080,16 +6080,16 @@ void VulkanCppConsumer::Process_vkCreateDisplayPlaneSurfaceKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDisplaySurfaceCreateInfoKHR(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -6118,12 +6118,12 @@ void VulkanCppConsumer::Process_vkGetDisplayModePropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* display */ -/* pPropertyCount */ +// physicalDevice +// display +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); const uint32_t* in_pproperty_count = pPropertyCount->GetPointer(); fprintf(file, "\t\tVkDisplayModePropertiesKHR %s[%d];\n", pproperties_name.c_str(), *in_pproperty_count); @@ -6149,10 +6149,10 @@ void VulkanCppConsumer::Process_vkGetDisplayPlaneCapabilitiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* mode */ -/* planeIndex */ -/* pCapabilities */ +// physicalDevice +// mode +// planeIndex +// pCapabilities std::string pcapabilities_name = "pCapabilities_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkDisplayPlaneCapabilitiesKHR %s;\n", pcapabilities_name.c_str()); pfn_loader_.AddMethodName("vkGetDisplayPlaneCapabilitiesKHR"); @@ -6177,12 +6177,12 @@ void VulkanCppConsumer::Process_vkGetDisplayPlaneSupportedDisplaysKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* planeIndex */ -/* pDisplayCount */ +// physicalDevice +// planeIndex +// pDisplayCount std::string pdisplay_count_name = "pDisplayCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pdisplay_count_name.c_str()); -/* pDisplays */ +// pDisplays std::string pdisplays_name = "pDisplays_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DISPLAY_KHR)); AddKnownVariables("VkDisplayKHR", pdisplays_name, pDisplays->GetPointer(), *pDisplayCount->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -6210,11 +6210,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceDisplayPlanePropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pPropertyCount */ +// physicalDevice +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); const uint32_t* in_pproperty_count = pPropertyCount->GetPointer(); fprintf(file, "\t\tVkDisplayPlanePropertiesKHR %s[%d];\n", pproperties_name.c_str(), *in_pproperty_count); @@ -6238,11 +6238,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceDisplayPropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pPropertyCount */ +// physicalDevice +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); const uint32_t* in_pproperty_count = pPropertyCount->GetPointer(); fprintf(file, "\t\tVkDisplayPropertiesKHR %s[%d];\n", pproperties_name.c_str(), *in_pproperty_count); @@ -6267,9 +6267,9 @@ void VulkanCppConsumer::Process_vkCreateSharedSwapchainsKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchainCount */ -/* pCreateInfos */ +// device +// swapchainCount +// pCreateInfos std::stringstream stream_pcreate_infos; std::string pcreate_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pCreateInfos->GetMetaStructPointer())> pcreate_infos_pair{ pCreateInfos->GetPointer(), pCreateInfos->GetMetaStructPointer(), swapchainCount }; @@ -6286,8 +6286,8 @@ void VulkanCppConsumer::Process_vkCreateSharedSwapchainsKHR( fprintf(file, "\t\tVkSwapchainCreateInfoKHR %s[] = { %s };\n", pcreate_infos_array.c_str(), pcreate_infos_names.c_str()); } } -/* pAllocator */ -/* pSwapchains */ +// pAllocator +// pSwapchains std::string pswapchains_name = "pSwapchains_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SWAPCHAIN_KHR)); AddKnownVariables("VkSwapchainKHR", pswapchains_name, pSwapchains->GetPointer(), swapchainCount); if (returnValue == VK_SUCCESS) { @@ -6328,12 +6328,12 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceXlibPresentationSupportKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* queueFamilyIndex */ -/* dpy */ +// physicalDevice +// queueFamilyIndex +// dpy std::string dpy_name = "dpy_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", dpy_name.c_str()); -/* visualID */ +// visualID pfn_loader_.AddMethodName("vkGetPhysicalDeviceXlibPresentationSupportKHR"); fprintf(file, "\t\tloaded_vkGetPhysicalDeviceXlibPresentationSupportKHR(%s, %u, %s, %" PRId64 ");\n", @@ -6391,9 +6391,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceWaylandPresentationSupportKHR { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* queueFamilyIndex */ -/* display */ +// physicalDevice +// queueFamilyIndex +// display std::string display_name = "display_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", display_name.c_str()); pfn_loader_.AddMethodName("vkGetPhysicalDeviceWaylandPresentationSupportKHR"); @@ -6436,8 +6436,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceWin32PresentationSupportKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* queueFamilyIndex */ +// physicalDevice +// queueFamilyIndex pfn_loader_.AddMethodName("vkGetPhysicalDeviceWin32PresentationSupportKHR"); fprintf(file, "\t\tloaded_vkGetPhysicalDeviceWin32PresentationSupportKHR(%s, %u);\n", @@ -6456,10 +6456,10 @@ void VulkanCppConsumer::Process_vkBindVideoSessionMemoryKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* videoSession */ -/* bindSessionMemoryInfoCount */ -/* pBindSessionMemoryInfos */ +// device +// videoSession +// bindSessionMemoryInfoCount +// pBindSessionMemoryInfos std::stringstream stream_pbind_session_memory_infos; std::string pbind_session_memory_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBindSessionMemoryInfos->GetMetaStructPointer())> pbind_session_memory_infos_pair{ pBindSessionMemoryInfos->GetPointer(), pBindSessionMemoryInfos->GetMetaStructPointer(), bindSessionMemoryInfoCount }; @@ -6495,8 +6495,8 @@ void VulkanCppConsumer::Process_vkCmdBeginVideoCodingKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pBeginInfo */ +// commandBuffer +// pBeginInfo std::stringstream stream_pbegin_info; std::string pbegin_info_struct = GenerateStruct_VkVideoBeginCodingInfoKHR(stream_pbegin_info, pBeginInfo->GetPointer(), @@ -6519,8 +6519,8 @@ void VulkanCppConsumer::Process_vkCmdControlVideoCodingKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCodingControlInfo */ +// commandBuffer +// pCodingControlInfo std::stringstream stream_pcoding_control_info; std::string pcoding_control_info_struct = GenerateStruct_VkVideoCodingControlInfoKHR(stream_pcoding_control_info, pCodingControlInfo->GetPointer(), @@ -6543,8 +6543,8 @@ void VulkanCppConsumer::Process_vkCmdEndVideoCodingKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pEndCodingInfo */ +// commandBuffer +// pEndCodingInfo std::stringstream stream_pend_coding_info; std::string pend_coding_info_struct = GenerateStruct_VkVideoEndCodingInfoKHR(stream_pend_coding_info, pEndCodingInfo->GetPointer(), @@ -6570,16 +6570,16 @@ void VulkanCppConsumer::Process_vkCreateVideoSessionKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkVideoSessionCreateInfoKHR(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pVideoSession */ +// pAllocator +// pVideoSession std::string pvideo_session_name = "pVideoSession_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_VIDEO_SESSION_KHR)); AddKnownVariables("VkVideoSessionKHR", pvideo_session_name, pVideoSession->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -6608,16 +6608,16 @@ void VulkanCppConsumer::Process_vkCreateVideoSessionParametersKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkVideoSessionParametersCreateInfoKHR(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pVideoSessionParameters */ +// pAllocator +// pVideoSessionParameters std::string pvideo_session_parameters_name = "pVideoSessionParameters_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR)); AddKnownVariables("VkVideoSessionParametersKHR", pvideo_session_parameters_name, pVideoSessionParameters->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -6644,9 +6644,9 @@ void VulkanCppConsumer::Process_vkDestroyVideoSessionKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* videoSession */ -/* pAllocator */ +// device +// videoSession +// pAllocator pfn_loader_.AddMethodName("vkDestroyVideoSessionKHR"); fprintf(file, "\t\tloaded_vkDestroyVideoSessionKHR(%s, %s, %s);\n", @@ -6665,9 +6665,9 @@ void VulkanCppConsumer::Process_vkDestroyVideoSessionParametersKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* videoSessionParameters */ -/* pAllocator */ +// device +// videoSessionParameters +// pAllocator pfn_loader_.AddMethodName("vkDestroyVideoSessionParametersKHR"); fprintf(file, "\t\tloaded_vkDestroyVideoSessionParametersKHR(%s, %s, %s);\n", @@ -6687,15 +6687,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceVideoCapabilitiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pVideoProfile */ +// physicalDevice +// pVideoProfile std::stringstream stream_pvideo_profile; std::string pvideo_profile_struct = GenerateStruct_VkVideoProfileInfoKHR(stream_pvideo_profile, pVideoProfile->GetPointer(), pVideoProfile->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pvideo_profile.str().c_str()); -/* pCapabilities */ +// pCapabilities std::string pcapabilities_name = "pCapabilities_" + std::to_string(this->GetNextId()); std::stringstream stream_pcapabilities; pcapabilities_name = GenerateStruct_VkVideoCapabilitiesKHR(stream_pcapabilities, @@ -6724,18 +6724,18 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceVideoFormatPropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pVideoFormatInfo */ +// physicalDevice +// pVideoFormatInfo std::stringstream stream_pvideo_format_info; std::string pvideo_format_info_struct = GenerateStruct_VkPhysicalDeviceVideoFormatInfoKHR(stream_pvideo_format_info, pVideoFormatInfo->GetPointer(), pVideoFormatInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pvideo_format_info.str().c_str()); -/* pVideoFormatPropertyCount */ +// pVideoFormatPropertyCount std::string pvideo_format_property_count_name = "pVideoFormatPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pvideo_format_property_count_name.c_str()); -/* pVideoFormatProperties */ +// pVideoFormatProperties std::string pvideo_format_properties_name = "pVideoFormatProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pvideo_format_properties; pvideo_format_properties_name = GenerateStruct_VkVideoFormatPropertiesKHR(stream_pvideo_format_properties, @@ -6765,12 +6765,12 @@ void VulkanCppConsumer::Process_vkGetVideoSessionMemoryRequirementsKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* videoSession */ -/* pMemoryRequirementsCount */ +// device +// videoSession +// pMemoryRequirementsCount std::string pmemory_requirements_count_name = "pMemoryRequirementsCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pmemory_requirements_count_name.c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_requirements; pmemory_requirements_name = GenerateStruct_VkVideoSessionMemoryRequirementsKHR(stream_pmemory_requirements, @@ -6799,9 +6799,9 @@ void VulkanCppConsumer::Process_vkUpdateVideoSessionParametersKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* videoSessionParameters */ -/* pUpdateInfo */ +// device +// videoSessionParameters +// pUpdateInfo std::stringstream stream_pupdate_info; std::string pupdate_info_struct = GenerateStruct_VkVideoSessionParametersUpdateInfoKHR(stream_pupdate_info, pUpdateInfo->GetPointer(), @@ -6825,8 +6825,8 @@ void VulkanCppConsumer::Process_vkCmdDecodeVideoKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pDecodeInfo */ +// commandBuffer +// pDecodeInfo std::stringstream stream_pdecode_info; std::string pdecode_info_struct = GenerateStruct_VkVideoDecodeInfoKHR(stream_pdecode_info, pDecodeInfo->GetPointer(), @@ -6848,8 +6848,8 @@ void VulkanCppConsumer::Process_vkCmdBeginRenderingKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pRenderingInfo */ +// commandBuffer +// pRenderingInfo std::stringstream stream_prendering_info; std::string prendering_info_struct = GenerateStruct_VkRenderingInfo(stream_prendering_info, pRenderingInfo->GetPointer(), @@ -6871,7 +6871,7 @@ void VulkanCppConsumer::Process_vkCmdEndRenderingKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ +// commandBuffer pfn_loader_.AddMethodName("vkCmdEndRenderingKHR"); fprintf(file, "\t\tloaded_vkCmdEndRenderingKHR(%s);\n", @@ -6886,8 +6886,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceFeatures2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pFeatures */ +// physicalDevice +// pFeatures std::string pfeatures_name = "pFeatures_" + std::to_string(this->GetNextId()); std::stringstream stream_pfeatures; pfeatures_name = GenerateStruct_VkPhysicalDeviceFeatures2(stream_pfeatures, @@ -6912,9 +6912,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceFormatProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* format */ -/* pFormatProperties */ +// physicalDevice +// format +// pFormatProperties std::string pformat_properties_name = "pFormatProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pformat_properties; pformat_properties_name = GenerateStruct_VkFormatProperties2(stream_pformat_properties, @@ -6941,15 +6941,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceImageFormatProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pImageFormatInfo */ +// physicalDevice +// pImageFormatInfo std::stringstream stream_pimage_format_info; std::string pimage_format_info_struct = GenerateStruct_VkPhysicalDeviceImageFormatInfo2(stream_pimage_format_info, pImageFormatInfo->GetPointer(), pImageFormatInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pimage_format_info.str().c_str()); -/* pImageFormatProperties */ +// pImageFormatProperties std::string pimage_format_properties_name = "pImageFormatProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pimage_format_properties; pimage_format_properties_name = GenerateStruct_VkImageFormatProperties2(stream_pimage_format_properties, @@ -6975,8 +6975,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceMemoryProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pMemoryProperties */ +// physicalDevice +// pMemoryProperties std::string pmemory_properties_name = "pMemoryProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_properties; pmemory_properties_name = GenerateStruct_VkPhysicalDeviceMemoryProperties2(stream_pmemory_properties, @@ -7000,8 +7000,8 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pProperties */ +// physicalDevice +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkPhysicalDeviceProperties2(stream_pproperties, @@ -7026,11 +7026,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceQueueFamilyProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pQueueFamilyPropertyCount */ +// physicalDevice +// pQueueFamilyPropertyCount std::string pqueue_family_property_count_name = "pQueueFamilyPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pqueue_family_property_count_name.c_str()); -/* pQueueFamilyProperties */ +// pQueueFamilyProperties std::string pqueue_family_properties_name = "pQueueFamilyProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pqueue_family_properties; pqueue_family_properties_name = GenerateStruct_VkQueueFamilyProperties2(stream_pqueue_family_properties, @@ -7057,18 +7057,18 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSparseImageFormatProperties2K { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pFormatInfo */ +// physicalDevice +// pFormatInfo std::stringstream stream_pformat_info; std::string pformat_info_struct = GenerateStruct_VkPhysicalDeviceSparseImageFormatInfo2(stream_pformat_info, pFormatInfo->GetPointer(), pFormatInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pformat_info.str().c_str()); -/* pPropertyCount */ +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkSparseImageFormatProperties2(stream_pproperties, @@ -7098,13 +7098,13 @@ void VulkanCppConsumer::Process_vkCmdDispatchBaseKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* baseGroupX */ -/* baseGroupY */ -/* baseGroupZ */ -/* groupCountX */ -/* groupCountY */ -/* groupCountZ */ +// commandBuffer +// baseGroupX +// baseGroupY +// baseGroupZ +// groupCountX +// groupCountY +// groupCountZ pfn_loader_.AddMethodName("vkCmdDispatchBaseKHR"); fprintf(file, "\t\tloaded_vkCmdDispatchBaseKHR(%s, %u, %u, %u, %u, %u, %u);\n", @@ -7126,8 +7126,8 @@ void VulkanCppConsumer::Process_vkCmdSetDeviceMaskKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* deviceMask */ +// commandBuffer +// deviceMask pfn_loader_.AddMethodName("vkCmdSetDeviceMaskKHR"); fprintf(file, "\t\tloaded_vkCmdSetDeviceMaskKHR(%s, %u);\n", @@ -7147,11 +7147,11 @@ void VulkanCppConsumer::Process_vkGetDeviceGroupPeerMemoryFeaturesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* heapIndex */ -/* localDeviceIndex */ -/* remoteDeviceIndex */ -/* pPeerMemoryFeatures */ +// device +// heapIndex +// localDeviceIndex +// remoteDeviceIndex +// pPeerMemoryFeatures std::string ppeer_memory_features_name = "pPeerMemoryFeatures_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkPeerMemoryFeatureFlags %s;\n", ppeer_memory_features_name.c_str()); pfn_loader_.AddMethodName("vkGetDeviceGroupPeerMemoryFeaturesKHR"); @@ -7173,9 +7173,9 @@ void VulkanCppConsumer::Process_vkTrimCommandPoolKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* commandPool */ -/* flags */ +// device +// commandPool +// flags pfn_loader_.AddMethodName("vkTrimCommandPoolKHR"); fprintf(file, "\t\tloaded_vkTrimCommandPoolKHR(%s, %s, %s);\n", @@ -7194,11 +7194,11 @@ void VulkanCppConsumer::Process_vkEnumeratePhysicalDeviceGroupsKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pPhysicalDeviceGroupCount */ +// instance +// pPhysicalDeviceGroupCount std::string pphysical_device_group_count_name = "pPhysicalDeviceGroupCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pphysical_device_group_count_name.c_str()); -/* pPhysicalDeviceGroupProperties */ +// pPhysicalDeviceGroupProperties std::string pphysical_device_group_properties_name = "pPhysicalDeviceGroupProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pphysical_device_group_properties; pphysical_device_group_properties_name = GenerateStruct_VkPhysicalDeviceGroupProperties(stream_pphysical_device_group_properties, @@ -7224,15 +7224,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceExternalBufferPropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pExternalBufferInfo */ +// physicalDevice +// pExternalBufferInfo std::stringstream stream_pexternal_buffer_info; std::string pexternal_buffer_info_struct = GenerateStruct_VkPhysicalDeviceExternalBufferInfo(stream_pexternal_buffer_info, pExternalBufferInfo->GetPointer(), pExternalBufferInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexternal_buffer_info.str().c_str()); -/* pExternalBufferProperties */ +// pExternalBufferProperties std::string pexternal_buffer_properties_name = "pExternalBufferProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pexternal_buffer_properties; pexternal_buffer_properties_name = GenerateStruct_VkExternalBufferProperties(stream_pexternal_buffer_properties, @@ -7258,15 +7258,15 @@ void VulkanCppConsumer::Process_vkGetMemoryWin32HandleKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetWin32HandleInfo */ +// device +// pGetWin32HandleInfo std::stringstream stream_pget_win32_handle_info; std::string pget_win32_handle_info_struct = GenerateStruct_VkMemoryGetWin32HandleInfoKHR(stream_pget_win32_handle_info, pGetWin32HandleInfo->GetPointer(), pGetWin32HandleInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_win32_handle_info.str().c_str()); -/* pHandle */ +// pHandle std::string phandle_name = "pHandle_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", phandle_name.c_str()); pfn_loader_.AddMethodName("vkGetMemoryWin32HandleKHR"); @@ -7290,12 +7290,12 @@ void VulkanCppConsumer::Process_vkGetMemoryWin32HandlePropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* handleType */ -/* handle */ +// device +// handleType +// handle std::string handle_name = "handle_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", handle_name.c_str()); -/* pMemoryWin32HandleProperties */ +// pMemoryWin32HandleProperties std::string pmemory_win32_handle_properties_name = "pMemoryWin32HandleProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_win32_handle_properties; pmemory_win32_handle_properties_name = GenerateStruct_VkMemoryWin32HandlePropertiesKHR(stream_pmemory_win32_handle_properties, @@ -7323,15 +7323,15 @@ void VulkanCppConsumer::Process_vkGetMemoryFdKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetFdInfo */ +// device +// pGetFdInfo std::stringstream stream_pget_fd_info; std::string pget_fd_info_struct = GenerateStruct_VkMemoryGetFdInfoKHR(stream_pget_fd_info, pGetFdInfo->GetPointer(), pGetFdInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_fd_info.str().c_str()); -/* pFd */ +// pFd std::string pfd_name = "pFd_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tint %s;\n", pfd_name.c_str()); pfn_loader_.AddMethodName("vkGetMemoryFdKHR"); @@ -7355,10 +7355,10 @@ void VulkanCppConsumer::Process_vkGetMemoryFdPropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* handleType */ -/* fd */ -/* pMemoryFdProperties */ +// device +// handleType +// fd +// pMemoryFdProperties std::string pmemory_fd_properties_name = "pMemoryFdProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_fd_properties; pmemory_fd_properties_name = GenerateStruct_VkMemoryFdPropertiesKHR(stream_pmemory_fd_properties, @@ -7385,15 +7385,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceExternalSemaphorePropertiesKH { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pExternalSemaphoreInfo */ +// physicalDevice +// pExternalSemaphoreInfo std::stringstream stream_pexternal_semaphore_info; std::string pexternal_semaphore_info_struct = GenerateStruct_VkPhysicalDeviceExternalSemaphoreInfo(stream_pexternal_semaphore_info, pExternalSemaphoreInfo->GetPointer(), pExternalSemaphoreInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexternal_semaphore_info.str().c_str()); -/* pExternalSemaphoreProperties */ +// pExternalSemaphoreProperties std::string pexternal_semaphore_properties_name = "pExternalSemaphoreProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pexternal_semaphore_properties; pexternal_semaphore_properties_name = GenerateStruct_VkExternalSemaphoreProperties(stream_pexternal_semaphore_properties, @@ -7419,15 +7419,15 @@ void VulkanCppConsumer::Process_vkGetSemaphoreWin32HandleKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetWin32HandleInfo */ +// device +// pGetWin32HandleInfo std::stringstream stream_pget_win32_handle_info; std::string pget_win32_handle_info_struct = GenerateStruct_VkSemaphoreGetWin32HandleInfoKHR(stream_pget_win32_handle_info, pGetWin32HandleInfo->GetPointer(), pGetWin32HandleInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_win32_handle_info.str().c_str()); -/* pHandle */ +// pHandle std::string phandle_name = "pHandle_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", phandle_name.c_str()); pfn_loader_.AddMethodName("vkGetSemaphoreWin32HandleKHR"); @@ -7449,8 +7449,8 @@ void VulkanCppConsumer::Process_vkImportSemaphoreWin32HandleKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pImportSemaphoreWin32HandleInfo */ +// device +// pImportSemaphoreWin32HandleInfo std::stringstream stream_pimport_semaphore_win32_handle_info; std::string pimport_semaphore_win32_handle_info_struct = GenerateStruct_VkImportSemaphoreWin32HandleInfoKHR(stream_pimport_semaphore_win32_handle_info, pImportSemaphoreWin32HandleInfo->GetPointer(), @@ -7475,15 +7475,15 @@ void VulkanCppConsumer::Process_vkGetSemaphoreFdKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetFdInfo */ +// device +// pGetFdInfo std::stringstream stream_pget_fd_info; std::string pget_fd_info_struct = GenerateStruct_VkSemaphoreGetFdInfoKHR(stream_pget_fd_info, pGetFdInfo->GetPointer(), pGetFdInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_fd_info.str().c_str()); -/* pFd */ +// pFd std::string pfd_name = "pFd_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tint %s;\n", pfd_name.c_str()); pfn_loader_.AddMethodName("vkGetSemaphoreFdKHR"); @@ -7505,8 +7505,8 @@ void VulkanCppConsumer::Process_vkImportSemaphoreFdKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pImportSemaphoreFdInfo */ +// device +// pImportSemaphoreFdInfo std::stringstream stream_pimport_semaphore_fd_info; std::string pimport_semaphore_fd_info_struct = GenerateStruct_VkImportSemaphoreFdInfoKHR(stream_pimport_semaphore_fd_info, pImportSemaphoreFdInfo->GetPointer(), @@ -7533,12 +7533,12 @@ void VulkanCppConsumer::Process_vkCmdPushDescriptorSetKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineBindPoint */ -/* layout */ -/* set */ -/* descriptorWriteCount */ -/* pDescriptorWrites */ +// commandBuffer +// pipelineBindPoint +// layout +// set +// descriptorWriteCount +// pDescriptorWrites std::stringstream stream_pdescriptor_writes; std::string pdescriptor_writes_array = "NULL"; PointerPairContainerGetPointer()), decltype(pDescriptorWrites->GetMetaStructPointer())> pdescriptor_writes_pair{ pDescriptorWrites->GetPointer(), pDescriptorWrites->GetMetaStructPointer(), descriptorWriteCount }; @@ -7587,9 +7587,9 @@ void VulkanCppConsumer::Process_vkDestroyDescriptorUpdateTemplateKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorUpdateTemplate */ -/* pAllocator */ +// device +// descriptorUpdateTemplate +// pAllocator pfn_loader_.AddMethodName("vkDestroyDescriptorUpdateTemplateKHR"); fprintf(file, "\t\tloaded_vkDestroyDescriptorUpdateTemplateKHR(%s, %s, %s);\n", @@ -7607,15 +7607,15 @@ void VulkanCppConsumer::Process_vkCmdBeginRenderPass2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pRenderPassBegin */ +// commandBuffer +// pRenderPassBegin std::stringstream stream_prender_pass_begin; std::string prender_pass_begin_struct = GenerateStruct_VkRenderPassBeginInfo(stream_prender_pass_begin, pRenderPassBegin->GetPointer(), pRenderPassBegin->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_prender_pass_begin.str().c_str()); -/* pSubpassBeginInfo */ +// pSubpassBeginInfo std::stringstream stream_psubpass_begin_info; std::string psubpass_begin_info_struct = GenerateStruct_VkSubpassBeginInfo(stream_psubpass_begin_info, pSubpassBeginInfo->GetPointer(), @@ -7639,8 +7639,8 @@ void VulkanCppConsumer::Process_vkCmdEndRenderPass2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pSubpassEndInfo */ +// commandBuffer +// pSubpassEndInfo std::stringstream stream_psubpass_end_info; std::string psubpass_end_info_struct = GenerateStruct_VkSubpassEndInfo(stream_psubpass_end_info, pSubpassEndInfo->GetPointer(), @@ -7664,15 +7664,15 @@ void VulkanCppConsumer::Process_vkCmdNextSubpass2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pSubpassBeginInfo */ +// commandBuffer +// pSubpassBeginInfo std::stringstream stream_psubpass_begin_info; std::string psubpass_begin_info_struct = GenerateStruct_VkSubpassBeginInfo(stream_psubpass_begin_info, pSubpassBeginInfo->GetPointer(), pSubpassBeginInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psubpass_begin_info.str().c_str()); -/* pSubpassEndInfo */ +// pSubpassEndInfo std::stringstream stream_psubpass_end_info; std::string psubpass_end_info_struct = GenerateStruct_VkSubpassEndInfo(stream_psubpass_end_info, pSubpassEndInfo->GetPointer(), @@ -7699,16 +7699,16 @@ void VulkanCppConsumer::Process_vkCreateRenderPass2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkRenderPassCreateInfo2(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pRenderPass */ +// pAllocator +// pRenderPass std::string prender_pass_name = "pRenderPass_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_RENDER_PASS)); AddKnownVariables("VkRenderPass", prender_pass_name, pRenderPass->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -7734,8 +7734,8 @@ void VulkanCppConsumer::Process_vkGetSwapchainStatusKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ +// device +// swapchain pfn_loader_.AddMethodName("vkGetSwapchainStatusKHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkGetSwapchainStatusKHR(%s, %s), %s);\n", @@ -7753,15 +7753,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceExternalFencePropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pExternalFenceInfo */ +// physicalDevice +// pExternalFenceInfo std::stringstream stream_pexternal_fence_info; std::string pexternal_fence_info_struct = GenerateStruct_VkPhysicalDeviceExternalFenceInfo(stream_pexternal_fence_info, pExternalFenceInfo->GetPointer(), pExternalFenceInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexternal_fence_info.str().c_str()); -/* pExternalFenceProperties */ +// pExternalFenceProperties std::string pexternal_fence_properties_name = "pExternalFenceProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pexternal_fence_properties; pexternal_fence_properties_name = GenerateStruct_VkExternalFenceProperties(stream_pexternal_fence_properties, @@ -7787,15 +7787,15 @@ void VulkanCppConsumer::Process_vkGetFenceWin32HandleKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetWin32HandleInfo */ +// device +// pGetWin32HandleInfo std::stringstream stream_pget_win32_handle_info; std::string pget_win32_handle_info_struct = GenerateStruct_VkFenceGetWin32HandleInfoKHR(stream_pget_win32_handle_info, pGetWin32HandleInfo->GetPointer(), pGetWin32HandleInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_win32_handle_info.str().c_str()); -/* pHandle */ +// pHandle std::string phandle_name = "pHandle_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", phandle_name.c_str()); pfn_loader_.AddMethodName("vkGetFenceWin32HandleKHR"); @@ -7817,8 +7817,8 @@ void VulkanCppConsumer::Process_vkImportFenceWin32HandleKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pImportFenceWin32HandleInfo */ +// device +// pImportFenceWin32HandleInfo std::stringstream stream_pimport_fence_win32_handle_info; std::string pimport_fence_win32_handle_info_struct = GenerateStruct_VkImportFenceWin32HandleInfoKHR(stream_pimport_fence_win32_handle_info, pImportFenceWin32HandleInfo->GetPointer(), @@ -7843,15 +7843,15 @@ void VulkanCppConsumer::Process_vkGetFenceFdKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetFdInfo */ +// device +// pGetFdInfo std::stringstream stream_pget_fd_info; std::string pget_fd_info_struct = GenerateStruct_VkFenceGetFdInfoKHR(stream_pget_fd_info, pGetFdInfo->GetPointer(), pGetFdInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_fd_info.str().c_str()); -/* pFd */ +// pFd std::string pfd_name = "pFd_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tint %s;\n", pfd_name.c_str()); pfn_loader_.AddMethodName("vkGetFenceFdKHR"); @@ -7873,8 +7873,8 @@ void VulkanCppConsumer::Process_vkImportFenceFdKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pImportFenceFdInfo */ +// device +// pImportFenceFdInfo std::stringstream stream_pimport_fence_fd_info; std::string pimport_fence_fd_info_struct = GenerateStruct_VkImportFenceFdInfoKHR(stream_pimport_fence_fd_info, pImportFenceFdInfo->GetPointer(), @@ -7898,8 +7898,8 @@ void VulkanCppConsumer::Process_vkAcquireProfilingLockKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkAcquireProfilingLockInfoKHR(stream_pinfo, pInfo->GetPointer(), @@ -7927,12 +7927,12 @@ void VulkanCppConsumer::Process_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQ { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* queueFamilyIndex */ -/* pCounterCount */ +// physicalDevice +// queueFamilyIndex +// pCounterCount std::string pcounter_count_name = "pCounterCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pcounter_count_name.c_str()); -/* pCounters */ +// pCounters std::string pcounters_name = "pCounters_" + std::to_string(this->GetNextId()); std::stringstream stream_pcounters; pcounters_name = GenerateStruct_VkPerformanceCounterKHR(stream_pcounters, @@ -7940,7 +7940,7 @@ void VulkanCppConsumer::Process_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQ pCounters->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcounters.str().c_str()); -/* pCounterDescriptions */ +// pCounterDescriptions std::string pcounter_descriptions_name = "pCounterDescriptions_" + std::to_string(this->GetNextId()); std::stringstream stream_pcounter_descriptions; pcounter_descriptions_name = GenerateStruct_VkPerformanceCounterDescriptionKHR(stream_pcounter_descriptions, @@ -7969,15 +7969,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPa { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pPerformanceQueryCreateInfo */ +// physicalDevice +// pPerformanceQueryCreateInfo std::stringstream stream_pperformance_query_create_info; std::string pperformance_query_create_info_struct = GenerateStruct_VkQueryPoolPerformanceCreateInfoKHR(stream_pperformance_query_create_info, pPerformanceQueryCreateInfo->GetPointer(), pPerformanceQueryCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pperformance_query_create_info.str().c_str()); -/* pNumPasses */ +// pNumPasses std::string pnum_passes_name = "pNumPasses_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pnum_passes_name.c_str()); pfn_loader_.AddMethodName("vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR"); @@ -7996,7 +7996,7 @@ void VulkanCppConsumer::Process_vkReleaseProfilingLockKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ +// device pfn_loader_.AddMethodName("vkReleaseProfilingLockKHR"); fprintf(file, "\t\tloaded_vkReleaseProfilingLockKHR(%s);\n", @@ -8013,15 +8013,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSurfaceCapabilities2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pSurfaceInfo */ +// physicalDevice +// pSurfaceInfo std::stringstream stream_psurface_info; std::string psurface_info_struct = GenerateStruct_VkPhysicalDeviceSurfaceInfo2KHR(stream_psurface_info, pSurfaceInfo->GetPointer(), pSurfaceInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psurface_info.str().c_str()); -/* pSurfaceCapabilities */ +// pSurfaceCapabilities std::string psurface_capabilities_name = "pSurfaceCapabilities_" + std::to_string(this->GetNextId()); std::stringstream stream_psurface_capabilities; psurface_capabilities_name = GenerateStruct_VkSurfaceCapabilities2KHR(stream_psurface_capabilities, @@ -8050,18 +8050,18 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSurfaceFormats2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pSurfaceInfo */ +// physicalDevice +// pSurfaceInfo std::stringstream stream_psurface_info; std::string psurface_info_struct = GenerateStruct_VkPhysicalDeviceSurfaceInfo2KHR(stream_psurface_info, pSurfaceInfo->GetPointer(), pSurfaceInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psurface_info.str().c_str()); -/* pSurfaceFormatCount */ +// pSurfaceFormatCount std::string psurface_format_count_name = "pSurfaceFormatCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", psurface_format_count_name.c_str()); -/* pSurfaceFormats */ +// pSurfaceFormats std::string psurface_formats_name = "pSurfaceFormats_" + std::to_string(this->GetNextId()); std::stringstream stream_psurface_formats; psurface_formats_name = GenerateStruct_VkSurfaceFormat2KHR(stream_psurface_formats, @@ -8090,12 +8090,12 @@ void VulkanCppConsumer::Process_vkGetDisplayModeProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* display */ -/* pPropertyCount */ +// physicalDevice +// display +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkDisplayModeProperties2KHR(stream_pproperties, @@ -8124,15 +8124,15 @@ void VulkanCppConsumer::Process_vkGetDisplayPlaneCapabilities2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pDisplayPlaneInfo */ +// physicalDevice +// pDisplayPlaneInfo std::stringstream stream_pdisplay_plane_info; std::string pdisplay_plane_info_struct = GenerateStruct_VkDisplayPlaneInfo2KHR(stream_pdisplay_plane_info, pDisplayPlaneInfo->GetPointer(), pDisplayPlaneInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pdisplay_plane_info.str().c_str()); -/* pCapabilities */ +// pCapabilities std::string pcapabilities_name = "pCapabilities_" + std::to_string(this->GetNextId()); std::stringstream stream_pcapabilities; pcapabilities_name = GenerateStruct_VkDisplayPlaneCapabilities2KHR(stream_pcapabilities, @@ -8160,11 +8160,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceDisplayPlaneProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pPropertyCount */ +// physicalDevice +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkDisplayPlaneProperties2KHR(stream_pproperties, @@ -8192,11 +8192,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceDisplayProperties2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pPropertyCount */ +// physicalDevice +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkDisplayProperties2KHR(stream_pproperties, @@ -8243,18 +8243,18 @@ void VulkanCppConsumer::Process_vkGetImageSparseMemoryRequirements2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkImageSparseMemoryRequirementsInfo2(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pSparseMemoryRequirementCount */ +// pSparseMemoryRequirementCount std::string psparse_memory_requirement_count_name = "pSparseMemoryRequirementCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", psparse_memory_requirement_count_name.c_str()); -/* pSparseMemoryRequirements */ +// pSparseMemoryRequirements std::string psparse_memory_requirements_name = "pSparseMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_psparse_memory_requirements; psparse_memory_requirements_name = GenerateStruct_VkSparseImageMemoryRequirements2(stream_psparse_memory_requirements, @@ -8282,16 +8282,16 @@ void VulkanCppConsumer::Process_vkCreateSamplerYcbcrConversionKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkSamplerYcbcrConversionCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pYcbcrConversion */ +// pAllocator +// pYcbcrConversion std::string pycbcr_conversion_name = "pYcbcrConversion_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION)); AddKnownVariables("VkSamplerYcbcrConversion", pycbcr_conversion_name, pYcbcrConversion->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -8318,9 +8318,9 @@ void VulkanCppConsumer::Process_vkDestroySamplerYcbcrConversionKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* ycbcrConversion */ -/* pAllocator */ +// device +// ycbcrConversion +// pAllocator pfn_loader_.AddMethodName("vkDestroySamplerYcbcrConversionKHR"); fprintf(file, "\t\tloaded_vkDestroySamplerYcbcrConversionKHR(%s, %s, %s);\n", @@ -8339,9 +8339,9 @@ void VulkanCppConsumer::Process_vkBindBufferMemory2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* bindInfoCount */ -/* pBindInfos */ +// device +// bindInfoCount +// pBindInfos std::stringstream stream_pbind_infos; std::string pbind_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBindInfos->GetMetaStructPointer())> pbind_infos_pair{ pBindInfos->GetPointer(), pBindInfos->GetMetaStructPointer(), bindInfoCount }; @@ -8378,9 +8378,9 @@ void VulkanCppConsumer::Process_vkBindImageMemory2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* bindInfoCount */ -/* pBindInfos */ +// device +// bindInfoCount +// pBindInfos std::stringstream stream_pbind_infos; std::string pbind_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBindInfos->GetMetaStructPointer())> pbind_infos_pair{ pBindInfos->GetPointer(), pBindInfos->GetMetaStructPointer(), bindInfoCount }; @@ -8415,15 +8415,15 @@ void VulkanCppConsumer::Process_vkGetDescriptorSetLayoutSupportKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDescriptorSetLayoutCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pSupport */ +// pSupport std::string psupport_name = "pSupport_" + std::to_string(this->GetNextId()); std::stringstream stream_psupport; psupport_name = GenerateStruct_VkDescriptorSetLayoutSupport(stream_psupport, @@ -8452,13 +8452,13 @@ void VulkanCppConsumer::Process_vkCmdDrawIndexedIndirectCountKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawIndexedIndirectCountKHR"); fprintf(file, "\t\tloaded_vkCmdDrawIndexedIndirectCountKHR(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", @@ -8485,13 +8485,13 @@ void VulkanCppConsumer::Process_vkCmdDrawIndirectCountKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawIndirectCountKHR"); fprintf(file, "\t\tloaded_vkCmdDrawIndirectCountKHR(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", @@ -8514,9 +8514,9 @@ void VulkanCppConsumer::Process_vkGetSemaphoreCounterValueKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* semaphore */ -/* pValue */ +// device +// semaphore +// pValue std::string pvalue_name = "pValue_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint64_t %s;\n", pvalue_name.c_str()); pfn_loader_.AddMethodName("vkGetSemaphoreCounterValueKHR"); @@ -8538,8 +8538,8 @@ void VulkanCppConsumer::Process_vkSignalSemaphoreKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pSignalInfo */ +// device +// pSignalInfo std::stringstream stream_psignal_info; std::string psignal_info_struct = GenerateStruct_VkSemaphoreSignalInfo(stream_psignal_info, pSignalInfo->GetPointer(), @@ -8565,15 +8565,15 @@ void VulkanCppConsumer::Process_vkWaitSemaphoresKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pWaitInfo */ +// device +// pWaitInfo std::stringstream stream_pwait_info; std::string pwait_info_struct = GenerateStruct_VkSemaphoreWaitInfo(stream_pwait_info, pWaitInfo->GetPointer(), pWaitInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pwait_info.str().c_str()); -/* timeout */ +// timeout pfn_loader_.AddMethodName("vkWaitSemaphoresKHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkWaitSemaphoresKHR(%s, &%s, %" PRIu64 "UL), %s);\n", @@ -8592,15 +8592,15 @@ void VulkanCppConsumer::Process_vkCmdSetFragmentShadingRateKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pFragmentSize */ +// commandBuffer +// pFragmentSize std::stringstream stream_pfragment_size; std::string pfragment_size_struct = GenerateStruct_VkExtent2D(stream_pfragment_size, pFragmentSize->GetPointer(), pFragmentSize->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pfragment_size.str().c_str()); -/* combinerOps */ +// combinerOps std::string combiner_ops_array = "NULL"; std::string combiner_ops_values = toStringJoin(combinerOps->GetPointer(), combinerOps->GetPointer() + 2, @@ -8626,11 +8626,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceFragmentShadingRatesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pFragmentShadingRateCount */ +// physicalDevice +// pFragmentShadingRateCount std::string pfragment_shading_rate_count_name = "pFragmentShadingRateCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pfragment_shading_rate_count_name.c_str()); -/* pFragmentShadingRates */ +// pFragmentShadingRates std::string pfragment_shading_rates_name = "pFragmentShadingRates_" + std::to_string(this->GetNextId()); std::stringstream stream_pfragment_shading_rates; pfragment_shading_rates_name = GenerateStruct_VkPhysicalDeviceFragmentShadingRateKHR(stream_pfragment_shading_rates, @@ -8658,10 +8658,10 @@ void VulkanCppConsumer::Process_vkWaitForPresentKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ -/* presentId */ -/* timeout */ +// device +// swapchain +// presentId +// timeout pfn_loader_.AddMethodName("vkWaitForPresentKHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkWaitForPresentKHR(%s, %s, %" PRIu64 "UL, %" PRIu64 "UL), %s);\n", @@ -8681,8 +8681,8 @@ void VulkanCppConsumer::Process_vkGetBufferDeviceAddressKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkBufferDeviceAddressInfo(stream_pinfo, pInfo->GetPointer(), @@ -8706,8 +8706,8 @@ void VulkanCppConsumer::Process_vkGetBufferOpaqueCaptureAddressKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkBufferDeviceAddressInfo(stream_pinfo, pInfo->GetPointer(), @@ -8731,8 +8731,8 @@ void VulkanCppConsumer::Process_vkGetDeviceMemoryOpaqueCaptureAddressKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceMemoryOpaqueCaptureAddressInfo(stream_pinfo, pInfo->GetPointer(), @@ -8756,9 +8756,9 @@ void VulkanCppConsumer::Process_vkCreateDeferredOperationKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pAllocator */ -/* pDeferredOperation */ +// device +// pAllocator +// pDeferredOperation std::string pdeferred_operation_name = "pDeferredOperation_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR)); AddKnownVariables("VkDeferredOperationKHR", pdeferred_operation_name, pDeferredOperation->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -8784,8 +8784,8 @@ void VulkanCppConsumer::Process_vkDeferredOperationJoinKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* operation */ +// device +// operation pfn_loader_.AddMethodName("vkDeferredOperationJoinKHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkDeferredOperationJoinKHR(%s, %s), %s);\n", @@ -8804,9 +8804,9 @@ void VulkanCppConsumer::Process_vkDestroyDeferredOperationKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* operation */ -/* pAllocator */ +// device +// operation +// pAllocator pfn_loader_.AddMethodName("vkDestroyDeferredOperationKHR"); fprintf(file, "\t\tloaded_vkDestroyDeferredOperationKHR(%s, %s, %s);\n", @@ -8825,8 +8825,8 @@ void VulkanCppConsumer::Process_vkGetDeferredOperationMaxConcurrencyKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* operation */ +// device +// operation pfn_loader_.AddMethodName("vkGetDeferredOperationMaxConcurrencyKHR"); fprintf(file, "\t\tloaded_vkGetDeferredOperationMaxConcurrencyKHR(%s, %s);\n", @@ -8844,8 +8844,8 @@ void VulkanCppConsumer::Process_vkGetDeferredOperationResultKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* operation */ +// device +// operation pfn_loader_.AddMethodName("vkGetDeferredOperationResultKHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkGetDeferredOperationResultKHR(%s, %s), %s);\n", @@ -8865,18 +8865,18 @@ void VulkanCppConsumer::Process_vkGetPipelineExecutableInternalRepresentationsKH { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pExecutableInfo */ +// device +// pExecutableInfo std::stringstream stream_pexecutable_info; std::string pexecutable_info_struct = GenerateStruct_VkPipelineExecutableInfoKHR(stream_pexecutable_info, pExecutableInfo->GetPointer(), pExecutableInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexecutable_info.str().c_str()); -/* pInternalRepresentationCount */ +// pInternalRepresentationCount std::string pinternal_representation_count_name = "pInternalRepresentationCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pinternal_representation_count_name.c_str()); -/* pInternalRepresentations */ +// pInternalRepresentations std::string pinternal_representations_name = "pInternalRepresentations_" + std::to_string(this->GetNextId()); std::stringstream stream_pinternal_representations; pinternal_representations_name = GenerateStruct_VkPipelineExecutableInternalRepresentationKHR(stream_pinternal_representations, @@ -8906,18 +8906,18 @@ void VulkanCppConsumer::Process_vkGetPipelineExecutablePropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pPipelineInfo */ +// device +// pPipelineInfo std::stringstream stream_ppipeline_info; std::string ppipeline_info_struct = GenerateStruct_VkPipelineInfoKHR(stream_ppipeline_info, pPipelineInfo->GetPointer(), pPipelineInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_ppipeline_info.str().c_str()); -/* pExecutableCount */ +// pExecutableCount std::string pexecutable_count_name = "pExecutableCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pexecutable_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkPipelineExecutablePropertiesKHR(stream_pproperties, @@ -8947,18 +8947,18 @@ void VulkanCppConsumer::Process_vkGetPipelineExecutableStatisticsKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pExecutableInfo */ +// device +// pExecutableInfo std::stringstream stream_pexecutable_info; std::string pexecutable_info_struct = GenerateStruct_VkPipelineExecutableInfoKHR(stream_pexecutable_info, pExecutableInfo->GetPointer(), pExecutableInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pexecutable_info.str().c_str()); -/* pStatisticCount */ +// pStatisticCount std::string pstatistic_count_name = "pStatisticCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pstatistic_count_name.c_str()); -/* pStatistics */ +// pStatistics std::string pstatistics_name = "pStatistics_" + std::to_string(this->GetNextId()); std::stringstream stream_pstatistics; pstatistics_name = GenerateStruct_VkPipelineExecutableStatisticKHR(stream_pstatistics, @@ -8986,15 +8986,15 @@ void VulkanCppConsumer::Process_vkMapMemory2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pMemoryMapInfo */ +// device +// pMemoryMapInfo std::stringstream stream_pmemory_map_info; std::string pmemory_map_info_struct = GenerateStruct_VkMemoryMapInfoKHR(stream_pmemory_map_info, pMemoryMapInfo->GetPointer(), pMemoryMapInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pmemory_map_info.str().c_str()); -/* ppData */ +// ppData std::string pp_data_name = "ppData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", pp_data_name.c_str()); pfn_loader_.AddMethodName("vkMapMemory2KHR"); @@ -9016,8 +9016,8 @@ void VulkanCppConsumer::Process_vkUnmapMemory2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pMemoryUnmapInfo */ +// device +// pMemoryUnmapInfo std::stringstream stream_pmemory_unmap_info; std::string pmemory_unmap_info_struct = GenerateStruct_VkMemoryUnmapInfoKHR(stream_pmemory_unmap_info, pMemoryUnmapInfo->GetPointer(), @@ -9040,8 +9040,8 @@ void VulkanCppConsumer::Process_vkCmdEncodeVideoKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pEncodeInfo */ +// commandBuffer +// pEncodeInfo std::stringstream stream_pencode_info; std::string pencode_info_struct = GenerateStruct_VkVideoEncodeInfoKHR(stream_pencode_info, pEncodeInfo->GetPointer(), @@ -9068,15 +9068,15 @@ void VulkanCppConsumer::Process_vkGetEncodedVideoSessionParametersKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pVideoSessionParametersInfo */ +// device +// pVideoSessionParametersInfo std::stringstream stream_pvideo_session_parameters_info; std::string pvideo_session_parameters_info_struct = GenerateStruct_VkVideoEncodeSessionParametersGetInfoKHR(stream_pvideo_session_parameters_info, pVideoSessionParametersInfo->GetPointer(), pVideoSessionParametersInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pvideo_session_parameters_info.str().c_str()); -/* pFeedbackInfo */ +// pFeedbackInfo std::string pfeedback_info_name = "pFeedbackInfo_" + std::to_string(this->GetNextId()); std::stringstream stream_pfeedback_info; pfeedback_info_name = GenerateStruct_VkVideoEncodeSessionParametersFeedbackInfoKHR(stream_pfeedback_info, @@ -9084,10 +9084,10 @@ void VulkanCppConsumer::Process_vkGetEncodedVideoSessionParametersKHR( pFeedbackInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pfeedback_info.str().c_str()); -/* pDataSize */ +// pDataSize std::string pdata_size_name = "pDataSize_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tsize_t %s;\n", pdata_size_name.c_str()); -/* pData */ +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); size_t* in_pdata_size = pDataSize->GetPointer(); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), *in_pdata_size); @@ -9113,15 +9113,15 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceVideoEncodeQualityLevelProper { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pQualityLevelInfo */ +// physicalDevice +// pQualityLevelInfo std::stringstream stream_pquality_level_info; std::string pquality_level_info_struct = GenerateStruct_VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR(stream_pquality_level_info, pQualityLevelInfo->GetPointer(), pQualityLevelInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pquality_level_info.str().c_str()); -/* pQualityLevelProperties */ +// pQualityLevelProperties std::string pquality_level_properties_name = "pQualityLevelProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pquality_level_properties; pquality_level_properties_name = GenerateStruct_VkVideoEncodeQualityLevelPropertiesKHR(stream_pquality_level_properties, @@ -9146,8 +9146,8 @@ void VulkanCppConsumer::Process_vkCmdPipelineBarrier2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pDependencyInfo */ +// commandBuffer +// pDependencyInfo std::stringstream stream_pdependency_info; std::string pdependency_info_struct = GenerateStruct_VkDependencyInfo(stream_pdependency_info, pDependencyInfo->GetPointer(), @@ -9171,9 +9171,9 @@ void VulkanCppConsumer::Process_vkCmdResetEvent2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* event */ -/* stageMask */ +// commandBuffer +// event +// stageMask pfn_loader_.AddMethodName("vkCmdResetEvent2KHR"); fprintf(file, "\t\tloaded_vkCmdResetEvent2KHR(%s, %s, %s);\n", @@ -9192,9 +9192,9 @@ void VulkanCppConsumer::Process_vkCmdSetEvent2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* event */ -/* pDependencyInfo */ +// commandBuffer +// event +// pDependencyInfo std::stringstream stream_pdependency_info; std::string pdependency_info_struct = GenerateStruct_VkDependencyInfo(stream_pdependency_info, pDependencyInfo->GetPointer(), @@ -9220,9 +9220,9 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* eventCount */ -/* pEvents */ +// commandBuffer +// eventCount +// pEvents std::string pevents_array = "NULL"; std::string pevents_values = toStringJoin(pEvents->GetPointer(), pEvents->GetPointer() + eventCount, @@ -9234,7 +9234,7 @@ void VulkanCppConsumer::Process_vkCmdWaitEvents2KHR( pevents_array = "pevents_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkEvent %s[] = { %s };\n", pevents_array.c_str(), pevents_values.c_str()); } -/* pDependencyInfos */ +// pDependencyInfos std::stringstream stream_pdependency_infos; std::string pdependency_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pDependencyInfos->GetMetaStructPointer())> pdependency_infos_pair{ pDependencyInfos->GetPointer(), pDependencyInfos->GetMetaStructPointer(), eventCount }; @@ -9272,11 +9272,11 @@ void VulkanCppConsumer::Process_vkCmdWriteBufferMarker2AMD( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* stage */ -/* dstBuffer */ -/* dstOffset */ -/* marker */ +// commandBuffer +// stage +// dstBuffer +// dstOffset +// marker pfn_loader_.AddMethodName("vkCmdWriteBufferMarker2AMD"); fprintf(file, "\t\tloaded_vkCmdWriteBufferMarker2AMD(%s, %s, %s, %" PRIu64 "UL, %u);\n", @@ -9298,10 +9298,10 @@ void VulkanCppConsumer::Process_vkCmdWriteTimestamp2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* stage */ -/* queryPool */ -/* query */ +// commandBuffer +// stage +// queryPool +// query pfn_loader_.AddMethodName("vkCmdWriteTimestamp2KHR"); fprintf(file, "\t\tloaded_vkCmdWriteTimestamp2KHR(%s, %s, %s, %u);\n", @@ -9321,11 +9321,11 @@ void VulkanCppConsumer::Process_vkGetQueueCheckpointData2NV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* pCheckpointDataCount */ +// queue +// pCheckpointDataCount std::string pcheckpoint_data_count_name = "pCheckpointDataCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pcheckpoint_data_count_name.c_str()); -/* pCheckpointData */ +// pCheckpointData std::string pcheckpoint_data_name = "pCheckpointData_" + std::to_string(this->GetNextId()); std::stringstream stream_pcheckpoint_data; pcheckpoint_data_name = GenerateStruct_VkCheckpointData2NV(stream_pcheckpoint_data, @@ -9353,9 +9353,9 @@ void VulkanCppConsumer::Process_vkQueueSubmit2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* submitCount */ -/* pSubmits */ +// queue +// submitCount +// pSubmits std::stringstream stream_psubmits; std::string psubmits_array = "NULL"; PointerPairContainerGetPointer()), decltype(pSubmits->GetMetaStructPointer())> psubmits_pair{ pSubmits->GetPointer(), pSubmits->GetMetaStructPointer(), submitCount }; @@ -9372,7 +9372,7 @@ void VulkanCppConsumer::Process_vkQueueSubmit2KHR( fprintf(file, "\t\tVkSubmitInfo2 %s[] = { %s };\n", psubmits_array.c_str(), psubmits_names.c_str()); } } -/* fence */ +// fence pfn_loader_.AddMethodName("vkQueueSubmit2KHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkQueueSubmit2KHR(%s, %u, %s, %s), %s);\n", @@ -9391,8 +9391,8 @@ void VulkanCppConsumer::Process_vkCmdBlitImage2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pBlitImageInfo */ +// commandBuffer +// pBlitImageInfo std::stringstream stream_pblit_image_info; std::string pblit_image_info_struct = GenerateStruct_VkBlitImageInfo2(stream_pblit_image_info, pBlitImageInfo->GetPointer(), @@ -9415,8 +9415,8 @@ void VulkanCppConsumer::Process_vkCmdCopyBuffer2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyBufferInfo */ +// commandBuffer +// pCopyBufferInfo std::stringstream stream_pcopy_buffer_info; std::string pcopy_buffer_info_struct = GenerateStruct_VkCopyBufferInfo2(stream_pcopy_buffer_info, pCopyBufferInfo->GetPointer(), @@ -9439,8 +9439,8 @@ void VulkanCppConsumer::Process_vkCmdCopyBufferToImage2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyBufferToImageInfo */ +// commandBuffer +// pCopyBufferToImageInfo std::stringstream stream_pcopy_buffer_to_image_info; std::string pcopy_buffer_to_image_info_struct = GenerateStruct_VkCopyBufferToImageInfo2(stream_pcopy_buffer_to_image_info, pCopyBufferToImageInfo->GetPointer(), @@ -9463,8 +9463,8 @@ void VulkanCppConsumer::Process_vkCmdCopyImage2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyImageInfo */ +// commandBuffer +// pCopyImageInfo std::stringstream stream_pcopy_image_info; std::string pcopy_image_info_struct = GenerateStruct_VkCopyImageInfo2(stream_pcopy_image_info, pCopyImageInfo->GetPointer(), @@ -9487,8 +9487,8 @@ void VulkanCppConsumer::Process_vkCmdCopyImageToBuffer2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCopyImageToBufferInfo */ +// commandBuffer +// pCopyImageToBufferInfo std::stringstream stream_pcopy_image_to_buffer_info; std::string pcopy_image_to_buffer_info_struct = GenerateStruct_VkCopyImageToBufferInfo2(stream_pcopy_image_to_buffer_info, pCopyImageToBufferInfo->GetPointer(), @@ -9511,8 +9511,8 @@ void VulkanCppConsumer::Process_vkCmdResolveImage2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pResolveImageInfo */ +// commandBuffer +// pResolveImageInfo std::stringstream stream_presolve_image_info; std::string presolve_image_info_struct = GenerateStruct_VkResolveImageInfo2(stream_presolve_image_info, pResolveImageInfo->GetPointer(), @@ -9534,8 +9534,8 @@ void VulkanCppConsumer::Process_vkCmdTraceRaysIndirect2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* indirectDeviceAddress */ +// commandBuffer +// indirectDeviceAddress pfn_loader_.AddMethodName("vkCmdTraceRaysIndirect2KHR"); fprintf(file, "\t\tloaded_vkCmdTraceRaysIndirect2KHR(%s, %" PRIu64 "UL);\n", @@ -9552,15 +9552,15 @@ void VulkanCppConsumer::Process_vkGetDeviceBufferMemoryRequirementsKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceBufferMemoryRequirements(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_requirements; pmemory_requirements_name = GenerateStruct_VkMemoryRequirements2(stream_pmemory_requirements, @@ -9586,15 +9586,15 @@ void VulkanCppConsumer::Process_vkGetDeviceImageMemoryRequirementsKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceImageMemoryRequirements(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_requirements; pmemory_requirements_name = GenerateStruct_VkMemoryRequirements2(stream_pmemory_requirements, @@ -9621,18 +9621,18 @@ void VulkanCppConsumer::Process_vkGetDeviceImageSparseMemoryRequirementsKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceImageMemoryRequirements(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pSparseMemoryRequirementCount */ +// pSparseMemoryRequirementCount std::string psparse_memory_requirement_count_name = "pSparseMemoryRequirementCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", psparse_memory_requirement_count_name.c_str()); -/* pSparseMemoryRequirements */ +// pSparseMemoryRequirements std::string psparse_memory_requirements_name = "pSparseMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_psparse_memory_requirements; psparse_memory_requirements_name = GenerateStruct_VkSparseImageMemoryRequirements2(stream_psparse_memory_requirements, @@ -9660,11 +9660,11 @@ void VulkanCppConsumer::Process_vkCmdBindIndexBuffer2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* size */ -/* indexType */ +// commandBuffer +// buffer +// offset +// size +// indexType pfn_loader_.AddMethodName("vkCmdBindIndexBuffer2KHR"); fprintf(file, "\t\tloaded_vkCmdBindIndexBuffer2KHR(%s, %s, %" PRIu64 "UL, %" PRIu64 "UL, %s);\n", @@ -9685,15 +9685,15 @@ void VulkanCppConsumer::Process_vkGetDeviceImageSubresourceLayoutKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkDeviceImageSubresourceInfoKHR(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pLayout */ +// pLayout std::string playout_name = "pLayout_" + std::to_string(this->GetNextId()); std::stringstream stream_playout; playout_name = GenerateStruct_VkSubresourceLayout2KHR(stream_playout, @@ -9720,16 +9720,16 @@ void VulkanCppConsumer::Process_vkGetImageSubresourceLayout2KHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* image */ -/* pSubresource */ +// device +// image +// pSubresource std::stringstream stream_psubresource; std::string psubresource_struct = GenerateStruct_VkImageSubresource2KHR(stream_psubresource, pSubresource->GetPointer(), pSubresource->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psubresource.str().c_str()); -/* pLayout */ +// pLayout std::string playout_name = "pLayout_" + std::to_string(this->GetNextId()); std::stringstream stream_playout; playout_name = GenerateStruct_VkSubresourceLayout2KHR(stream_playout, @@ -9756,15 +9756,15 @@ void VulkanCppConsumer::Process_vkGetRenderingAreaGranularityKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pRenderingAreaInfo */ +// device +// pRenderingAreaInfo std::stringstream stream_prendering_area_info; std::string prendering_area_info_struct = GenerateStruct_VkRenderingAreaInfoKHR(stream_prendering_area_info, pRenderingAreaInfo->GetPointer(), pRenderingAreaInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_prendering_area_info.str().c_str()); -/* pGranularity */ +// pGranularity std::string pgranularity_name = "pGranularity_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkExtent2D %s;\n", pgranularity_name.c_str()); pfn_loader_.AddMethodName("vkGetRenderingAreaGranularityKHR"); @@ -9785,11 +9785,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceCooperativeMatrixPropertiesKH { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pPropertyCount */ +// physicalDevice +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkCooperativeMatrixPropertiesKHR(stream_pproperties, @@ -9815,9 +9815,9 @@ void VulkanCppConsumer::Process_vkFrameBoundaryANDROID( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* semaphore */ -/* image */ +// device +// semaphore +// image pfn_loader_.AddMethodName("vkFrameBoundaryANDROID"); fprintf(file, "\t\tloaded_vkFrameBoundaryANDROID(%s, %s, %s);\n", @@ -9837,16 +9837,16 @@ void VulkanCppConsumer::Process_vkCreateDebugReportCallbackEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDebugReportCallbackCreateInfoEXT(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pCallback */ +// pAllocator +// pCallback std::string pcallback_name = "pCallback_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT)); AddKnownVariables("VkDebugReportCallbackEXT", pcallback_name, pCallback->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -9878,14 +9878,14 @@ void VulkanCppConsumer::Process_vkDebugReportMessageEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* flags */ -/* objectType */ -/* object */ -/* location */ -/* messageCode */ -/* pLayerPrefix */ -/* pMessage */ +// instance +// flags +// objectType +// object +// location +// messageCode +// pLayerPrefix +// pMessage pfn_loader_.AddMethodName("vkDebugReportMessageEXT"); fprintf(file, "\t\tloaded_vkDebugReportMessageEXT(%s, %s, %s, %" PRIu64 "UL, %" PRId64 ", %d, %p, %p);\n", @@ -9909,9 +9909,9 @@ void VulkanCppConsumer::Process_vkDestroyDebugReportCallbackEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* callback */ -/* pAllocator */ +// instance +// callback +// pAllocator pfn_loader_.AddMethodName("vkDestroyDebugReportCallbackEXT"); fprintf(file, "\t\tloaded_vkDestroyDebugReportCallbackEXT(%s, %s, %s);\n", @@ -9928,8 +9928,8 @@ void VulkanCppConsumer::Process_vkCmdDebugMarkerBeginEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pMarkerInfo */ +// commandBuffer +// pMarkerInfo std::stringstream stream_pmarker_info; std::string pmarker_info_struct = GenerateStruct_VkDebugMarkerMarkerInfoEXT(stream_pmarker_info, pMarkerInfo->GetPointer(), @@ -9951,7 +9951,7 @@ void VulkanCppConsumer::Process_vkCmdDebugMarkerEndEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ +// commandBuffer pfn_loader_.AddMethodName("vkCmdDebugMarkerEndEXT"); fprintf(file, "\t\tloaded_vkCmdDebugMarkerEndEXT(%s);\n", @@ -9967,8 +9967,8 @@ void VulkanCppConsumer::Process_vkCmdDebugMarkerInsertEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pMarkerInfo */ +// commandBuffer +// pMarkerInfo std::stringstream stream_pmarker_info; std::string pmarker_info_struct = GenerateStruct_VkDebugMarkerMarkerInfoEXT(stream_pmarker_info, pMarkerInfo->GetPointer(), @@ -10013,11 +10013,11 @@ void VulkanCppConsumer::Process_vkCmdBeginQueryIndexedEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* queryPool */ -/* query */ -/* flags */ -/* index */ +// commandBuffer +// queryPool +// query +// flags +// index pfn_loader_.AddMethodName("vkCmdBeginQueryIndexedEXT"); fprintf(file, "\t\tloaded_vkCmdBeginQueryIndexedEXT(%s, %s, %u, %s, %u);\n", @@ -10040,10 +10040,10 @@ void VulkanCppConsumer::Process_vkCmdBeginTransformFeedbackEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstCounterBuffer */ -/* counterBufferCount */ -/* pCounterBuffers */ +// commandBuffer +// firstCounterBuffer +// counterBufferCount +// pCounterBuffers std::string pcounter_buffers_array = "NULL"; std::string pcounter_buffers_values = toStringJoin(pCounterBuffers->GetPointer(), pCounterBuffers->GetPointer() + counterBufferCount, @@ -10055,7 +10055,7 @@ void VulkanCppConsumer::Process_vkCmdBeginTransformFeedbackEXT( pcounter_buffers_array = "pcounter_buffers_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkBuffer %s[] = { %s };\n", pcounter_buffers_array.c_str(), pcounter_buffers_values.c_str()); } -/* pCounterBufferOffsets */ +// pCounterBufferOffsets std::string pcounter_buffer_offsets_array = "pCounterBufferOffsets_" + std::to_string(this->GetNextId()); if (counterBufferCount > 0 && pCounterBufferOffsets->GetPointer() != nullptr) { std::string pcounter_buffer_offsets_values = toStringJoin(pCounterBufferOffsets->GetPointer(), @@ -10089,10 +10089,10 @@ void VulkanCppConsumer::Process_vkCmdBindTransformFeedbackBuffersEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstBinding */ -/* bindingCount */ -/* pBuffers */ +// commandBuffer +// firstBinding +// bindingCount +// pBuffers std::string pbuffers_array = "NULL"; std::string pbuffers_values = toStringJoin(pBuffers->GetPointer(), pBuffers->GetPointer() + bindingCount, @@ -10104,7 +10104,7 @@ void VulkanCppConsumer::Process_vkCmdBindTransformFeedbackBuffersEXT( pbuffers_array = "pbuffers_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkBuffer %s[] = { %s };\n", pbuffers_array.c_str(), pbuffers_values.c_str()); } -/* pOffsets */ +// pOffsets std::string poffsets_array = "pOffsets_" + std::to_string(this->GetNextId()); if (bindingCount > 0) { std::string poffsets_values = toStringJoin(pOffsets->GetPointer(), @@ -10115,7 +10115,7 @@ void VulkanCppConsumer::Process_vkCmdBindTransformFeedbackBuffersEXT( } else { poffsets_array = "NULL"; } -/* pSizes */ +// pSizes std::string psizes_array = "pSizes_" + std::to_string(this->GetNextId()); if (bindingCount > 0 && pSizes->GetPointer() != nullptr) { std::string psizes_values = toStringJoin(pSizes->GetPointer(), @@ -10151,13 +10151,13 @@ void VulkanCppConsumer::Process_vkCmdDrawIndirectByteCountEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* instanceCount */ -/* firstInstance */ -/* counterBuffer */ -/* counterBufferOffset */ -/* counterOffset */ -/* vertexStride */ +// commandBuffer +// instanceCount +// firstInstance +// counterBuffer +// counterBufferOffset +// counterOffset +// vertexStride pfn_loader_.AddMethodName("vkCmdDrawIndirectByteCountEXT"); fprintf(file, "\t\tloaded_vkCmdDrawIndirectByteCountEXT(%s, %u, %u, %s, %" PRIu64 "UL, %u, %u);\n", @@ -10181,10 +10181,10 @@ void VulkanCppConsumer::Process_vkCmdEndQueryIndexedEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* queryPool */ -/* query */ -/* index */ +// commandBuffer +// queryPool +// query +// index pfn_loader_.AddMethodName("vkCmdEndQueryIndexedEXT"); fprintf(file, "\t\tloaded_vkCmdEndQueryIndexedEXT(%s, %s, %u, %u);\n", @@ -10206,10 +10206,10 @@ void VulkanCppConsumer::Process_vkCmdEndTransformFeedbackEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstCounterBuffer */ -/* counterBufferCount */ -/* pCounterBuffers */ +// commandBuffer +// firstCounterBuffer +// counterBufferCount +// pCounterBuffers std::string pcounter_buffers_array = "NULL"; std::string pcounter_buffers_values = toStringJoin(pCounterBuffers->GetPointer(), pCounterBuffers->GetPointer() + counterBufferCount, @@ -10221,7 +10221,7 @@ void VulkanCppConsumer::Process_vkCmdEndTransformFeedbackEXT( pcounter_buffers_array = "pcounter_buffers_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkBuffer %s[] = { %s };\n", pcounter_buffers_array.c_str(), pcounter_buffers_values.c_str()); } -/* pCounterBufferOffsets */ +// pCounterBufferOffsets std::string pcounter_buffer_offsets_array = "pCounterBufferOffsets_" + std::to_string(this->GetNextId()); if (counterBufferCount > 0 && pCounterBufferOffsets->GetPointer() != nullptr) { std::string pcounter_buffer_offsets_values = toStringJoin(pCounterBufferOffsets->GetPointer(), @@ -10252,9 +10252,9 @@ void VulkanCppConsumer::Process_vkGetImageViewAddressNVX( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* imageView */ -/* pProperties */ +// device +// imageView +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkImageViewAddressPropertiesNVX(stream_pproperties, @@ -10281,8 +10281,8 @@ void VulkanCppConsumer::Process_vkGetImageViewHandleNVX( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkImageViewHandleInfoNVX(stream_pinfo, pInfo->GetPointer(), @@ -10309,13 +10309,13 @@ void VulkanCppConsumer::Process_vkCmdDrawIndexedIndirectCountAMD( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawIndexedIndirectCountAMD"); fprintf(file, "\t\tloaded_vkCmdDrawIndexedIndirectCountAMD(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", @@ -10342,13 +10342,13 @@ void VulkanCppConsumer::Process_vkCmdDrawIndirectCountAMD( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawIndirectCountAMD"); fprintf(file, "\t\tloaded_vkCmdDrawIndirectCountAMD(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", @@ -10374,14 +10374,14 @@ void VulkanCppConsumer::Process_vkGetShaderInfoAMD( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipeline */ -/* shaderStage */ -/* infoType */ -/* pInfoSize */ +// device +// pipeline +// shaderStage +// infoType +// pInfoSize std::string pinfo_size_name = "pInfoSize_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tsize_t %s;\n", pinfo_size_name.c_str()); -/* pInfo */ +// pInfo std::string pinfo_name = "pInfo_" + std::to_string(this->GetNextId()); size_t* in_pinfo_size = pInfoSize->GetPointer(); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pinfo_name.c_str(), *in_pinfo_size); @@ -10408,16 +10408,16 @@ void VulkanCppConsumer::Process_vkCreateStreamDescriptorSurfaceGGP( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkStreamDescriptorSurfaceCreateInfoGGP(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -10449,14 +10449,14 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceExternalImageFormatProperties { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* format */ -/* type */ -/* tiling */ -/* usage */ -/* flags */ -/* externalHandleType */ -/* pExternalImageFormatProperties */ +// physicalDevice +// format +// type +// tiling +// usage +// flags +// externalHandleType +// pExternalImageFormatProperties std::string pexternal_image_format_properties_name = "pExternalImageFormatProperties_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkExternalImageFormatPropertiesNV %s;\n", pexternal_image_format_properties_name.c_str()); pfn_loader_.AddMethodName("vkGetPhysicalDeviceExternalImageFormatPropertiesNV"); @@ -10484,10 +10484,10 @@ void VulkanCppConsumer::Process_vkGetMemoryWin32HandleNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* memory */ -/* handleType */ -/* pHandle */ +// device +// memory +// handleType +// pHandle std::string phandle_name = "pHandle_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", phandle_name.c_str()); pfn_loader_.AddMethodName("vkGetMemoryWin32HandleNV"); @@ -10511,16 +10511,16 @@ void VulkanCppConsumer::Process_vkCreateViSurfaceNN( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkViSurfaceCreateInfoNN(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -10545,8 +10545,8 @@ void VulkanCppConsumer::Process_vkCmdBeginConditionalRenderingEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pConditionalRenderingBegin */ +// commandBuffer +// pConditionalRenderingBegin std::stringstream stream_pconditional_rendering_begin; std::string pconditional_rendering_begin_struct = GenerateStruct_VkConditionalRenderingBeginInfoEXT(stream_pconditional_rendering_begin, pConditionalRenderingBegin->GetPointer(), @@ -10568,7 +10568,7 @@ void VulkanCppConsumer::Process_vkCmdEndConditionalRenderingEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ +// commandBuffer pfn_loader_.AddMethodName("vkCmdEndConditionalRenderingEXT"); fprintf(file, "\t\tloaded_vkCmdEndConditionalRenderingEXT(%s);\n", @@ -10585,10 +10585,10 @@ void VulkanCppConsumer::Process_vkCmdSetViewportWScalingNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstViewport */ -/* viewportCount */ -/* pViewportWScalings */ +// commandBuffer +// firstViewport +// viewportCount +// pViewportWScalings std::stringstream stream_pviewport_w_scalings; std::string pviewport_w_scalings_array = "NULL"; PointerPairContainerGetPointer()), decltype(pViewportWScalings->GetMetaStructPointer())> pviewport_w_scalings_pair{ pViewportWScalings->GetPointer(), pViewportWScalings->GetMetaStructPointer(), viewportCount }; @@ -10623,8 +10623,8 @@ void VulkanCppConsumer::Process_vkReleaseDisplayEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* display */ +// physicalDevice +// display pfn_loader_.AddMethodName("vkReleaseDisplayEXT"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkReleaseDisplayEXT(%s, %s), %s);\n", @@ -10643,11 +10643,11 @@ void VulkanCppConsumer::Process_vkAcquireXlibDisplayEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* dpy */ +// physicalDevice +// dpy std::string dpy_name = "dpy_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", dpy_name.c_str()); -/* display */ +// display pfn_loader_.AddMethodName("vkAcquireXlibDisplayEXT"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkAcquireXlibDisplayEXT(%s, %s, %s), %s);\n", @@ -10669,12 +10669,12 @@ void VulkanCppConsumer::Process_vkGetRandROutputDisplayEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* dpy */ +// physicalDevice +// dpy std::string dpy_name = "dpy_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", dpy_name.c_str()); -/* rrOutput */ -/* pDisplay */ +// rrOutput +// pDisplay std::string pdisplay_name = "pDisplay_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DISPLAY_KHR)); AddKnownVariables("VkDisplayKHR", pdisplay_name, pDisplay->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -10701,9 +10701,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSurfaceCapabilities2EXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* surface */ -/* pSurfaceCapabilities */ +// physicalDevice +// surface +// pSurfaceCapabilities std::string psurface_capabilities_name = "pSurfaceCapabilities_" + std::to_string(this->GetNextId()); std::stringstream stream_psurface_capabilities; psurface_capabilities_name = GenerateStruct_VkSurfaceCapabilities2EXT(stream_psurface_capabilities, @@ -10730,9 +10730,9 @@ void VulkanCppConsumer::Process_vkDisplayPowerControlEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* display */ -/* pDisplayPowerInfo */ +// device +// display +// pDisplayPowerInfo std::stringstream stream_pdisplay_power_info; std::string pdisplay_power_info_struct = GenerateStruct_VkDisplayPowerInfoEXT(stream_pdisplay_power_info, pDisplayPowerInfo->GetPointer(), @@ -10760,10 +10760,10 @@ void VulkanCppConsumer::Process_vkGetSwapchainCounterEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ -/* counter */ -/* pCounterValue */ +// device +// swapchain +// counter +// pCounterValue std::string pcounter_value_name = "pCounterValue_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint64_t %s;\n", pcounter_value_name.c_str()); pfn_loader_.AddMethodName("vkGetSwapchainCounterEXT"); @@ -10788,16 +10788,16 @@ void VulkanCppConsumer::Process_vkRegisterDeviceEventEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pDeviceEventInfo */ +// device +// pDeviceEventInfo std::stringstream stream_pdevice_event_info; std::string pdevice_event_info_struct = GenerateStruct_VkDeviceEventInfoEXT(stream_pdevice_event_info, pDeviceEventInfo->GetPointer(), pDeviceEventInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pdevice_event_info.str().c_str()); -/* pAllocator */ -/* pFence */ +// pAllocator +// pFence std::string pfence_name = "pFence_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_FENCE)); AddKnownVariables("VkFence", pfence_name, pFence->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -10827,17 +10827,17 @@ void VulkanCppConsumer::Process_vkRegisterDisplayEventEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* display */ -/* pDisplayEventInfo */ +// device +// display +// pDisplayEventInfo std::stringstream stream_pdisplay_event_info; std::string pdisplay_event_info_struct = GenerateStruct_VkDisplayEventInfoEXT(stream_pdisplay_event_info, pDisplayEventInfo->GetPointer(), pDisplayEventInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pdisplay_event_info.str().c_str()); -/* pAllocator */ -/* pFence */ +// pAllocator +// pFence std::string pfence_name = "pFence_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_FENCE)); AddKnownVariables("VkFence", pfence_name, pFence->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -10866,12 +10866,12 @@ void VulkanCppConsumer::Process_vkGetPastPresentationTimingGOOGLE( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ -/* pPresentationTimingCount */ +// device +// swapchain +// pPresentationTimingCount std::string ppresentation_timing_count_name = "pPresentationTimingCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", ppresentation_timing_count_name.c_str()); -/* pPresentationTimings */ +// pPresentationTimings std::string ppresentation_timings_name = "pPresentationTimings_" + std::to_string(this->GetNextId()); const uint32_t* in_ppresentation_timing_count = pPresentationTimingCount->GetPointer(); fprintf(file, "\t\tVkPastPresentationTimingGOOGLE %s[%d];\n", ppresentation_timings_name.c_str(), *in_ppresentation_timing_count); @@ -10896,9 +10896,9 @@ void VulkanCppConsumer::Process_vkGetRefreshCycleDurationGOOGLE( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ -/* pDisplayTimingProperties */ +// device +// swapchain +// pDisplayTimingProperties std::string pdisplay_timing_properties_name = "pDisplayTimingProperties_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkRefreshCycleDurationGOOGLE %s;\n", pdisplay_timing_properties_name.c_str()); pfn_loader_.AddMethodName("vkGetRefreshCycleDurationGOOGLE"); @@ -10920,10 +10920,10 @@ void VulkanCppConsumer::Process_vkCmdSetDiscardRectangleEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstDiscardRectangle */ -/* discardRectangleCount */ -/* pDiscardRectangles */ +// commandBuffer +// firstDiscardRectangle +// discardRectangleCount +// pDiscardRectangles std::stringstream stream_pdiscard_rectangles; std::string pdiscard_rectangles_array = "NULL"; PointerPairContainerGetPointer()), decltype(pDiscardRectangles->GetMetaStructPointer())> pdiscard_rectangles_pair{ pDiscardRectangles->GetPointer(), pDiscardRectangles->GetMetaStructPointer(), discardRectangleCount }; @@ -10958,8 +10958,8 @@ void VulkanCppConsumer::Process_vkCmdSetDiscardRectangleEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* discardRectangleEnable */ +// commandBuffer +// discardRectangleEnable pfn_loader_.AddMethodName("vkCmdSetDiscardRectangleEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetDiscardRectangleEnableEXT(%s, %u);\n", @@ -10976,8 +10976,8 @@ void VulkanCppConsumer::Process_vkCmdSetDiscardRectangleModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* discardRectangleMode */ +// commandBuffer +// discardRectangleMode pfn_loader_.AddMethodName("vkCmdSetDiscardRectangleModeEXT"); fprintf(file, "\t\tloaded_vkCmdSetDiscardRectangleModeEXT(%s, %s);\n", @@ -10995,9 +10995,9 @@ void VulkanCppConsumer::Process_vkSetHdrMetadataEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchainCount */ -/* pSwapchains */ +// device +// swapchainCount +// pSwapchains std::string pswapchains_array = "NULL"; std::string pswapchains_values = toStringJoin(pSwapchains->GetPointer(), pSwapchains->GetPointer() + swapchainCount, @@ -11009,7 +11009,7 @@ void VulkanCppConsumer::Process_vkSetHdrMetadataEXT( pswapchains_array = "pswapchains_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkSwapchainKHR %s[] = { %s };\n", pswapchains_array.c_str(), pswapchains_values.c_str()); } -/* pMetadata */ +// pMetadata std::stringstream stream_pmetadata; std::string pmetadata_array = "NULL"; PointerPairContainerGetPointer()), decltype(pMetadata->GetMetaStructPointer())> pmetadata_pair{ pMetadata->GetPointer(), pMetadata->GetMetaStructPointer(), swapchainCount }; @@ -11046,16 +11046,16 @@ void VulkanCppConsumer::Process_vkCreateIOSSurfaceMVK( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkIOSSurfaceCreateInfoMVK(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -11083,16 +11083,16 @@ void VulkanCppConsumer::Process_vkCreateMacOSSurfaceMVK( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkMacOSSurfaceCreateInfoMVK(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -11117,8 +11117,8 @@ void VulkanCppConsumer::Process_vkCmdBeginDebugUtilsLabelEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pLabelInfo */ +// commandBuffer +// pLabelInfo std::stringstream stream_plabel_info; std::string plabel_info_struct = GenerateStruct_VkDebugUtilsLabelEXT(stream_plabel_info, pLabelInfo->GetPointer(), @@ -11140,7 +11140,7 @@ void VulkanCppConsumer::Process_vkCmdEndDebugUtilsLabelEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ +// commandBuffer pfn_loader_.AddMethodName("vkCmdEndDebugUtilsLabelEXT"); fprintf(file, "\t\tloaded_vkCmdEndDebugUtilsLabelEXT(%s);\n", @@ -11156,8 +11156,8 @@ void VulkanCppConsumer::Process_vkCmdInsertDebugUtilsLabelEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pLabelInfo */ +// commandBuffer +// pLabelInfo std::stringstream stream_plabel_info; std::string plabel_info_struct = GenerateStruct_VkDebugUtilsLabelEXT(stream_plabel_info, pLabelInfo->GetPointer(), @@ -11183,16 +11183,16 @@ void VulkanCppConsumer::Process_vkCreateDebugUtilsMessengerEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDebugUtilsMessengerCreateInfoEXT(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pMessenger */ +// pAllocator +// pMessenger std::string pmessenger_name = "pMessenger_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT)); AddKnownVariables("VkDebugUtilsMessengerEXT", pmessenger_name, pMessenger->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -11219,9 +11219,9 @@ void VulkanCppConsumer::Process_vkDestroyDebugUtilsMessengerEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* messenger */ -/* pAllocator */ +// instance +// messenger +// pAllocator pfn_loader_.AddMethodName("vkDestroyDebugUtilsMessengerEXT"); fprintf(file, "\t\tloaded_vkDestroyDebugUtilsMessengerEXT(%s, %s, %s);\n", @@ -11239,8 +11239,8 @@ void VulkanCppConsumer::Process_vkQueueBeginDebugUtilsLabelEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* pLabelInfo */ +// queue +// pLabelInfo std::stringstream stream_plabel_info; std::string plabel_info_struct = GenerateStruct_VkDebugUtilsLabelEXT(stream_plabel_info, pLabelInfo->GetPointer(), @@ -11262,7 +11262,7 @@ void VulkanCppConsumer::Process_vkQueueEndDebugUtilsLabelEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ +// queue pfn_loader_.AddMethodName("vkQueueEndDebugUtilsLabelEXT"); fprintf(file, "\t\tloaded_vkQueueEndDebugUtilsLabelEXT(%s);\n", @@ -11278,8 +11278,8 @@ void VulkanCppConsumer::Process_vkQueueInsertDebugUtilsLabelEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* pLabelInfo */ +// queue +// pLabelInfo std::stringstream stream_plabel_info; std::string plabel_info_struct = GenerateStruct_VkDebugUtilsLabelEXT(stream_plabel_info, pLabelInfo->GetPointer(), @@ -11324,10 +11324,10 @@ void VulkanCppConsumer::Process_vkSubmitDebugUtilsMessageEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* messageSeverity */ -/* messageTypes */ -/* pCallbackData */ +// instance +// messageSeverity +// messageTypes +// pCallbackData std::stringstream stream_pcallback_data; std::string pcallback_data_struct = GenerateStruct_VkDebugUtilsMessengerCallbackDataEXT(stream_pcallback_data, pCallbackData->GetPointer(), @@ -11353,11 +11353,11 @@ void VulkanCppConsumer::Process_vkGetAndroidHardwareBufferPropertiesANDROID( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* buffer */ +// device +// buffer std::string buffer_name = "buffer_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", buffer_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkAndroidHardwareBufferPropertiesANDROID(stream_pproperties, @@ -11385,15 +11385,15 @@ void VulkanCppConsumer::Process_vkGetMemoryAndroidHardwareBufferANDROID( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkMemoryGetAndroidHardwareBufferInfoANDROID(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pBuffer */ +// pBuffer std::string pbuffer_name = "pBuffer_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", pbuffer_name.c_str()); pfn_loader_.AddMethodName("vkGetMemoryAndroidHardwareBufferANDROID"); @@ -11413,8 +11413,8 @@ void VulkanCppConsumer::Process_vkCmdSetSampleLocationsEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pSampleLocationsInfo */ +// commandBuffer +// pSampleLocationsInfo std::stringstream stream_psample_locations_info; std::string psample_locations_info_struct = GenerateStruct_VkSampleLocationsInfoEXT(stream_psample_locations_info, pSampleLocationsInfo->GetPointer(), @@ -11438,9 +11438,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceMultisamplePropertiesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* samples */ -/* pMultisampleProperties */ +// physicalDevice +// samples +// pMultisampleProperties std::string pmultisample_properties_name = "pMultisampleProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pmultisample_properties; pmultisample_properties_name = GenerateStruct_VkMultisamplePropertiesEXT(stream_pmultisample_properties, @@ -11466,9 +11466,9 @@ void VulkanCppConsumer::Process_vkGetImageDrmFormatModifierPropertiesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* image */ -/* pProperties */ +// device +// image +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkImageDrmFormatModifierPropertiesEXT(stream_pproperties, @@ -11496,16 +11496,16 @@ void VulkanCppConsumer::Process_vkCreateValidationCacheEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkValidationCacheCreateInfoEXT(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pValidationCache */ +// pAllocator +// pValidationCache std::string pvalidation_cache_name = "pValidationCache_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_VALIDATION_CACHE_EXT)); AddKnownVariables("VkValidationCacheEXT", pvalidation_cache_name, pValidationCache->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -11532,9 +11532,9 @@ void VulkanCppConsumer::Process_vkDestroyValidationCacheEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* validationCache */ -/* pAllocator */ +// device +// validationCache +// pAllocator pfn_loader_.AddMethodName("vkDestroyValidationCacheEXT"); fprintf(file, "\t\tloaded_vkDestroyValidationCacheEXT(%s, %s, %s);\n", @@ -11555,12 +11555,12 @@ void VulkanCppConsumer::Process_vkGetValidationCacheDataEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* validationCache */ -/* pDataSize */ +// device +// validationCache +// pDataSize std::string pdata_size_name = "pDataSize_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tsize_t %s;\n", pdata_size_name.c_str()); -/* pData */ +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); size_t* in_pdata_size = pDataSize->GetPointer(); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), *in_pdata_size); @@ -11586,10 +11586,10 @@ void VulkanCppConsumer::Process_vkMergeValidationCachesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* dstCache */ -/* srcCacheCount */ -/* pSrcCaches */ +// device +// dstCache +// srcCacheCount +// pSrcCaches std::string psrc_caches_array = "NULL"; std::string psrc_caches_values = toStringJoin(pSrcCaches->GetPointer(), pSrcCaches->GetPointer() + srcCacheCount, @@ -11620,9 +11620,9 @@ void VulkanCppConsumer::Process_vkCmdBindShadingRateImageNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* imageView */ -/* imageLayout */ +// commandBuffer +// imageView +// imageLayout pfn_loader_.AddMethodName("vkCmdBindShadingRateImageNV"); fprintf(file, "\t\tloaded_vkCmdBindShadingRateImageNV(%s, %s, %s);\n", @@ -11642,10 +11642,10 @@ void VulkanCppConsumer::Process_vkCmdSetCoarseSampleOrderNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* sampleOrderType */ -/* customSampleOrderCount */ -/* pCustomSampleOrders */ +// commandBuffer +// sampleOrderType +// customSampleOrderCount +// pCustomSampleOrders std::stringstream stream_pcustom_sample_orders; std::string pcustom_sample_orders_array = "NULL"; PointerPairContainerGetPointer()), decltype(pCustomSampleOrders->GetMetaStructPointer())> pcustom_sample_orders_pair{ pCustomSampleOrders->GetPointer(), pCustomSampleOrders->GetMetaStructPointer(), customSampleOrderCount }; @@ -11682,10 +11682,10 @@ void VulkanCppConsumer::Process_vkCmdSetViewportShadingRatePaletteNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstViewport */ -/* viewportCount */ -/* pShadingRatePalettes */ +// commandBuffer +// firstViewport +// viewportCount +// pShadingRatePalettes std::stringstream stream_pshading_rate_palettes; std::string pshading_rate_palettes_array = "NULL"; PointerPairContainerGetPointer()), decltype(pShadingRatePalettes->GetMetaStructPointer())> pshading_rate_palettes_pair{ pShadingRatePalettes->GetPointer(), pShadingRatePalettes->GetMetaStructPointer(), viewportCount }; @@ -11721,9 +11721,9 @@ void VulkanCppConsumer::Process_vkBindAccelerationStructureMemoryNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* bindInfoCount */ -/* pBindInfos */ +// device +// bindInfoCount +// pBindInfos std::stringstream stream_pbind_infos; std::string pbind_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pBindInfos->GetMetaStructPointer())> pbind_infos_pair{ pBindInfos->GetPointer(), pBindInfos->GetMetaStructPointer(), bindInfoCount }; @@ -11765,21 +11765,21 @@ void VulkanCppConsumer::Process_vkCmdBuildAccelerationStructureNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pInfo */ +// commandBuffer +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkAccelerationStructureInfoNV(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* instanceData */ -/* instanceOffset */ -/* update */ -/* dst */ -/* src */ -/* scratch */ -/* scratchOffset */ +// instanceData +// instanceOffset +// update +// dst +// src +// scratch +// scratchOffset pfn_loader_.AddMethodName("vkCmdBuildAccelerationStructureNV"); fprintf(file, "\t\tloaded_vkCmdBuildAccelerationStructureNV(%s, &%s, %s, %" PRIu64 "UL, %u, %s, %s, %s, %" PRIu64 "UL);\n", @@ -11805,10 +11805,10 @@ void VulkanCppConsumer::Process_vkCmdCopyAccelerationStructureNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* dst */ -/* src */ -/* mode */ +// commandBuffer +// dst +// src +// mode pfn_loader_.AddMethodName("vkCmdCopyAccelerationStructureNV"); fprintf(file, "\t\tloaded_vkCmdCopyAccelerationStructureNV(%s, %s, %s, %s);\n", @@ -11840,21 +11840,21 @@ void VulkanCppConsumer::Process_vkCmdTraceRaysNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* raygenShaderBindingTableBuffer */ -/* raygenShaderBindingOffset */ -/* missShaderBindingTableBuffer */ -/* missShaderBindingOffset */ -/* missShaderBindingStride */ -/* hitShaderBindingTableBuffer */ -/* hitShaderBindingOffset */ -/* hitShaderBindingStride */ -/* callableShaderBindingTableBuffer */ -/* callableShaderBindingOffset */ -/* callableShaderBindingStride */ -/* width */ -/* height */ -/* depth */ +// commandBuffer +// raygenShaderBindingTableBuffer +// raygenShaderBindingOffset +// missShaderBindingTableBuffer +// missShaderBindingOffset +// missShaderBindingStride +// hitShaderBindingTableBuffer +// hitShaderBindingOffset +// hitShaderBindingStride +// callableShaderBindingTableBuffer +// callableShaderBindingOffset +// callableShaderBindingStride +// width +// height +// depth pfn_loader_.AddMethodName("vkCmdTraceRaysNV"); fprintf(file, "\t\tloaded_vkCmdTraceRaysNV(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %" PRIu64 "UL, %s, %" PRIu64 "UL, %" PRIu64 "UL, %s, %" PRIu64 "UL, %" PRIu64 "UL, %u, %u, %u);\n", @@ -11888,9 +11888,9 @@ void VulkanCppConsumer::Process_vkCmdWriteAccelerationStructuresPropertiesNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* accelerationStructureCount */ -/* pAccelerationStructures */ +// commandBuffer +// accelerationStructureCount +// pAccelerationStructures std::string pacceleration_structures_array = "NULL"; std::string pacceleration_structures_values = toStringJoin(pAccelerationStructures->GetPointer(), pAccelerationStructures->GetPointer() + accelerationStructureCount, @@ -11902,9 +11902,9 @@ void VulkanCppConsumer::Process_vkCmdWriteAccelerationStructuresPropertiesNV( pacceleration_structures_array = "pacceleration_structures_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkAccelerationStructureNV %s[] = { %s };\n", pacceleration_structures_array.c_str(), pacceleration_structures_values.c_str()); } -/* queryType */ -/* queryPool */ -/* firstQuery */ +// queryType +// queryPool +// firstQuery pfn_loader_.AddMethodName("vkCmdWriteAccelerationStructuresPropertiesNV"); fprintf(file, "\t\tloaded_vkCmdWriteAccelerationStructuresPropertiesNV(%s, %u, %s, %s, %s, %u);\n", @@ -11927,9 +11927,9 @@ void VulkanCppConsumer::Process_vkCompileDeferredNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipeline */ -/* shader */ +// device +// pipeline +// shader pfn_loader_.AddMethodName("vkCompileDeferredNV"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkCompileDeferredNV(%s, %s, %u), %s);\n", @@ -11951,16 +11951,16 @@ void VulkanCppConsumer::Process_vkCreateAccelerationStructureNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkAccelerationStructureCreateInfoNV(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pAccelerationStructure */ +// pAllocator +// pAccelerationStructure std::string pacceleration_structure_name = "pAccelerationStructure_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV)); AddKnownVariables("VkAccelerationStructureNV", pacceleration_structure_name, pAccelerationStructure->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -11991,10 +11991,10 @@ void VulkanCppConsumer::Process_vkCreateRayTracingPipelinesNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipelineCache */ -/* createInfoCount */ -/* pCreateInfos */ +// device +// pipelineCache +// createInfoCount +// pCreateInfos std::stringstream stream_pcreate_infos; std::string pcreate_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pCreateInfos->GetMetaStructPointer())> pcreate_infos_pair{ pCreateInfos->GetPointer(), pCreateInfos->GetMetaStructPointer(), createInfoCount }; @@ -12011,8 +12011,8 @@ void VulkanCppConsumer::Process_vkCreateRayTracingPipelinesNV( fprintf(file, "\t\tVkRayTracingPipelineCreateInfoNV %s[] = { %s };\n", pcreate_infos_array.c_str(), pcreate_infos_names.c_str()); } } -/* pAllocator */ -/* pPipelines */ +// pAllocator +// pPipelines std::string ppipelines_name = "pPipelines_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PIPELINE)); AddKnownVariables("VkPipeline", ppipelines_name, pPipelines->GetPointer(), createInfoCount); if (returnValue == VK_SUCCESS) { @@ -12041,9 +12041,9 @@ void VulkanCppConsumer::Process_vkDestroyAccelerationStructureNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* accelerationStructure */ -/* pAllocator */ +// device +// accelerationStructure +// pAllocator pfn_loader_.AddMethodName("vkDestroyAccelerationStructureNV"); fprintf(file, "\t\tloaded_vkDestroyAccelerationStructureNV(%s, %s, %s);\n", @@ -12064,10 +12064,10 @@ void VulkanCppConsumer::Process_vkGetAccelerationStructureHandleNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* accelerationStructure */ -/* dataSize */ -/* pData */ +// device +// accelerationStructure +// dataSize +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), dataSize); pfn_loader_.AddMethodName("vkGetAccelerationStructureHandleNV"); @@ -12090,15 +12090,15 @@ void VulkanCppConsumer::Process_vkGetAccelerationStructureMemoryRequirementsNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkAccelerationStructureMemoryRequirementsInfoNV(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkMemoryRequirements2KHR %s;\n", pmemory_requirements_name.c_str()); pfn_loader_.AddMethodName("vkGetAccelerationStructureMemoryRequirementsNV"); @@ -12123,12 +12123,12 @@ void VulkanCppConsumer::Process_vkGetRayTracingShaderGroupHandlesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipeline */ -/* firstGroup */ -/* groupCount */ -/* dataSize */ -/* pData */ +// device +// pipeline +// firstGroup +// groupCount +// dataSize +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), dataSize); pfn_loader_.AddMethodName("vkGetRayTracingShaderGroupHandlesKHR"); @@ -12157,12 +12157,12 @@ void VulkanCppConsumer::Process_vkGetRayTracingShaderGroupHandlesNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipeline */ -/* firstGroup */ -/* groupCount */ -/* dataSize */ -/* pData */ +// device +// pipeline +// firstGroup +// groupCount +// dataSize +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), dataSize); pfn_loader_.AddMethodName("vkGetRayTracingShaderGroupHandlesNV"); @@ -12188,12 +12188,12 @@ void VulkanCppConsumer::Process_vkGetMemoryHostPointerPropertiesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* handleType */ -/* pHostPointer */ +// device +// handleType +// pHostPointer std::string phost_pointer_name = "pHostPointer_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", phost_pointer_name.c_str()); -/* pMemoryHostPointerProperties */ +// pMemoryHostPointerProperties std::string pmemory_host_pointer_properties_name = "pMemoryHostPointerProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_host_pointer_properties; pmemory_host_pointer_properties_name = GenerateStruct_VkMemoryHostPointerPropertiesEXT(stream_pmemory_host_pointer_properties, @@ -12222,11 +12222,11 @@ void VulkanCppConsumer::Process_vkCmdWriteBufferMarkerAMD( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineStage */ -/* dstBuffer */ -/* dstOffset */ -/* marker */ +// commandBuffer +// pipelineStage +// dstBuffer +// dstOffset +// marker pfn_loader_.AddMethodName("vkCmdWriteBufferMarkerAMD"); fprintf(file, "\t\tloaded_vkCmdWriteBufferMarkerAMD(%s, %s, %s, %" PRIu64 "UL, %u);\n", @@ -12249,9 +12249,9 @@ void VulkanCppConsumer::Process_vkGetCalibratedTimestampsEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* timestampCount */ -/* pTimestampInfos */ +// device +// timestampCount +// pTimestampInfos std::stringstream stream_ptimestamp_infos; std::string ptimestamp_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pTimestampInfos->GetMetaStructPointer())> ptimestamp_infos_pair{ pTimestampInfos->GetPointer(), pTimestampInfos->GetMetaStructPointer(), timestampCount }; @@ -12268,10 +12268,10 @@ void VulkanCppConsumer::Process_vkGetCalibratedTimestampsEXT( fprintf(file, "\t\tVkCalibratedTimestampInfoEXT %s[] = { %s };\n", ptimestamp_infos_array.c_str(), ptimestamp_infos_names.c_str()); } } -/* pTimestamps */ +// pTimestamps std::string ptimestamps_name = "pTimestamps_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint64_t %s[%d];\n", ptimestamps_name.c_str(), timestampCount); -/* pMaxDeviation */ +// pMaxDeviation std::string pmax_deviation_name = "pMaxDeviation_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint64_t %s;\n", pmax_deviation_name.c_str()); pfn_loader_.AddMethodName("vkGetCalibratedTimestampsEXT"); @@ -12296,11 +12296,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pTimeDomainCount */ +// physicalDevice +// pTimeDomainCount std::string ptime_domain_count_name = "pTimeDomainCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", ptime_domain_count_name.c_str()); -/* pTimeDomains */ +// pTimeDomains std::string ptime_domains_name = "pTimeDomains_" + std::to_string(this->GetNextId()); const uint32_t* in_ptime_domain_count = pTimeDomainCount->GetPointer(); fprintf(file, "\t\tVkTimeDomainEXT %s[%d];\n", ptime_domains_name.c_str(), *in_ptime_domain_count); @@ -12326,13 +12326,13 @@ void VulkanCppConsumer::Process_vkCmdDrawMeshTasksIndirectCountNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawMeshTasksIndirectCountNV"); fprintf(file, "\t\tloaded_vkCmdDrawMeshTasksIndirectCountNV(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", @@ -12357,11 +12357,11 @@ void VulkanCppConsumer::Process_vkCmdDrawMeshTasksIndirectNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* drawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// drawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawMeshTasksIndirectNV"); fprintf(file, "\t\tloaded_vkCmdDrawMeshTasksIndirectNV(%s, %s, %" PRIu64 "UL, %u, %u);\n", @@ -12382,9 +12382,9 @@ void VulkanCppConsumer::Process_vkCmdDrawMeshTasksNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* taskCount */ -/* firstTask */ +// commandBuffer +// taskCount +// firstTask pfn_loader_.AddMethodName("vkCmdDrawMeshTasksNV"); fprintf(file, "\t\tloaded_vkCmdDrawMeshTasksNV(%s, %u, %u);\n", @@ -12403,10 +12403,10 @@ void VulkanCppConsumer::Process_vkCmdSetExclusiveScissorEnableNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstExclusiveScissor */ -/* exclusiveScissorCount */ -/* pExclusiveScissorEnables */ +// commandBuffer +// firstExclusiveScissor +// exclusiveScissorCount +// pExclusiveScissorEnables std::string pexclusive_scissor_enables_array = "pExclusiveScissorEnables_" + std::to_string(this->GetNextId()); if (exclusiveScissorCount > 0) { std::string pexclusive_scissor_enables_values = toStringJoin(pExclusiveScissorEnables->GetPointer(), @@ -12437,10 +12437,10 @@ void VulkanCppConsumer::Process_vkCmdSetExclusiveScissorNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstExclusiveScissor */ -/* exclusiveScissorCount */ -/* pExclusiveScissors */ +// commandBuffer +// firstExclusiveScissor +// exclusiveScissorCount +// pExclusiveScissors std::stringstream stream_pexclusive_scissors; std::string pexclusive_scissors_array = "NULL"; PointerPairContainerGetPointer()), decltype(pExclusiveScissors->GetMetaStructPointer())> pexclusive_scissors_pair{ pExclusiveScissors->GetPointer(), pExclusiveScissors->GetMetaStructPointer(), exclusiveScissorCount }; @@ -12474,8 +12474,8 @@ void VulkanCppConsumer::Process_vkCmdSetCheckpointNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pCheckpointMarker */ +// commandBuffer +// pCheckpointMarker std::string pcheckpoint_marker_name = "pCheckpointMarker_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", pcheckpoint_marker_name.c_str()); pfn_loader_.AddMethodName("vkCmdSetCheckpointNV"); @@ -12495,11 +12495,11 @@ void VulkanCppConsumer::Process_vkGetQueueCheckpointDataNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* pCheckpointDataCount */ +// queue +// pCheckpointDataCount std::string pcheckpoint_data_count_name = "pCheckpointDataCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pcheckpoint_data_count_name.c_str()); -/* pCheckpointData */ +// pCheckpointData std::string pcheckpoint_data_name = "pCheckpointData_" + std::to_string(this->GetNextId()); std::stringstream stream_pcheckpoint_data; pcheckpoint_data_name = GenerateStruct_VkCheckpointDataNV(stream_pcheckpoint_data, @@ -12525,15 +12525,15 @@ void VulkanCppConsumer::Process_vkAcquirePerformanceConfigurationINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pAcquireInfo */ +// device +// pAcquireInfo std::stringstream stream_pacquire_info; std::string pacquire_info_struct = GenerateStruct_VkPerformanceConfigurationAcquireInfoINTEL(stream_pacquire_info, pAcquireInfo->GetPointer(), pAcquireInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pacquire_info.str().c_str()); -/* pConfiguration */ +// pConfiguration std::string pconfiguration_name = "pConfiguration_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL)); AddKnownVariables("VkPerformanceConfigurationINTEL", pconfiguration_name, pConfiguration->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -12559,8 +12559,8 @@ void VulkanCppConsumer::Process_vkCmdSetPerformanceMarkerINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pMarkerInfo */ +// commandBuffer +// pMarkerInfo std::stringstream stream_pmarker_info; std::string pmarker_info_struct = GenerateStruct_VkPerformanceMarkerInfoINTEL(stream_pmarker_info, pMarkerInfo->GetPointer(), @@ -12585,8 +12585,8 @@ void VulkanCppConsumer::Process_vkCmdSetPerformanceOverrideINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pOverrideInfo */ +// commandBuffer +// pOverrideInfo std::stringstream stream_poverride_info; std::string poverride_info_struct = GenerateStruct_VkPerformanceOverrideInfoINTEL(stream_poverride_info, pOverrideInfo->GetPointer(), @@ -12611,8 +12611,8 @@ void VulkanCppConsumer::Process_vkCmdSetPerformanceStreamMarkerINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pMarkerInfo */ +// commandBuffer +// pMarkerInfo std::stringstream stream_pmarker_info; std::string pmarker_info_struct = GenerateStruct_VkPerformanceStreamMarkerInfoINTEL(stream_pmarker_info, pMarkerInfo->GetPointer(), @@ -12638,9 +12638,9 @@ void VulkanCppConsumer::Process_vkGetPerformanceParameterINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* parameter */ -/* pValue */ +// device +// parameter +// pValue std::string pvalue_name = "pValue_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkPerformanceValueINTEL %s;\n", pvalue_name.c_str()); pfn_loader_.AddMethodName("vkGetPerformanceParameterINTEL"); @@ -12662,8 +12662,8 @@ void VulkanCppConsumer::Process_vkInitializePerformanceApiINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInitializeInfo */ +// device +// pInitializeInfo std::stringstream stream_pinitialize_info; std::string pinitialize_info_struct = GenerateStruct_VkInitializePerformanceApiInfoINTEL(stream_pinitialize_info, pInitializeInfo->GetPointer(), @@ -12688,8 +12688,8 @@ void VulkanCppConsumer::Process_vkQueueSetPerformanceConfigurationINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* queue */ -/* configuration */ +// queue +// configuration pfn_loader_.AddMethodName("vkQueueSetPerformanceConfigurationINTEL"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkQueueSetPerformanceConfigurationINTEL(%s, %s), %s);\n", @@ -12708,8 +12708,8 @@ void VulkanCppConsumer::Process_vkReleasePerformanceConfigurationINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* configuration */ +// device +// configuration pfn_loader_.AddMethodName("vkReleasePerformanceConfigurationINTEL"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkReleasePerformanceConfigurationINTEL(%s, %s), %s);\n", @@ -12726,7 +12726,7 @@ void VulkanCppConsumer::Process_vkUninitializePerformanceApiINTEL( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ +// device pfn_loader_.AddMethodName("vkUninitializePerformanceApiINTEL"); fprintf(file, "\t\tloaded_vkUninitializePerformanceApiINTEL(%s);\n", @@ -12742,9 +12742,9 @@ void VulkanCppConsumer::Process_vkSetLocalDimmingAMD( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapChain */ -/* localDimmingEnable */ +// device +// swapChain +// localDimmingEnable pfn_loader_.AddMethodName("vkSetLocalDimmingAMD"); fprintf(file, "\t\tloaded_vkSetLocalDimmingAMD(%s, %s, %u);\n", @@ -12764,16 +12764,16 @@ void VulkanCppConsumer::Process_vkCreateImagePipeSurfaceFUCHSIA( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkImagePipeSurfaceCreateInfoFUCHSIA(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -12810,8 +12810,8 @@ void VulkanCppConsumer::Process_vkGetBufferDeviceAddressEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkBufferDeviceAddressInfo(stream_pinfo, pInfo->GetPointer(), @@ -12835,11 +12835,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceToolPropertiesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pToolCount */ +// physicalDevice +// pToolCount std::string ptool_count_name = "pToolCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", ptool_count_name.c_str()); -/* pToolProperties */ +// pToolProperties std::string ptool_properties_name = "pToolProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_ptool_properties; ptool_properties_name = GenerateStruct_VkPhysicalDeviceToolProperties(stream_ptool_properties, @@ -12866,11 +12866,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pPropertyCount */ +// physicalDevice +// pPropertyCount std::string pproperty_count_name = "pPropertyCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperty_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkCooperativeMatrixPropertiesNV(stream_pproperties, @@ -12897,11 +12897,11 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSupportedFramebufferMixedSamp { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pCombinationCount */ +// physicalDevice +// pCombinationCount std::string pcombination_count_name = "pCombinationCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pcombination_count_name.c_str()); -/* pCombinations */ +// pCombinations std::string pcombinations_name = "pCombinations_" + std::to_string(this->GetNextId()); std::stringstream stream_pcombinations; pcombinations_name = GenerateStruct_VkFramebufferMixedSamplesCombinationNV(stream_pcombinations, @@ -12927,8 +12927,8 @@ void VulkanCppConsumer::Process_vkAcquireFullScreenExclusiveModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ +// device +// swapchain pfn_loader_.AddMethodName("vkAcquireFullScreenExclusiveModeEXT"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkAcquireFullScreenExclusiveModeEXT(%s, %s), %s);\n", @@ -12948,15 +12948,15 @@ void VulkanCppConsumer::Process_vkGetDeviceGroupSurfacePresentModes2EXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pSurfaceInfo */ +// device +// pSurfaceInfo std::stringstream stream_psurface_info; std::string psurface_info_struct = GenerateStruct_VkPhysicalDeviceSurfaceInfo2KHR(stream_psurface_info, pSurfaceInfo->GetPointer(), pSurfaceInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psurface_info.str().c_str()); -/* pModes */ +// pModes std::string pmodes_name = "pModes_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkDeviceGroupPresentModeFlagsKHR %s;\n", pmodes_name.c_str()); pfn_loader_.AddMethodName("vkGetDeviceGroupSurfacePresentModes2EXT"); @@ -12980,18 +12980,18 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceSurfacePresentModes2EXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pSurfaceInfo */ +// physicalDevice +// pSurfaceInfo std::stringstream stream_psurface_info; std::string psurface_info_struct = GenerateStruct_VkPhysicalDeviceSurfaceInfo2KHR(stream_psurface_info, pSurfaceInfo->GetPointer(), pSurfaceInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psurface_info.str().c_str()); -/* pPresentModeCount */ +// pPresentModeCount std::string ppresent_mode_count_name = "pPresentModeCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", ppresent_mode_count_name.c_str()); -/* pPresentModes */ +// pPresentModes std::string ppresent_modes_name = "pPresentModes_" + std::to_string(this->GetNextId()); const uint32_t* in_ppresent_mode_count = pPresentModeCount->GetPointer(); fprintf(file, "\t\tVkPresentModeKHR %s[%d];\n", ppresent_modes_name.c_str(), *in_ppresent_mode_count); @@ -13015,8 +13015,8 @@ void VulkanCppConsumer::Process_vkReleaseFullScreenExclusiveModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* swapchain */ +// device +// swapchain pfn_loader_.AddMethodName("vkReleaseFullScreenExclusiveModeEXT"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkReleaseFullScreenExclusiveModeEXT(%s, %s), %s);\n", @@ -13036,16 +13036,16 @@ void VulkanCppConsumer::Process_vkCreateHeadlessSurfaceEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkHeadlessSurfaceCreateInfoEXT(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -13071,9 +13071,9 @@ void VulkanCppConsumer::Process_vkCmdSetLineStippleEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* lineStippleFactor */ -/* lineStipplePattern */ +// commandBuffer +// lineStippleFactor +// lineStipplePattern pfn_loader_.AddMethodName("vkCmdSetLineStippleEXT"); fprintf(file, "\t\tloaded_vkCmdSetLineStippleEXT(%s, %u, %u);\n", @@ -13092,10 +13092,10 @@ void VulkanCppConsumer::Process_vkResetQueryPoolEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* queryPool */ -/* firstQuery */ -/* queryCount */ +// device +// queryPool +// firstQuery +// queryCount pfn_loader_.AddMethodName("vkResetQueryPoolEXT"); fprintf(file, "\t\tloaded_vkResetQueryPoolEXT(%s, %s, %u, %u);\n", @@ -13118,10 +13118,10 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2EXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstBinding */ -/* bindingCount */ -/* pBuffers */ +// commandBuffer +// firstBinding +// bindingCount +// pBuffers std::string pbuffers_array = "NULL"; std::string pbuffers_values = toStringJoin(pBuffers->GetPointer(), pBuffers->GetPointer() + bindingCount, @@ -13133,7 +13133,7 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2EXT( pbuffers_array = "pbuffers_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkBuffer %s[] = { %s };\n", pbuffers_array.c_str(), pbuffers_values.c_str()); } -/* pOffsets */ +// pOffsets std::string poffsets_array = "pOffsets_" + std::to_string(this->GetNextId()); if (bindingCount > 0) { std::string poffsets_values = toStringJoin(pOffsets->GetPointer(), @@ -13144,7 +13144,7 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2EXT( } else { poffsets_array = "NULL"; } -/* pSizes */ +// pSizes std::string psizes_array = "pSizes_" + std::to_string(this->GetNextId()); if (bindingCount > 0 && pSizes->GetPointer() != nullptr) { std::string psizes_values = toStringJoin(pSizes->GetPointer(), @@ -13155,7 +13155,7 @@ void VulkanCppConsumer::Process_vkCmdBindVertexBuffers2EXT( } else { psizes_array = "NULL"; } -/* pStrides */ +// pStrides std::string pstrides_array = "pStrides_" + std::to_string(this->GetNextId()); if (bindingCount > 0 && pStrides->GetPointer() != nullptr) { std::string pstrides_values = toStringJoin(pStrides->GetPointer(), @@ -13187,8 +13187,8 @@ void VulkanCppConsumer::Process_vkCmdSetCullModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* cullMode */ +// commandBuffer +// cullMode pfn_loader_.AddMethodName("vkCmdSetCullModeEXT"); fprintf(file, "\t\tloaded_vkCmdSetCullModeEXT(%s, %s);\n", @@ -13205,8 +13205,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthBoundsTestEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthBoundsTestEnable */ +// commandBuffer +// depthBoundsTestEnable pfn_loader_.AddMethodName("vkCmdSetDepthBoundsTestEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthBoundsTestEnableEXT(%s, %u);\n", @@ -13223,8 +13223,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthCompareOpEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthCompareOp */ +// commandBuffer +// depthCompareOp pfn_loader_.AddMethodName("vkCmdSetDepthCompareOpEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthCompareOpEXT(%s, %s);\n", @@ -13241,8 +13241,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthTestEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthTestEnable */ +// commandBuffer +// depthTestEnable pfn_loader_.AddMethodName("vkCmdSetDepthTestEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthTestEnableEXT(%s, %u);\n", @@ -13259,8 +13259,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthWriteEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthWriteEnable */ +// commandBuffer +// depthWriteEnable pfn_loader_.AddMethodName("vkCmdSetDepthWriteEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthWriteEnableEXT(%s, %u);\n", @@ -13277,8 +13277,8 @@ void VulkanCppConsumer::Process_vkCmdSetFrontFaceEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* frontFace */ +// commandBuffer +// frontFace pfn_loader_.AddMethodName("vkCmdSetFrontFaceEXT"); fprintf(file, "\t\tloaded_vkCmdSetFrontFaceEXT(%s, %s);\n", @@ -13295,8 +13295,8 @@ void VulkanCppConsumer::Process_vkCmdSetPrimitiveTopologyEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* primitiveTopology */ +// commandBuffer +// primitiveTopology pfn_loader_.AddMethodName("vkCmdSetPrimitiveTopologyEXT"); fprintf(file, "\t\tloaded_vkCmdSetPrimitiveTopologyEXT(%s, %s);\n", @@ -13314,9 +13314,9 @@ void VulkanCppConsumer::Process_vkCmdSetScissorWithCountEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* scissorCount */ -/* pScissors */ +// commandBuffer +// scissorCount +// pScissors std::stringstream stream_pscissors; std::string pscissors_array = "NULL"; PointerPairContainerGetPointer()), decltype(pScissors->GetMetaStructPointer())> pscissors_pair{ pScissors->GetPointer(), pScissors->GetMetaStructPointer(), scissorCount }; @@ -13354,12 +13354,12 @@ void VulkanCppConsumer::Process_vkCmdSetStencilOpEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* faceMask */ -/* failOp */ -/* passOp */ -/* depthFailOp */ -/* compareOp */ +// commandBuffer +// faceMask +// failOp +// passOp +// depthFailOp +// compareOp pfn_loader_.AddMethodName("vkCmdSetStencilOpEXT"); fprintf(file, "\t\tloaded_vkCmdSetStencilOpEXT(%s, %s, %s, %s, %s, %s);\n", @@ -13380,8 +13380,8 @@ void VulkanCppConsumer::Process_vkCmdSetStencilTestEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* stencilTestEnable */ +// commandBuffer +// stencilTestEnable pfn_loader_.AddMethodName("vkCmdSetStencilTestEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetStencilTestEnableEXT(%s, %u);\n", @@ -13399,9 +13399,9 @@ void VulkanCppConsumer::Process_vkCmdSetViewportWithCountEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* viewportCount */ -/* pViewports */ +// commandBuffer +// viewportCount +// pViewports std::stringstream stream_pviewports; std::string pviewports_array = "NULL"; PointerPairContainerGetPointer()), decltype(pViewports->GetMetaStructPointer())> pviewports_pair{ pViewports->GetPointer(), pViewports->GetMetaStructPointer(), viewportCount }; @@ -13435,8 +13435,8 @@ void VulkanCppConsumer::Process_vkCopyImageToImageEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCopyImageToImageInfo */ +// device +// pCopyImageToImageInfo std::stringstream stream_pcopy_image_to_image_info; std::string pcopy_image_to_image_info_struct = GenerateStruct_VkCopyImageToImageInfoEXT(stream_pcopy_image_to_image_info, pCopyImageToImageInfo->GetPointer(), @@ -13461,8 +13461,8 @@ void VulkanCppConsumer::Process_vkCopyImageToMemoryEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCopyImageToMemoryInfo */ +// device +// pCopyImageToMemoryInfo std::stringstream stream_pcopy_image_to_memory_info; std::string pcopy_image_to_memory_info_struct = GenerateStruct_VkCopyImageToMemoryInfoEXT(stream_pcopy_image_to_memory_info, pCopyImageToMemoryInfo->GetPointer(), @@ -13487,8 +13487,8 @@ void VulkanCppConsumer::Process_vkCopyMemoryToImageEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCopyMemoryToImageInfo */ +// device +// pCopyMemoryToImageInfo std::stringstream stream_pcopy_memory_to_image_info; std::string pcopy_memory_to_image_info_struct = GenerateStruct_VkCopyMemoryToImageInfoEXT(stream_pcopy_memory_to_image_info, pCopyMemoryToImageInfo->GetPointer(), @@ -13514,16 +13514,16 @@ void VulkanCppConsumer::Process_vkGetImageSubresourceLayout2EXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* image */ -/* pSubresource */ +// device +// image +// pSubresource std::stringstream stream_psubresource; std::string psubresource_struct = GenerateStruct_VkImageSubresource2KHR(stream_psubresource, pSubresource->GetPointer(), pSubresource->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_psubresource.str().c_str()); -/* pLayout */ +// pLayout std::string playout_name = "pLayout_" + std::to_string(this->GetNextId()); std::stringstream stream_playout; playout_name = GenerateStruct_VkSubresourceLayout2KHR(stream_playout, @@ -13551,9 +13551,9 @@ void VulkanCppConsumer::Process_vkTransitionImageLayoutEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* transitionCount */ -/* pTransitions */ +// device +// transitionCount +// pTransitions std::stringstream stream_ptransitions; std::string ptransitions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pTransitions->GetMetaStructPointer())> ptransitions_pair{ pTransitions->GetPointer(), pTransitions->GetMetaStructPointer(), transitionCount }; @@ -13588,8 +13588,8 @@ void VulkanCppConsumer::Process_vkReleaseSwapchainImagesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pReleaseInfo */ +// device +// pReleaseInfo std::stringstream stream_prelease_info; std::string prelease_info_struct = GenerateStruct_VkReleaseSwapchainImagesInfoEXT(stream_prelease_info, pReleaseInfo->GetPointer(), @@ -13614,10 +13614,10 @@ void VulkanCppConsumer::Process_vkCmdBindPipelineShaderGroupNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineBindPoint */ -/* pipeline */ -/* groupIndex */ +// commandBuffer +// pipelineBindPoint +// pipeline +// groupIndex pfn_loader_.AddMethodName("vkCmdBindPipelineShaderGroupNV"); fprintf(file, "\t\tloaded_vkCmdBindPipelineShaderGroupNV(%s, %s, %s, %u);\n", @@ -13637,9 +13637,9 @@ void VulkanCppConsumer::Process_vkCmdExecuteGeneratedCommandsNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* isPreprocessed */ -/* pGeneratedCommandsInfo */ +// commandBuffer +// isPreprocessed +// pGeneratedCommandsInfo std::stringstream stream_pgenerated_commands_info; std::string pgenerated_commands_info_struct = GenerateStruct_VkGeneratedCommandsInfoNV(stream_pgenerated_commands_info, pGeneratedCommandsInfo->GetPointer(), @@ -13663,8 +13663,8 @@ void VulkanCppConsumer::Process_vkCmdPreprocessGeneratedCommandsNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pGeneratedCommandsInfo */ +// commandBuffer +// pGeneratedCommandsInfo std::stringstream stream_pgenerated_commands_info; std::string pgenerated_commands_info_struct = GenerateStruct_VkGeneratedCommandsInfoNV(stream_pgenerated_commands_info, pGeneratedCommandsInfo->GetPointer(), @@ -13690,16 +13690,16 @@ void VulkanCppConsumer::Process_vkCreateIndirectCommandsLayoutNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkIndirectCommandsLayoutCreateInfoNV(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pIndirectCommandsLayout */ +// pAllocator +// pIndirectCommandsLayout std::string pindirect_commands_layout_name = "pIndirectCommandsLayout_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV)); AddKnownVariables("VkIndirectCommandsLayoutNV", pindirect_commands_layout_name, pIndirectCommandsLayout->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -13726,9 +13726,9 @@ void VulkanCppConsumer::Process_vkDestroyIndirectCommandsLayoutNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* indirectCommandsLayout */ -/* pAllocator */ +// device +// indirectCommandsLayout +// pAllocator pfn_loader_.AddMethodName("vkDestroyIndirectCommandsLayoutNV"); fprintf(file, "\t\tloaded_vkDestroyIndirectCommandsLayoutNV(%s, %s, %s);\n", @@ -13747,15 +13747,15 @@ void VulkanCppConsumer::Process_vkGetGeneratedCommandsMemoryRequirementsNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkGeneratedCommandsMemoryRequirementsInfoNV(stream_pinfo, pInfo->GetPointer(), pInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pinfo.str().c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_requirements; pmemory_requirements_name = GenerateStruct_VkMemoryRequirements2(stream_pmemory_requirements, @@ -13779,8 +13779,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthBias2EXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pDepthBiasInfo */ +// commandBuffer +// pDepthBiasInfo std::stringstream stream_pdepth_bias_info; std::string pdepth_bias_info_struct = GenerateStruct_VkDepthBiasInfoEXT(stream_pdepth_bias_info, pDepthBiasInfo->GetPointer(), @@ -13804,9 +13804,9 @@ void VulkanCppConsumer::Process_vkAcquireDrmDisplayEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* drmFd */ -/* display */ +// physicalDevice +// drmFd +// display pfn_loader_.AddMethodName("vkAcquireDrmDisplayEXT"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkAcquireDrmDisplayEXT(%s, %d, %s), %s);\n", @@ -13828,10 +13828,10 @@ void VulkanCppConsumer::Process_vkGetDrmDisplayEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* drmFd */ -/* connectorId */ -/* display */ +// physicalDevice +// drmFd +// connectorId +// display std::string display_name = "display_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DISPLAY_KHR)); AddKnownVariables("VkDisplayKHR", display_name, display->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -13859,16 +13859,16 @@ void VulkanCppConsumer::Process_vkCreatePrivateDataSlotEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkPrivateDataSlotCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pPrivateDataSlot */ +// pAllocator +// pPrivateDataSlot std::string pprivate_data_slot_name = "pPrivateDataSlot_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PRIVATE_DATA_SLOT)); AddKnownVariables("VkPrivateDataSlot", pprivate_data_slot_name, pPrivateDataSlot->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -13895,9 +13895,9 @@ void VulkanCppConsumer::Process_vkDestroyPrivateDataSlotEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* privateDataSlot */ -/* pAllocator */ +// device +// privateDataSlot +// pAllocator pfn_loader_.AddMethodName("vkDestroyPrivateDataSlotEXT"); fprintf(file, "\t\tloaded_vkDestroyPrivateDataSlotEXT(%s, %s, %s);\n", @@ -13918,11 +13918,11 @@ void VulkanCppConsumer::Process_vkGetPrivateDataEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* objectType */ -/* objectHandle */ -/* privateDataSlot */ -/* pData */ +// device +// objectType +// objectHandle +// privateDataSlot +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint64_t %s;\n", pdata_name.c_str()); pfn_loader_.AddMethodName("vkGetPrivateDataEXT"); @@ -13948,11 +13948,11 @@ void VulkanCppConsumer::Process_vkSetPrivateDataEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* objectType */ -/* objectHandle */ -/* privateDataSlot */ -/* data */ +// device +// objectType +// objectHandle +// privateDataSlot +// data pfn_loader_.AddMethodName("vkSetPrivateDataEXT"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkSetPrivateDataEXT(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL), %s);\n", @@ -13973,9 +13973,9 @@ void VulkanCppConsumer::Process_vkCmdSetFragmentShadingRateEnumNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* shadingRate */ -/* combinerOps */ +// commandBuffer +// shadingRate +// combinerOps std::string combiner_ops_array = "NULL"; std::string combiner_ops_values = toStringJoin(combinerOps->GetPointer(), combinerOps->GetPointer() + 2, @@ -14000,8 +14000,8 @@ void VulkanCppConsumer::Process_vkGetDeviceFaultInfoEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pFaultCounts */ +// device +// pFaultCounts std::string pfault_counts_name = "pFaultCounts_" + std::to_string(this->GetNextId()); std::stringstream stream_pfault_counts; pfault_counts_name = GenerateStruct_VkDeviceFaultCountsEXT(stream_pfault_counts, @@ -14009,7 +14009,7 @@ void VulkanCppConsumer::Process_vkGetDeviceFaultInfoEXT( pFaultCounts->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pfault_counts.str().c_str()); -/* pFaultInfo */ +// pFaultInfo std::string pfault_info_name = "pFaultInfo_" + std::to_string(this->GetNextId()); std::stringstream stream_pfault_info; pfault_info_name = GenerateStruct_VkDeviceFaultInfoEXT(stream_pfault_info, @@ -14035,8 +14035,8 @@ void VulkanCppConsumer::Process_vkAcquireWinrtDisplayNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* display */ +// physicalDevice +// display pfn_loader_.AddMethodName("vkAcquireWinrtDisplayNV"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkAcquireWinrtDisplayNV(%s, %s), %s);\n", @@ -14056,9 +14056,9 @@ void VulkanCppConsumer::Process_vkGetWinrtDisplayNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* deviceRelativeId */ -/* pDisplay */ +// physicalDevice +// deviceRelativeId +// pDisplay std::string pdisplay_name = "pDisplay_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_DISPLAY_KHR)); AddKnownVariables("VkDisplayKHR", pdisplay_name, pDisplay->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -14085,16 +14085,16 @@ void VulkanCppConsumer::Process_vkCreateDirectFBSurfaceEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkDirectFBSurfaceCreateInfoEXT(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -14122,9 +14122,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceDirectFBPresentationSupportEX { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* queueFamilyIndex */ -/* dfb */ +// physicalDevice +// queueFamilyIndex +// dfb std::string dfb_name = "dfb_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", dfb_name.c_str()); pfn_loader_.AddMethodName("vkGetPhysicalDeviceDirectFBPresentationSupportEXT"); @@ -14146,9 +14146,9 @@ void VulkanCppConsumer::Process_vkCmdSetVertexInputEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* vertexBindingDescriptionCount */ -/* pVertexBindingDescriptions */ +// commandBuffer +// vertexBindingDescriptionCount +// pVertexBindingDescriptions std::stringstream stream_pvertex_binding_descriptions; std::string pvertex_binding_descriptions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pVertexBindingDescriptions->GetMetaStructPointer())> pvertex_binding_descriptions_pair{ pVertexBindingDescriptions->GetPointer(), pVertexBindingDescriptions->GetMetaStructPointer(), vertexBindingDescriptionCount }; @@ -14165,8 +14165,8 @@ void VulkanCppConsumer::Process_vkCmdSetVertexInputEXT( fprintf(file, "\t\tVkVertexInputBindingDescription2EXT %s[] = { %s };\n", pvertex_binding_descriptions_array.c_str(), pvertex_binding_descriptions_names.c_str()); } } -/* vertexAttributeDescriptionCount */ -/* pVertexAttributeDescriptions */ +// vertexAttributeDescriptionCount +// pVertexAttributeDescriptions std::stringstream stream_pvertex_attribute_descriptions; std::string pvertex_attribute_descriptions_array = "NULL"; PointerPairContainerGetPointer()), decltype(pVertexAttributeDescriptions->GetMetaStructPointer())> pvertex_attribute_descriptions_pair{ pVertexAttributeDescriptions->GetPointer(), pVertexAttributeDescriptions->GetMetaStructPointer(), vertexAttributeDescriptionCount }; @@ -14203,15 +14203,15 @@ void VulkanCppConsumer::Process_vkGetMemoryZirconHandleFUCHSIA( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetZirconHandleInfo */ +// device +// pGetZirconHandleInfo std::stringstream stream_pget_zircon_handle_info; std::string pget_zircon_handle_info_struct = GenerateStruct_VkMemoryGetZirconHandleInfoFUCHSIA(stream_pget_zircon_handle_info, pGetZirconHandleInfo->GetPointer(), pGetZirconHandleInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_zircon_handle_info.str().c_str()); -/* pZirconHandle */ +// pZirconHandle std::string pzircon_handle_name = "pZirconHandle_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pzircon_handle_name.c_str()); pfn_loader_.AddMethodName("vkGetMemoryZirconHandleFUCHSIA"); @@ -14235,10 +14235,10 @@ void VulkanCppConsumer::Process_vkGetMemoryZirconHandlePropertiesFUCHSIA( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* handleType */ -/* zirconHandle */ -/* pMemoryZirconHandleProperties */ +// device +// handleType +// zirconHandle +// pMemoryZirconHandleProperties std::string pmemory_zircon_handle_properties_name = "pMemoryZirconHandleProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_zircon_handle_properties; pmemory_zircon_handle_properties_name = GenerateStruct_VkMemoryZirconHandlePropertiesFUCHSIA(stream_pmemory_zircon_handle_properties, @@ -14266,15 +14266,15 @@ void VulkanCppConsumer::Process_vkGetSemaphoreZirconHandleFUCHSIA( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pGetZirconHandleInfo */ +// device +// pGetZirconHandleInfo std::stringstream stream_pget_zircon_handle_info; std::string pget_zircon_handle_info_struct = GenerateStruct_VkSemaphoreGetZirconHandleInfoFUCHSIA(stream_pget_zircon_handle_info, pGetZirconHandleInfo->GetPointer(), pGetZirconHandleInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pget_zircon_handle_info.str().c_str()); -/* pZirconHandle */ +// pZirconHandle std::string pzircon_handle_name = "pZirconHandle_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pzircon_handle_name.c_str()); pfn_loader_.AddMethodName("vkGetSemaphoreZirconHandleFUCHSIA"); @@ -14296,8 +14296,8 @@ void VulkanCppConsumer::Process_vkImportSemaphoreZirconHandleFUCHSIA( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pImportSemaphoreZirconHandleInfo */ +// device +// pImportSemaphoreZirconHandleInfo std::stringstream stream_pimport_semaphore_zircon_handle_info; std::string pimport_semaphore_zircon_handle_info_struct = GenerateStruct_VkImportSemaphoreZirconHandleInfoFUCHSIA(stream_pimport_semaphore_zircon_handle_info, pImportSemaphoreZirconHandleInfo->GetPointer(), @@ -14321,9 +14321,9 @@ void VulkanCppConsumer::Process_vkCmdBindInvocationMaskHUAWEI( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* imageView */ -/* imageLayout */ +// commandBuffer +// imageView +// imageLayout pfn_loader_.AddMethodName("vkCmdBindInvocationMaskHUAWEI"); fprintf(file, "\t\tloaded_vkCmdBindInvocationMaskHUAWEI(%s, %s, %s);\n", @@ -14342,15 +14342,15 @@ void VulkanCppConsumer::Process_vkGetMemoryRemoteAddressNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pMemoryGetRemoteAddressInfo */ +// device +// pMemoryGetRemoteAddressInfo std::stringstream stream_pmemory_get_remote_address_info; std::string pmemory_get_remote_address_info_struct = GenerateStruct_VkMemoryGetRemoteAddressInfoNV(stream_pmemory_get_remote_address_info, pMemoryGetRemoteAddressInfo->GetPointer(), pMemoryGetRemoteAddressInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pmemory_get_remote_address_info.str().c_str()); -/* pAddress */ +// pAddress std::string paddress_name = "pAddress_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", paddress_name.c_str()); pfn_loader_.AddMethodName("vkGetMemoryRemoteAddressNV"); @@ -14370,8 +14370,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthBiasEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthBiasEnable */ +// commandBuffer +// depthBiasEnable pfn_loader_.AddMethodName("vkCmdSetDepthBiasEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthBiasEnableEXT(%s, %u);\n", @@ -14388,8 +14388,8 @@ void VulkanCppConsumer::Process_vkCmdSetLogicOpEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* logicOp */ +// commandBuffer +// logicOp pfn_loader_.AddMethodName("vkCmdSetLogicOpEXT"); fprintf(file, "\t\tloaded_vkCmdSetLogicOpEXT(%s, %s);\n", @@ -14406,8 +14406,8 @@ void VulkanCppConsumer::Process_vkCmdSetPatchControlPointsEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* patchControlPoints */ +// commandBuffer +// patchControlPoints pfn_loader_.AddMethodName("vkCmdSetPatchControlPointsEXT"); fprintf(file, "\t\tloaded_vkCmdSetPatchControlPointsEXT(%s, %u);\n", @@ -14424,8 +14424,8 @@ void VulkanCppConsumer::Process_vkCmdSetPrimitiveRestartEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* primitiveRestartEnable */ +// commandBuffer +// primitiveRestartEnable pfn_loader_.AddMethodName("vkCmdSetPrimitiveRestartEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetPrimitiveRestartEnableEXT(%s, %u);\n", @@ -14442,8 +14442,8 @@ void VulkanCppConsumer::Process_vkCmdSetRasterizerDiscardEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* rasterizerDiscardEnable */ +// commandBuffer +// rasterizerDiscardEnable pfn_loader_.AddMethodName("vkCmdSetRasterizerDiscardEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetRasterizerDiscardEnableEXT(%s, %u);\n", @@ -14462,16 +14462,16 @@ void VulkanCppConsumer::Process_vkCreateScreenSurfaceQNX( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* instance */ -/* pCreateInfo */ +// instance +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkScreenSurfaceCreateInfoQNX(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSurface */ +// pAllocator +// pSurface std::string psurface_name = "pSurface_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SURFACE_KHR)); AddKnownVariables("VkSurfaceKHR", psurface_name, pSurface->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -14499,9 +14499,9 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceScreenPresentationSupportQNX( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* queueFamilyIndex */ -/* window */ +// physicalDevice +// queueFamilyIndex +// window std::string window_name = "window_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tvoid* %s;\n", window_name.c_str()); pfn_loader_.AddMethodName("vkGetPhysicalDeviceScreenPresentationSupportQNX"); @@ -14521,9 +14521,9 @@ void VulkanCppConsumer::Process_vkCmdSetColorWriteEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* attachmentCount */ -/* pColorWriteEnables */ +// commandBuffer +// attachmentCount +// pColorWriteEnables std::string pcolor_write_enables_array = "pColorWriteEnables_" + std::to_string(this->GetNextId()); if (attachmentCount > 0) { std::string pcolor_write_enables_values = toStringJoin(pColorWriteEnables->GetPointer(), @@ -14554,9 +14554,9 @@ void VulkanCppConsumer::Process_vkCmdDrawMultiEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* drawCount */ -/* pVertexInfo */ +// commandBuffer +// drawCount +// pVertexInfo std::stringstream stream_pvertex_info; std::string pvertex_info_array = "NULL"; PointerPairContainerGetPointer()), decltype(pVertexInfo->GetMetaStructPointer())> pvertex_info_pair{ pVertexInfo->GetPointer(), pVertexInfo->GetMetaStructPointer(), drawCount }; @@ -14573,9 +14573,9 @@ void VulkanCppConsumer::Process_vkCmdDrawMultiEXT( fprintf(file, "\t\tVkMultiDrawInfoEXT %s[] = { %s };\n", pvertex_info_array.c_str(), pvertex_info_names.c_str()); } } -/* instanceCount */ -/* firstInstance */ -/* stride */ +// instanceCount +// firstInstance +// stride pfn_loader_.AddMethodName("vkCmdDrawMultiEXT"); fprintf(file, "\t\tloaded_vkCmdDrawMultiEXT(%s, %u, %s, %u, %u, %u);\n", @@ -14601,9 +14601,9 @@ void VulkanCppConsumer::Process_vkCmdDrawMultiIndexedEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* drawCount */ -/* pIndexInfo */ +// commandBuffer +// drawCount +// pIndexInfo std::stringstream stream_pindex_info; std::string pindex_info_array = "NULL"; PointerPairContainerGetPointer()), decltype(pIndexInfo->GetMetaStructPointer())> pindex_info_pair{ pIndexInfo->GetPointer(), pIndexInfo->GetMetaStructPointer(), drawCount }; @@ -14620,10 +14620,10 @@ void VulkanCppConsumer::Process_vkCmdDrawMultiIndexedEXT( fprintf(file, "\t\tVkMultiDrawIndexedInfoEXT %s[] = { %s };\n", pindex_info_array.c_str(), pindex_info_names.c_str()); } } -/* instanceCount */ -/* firstInstance */ -/* stride */ -/* pVertexOffset */ +// instanceCount +// firstInstance +// stride +// pVertexOffset pfn_loader_.AddMethodName("vkCmdDrawMultiIndexedEXT"); fprintf(file, "\t\tloaded_vkCmdDrawMultiIndexedEXT(%s, %u, %s, %u, %u, %u, %p);\n", @@ -14647,10 +14647,10 @@ void VulkanCppConsumer::Process_vkBuildMicromapsEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* deferredOperation */ -/* infoCount */ -/* pInfos */ +// device +// deferredOperation +// infoCount +// pInfos std::stringstream stream_pinfos; std::string pinfos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pInfos->GetMetaStructPointer())> pinfos_pair{ pInfos->GetPointer(), pInfos->GetMetaStructPointer(), infoCount }; @@ -14687,9 +14687,9 @@ void VulkanCppConsumer::Process_vkCmdBuildMicromapsEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* infoCount */ -/* pInfos */ +// commandBuffer +// infoCount +// pInfos std::stringstream stream_pinfos; std::string pinfos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pInfos->GetMetaStructPointer())> pinfos_pair{ pInfos->GetPointer(), pInfos->GetMetaStructPointer(), infoCount }; @@ -14723,8 +14723,8 @@ void VulkanCppConsumer::Process_vkCmdCopyMemoryToMicromapEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pInfo */ +// commandBuffer +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMemoryToMicromapInfoEXT(stream_pinfo, pInfo->GetPointer(), @@ -14747,8 +14747,8 @@ void VulkanCppConsumer::Process_vkCmdCopyMicromapEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pInfo */ +// commandBuffer +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMicromapInfoEXT(stream_pinfo, pInfo->GetPointer(), @@ -14771,8 +14771,8 @@ void VulkanCppConsumer::Process_vkCmdCopyMicromapToMemoryEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pInfo */ +// commandBuffer +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMicromapToMemoryInfoEXT(stream_pinfo, pInfo->GetPointer(), @@ -14799,9 +14799,9 @@ void VulkanCppConsumer::Process_vkCmdWriteMicromapsPropertiesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* micromapCount */ -/* pMicromaps */ +// commandBuffer +// micromapCount +// pMicromaps std::string pmicromaps_array = "NULL"; std::string pmicromaps_values = toStringJoin(pMicromaps->GetPointer(), pMicromaps->GetPointer() + micromapCount, @@ -14813,9 +14813,9 @@ void VulkanCppConsumer::Process_vkCmdWriteMicromapsPropertiesEXT( pmicromaps_array = "pmicromaps_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkMicromapEXT %s[] = { %s };\n", pmicromaps_array.c_str(), pmicromaps_values.c_str()); } -/* queryType */ -/* queryPool */ -/* firstQuery */ +// queryType +// queryPool +// firstQuery pfn_loader_.AddMethodName("vkCmdWriteMicromapsPropertiesEXT"); fprintf(file, "\t\tloaded_vkCmdWriteMicromapsPropertiesEXT(%s, %u, %s, %s, %s, %u);\n", @@ -14838,9 +14838,9 @@ void VulkanCppConsumer::Process_vkCopyMemoryToMicromapEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* deferredOperation */ -/* pInfo */ +// device +// deferredOperation +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMemoryToMicromapInfoEXT(stream_pinfo, pInfo->GetPointer(), @@ -14867,9 +14867,9 @@ void VulkanCppConsumer::Process_vkCopyMicromapEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* deferredOperation */ -/* pInfo */ +// device +// deferredOperation +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMicromapInfoEXT(stream_pinfo, pInfo->GetPointer(), @@ -14896,9 +14896,9 @@ void VulkanCppConsumer::Process_vkCopyMicromapToMemoryEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* deferredOperation */ -/* pInfo */ +// device +// deferredOperation +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMicromapToMemoryInfoEXT(stream_pinfo, pInfo->GetPointer(), @@ -14926,16 +14926,16 @@ void VulkanCppConsumer::Process_vkCreateMicromapEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkMicromapCreateInfoEXT(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pMicromap */ +// pAllocator +// pMicromap std::string pmicromap_name = "pMicromap_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_MICROMAP_EXT)); AddKnownVariables("VkMicromapEXT", pmicromap_name, pMicromap->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -14962,9 +14962,9 @@ void VulkanCppConsumer::Process_vkDestroyMicromapEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* micromap */ -/* pAllocator */ +// device +// micromap +// pAllocator pfn_loader_.AddMethodName("vkDestroyMicromapEXT"); fprintf(file, "\t\tloaded_vkDestroyMicromapEXT(%s, %s, %s);\n", @@ -14983,15 +14983,15 @@ void VulkanCppConsumer::Process_vkGetDeviceMicromapCompatibilityEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pVersionInfo */ +// device +// pVersionInfo std::stringstream stream_pversion_info; std::string pversion_info_struct = GenerateStruct_VkMicromapVersionInfoEXT(stream_pversion_info, pVersionInfo->GetPointer(), pVersionInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pversion_info.str().c_str()); -/* pCompatibility */ +// pCompatibility std::string pcompatibility_name = "pCompatibility_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkAccelerationStructureCompatibilityKHR %s;\n", pcompatibility_name.c_str()); pfn_loader_.AddMethodName("vkGetDeviceMicromapCompatibilityEXT"); @@ -15013,16 +15013,16 @@ void VulkanCppConsumer::Process_vkGetMicromapBuildSizesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* buildType */ -/* pBuildInfo */ +// device +// buildType +// pBuildInfo std::stringstream stream_pbuild_info; std::string pbuild_info_struct = GenerateStruct_VkMicromapBuildInfoEXT(stream_pbuild_info, pBuildInfo->GetPointer(), pBuildInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pbuild_info.str().c_str()); -/* pSizeInfo */ +// pSizeInfo std::string psize_info_name = "pSizeInfo_" + std::to_string(this->GetNextId()); std::stringstream stream_psize_info; psize_info_name = GenerateStruct_VkMicromapBuildSizesInfoEXT(stream_psize_info, @@ -15054,9 +15054,9 @@ void VulkanCppConsumer::Process_vkWriteMicromapsPropertiesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* micromapCount */ -/* pMicromaps */ +// device +// micromapCount +// pMicromaps std::string pmicromaps_array = "NULL"; std::string pmicromaps_values = toStringJoin(pMicromaps->GetPointer(), pMicromaps->GetPointer() + micromapCount, @@ -15068,12 +15068,12 @@ void VulkanCppConsumer::Process_vkWriteMicromapsPropertiesEXT( pmicromaps_array = "pmicromaps_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkMicromapEXT %s[] = { %s };\n", pmicromaps_array.c_str(), pmicromaps_values.c_str()); } -/* queryType */ -/* dataSize */ -/* pData */ +// queryType +// dataSize +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), dataSize); -/* stride */ +// stride pfn_loader_.AddMethodName("vkWriteMicromapsPropertiesEXT"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkWriteMicromapsPropertiesEXT(%s, %u, %s, %s, %" PRId64 ", %s, %" PRId64 "), %s);\n", @@ -15097,10 +15097,10 @@ void VulkanCppConsumer::Process_vkCmdDrawClusterHUAWEI( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* groupCountX */ -/* groupCountY */ -/* groupCountZ */ +// commandBuffer +// groupCountX +// groupCountY +// groupCountZ pfn_loader_.AddMethodName("vkCmdDrawClusterHUAWEI"); fprintf(file, "\t\tloaded_vkCmdDrawClusterHUAWEI(%s, %u, %u, %u);\n", @@ -15120,9 +15120,9 @@ void VulkanCppConsumer::Process_vkCmdDrawClusterIndirectHUAWEI( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ +// commandBuffer +// buffer +// offset pfn_loader_.AddMethodName("vkCmdDrawClusterIndirectHUAWEI"); fprintf(file, "\t\tloaded_vkCmdDrawClusterIndirectHUAWEI(%s, %s, %" PRIu64 "UL);\n", @@ -15140,9 +15140,9 @@ void VulkanCppConsumer::Process_vkSetDeviceMemoryPriorityEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* memory */ -/* priority */ +// device +// memory +// priority pfn_loader_.AddMethodName("vkSetDeviceMemoryPriorityEXT"); fprintf(file, "\t\tloaded_vkSetDeviceMemoryPriorityEXT(%s, %s, %f);\n", @@ -15160,9 +15160,9 @@ void VulkanCppConsumer::Process_vkGetDescriptorSetHostMappingVALVE( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* descriptorSet */ -/* ppData */ +// device +// descriptorSet +// ppData std::string pp_data_name = "ppData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t* %s;\n", pp_data_name.c_str()); pfn_loader_.AddMethodName("vkGetDescriptorSetHostMappingVALVE"); @@ -15183,15 +15183,15 @@ void VulkanCppConsumer::Process_vkGetDescriptorSetLayoutHostMappingInfoVALVE( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pBindingReference */ +// device +// pBindingReference std::stringstream stream_pbinding_reference; std::string pbinding_reference_struct = GenerateStruct_VkDescriptorSetBindingReferenceVALVE(stream_pbinding_reference, pBindingReference->GetPointer(), pBindingReference->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pbinding_reference.str().c_str()); -/* pHostMapping */ +// pHostMapping std::string phost_mapping_name = "pHostMapping_" + std::to_string(this->GetNextId()); std::stringstream stream_phost_mapping; phost_mapping_name = GenerateStruct_VkDescriptorSetLayoutHostMappingInfoVALVE(stream_phost_mapping, @@ -15216,9 +15216,9 @@ void VulkanCppConsumer::Process_vkCmdUpdatePipelineIndirectBufferNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineBindPoint */ -/* pipeline */ +// commandBuffer +// pipelineBindPoint +// pipeline pfn_loader_.AddMethodName("vkCmdUpdatePipelineIndirectBufferNV"); fprintf(file, "\t\tloaded_vkCmdUpdatePipelineIndirectBufferNV(%s, %s, %s);\n", @@ -15237,8 +15237,8 @@ void VulkanCppConsumer::Process_vkGetPipelineIndirectDeviceAddressNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkPipelineIndirectDeviceAddressInfoNV(stream_pinfo, pInfo->GetPointer(), @@ -15262,15 +15262,15 @@ void VulkanCppConsumer::Process_vkGetPipelineIndirectMemoryRequirementsNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkComputePipelineCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pMemoryRequirements */ +// pMemoryRequirements std::string pmemory_requirements_name = "pMemoryRequirements_" + std::to_string(this->GetNextId()); std::stringstream stream_pmemory_requirements; pmemory_requirements_name = GenerateStruct_VkMemoryRequirements2(stream_pmemory_requirements, @@ -15294,8 +15294,8 @@ void VulkanCppConsumer::Process_vkCmdSetAlphaToCoverageEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* alphaToCoverageEnable */ +// commandBuffer +// alphaToCoverageEnable pfn_loader_.AddMethodName("vkCmdSetAlphaToCoverageEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetAlphaToCoverageEnableEXT(%s, %u);\n", @@ -15312,8 +15312,8 @@ void VulkanCppConsumer::Process_vkCmdSetAlphaToOneEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* alphaToOneEnable */ +// commandBuffer +// alphaToOneEnable pfn_loader_.AddMethodName("vkCmdSetAlphaToOneEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetAlphaToOneEnableEXT(%s, %u);\n", @@ -15332,10 +15332,10 @@ void VulkanCppConsumer::Process_vkCmdSetColorBlendAdvancedEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstAttachment */ -/* attachmentCount */ -/* pColorBlendAdvanced */ +// commandBuffer +// firstAttachment +// attachmentCount +// pColorBlendAdvanced std::stringstream stream_pcolor_blend_advanced; std::string pcolor_blend_advanced_array = "NULL"; PointerPairContainerGetPointer()), decltype(pColorBlendAdvanced->GetMetaStructPointer())> pcolor_blend_advanced_pair{ pColorBlendAdvanced->GetPointer(), pColorBlendAdvanced->GetMetaStructPointer(), attachmentCount }; @@ -15372,10 +15372,10 @@ void VulkanCppConsumer::Process_vkCmdSetColorBlendEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstAttachment */ -/* attachmentCount */ -/* pColorBlendEnables */ +// commandBuffer +// firstAttachment +// attachmentCount +// pColorBlendEnables std::string pcolor_blend_enables_array = "pColorBlendEnables_" + std::to_string(this->GetNextId()); if (attachmentCount > 0) { std::string pcolor_blend_enables_values = toStringJoin(pColorBlendEnables->GetPointer(), @@ -15406,10 +15406,10 @@ void VulkanCppConsumer::Process_vkCmdSetColorBlendEquationEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstAttachment */ -/* attachmentCount */ -/* pColorBlendEquations */ +// commandBuffer +// firstAttachment +// attachmentCount +// pColorBlendEquations std::stringstream stream_pcolor_blend_equations; std::string pcolor_blend_equations_array = "NULL"; PointerPairContainerGetPointer()), decltype(pColorBlendEquations->GetMetaStructPointer())> pcolor_blend_equations_pair{ pColorBlendEquations->GetPointer(), pColorBlendEquations->GetMetaStructPointer(), attachmentCount }; @@ -15446,10 +15446,10 @@ void VulkanCppConsumer::Process_vkCmdSetColorWriteMaskEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstAttachment */ -/* attachmentCount */ -/* pColorWriteMasks */ +// commandBuffer +// firstAttachment +// attachmentCount +// pColorWriteMasks std::string pcolor_write_masks_array = "NULL"; std::string pcolor_write_masks_values = toStringJoin(pColorWriteMasks->GetPointer(), pColorWriteMasks->GetPointer() + attachmentCount, @@ -15479,8 +15479,8 @@ void VulkanCppConsumer::Process_vkCmdSetConservativeRasterizationModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* conservativeRasterizationMode */ +// commandBuffer +// conservativeRasterizationMode pfn_loader_.AddMethodName("vkCmdSetConservativeRasterizationModeEXT"); fprintf(file, "\t\tloaded_vkCmdSetConservativeRasterizationModeEXT(%s, %s);\n", @@ -15497,8 +15497,8 @@ void VulkanCppConsumer::Process_vkCmdSetCoverageModulationModeNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* coverageModulationMode */ +// commandBuffer +// coverageModulationMode pfn_loader_.AddMethodName("vkCmdSetCoverageModulationModeNV"); fprintf(file, "\t\tloaded_vkCmdSetCoverageModulationModeNV(%s, %s);\n", @@ -15515,8 +15515,8 @@ void VulkanCppConsumer::Process_vkCmdSetCoverageModulationTableEnableNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* coverageModulationTableEnable */ +// commandBuffer +// coverageModulationTableEnable pfn_loader_.AddMethodName("vkCmdSetCoverageModulationTableEnableNV"); fprintf(file, "\t\tloaded_vkCmdSetCoverageModulationTableEnableNV(%s, %u);\n", @@ -15534,9 +15534,9 @@ void VulkanCppConsumer::Process_vkCmdSetCoverageModulationTableNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* coverageModulationTableCount */ -/* pCoverageModulationTable */ +// commandBuffer +// coverageModulationTableCount +// pCoverageModulationTable std::string pcoverage_modulation_table_array = "pCoverageModulationTable_" + std::to_string(this->GetNextId()); if (coverageModulationTableCount > 0) { std::string pcoverage_modulation_table_values = toStringJoin(pCoverageModulationTable->GetPointer(), @@ -15564,8 +15564,8 @@ void VulkanCppConsumer::Process_vkCmdSetCoverageReductionModeNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* coverageReductionMode */ +// commandBuffer +// coverageReductionMode pfn_loader_.AddMethodName("vkCmdSetCoverageReductionModeNV"); fprintf(file, "\t\tloaded_vkCmdSetCoverageReductionModeNV(%s, %s);\n", @@ -15582,8 +15582,8 @@ void VulkanCppConsumer::Process_vkCmdSetCoverageToColorEnableNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* coverageToColorEnable */ +// commandBuffer +// coverageToColorEnable pfn_loader_.AddMethodName("vkCmdSetCoverageToColorEnableNV"); fprintf(file, "\t\tloaded_vkCmdSetCoverageToColorEnableNV(%s, %u);\n", @@ -15600,8 +15600,8 @@ void VulkanCppConsumer::Process_vkCmdSetCoverageToColorLocationNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* coverageToColorLocation */ +// commandBuffer +// coverageToColorLocation pfn_loader_.AddMethodName("vkCmdSetCoverageToColorLocationNV"); fprintf(file, "\t\tloaded_vkCmdSetCoverageToColorLocationNV(%s, %u);\n", @@ -15618,8 +15618,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthClampEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthClampEnable */ +// commandBuffer +// depthClampEnable pfn_loader_.AddMethodName("vkCmdSetDepthClampEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthClampEnableEXT(%s, %u);\n", @@ -15636,8 +15636,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthClipEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* depthClipEnable */ +// commandBuffer +// depthClipEnable pfn_loader_.AddMethodName("vkCmdSetDepthClipEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthClipEnableEXT(%s, %u);\n", @@ -15654,8 +15654,8 @@ void VulkanCppConsumer::Process_vkCmdSetDepthClipNegativeOneToOneEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* negativeOneToOne */ +// commandBuffer +// negativeOneToOne pfn_loader_.AddMethodName("vkCmdSetDepthClipNegativeOneToOneEXT"); fprintf(file, "\t\tloaded_vkCmdSetDepthClipNegativeOneToOneEXT(%s, %u);\n", @@ -15672,8 +15672,8 @@ void VulkanCppConsumer::Process_vkCmdSetExtraPrimitiveOverestimationSizeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* extraPrimitiveOverestimationSize */ +// commandBuffer +// extraPrimitiveOverestimationSize pfn_loader_.AddMethodName("vkCmdSetExtraPrimitiveOverestimationSizeEXT"); fprintf(file, "\t\tloaded_vkCmdSetExtraPrimitiveOverestimationSizeEXT(%s, %f);\n", @@ -15690,8 +15690,8 @@ void VulkanCppConsumer::Process_vkCmdSetLineRasterizationModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* lineRasterizationMode */ +// commandBuffer +// lineRasterizationMode pfn_loader_.AddMethodName("vkCmdSetLineRasterizationModeEXT"); fprintf(file, "\t\tloaded_vkCmdSetLineRasterizationModeEXT(%s, %s);\n", @@ -15708,8 +15708,8 @@ void VulkanCppConsumer::Process_vkCmdSetLineStippleEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* stippledLineEnable */ +// commandBuffer +// stippledLineEnable pfn_loader_.AddMethodName("vkCmdSetLineStippleEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetLineStippleEnableEXT(%s, %u);\n", @@ -15726,8 +15726,8 @@ void VulkanCppConsumer::Process_vkCmdSetLogicOpEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* logicOpEnable */ +// commandBuffer +// logicOpEnable pfn_loader_.AddMethodName("vkCmdSetLogicOpEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetLogicOpEnableEXT(%s, %u);\n", @@ -15744,8 +15744,8 @@ void VulkanCppConsumer::Process_vkCmdSetPolygonModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* polygonMode */ +// commandBuffer +// polygonMode pfn_loader_.AddMethodName("vkCmdSetPolygonModeEXT"); fprintf(file, "\t\tloaded_vkCmdSetPolygonModeEXT(%s, %s);\n", @@ -15762,8 +15762,8 @@ void VulkanCppConsumer::Process_vkCmdSetProvokingVertexModeEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* provokingVertexMode */ +// commandBuffer +// provokingVertexMode pfn_loader_.AddMethodName("vkCmdSetProvokingVertexModeEXT"); fprintf(file, "\t\tloaded_vkCmdSetProvokingVertexModeEXT(%s, %s);\n", @@ -15780,8 +15780,8 @@ void VulkanCppConsumer::Process_vkCmdSetRasterizationSamplesEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* rasterizationSamples */ +// commandBuffer +// rasterizationSamples pfn_loader_.AddMethodName("vkCmdSetRasterizationSamplesEXT"); fprintf(file, "\t\tloaded_vkCmdSetRasterizationSamplesEXT(%s, %s);\n", @@ -15798,8 +15798,8 @@ void VulkanCppConsumer::Process_vkCmdSetRasterizationStreamEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* rasterizationStream */ +// commandBuffer +// rasterizationStream pfn_loader_.AddMethodName("vkCmdSetRasterizationStreamEXT"); fprintf(file, "\t\tloaded_vkCmdSetRasterizationStreamEXT(%s, %u);\n", @@ -15816,8 +15816,8 @@ void VulkanCppConsumer::Process_vkCmdSetRepresentativeFragmentTestEnableNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* representativeFragmentTestEnable */ +// commandBuffer +// representativeFragmentTestEnable pfn_loader_.AddMethodName("vkCmdSetRepresentativeFragmentTestEnableNV"); fprintf(file, "\t\tloaded_vkCmdSetRepresentativeFragmentTestEnableNV(%s, %u);\n", @@ -15834,8 +15834,8 @@ void VulkanCppConsumer::Process_vkCmdSetSampleLocationsEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* sampleLocationsEnable */ +// commandBuffer +// sampleLocationsEnable pfn_loader_.AddMethodName("vkCmdSetSampleLocationsEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetSampleLocationsEnableEXT(%s, %u);\n", @@ -15853,9 +15853,9 @@ void VulkanCppConsumer::Process_vkCmdSetSampleMaskEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* samples */ -/* pSampleMask */ +// commandBuffer +// samples +// pSampleMask std::string psample_mask_array = "pSampleMask_" + std::to_string(this->GetNextId()); if ((samples + 31) / 32 > 0) { std::string psample_mask_values = toStringJoin(pSampleMask->GetPointer(), @@ -15883,8 +15883,8 @@ void VulkanCppConsumer::Process_vkCmdSetShadingRateImageEnableNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* shadingRateImageEnable */ +// commandBuffer +// shadingRateImageEnable pfn_loader_.AddMethodName("vkCmdSetShadingRateImageEnableNV"); fprintf(file, "\t\tloaded_vkCmdSetShadingRateImageEnableNV(%s, %u);\n", @@ -15901,8 +15901,8 @@ void VulkanCppConsumer::Process_vkCmdSetTessellationDomainOriginEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* domainOrigin */ +// commandBuffer +// domainOrigin pfn_loader_.AddMethodName("vkCmdSetTessellationDomainOriginEXT"); fprintf(file, "\t\tloaded_vkCmdSetTessellationDomainOriginEXT(%s, %s);\n", @@ -15921,10 +15921,10 @@ void VulkanCppConsumer::Process_vkCmdSetViewportSwizzleNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* firstViewport */ -/* viewportCount */ -/* pViewportSwizzles */ +// commandBuffer +// firstViewport +// viewportCount +// pViewportSwizzles std::stringstream stream_pviewport_swizzles; std::string pviewport_swizzles_array = "NULL"; PointerPairContainerGetPointer()), decltype(pViewportSwizzles->GetMetaStructPointer())> pviewport_swizzles_pair{ pViewportSwizzles->GetPointer(), pViewportSwizzles->GetMetaStructPointer(), viewportCount }; @@ -15959,8 +15959,8 @@ void VulkanCppConsumer::Process_vkCmdSetViewportWScalingEnableNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* viewportWScalingEnable */ +// commandBuffer +// viewportWScalingEnable pfn_loader_.AddMethodName("vkCmdSetViewportWScalingEnableNV"); fprintf(file, "\t\tloaded_vkCmdSetViewportWScalingEnableNV(%s, %u);\n", @@ -15977,15 +15977,15 @@ void VulkanCppConsumer::Process_vkGetShaderModuleCreateInfoIdentifierEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkShaderModuleCreateInfo(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pIdentifier */ +// pIdentifier std::string pidentifier_name = "pIdentifier_" + std::to_string(this->GetNextId()); std::stringstream stream_pidentifier; pidentifier_name = GenerateStruct_VkShaderModuleIdentifierEXT(stream_pidentifier, @@ -16011,9 +16011,9 @@ void VulkanCppConsumer::Process_vkGetShaderModuleIdentifierEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* shaderModule */ -/* pIdentifier */ +// device +// shaderModule +// pIdentifier std::string pidentifier_name = "pIdentifier_" + std::to_string(this->GetNextId()); std::stringstream stream_pidentifier; pidentifier_name = GenerateStruct_VkShaderModuleIdentifierEXT(stream_pidentifier, @@ -16041,11 +16041,11 @@ void VulkanCppConsumer::Process_vkBindOpticalFlowSessionImageNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* session */ -/* bindingPoint */ -/* view */ -/* layout */ +// device +// session +// bindingPoint +// view +// layout pfn_loader_.AddMethodName("vkBindOpticalFlowSessionImageNV"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkBindOpticalFlowSessionImageNV(%s, %s, %s, %s, %s), %s);\n", @@ -16067,9 +16067,9 @@ void VulkanCppConsumer::Process_vkCmdOpticalFlowExecuteNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* session */ -/* pExecuteInfo */ +// commandBuffer +// session +// pExecuteInfo std::stringstream stream_pexecute_info; std::string pexecute_info_struct = GenerateStruct_VkOpticalFlowExecuteInfoNV(stream_pexecute_info, pExecuteInfo->GetPointer(), @@ -16096,16 +16096,16 @@ void VulkanCppConsumer::Process_vkCreateOpticalFlowSessionNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkOpticalFlowSessionCreateInfoNV(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pSession */ +// pAllocator +// pSession std::string psession_name = "pSession_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV)); AddKnownVariables("VkOpticalFlowSessionNV", psession_name, pSession->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -16132,9 +16132,9 @@ void VulkanCppConsumer::Process_vkDestroyOpticalFlowSessionNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* session */ -/* pAllocator */ +// device +// session +// pAllocator pfn_loader_.AddMethodName("vkDestroyOpticalFlowSessionNV"); fprintf(file, "\t\tloaded_vkDestroyOpticalFlowSessionNV(%s, %s, %s);\n", @@ -16155,18 +16155,18 @@ void VulkanCppConsumer::Process_vkGetPhysicalDeviceOpticalFlowImageFormatsNV( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* physicalDevice */ -/* pOpticalFlowImageFormatInfo */ +// physicalDevice +// pOpticalFlowImageFormatInfo std::stringstream stream_poptical_flow_image_format_info; std::string poptical_flow_image_format_info_struct = GenerateStruct_VkOpticalFlowImageFormatInfoNV(stream_poptical_flow_image_format_info, pOpticalFlowImageFormatInfo->GetPointer(), pOpticalFlowImageFormatInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_poptical_flow_image_format_info.str().c_str()); -/* pFormatCount */ +// pFormatCount std::string pformat_count_name = "pFormatCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pformat_count_name.c_str()); -/* pImageFormatProperties */ +// pImageFormatProperties std::string pimage_format_properties_name = "pImageFormatProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pimage_format_properties; pimage_format_properties_name = GenerateStruct_VkOpticalFlowImageFormatPropertiesNV(stream_pimage_format_properties, @@ -16194,9 +16194,9 @@ void VulkanCppConsumer::Process_vkCmdBindShadersEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* stageCount */ -/* pStages */ +// commandBuffer +// stageCount +// pStages std::string pstages_array = "NULL"; std::string pstages_values = toStringJoin(pStages->GetPointer(), pStages->GetPointer() + stageCount, @@ -16208,7 +16208,7 @@ void VulkanCppConsumer::Process_vkCmdBindShadersEXT( pstages_array = "pstages_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkShaderStageFlagBits %s[] = { %s };\n", pstages_array.c_str(), pstages_values.c_str()); } -/* pShaders */ +// pShaders std::string pshaders_array = "NULL"; std::string pshaders_values = toStringJoin(pShaders->GetPointer(), pShaders->GetPointer() + stageCount, @@ -16242,9 +16242,9 @@ void VulkanCppConsumer::Process_vkCreateShadersEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* createInfoCount */ -/* pCreateInfos */ +// device +// createInfoCount +// pCreateInfos std::stringstream stream_pcreate_infos; std::string pcreate_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pCreateInfos->GetMetaStructPointer())> pcreate_infos_pair{ pCreateInfos->GetPointer(), pCreateInfos->GetMetaStructPointer(), createInfoCount }; @@ -16261,8 +16261,8 @@ void VulkanCppConsumer::Process_vkCreateShadersEXT( fprintf(file, "\t\tVkShaderCreateInfoEXT %s[] = { %s };\n", pcreate_infos_array.c_str(), pcreate_infos_names.c_str()); } } -/* pAllocator */ -/* pShaders */ +// pAllocator +// pShaders std::string pshaders_name = "pShaders_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_SHADER_EXT)); AddKnownVariables("VkShaderEXT", pshaders_name, pShaders->GetPointer(), createInfoCount); if (returnValue == VK_SUCCESS) { @@ -16290,9 +16290,9 @@ void VulkanCppConsumer::Process_vkDestroyShaderEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* shader */ -/* pAllocator */ +// device +// shader +// pAllocator pfn_loader_.AddMethodName("vkDestroyShaderEXT"); fprintf(file, "\t\tloaded_vkDestroyShaderEXT(%s, %s, %s);\n", @@ -16313,12 +16313,12 @@ void VulkanCppConsumer::Process_vkGetShaderBinaryDataEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* shader */ -/* pDataSize */ +// device +// shader +// pDataSize std::string pdata_size_name = "pDataSize_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tsize_t %s;\n", pdata_size_name.c_str()); -/* pData */ +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); size_t* in_pdata_size = pDataSize->GetPointer(); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), *in_pdata_size); @@ -16342,15 +16342,15 @@ void VulkanCppConsumer::Process_vkGetDynamicRenderingTilePropertiesQCOM( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pRenderingInfo */ +// device +// pRenderingInfo std::stringstream stream_prendering_info; std::string prendering_info_struct = GenerateStruct_VkRenderingInfo(stream_prendering_info, pRenderingInfo->GetPointer(), pRenderingInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_prendering_info.str().c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkTilePropertiesQCOM(stream_pproperties, @@ -16379,12 +16379,12 @@ void VulkanCppConsumer::Process_vkGetFramebufferTilePropertiesQCOM( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* framebuffer */ -/* pPropertiesCount */ +// device +// framebuffer +// pPropertiesCount std::string pproperties_count_name = "pPropertiesCount_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint32_t %s;\n", pproperties_count_name.c_str()); -/* pProperties */ +// pProperties std::string pproperties_name = "pProperties_" + std::to_string(this->GetNextId()); std::stringstream stream_pproperties; pproperties_name = GenerateStruct_VkTilePropertiesQCOM(stream_pproperties, @@ -16410,8 +16410,8 @@ void VulkanCppConsumer::Process_vkCmdSetAttachmentFeedbackLoopEnableEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* aspectMask */ +// commandBuffer +// aspectMask pfn_loader_.AddMethodName("vkCmdSetAttachmentFeedbackLoopEnableEXT"); fprintf(file, "\t\tloaded_vkCmdSetAttachmentFeedbackLoopEnableEXT(%s, %s);\n", @@ -16431,9 +16431,9 @@ void VulkanCppConsumer::Process_vkCmdBuildAccelerationStructuresIndirectKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* infoCount */ -/* pInfos */ +// commandBuffer +// infoCount +// pInfos std::stringstream stream_pinfos; std::string pinfos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pInfos->GetMetaStructPointer())> pinfos_pair{ pInfos->GetPointer(), pInfos->GetMetaStructPointer(), infoCount }; @@ -16450,7 +16450,7 @@ void VulkanCppConsumer::Process_vkCmdBuildAccelerationStructuresIndirectKHR( fprintf(file, "\t\tVkAccelerationStructureBuildGeometryInfoKHR %s[] = { %s };\n", pinfos_array.c_str(), pinfos_names.c_str()); } } -/* pIndirectDeviceAddresses */ +// pIndirectDeviceAddresses std::string pindirect_device_addresses_array = "pIndirectDeviceAddresses_" + std::to_string(this->GetNextId()); if (infoCount > 0) { std::string pindirect_device_addresses_values = toStringJoin(pIndirectDeviceAddresses->GetPointer(), @@ -16461,7 +16461,7 @@ void VulkanCppConsumer::Process_vkCmdBuildAccelerationStructuresIndirectKHR( } else { pindirect_device_addresses_array = "NULL"; } -/* pIndirectStrides */ +// pIndirectStrides std::string pindirect_strides_array = "pIndirectStrides_" + std::to_string(this->GetNextId()); if (infoCount > 0) { std::string pindirect_strides_values = toStringJoin(pIndirectStrides->GetPointer(), @@ -16472,7 +16472,7 @@ void VulkanCppConsumer::Process_vkCmdBuildAccelerationStructuresIndirectKHR( } else { pindirect_strides_array = "NULL"; } -/* ppMaxPrimitiveCounts */ +// ppMaxPrimitiveCounts std::string pp_max_primitive_counts_array = "ppMaxPrimitiveCounts_" + std::to_string(this->GetNextId()); if (infoCount > 0) { std::string pp_max_primitive_counts_values = toStringJoin(ppMaxPrimitiveCounts->GetPointer(), @@ -16505,9 +16505,9 @@ void VulkanCppConsumer::Process_vkCmdBuildAccelerationStructuresKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* infoCount */ -/* pInfos */ +// commandBuffer +// infoCount +// pInfos std::stringstream stream_pinfos; std::string pinfos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pInfos->GetMetaStructPointer())> pinfos_pair{ pInfos->GetPointer(), pInfos->GetMetaStructPointer(), infoCount }; @@ -16524,7 +16524,7 @@ void VulkanCppConsumer::Process_vkCmdBuildAccelerationStructuresKHR( fprintf(file, "\t\tVkAccelerationStructureBuildGeometryInfoKHR %s[] = { %s };\n", pinfos_array.c_str(), pinfos_names.c_str()); } } -/* ppBuildRangeInfos */ +// ppBuildRangeInfos std::stringstream stream_pp_build_range_infos; std::string pp_build_range_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(ppBuildRangeInfos->GetMetaStructPointer())> pp_build_range_infos_pair{ ppBuildRangeInfos->GetPointer(), ppBuildRangeInfos->GetMetaStructPointer(), infoCount }; @@ -16559,8 +16559,8 @@ void VulkanCppConsumer::Process_vkCmdCopyAccelerationStructureKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pInfo */ +// commandBuffer +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyAccelerationStructureInfoKHR(stream_pinfo, pInfo->GetPointer(), @@ -16583,8 +16583,8 @@ void VulkanCppConsumer::Process_vkCmdCopyAccelerationStructureToMemoryKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pInfo */ +// commandBuffer +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyAccelerationStructureToMemoryInfoKHR(stream_pinfo, pInfo->GetPointer(), @@ -16607,8 +16607,8 @@ void VulkanCppConsumer::Process_vkCmdCopyMemoryToAccelerationStructureKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pInfo */ +// commandBuffer +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMemoryToAccelerationStructureInfoKHR(stream_pinfo, pInfo->GetPointer(), @@ -16635,9 +16635,9 @@ void VulkanCppConsumer::Process_vkCmdWriteAccelerationStructuresPropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* accelerationStructureCount */ -/* pAccelerationStructures */ +// commandBuffer +// accelerationStructureCount +// pAccelerationStructures std::string pacceleration_structures_array = "NULL"; std::string pacceleration_structures_values = toStringJoin(pAccelerationStructures->GetPointer(), pAccelerationStructures->GetPointer() + accelerationStructureCount, @@ -16649,9 +16649,9 @@ void VulkanCppConsumer::Process_vkCmdWriteAccelerationStructuresPropertiesKHR( pacceleration_structures_array = "pacceleration_structures_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkAccelerationStructureKHR %s[] = { %s };\n", pacceleration_structures_array.c_str(), pacceleration_structures_values.c_str()); } -/* queryType */ -/* queryPool */ -/* firstQuery */ +// queryType +// queryPool +// firstQuery pfn_loader_.AddMethodName("vkCmdWriteAccelerationStructuresPropertiesKHR"); fprintf(file, "\t\tloaded_vkCmdWriteAccelerationStructuresPropertiesKHR(%s, %u, %s, %s, %s, %u);\n", @@ -16674,9 +16674,9 @@ void VulkanCppConsumer::Process_vkCopyAccelerationStructureToMemoryKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* deferredOperation */ -/* pInfo */ +// device +// deferredOperation +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyAccelerationStructureToMemoryInfoKHR(stream_pinfo, pInfo->GetPointer(), @@ -16703,9 +16703,9 @@ void VulkanCppConsumer::Process_vkCopyMemoryToAccelerationStructureKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* deferredOperation */ -/* pInfo */ +// device +// deferredOperation +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkCopyMemoryToAccelerationStructureInfoKHR(stream_pinfo, pInfo->GetPointer(), @@ -16733,16 +16733,16 @@ void VulkanCppConsumer::Process_vkCreateAccelerationStructureKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pCreateInfo */ +// device +// pCreateInfo std::stringstream stream_pcreate_info; std::string pcreate_info_struct = GenerateStruct_VkAccelerationStructureCreateInfoKHR(stream_pcreate_info, pCreateInfo->GetPointer(), pCreateInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcreate_info.str().c_str()); -/* pAllocator */ -/* pAccelerationStructure */ +// pAllocator +// pAccelerationStructure std::string pacceleration_structure_name = "pAccelerationStructure_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR)); AddKnownVariables("VkAccelerationStructureKHR", pacceleration_structure_name, pAccelerationStructure->GetPointer()); if (returnValue == VK_SUCCESS) { @@ -16769,9 +16769,9 @@ void VulkanCppConsumer::Process_vkDestroyAccelerationStructureKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* accelerationStructure */ -/* pAllocator */ +// device +// accelerationStructure +// pAllocator pfn_loader_.AddMethodName("vkDestroyAccelerationStructureKHR"); fprintf(file, "\t\tloaded_vkDestroyAccelerationStructureKHR(%s, %s, %s);\n", @@ -16792,16 +16792,16 @@ void VulkanCppConsumer::Process_vkGetAccelerationStructureBuildSizesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* buildType */ -/* pBuildInfo */ +// device +// buildType +// pBuildInfo std::stringstream stream_pbuild_info; std::string pbuild_info_struct = GenerateStruct_VkAccelerationStructureBuildGeometryInfoKHR(stream_pbuild_info, pBuildInfo->GetPointer(), pBuildInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pbuild_info.str().c_str()); -/* pMaxPrimitiveCounts */ +// pMaxPrimitiveCounts std::string pmax_primitive_counts_array = "pMaxPrimitiveCounts_" + std::to_string(this->GetNextId()); if (pBuildInfo->GetPointer()->geometryCount > 0 && pMaxPrimitiveCounts->GetPointer() != nullptr) { std::string pmax_primitive_counts_values = toStringJoin(pMaxPrimitiveCounts->GetPointer(), @@ -16812,7 +16812,7 @@ void VulkanCppConsumer::Process_vkGetAccelerationStructureBuildSizesKHR( } else { pmax_primitive_counts_array = "NULL"; } -/* pSizeInfo */ +// pSizeInfo std::string psize_info_name = "pSizeInfo_" + std::to_string(this->GetNextId()); std::stringstream stream_psize_info; psize_info_name = GenerateStruct_VkAccelerationStructureBuildSizesInfoKHR(stream_psize_info, @@ -16840,8 +16840,8 @@ void VulkanCppConsumer::Process_vkGetAccelerationStructureDeviceAddressKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pInfo */ +// device +// pInfo std::stringstream stream_pinfo; std::string pinfo_struct = GenerateStruct_VkAccelerationStructureDeviceAddressInfoKHR(stream_pinfo, pInfo->GetPointer(), @@ -16865,15 +16865,15 @@ void VulkanCppConsumer::Process_vkGetDeviceAccelerationStructureCompatibilityKHR { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pVersionInfo */ +// device +// pVersionInfo std::stringstream stream_pversion_info; std::string pversion_info_struct = GenerateStruct_VkAccelerationStructureVersionInfoKHR(stream_pversion_info, pVersionInfo->GetPointer(), pVersionInfo->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pversion_info.str().c_str()); -/* pCompatibility */ +// pCompatibility std::string pcompatibility_name = "pCompatibility_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkAccelerationStructureCompatibilityKHR %s;\n", pcompatibility_name.c_str()); pfn_loader_.AddMethodName("vkGetDeviceAccelerationStructureCompatibilityKHR"); @@ -16899,9 +16899,9 @@ void VulkanCppConsumer::Process_vkWriteAccelerationStructuresPropertiesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* accelerationStructureCount */ -/* pAccelerationStructures */ +// device +// accelerationStructureCount +// pAccelerationStructures std::string pacceleration_structures_array = "NULL"; std::string pacceleration_structures_values = toStringJoin(pAccelerationStructures->GetPointer(), pAccelerationStructures->GetPointer() + accelerationStructureCount, @@ -16913,12 +16913,12 @@ void VulkanCppConsumer::Process_vkWriteAccelerationStructuresPropertiesKHR( pacceleration_structures_array = "pacceleration_structures_array_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tVkAccelerationStructureKHR %s[] = { %s };\n", pacceleration_structures_array.c_str(), pacceleration_structures_values.c_str()); } -/* queryType */ -/* dataSize */ -/* pData */ +// queryType +// dataSize +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), dataSize); -/* stride */ +// stride pfn_loader_.AddMethodName("vkWriteAccelerationStructuresPropertiesKHR"); fprintf(file, "\t\tVK_CALL_CHECK(loaded_vkWriteAccelerationStructuresPropertiesKHR(%s, %u, %s, %s, %" PRId64 ", %s, %" PRId64 "), %s);\n", @@ -16940,8 +16940,8 @@ void VulkanCppConsumer::Process_vkCmdSetRayTracingPipelineStackSizeKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pipelineStackSize */ +// commandBuffer +// pipelineStackSize pfn_loader_.AddMethodName("vkCmdSetRayTracingPipelineStackSizeKHR"); fprintf(file, "\t\tloaded_vkCmdSetRayTracingPipelineStackSizeKHR(%s, %u);\n", @@ -16962,36 +16962,36 @@ void VulkanCppConsumer::Process_vkCmdTraceRaysIndirectKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pRaygenShaderBindingTable */ +// commandBuffer +// pRaygenShaderBindingTable std::stringstream stream_praygen_shader_binding_table; std::string praygen_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_praygen_shader_binding_table, pRaygenShaderBindingTable->GetPointer(), pRaygenShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_praygen_shader_binding_table.str().c_str()); -/* pMissShaderBindingTable */ +// pMissShaderBindingTable std::stringstream stream_pmiss_shader_binding_table; std::string pmiss_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_pmiss_shader_binding_table, pMissShaderBindingTable->GetPointer(), pMissShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pmiss_shader_binding_table.str().c_str()); -/* pHitShaderBindingTable */ +// pHitShaderBindingTable std::stringstream stream_phit_shader_binding_table; std::string phit_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_phit_shader_binding_table, pHitShaderBindingTable->GetPointer(), pHitShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_phit_shader_binding_table.str().c_str()); -/* pCallableShaderBindingTable */ +// pCallableShaderBindingTable std::stringstream stream_pcallable_shader_binding_table; std::string pcallable_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_pcallable_shader_binding_table, pCallableShaderBindingTable->GetPointer(), pCallableShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcallable_shader_binding_table.str().c_str()); -/* indirectDeviceAddress */ +// indirectDeviceAddress pfn_loader_.AddMethodName("vkCmdTraceRaysIndirectKHR"); fprintf(file, "\t\tloaded_vkCmdTraceRaysIndirectKHR(%s, &%s, &%s, &%s, &%s, %" PRIu64 "UL);\n", @@ -17018,38 +17018,38 @@ void VulkanCppConsumer::Process_vkCmdTraceRaysKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* pRaygenShaderBindingTable */ +// commandBuffer +// pRaygenShaderBindingTable std::stringstream stream_praygen_shader_binding_table; std::string praygen_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_praygen_shader_binding_table, pRaygenShaderBindingTable->GetPointer(), pRaygenShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_praygen_shader_binding_table.str().c_str()); -/* pMissShaderBindingTable */ +// pMissShaderBindingTable std::stringstream stream_pmiss_shader_binding_table; std::string pmiss_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_pmiss_shader_binding_table, pMissShaderBindingTable->GetPointer(), pMissShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pmiss_shader_binding_table.str().c_str()); -/* pHitShaderBindingTable */ +// pHitShaderBindingTable std::stringstream stream_phit_shader_binding_table; std::string phit_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_phit_shader_binding_table, pHitShaderBindingTable->GetPointer(), pHitShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_phit_shader_binding_table.str().c_str()); -/* pCallableShaderBindingTable */ +// pCallableShaderBindingTable std::stringstream stream_pcallable_shader_binding_table; std::string pcallable_shader_binding_table_struct = GenerateStruct_VkStridedDeviceAddressRegionKHR(stream_pcallable_shader_binding_table, pCallableShaderBindingTable->GetPointer(), pCallableShaderBindingTable->GetMetaStructPointer(), *this); fprintf(file, "%s", stream_pcallable_shader_binding_table.str().c_str()); -/* width */ -/* height */ -/* depth */ +// width +// height +// depth pfn_loader_.AddMethodName("vkCmdTraceRaysKHR"); fprintf(file, "\t\tloaded_vkCmdTraceRaysKHR(%s, &%s, &%s, &%s, &%s, %u, %u, %u);\n", @@ -17078,11 +17078,11 @@ void VulkanCppConsumer::Process_vkCreateRayTracingPipelinesKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* deferredOperation */ -/* pipelineCache */ -/* createInfoCount */ -/* pCreateInfos */ +// device +// deferredOperation +// pipelineCache +// createInfoCount +// pCreateInfos std::stringstream stream_pcreate_infos; std::string pcreate_infos_array = "NULL"; PointerPairContainerGetPointer()), decltype(pCreateInfos->GetMetaStructPointer())> pcreate_infos_pair{ pCreateInfos->GetPointer(), pCreateInfos->GetMetaStructPointer(), createInfoCount }; @@ -17099,8 +17099,8 @@ void VulkanCppConsumer::Process_vkCreateRayTracingPipelinesKHR( fprintf(file, "\t\tVkRayTracingPipelineCreateInfoKHR %s[] = { %s };\n", pcreate_infos_array.c_str(), pcreate_infos_names.c_str()); } } -/* pAllocator */ -/* pPipelines */ +// pAllocator +// pPipelines std::string ppipelines_name = "pPipelines_" + std::to_string(this->GetNextId(VK_OBJECT_TYPE_PIPELINE)); AddKnownVariables("VkPipeline", ppipelines_name, pPipelines->GetPointer(), createInfoCount); if (returnValue == VK_SUCCESS) { @@ -17134,12 +17134,12 @@ void VulkanCppConsumer::Process_vkGetRayTracingCaptureReplayShaderGroupHandlesKH { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipeline */ -/* firstGroup */ -/* groupCount */ -/* dataSize */ -/* pData */ +// device +// pipeline +// firstGroup +// groupCount +// dataSize +// pData std::string pdata_name = "pData_" + std::to_string(this->GetNextId()); fprintf(file, "\t\tuint8_t %s[%" PRId64 "];\n", pdata_name.c_str(), dataSize); pfn_loader_.AddMethodName("vkGetRayTracingCaptureReplayShaderGroupHandlesKHR"); @@ -17166,10 +17166,10 @@ void VulkanCppConsumer::Process_vkGetRayTracingShaderGroupStackSizeKHR( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* device */ -/* pipeline */ -/* group */ -/* groupShader */ +// device +// pipeline +// group +// groupShader pfn_loader_.AddMethodName("vkGetRayTracingShaderGroupStackSizeKHR"); fprintf(file, "\t\tloaded_vkGetRayTracingShaderGroupStackSizeKHR(%s, %s, %u, %s);\n", @@ -17189,10 +17189,10 @@ void VulkanCppConsumer::Process_vkCmdDrawMeshTasksEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* groupCountX */ -/* groupCountY */ -/* groupCountZ */ +// commandBuffer +// groupCountX +// groupCountY +// groupCountZ pfn_loader_.AddMethodName("vkCmdDrawMeshTasksEXT"); fprintf(file, "\t\tloaded_vkCmdDrawMeshTasksEXT(%s, %u, %u, %u);\n", @@ -17216,13 +17216,13 @@ void VulkanCppConsumer::Process_vkCmdDrawMeshTasksIndirectCountEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* countBuffer */ -/* countBufferOffset */ -/* maxDrawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// countBuffer +// countBufferOffset +// maxDrawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawMeshTasksIndirectCountEXT"); fprintf(file, "\t\tloaded_vkCmdDrawMeshTasksIndirectCountEXT(%s, %s, %" PRIu64 "UL, %s, %" PRIu64 "UL, %u, %u);\n", @@ -17247,11 +17247,11 @@ void VulkanCppConsumer::Process_vkCmdDrawMeshTasksIndirectEXT( { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); -/* commandBuffer */ -/* buffer */ -/* offset */ -/* drawCount */ -/* stride */ +// commandBuffer +// buffer +// offset +// drawCount +// stride pfn_loader_.AddMethodName("vkCmdDrawMeshTasksIndirectEXT"); fprintf(file, "\t\tloaded_vkCmdDrawMeshTasksIndirectEXT(%s, %s, %" PRIu64 "UL, %u, %u);\n", diff --git a/framework/generated/generated_vulkan_cpp_structs.cpp b/framework/generated/generated_vulkan_cpp_structs.cpp index 14df8b5f3e..db5588b87d 100644 --- a/framework/generated/generated_vulkan_cpp_structs.cpp +++ b/framework/generated/generated_vulkan_cpp_structs.cpp @@ -41,21 +41,21 @@ std::string GenerateStruct_StdVideoDecodeH264PictureInfo(std::ostream &out, cons &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* seq_parameter_set_id */ +// seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->seq_parameter_set_id) << "," << std::endl; -/* pic_parameter_set_id */ +// pic_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pic_parameter_set_id) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* reserved2 */ +// reserved2 struct_body << "\t\t\t" << std::to_string(structInfo->reserved2) << "," << std::endl; -/* frame_num */ +// frame_num struct_body << "\t\t\t" << structInfo->frame_num << "," << std::endl; -/* idr_pic_id */ +// idr_pic_id struct_body << "\t\t\t" << structInfo->idr_pic_id << "," << std::endl; -/* PicOrderCnt */ +// PicOrderCnt struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->PicOrderCnt[0]), STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH264PictureInfo"); out << "\t\t" << "StdVideoDecodeH264PictureInfo " << variable_name << " {" << std::endl; @@ -67,17 +67,17 @@ std::string GenerateStruct_StdVideoDecodeH264PictureInfo(std::ostream &out, cons std::string GenerateStruct_StdVideoDecodeH264PictureInfoFlags(std::ostream &out, const StdVideoDecodeH264PictureInfoFlags* structInfo, Decoded_StdVideoDecodeH264PictureInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* field_pic_flag */ +// field_pic_flag struct_body << "\t" << structInfo->field_pic_flag << "," << std::endl; -/* is_intra */ +// is_intra struct_body << "\t\t\t" << structInfo->is_intra << "," << std::endl; -/* IdrPicFlag */ +// IdrPicFlag struct_body << "\t\t\t" << structInfo->IdrPicFlag << "," << std::endl; -/* bottom_field_flag */ +// bottom_field_flag struct_body << "\t\t\t" << structInfo->bottom_field_flag << "," << std::endl; -/* is_reference */ +// is_reference struct_body << "\t\t\t" << structInfo->is_reference << "," << std::endl; -/* complementary_field_pair */ +// complementary_field_pair struct_body << "\t\t\t" << structInfo->complementary_field_pair << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH264PictureInfoFlags"); out << "\t\t" << "StdVideoDecodeH264PictureInfoFlags " << variable_name << " {" << std::endl; @@ -93,13 +93,13 @@ std::string GenerateStruct_StdVideoDecodeH264ReferenceInfo(std::ostream &out, co &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* FrameNum */ +// FrameNum struct_body << "\t\t\t" << structInfo->FrameNum << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << "," << std::endl; -/* PicOrderCnt */ +// PicOrderCnt struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->PicOrderCnt[0]), STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH264ReferenceInfo"); out << "\t\t" << "StdVideoDecodeH264ReferenceInfo " << variable_name << " {" << std::endl; @@ -111,13 +111,13 @@ std::string GenerateStruct_StdVideoDecodeH264ReferenceInfo(std::ostream &out, co std::string GenerateStruct_StdVideoDecodeH264ReferenceInfoFlags(std::ostream &out, const StdVideoDecodeH264ReferenceInfoFlags* structInfo, Decoded_StdVideoDecodeH264ReferenceInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* top_field_flag */ +// top_field_flag struct_body << "\t" << structInfo->top_field_flag << "," << std::endl; -/* bottom_field_flag */ +// bottom_field_flag struct_body << "\t\t\t" << structInfo->bottom_field_flag << "," << std::endl; -/* used_for_long_term_reference */ +// used_for_long_term_reference struct_body << "\t\t\t" << structInfo->used_for_long_term_reference << "," << std::endl; -/* is_non_existing */ +// is_non_existing struct_body << "\t\t\t" << structInfo->is_non_existing << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH264ReferenceInfoFlags"); out << "\t\t" << "StdVideoDecodeH264ReferenceInfoFlags " << variable_name << " {" << std::endl; @@ -133,27 +133,27 @@ std::string GenerateStruct_StdVideoDecodeH265PictureInfo(std::ostream &out, cons &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* sps_video_parameter_set_id */ +// sps_video_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->sps_video_parameter_set_id) << "," << std::endl; -/* pps_seq_parameter_set_id */ +// pps_seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pps_seq_parameter_set_id) << "," << std::endl; -/* pps_pic_parameter_set_id */ +// pps_pic_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pps_pic_parameter_set_id) << "," << std::endl; -/* NumDeltaPocsOfRefRpsIdx */ +// NumDeltaPocsOfRefRpsIdx struct_body << "\t\t\t" << std::to_string(structInfo->NumDeltaPocsOfRefRpsIdx) << "," << std::endl; -/* PicOrderCntVal */ +// PicOrderCntVal struct_body << "\t\t\t" << structInfo->PicOrderCntVal << "," << std::endl; -/* NumBitsForSTRefPicSetInSlice */ +// NumBitsForSTRefPicSetInSlice struct_body << "\t\t\t" << structInfo->NumBitsForSTRefPicSetInSlice << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << "," << std::endl; -/* RefPicSetStCurrBefore */ +// RefPicSetStCurrBefore struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->RefPicSetStCurrBefore[0]), STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE) << "," << std::endl; -/* RefPicSetStCurrAfter */ +// RefPicSetStCurrAfter struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->RefPicSetStCurrAfter[0]), STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE) << "," << std::endl; -/* RefPicSetLtCurr */ +// RefPicSetLtCurr struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->RefPicSetLtCurr[0]), STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH265PictureInfo"); out << "\t\t" << "StdVideoDecodeH265PictureInfo " << variable_name << " {" << std::endl; @@ -165,13 +165,13 @@ std::string GenerateStruct_StdVideoDecodeH265PictureInfo(std::ostream &out, cons std::string GenerateStruct_StdVideoDecodeH265PictureInfoFlags(std::ostream &out, const StdVideoDecodeH265PictureInfoFlags* structInfo, Decoded_StdVideoDecodeH265PictureInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* IrapPicFlag */ +// IrapPicFlag struct_body << "\t" << structInfo->IrapPicFlag << "," << std::endl; -/* IdrPicFlag */ +// IdrPicFlag struct_body << "\t\t\t" << structInfo->IdrPicFlag << "," << std::endl; -/* IsReference */ +// IsReference struct_body << "\t\t\t" << structInfo->IsReference << "," << std::endl; -/* short_term_ref_pic_set_sps_flag */ +// short_term_ref_pic_set_sps_flag struct_body << "\t\t\t" << structInfo->short_term_ref_pic_set_sps_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH265PictureInfoFlags"); out << "\t\t" << "StdVideoDecodeH265PictureInfoFlags " << variable_name << " {" << std::endl; @@ -187,9 +187,9 @@ std::string GenerateStruct_StdVideoDecodeH265ReferenceInfo(std::ostream &out, co &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* PicOrderCntVal */ +// PicOrderCntVal struct_body << "\t\t\t" << structInfo->PicOrderCntVal << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH265ReferenceInfo"); out << "\t\t" << "StdVideoDecodeH265ReferenceInfo " << variable_name << " {" << std::endl; @@ -201,9 +201,9 @@ std::string GenerateStruct_StdVideoDecodeH265ReferenceInfo(std::ostream &out, co std::string GenerateStruct_StdVideoDecodeH265ReferenceInfoFlags(std::ostream &out, const StdVideoDecodeH265ReferenceInfoFlags* structInfo, Decoded_StdVideoDecodeH265ReferenceInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* used_for_long_term_reference */ +// used_for_long_term_reference struct_body << "\t" << structInfo->used_for_long_term_reference << "," << std::endl; -/* unused_for_reference */ +// unused_for_reference struct_body << "\t\t\t" << structInfo->unused_for_reference << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoDecodeH265ReferenceInfoFlags"); out << "\t\t" << "StdVideoDecodeH265ReferenceInfoFlags " << variable_name << " {" << std::endl; @@ -227,25 +227,25 @@ std::string GenerateStruct_StdVideoEncodeH264PictureInfo(std::ostream &out, cons consumer); pref_lists_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* seq_parameter_set_id */ +// seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->seq_parameter_set_id) << "," << std::endl; -/* pic_parameter_set_id */ +// pic_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pic_parameter_set_id) << "," << std::endl; -/* idr_pic_id */ +// idr_pic_id struct_body << "\t\t\t" << structInfo->idr_pic_id << "," << std::endl; -/* primary_pic_type */ +// primary_pic_type struct_body << "\t\t\t" << "StdVideoH264PictureType(" << structInfo->primary_pic_type << ")" << "," << std::endl; -/* frame_num */ +// frame_num struct_body << "\t\t\t" << structInfo->frame_num << "," << std::endl; -/* PicOrderCnt */ +// PicOrderCnt struct_body << "\t\t\t" << structInfo->PicOrderCnt << "," << std::endl; -/* temporal_id */ +// temporal_id struct_body << "\t\t\t" << std::to_string(structInfo->temporal_id) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->reserved1[0]), 3) << "," << std::endl; -/* pRefLists */ +// pRefLists struct_body << "\t\t\t" << pref_lists_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264PictureInfo"); out << "\t\t" << "StdVideoEncodeH264PictureInfo " << variable_name << " {" << std::endl; @@ -257,17 +257,17 @@ std::string GenerateStruct_StdVideoEncodeH264PictureInfo(std::ostream &out, cons std::string GenerateStruct_StdVideoEncodeH264PictureInfoFlags(std::ostream &out, const StdVideoEncodeH264PictureInfoFlags* structInfo, Decoded_StdVideoEncodeH264PictureInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* IdrPicFlag */ +// IdrPicFlag struct_body << "\t" << structInfo->IdrPicFlag << "," << std::endl; -/* is_reference */ +// is_reference struct_body << "\t\t\t" << structInfo->is_reference << "," << std::endl; -/* no_output_of_prior_pics_flag */ +// no_output_of_prior_pics_flag struct_body << "\t\t\t" << structInfo->no_output_of_prior_pics_flag << "," << std::endl; -/* long_term_reference_flag */ +// long_term_reference_flag struct_body << "\t\t\t" << structInfo->long_term_reference_flag << "," << std::endl; -/* adaptive_ref_pic_marking_mode_flag */ +// adaptive_ref_pic_marking_mode_flag struct_body << "\t\t\t" << structInfo->adaptive_ref_pic_marking_mode_flag << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264PictureInfoFlags"); out << "\t\t" << "StdVideoEncodeH264PictureInfoFlags " << variable_name << " {" << std::endl; @@ -279,11 +279,11 @@ std::string GenerateStruct_StdVideoEncodeH264PictureInfoFlags(std::ostream &out, std::string GenerateStruct_StdVideoEncodeH264RefListModEntry(std::ostream &out, const StdVideoEncodeH264RefListModEntry* structInfo, Decoded_StdVideoEncodeH264RefListModEntry* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* modification_of_pic_nums_idc */ +// modification_of_pic_nums_idc struct_body << "\t" << "StdVideoH264ModificationOfPicNumsIdc(" << structInfo->modification_of_pic_nums_idc << ")" << "," << std::endl; -/* abs_diff_pic_num_minus1 */ +// abs_diff_pic_num_minus1 struct_body << "\t\t\t" << structInfo->abs_diff_pic_num_minus1 << "," << std::endl; -/* long_term_pic_num */ +// long_term_pic_num struct_body << "\t\t\t" << structInfo->long_term_pic_num << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264RefListModEntry"); out << "\t\t" << "StdVideoEncodeH264RefListModEntry " << variable_name << " {" << std::endl; @@ -295,15 +295,15 @@ std::string GenerateStruct_StdVideoEncodeH264RefListModEntry(std::ostream &out, std::string GenerateStruct_StdVideoEncodeH264RefPicMarkingEntry(std::ostream &out, const StdVideoEncodeH264RefPicMarkingEntry* structInfo, Decoded_StdVideoEncodeH264RefPicMarkingEntry* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* memory_management_control_operation */ +// memory_management_control_operation struct_body << "\t" << "StdVideoH264MemMgmtControlOp(" << structInfo->memory_management_control_operation << ")" << "," << std::endl; -/* difference_of_pic_nums_minus1 */ +// difference_of_pic_nums_minus1 struct_body << "\t\t\t" << structInfo->difference_of_pic_nums_minus1 << "," << std::endl; -/* long_term_pic_num */ +// long_term_pic_num struct_body << "\t\t\t" << structInfo->long_term_pic_num << "," << std::endl; -/* long_term_frame_idx */ +// long_term_frame_idx struct_body << "\t\t\t" << structInfo->long_term_frame_idx << "," << std::endl; -/* max_long_term_frame_idx_plus1 */ +// max_long_term_frame_idx_plus1 struct_body << "\t\t\t" << structInfo->max_long_term_frame_idx_plus1 << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264RefPicMarkingEntry"); out << "\t\t" << "StdVideoEncodeH264RefPicMarkingEntry " << variable_name << " {" << std::endl; @@ -319,19 +319,19 @@ std::string GenerateStruct_StdVideoEncodeH264ReferenceInfo(std::ostream &out, co &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* primary_pic_type */ +// primary_pic_type struct_body << "\t\t\t" << "StdVideoH264PictureType(" << structInfo->primary_pic_type << ")" << "," << std::endl; -/* FrameNum */ +// FrameNum struct_body << "\t\t\t" << structInfo->FrameNum << "," << std::endl; -/* PicOrderCnt */ +// PicOrderCnt struct_body << "\t\t\t" << structInfo->PicOrderCnt << "," << std::endl; -/* long_term_pic_num */ +// long_term_pic_num struct_body << "\t\t\t" << structInfo->long_term_pic_num << "," << std::endl; -/* long_term_frame_idx */ +// long_term_frame_idx struct_body << "\t\t\t" << structInfo->long_term_frame_idx << "," << std::endl; -/* temporal_id */ +// temporal_id struct_body << "\t\t\t" << std::to_string(structInfo->temporal_id) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264ReferenceInfo"); out << "\t\t" << "StdVideoEncodeH264ReferenceInfo " << variable_name << " {" << std::endl; @@ -343,9 +343,9 @@ std::string GenerateStruct_StdVideoEncodeH264ReferenceInfo(std::ostream &out, co std::string GenerateStruct_StdVideoEncodeH264ReferenceInfoFlags(std::ostream &out, const StdVideoEncodeH264ReferenceInfoFlags* structInfo, Decoded_StdVideoEncodeH264ReferenceInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* used_for_long_term_reference */ +// used_for_long_term_reference struct_body << "\t" << structInfo->used_for_long_term_reference << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264ReferenceInfoFlags"); out << "\t\t" << "StdVideoEncodeH264ReferenceInfoFlags " << variable_name << " {" << std::endl; @@ -385,29 +385,29 @@ std::string GenerateStruct_StdVideoEncodeH264ReferenceListsInfo(std::ostream &ou consumer); pref_pic_marking_operations_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* num_ref_idx_l0_active_minus1 */ +// num_ref_idx_l0_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l0_active_minus1) << "," << std::endl; -/* num_ref_idx_l1_active_minus1 */ +// num_ref_idx_l1_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l1_active_minus1) << "," << std::endl; -/* RefPicList0 */ +// RefPicList0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->RefPicList0[0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* RefPicList1 */ +// RefPicList1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->RefPicList1[0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* refList0ModOpCount */ +// refList0ModOpCount struct_body << "\t\t\t" << std::to_string(structInfo->refList0ModOpCount) << "," << std::endl; -/* refList1ModOpCount */ +// refList1ModOpCount struct_body << "\t\t\t" << std::to_string(structInfo->refList1ModOpCount) << "," << std::endl; -/* refPicMarkingOpCount */ +// refPicMarkingOpCount struct_body << "\t\t\t" << std::to_string(structInfo->refPicMarkingOpCount) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->reserved1[0]), 7) << "," << std::endl; -/* pRefList0ModOperations */ +// pRefList0ModOperations struct_body << "\t\t\t" << pref_list0_mod_operations_struct << "," << std::endl; -/* pRefList1ModOperations */ +// pRefList1ModOperations struct_body << "\t\t\t" << pref_list1_mod_operations_struct << "," << std::endl; -/* pRefPicMarkingOperations */ +// pRefPicMarkingOperations struct_body << "\t\t\t" << pref_pic_marking_operations_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264ReferenceListsInfo"); out << "\t\t" << "StdVideoEncodeH264ReferenceListsInfo " << variable_name << " {" << std::endl; @@ -419,11 +419,11 @@ std::string GenerateStruct_StdVideoEncodeH264ReferenceListsInfo(std::ostream &ou std::string GenerateStruct_StdVideoEncodeH264ReferenceListsInfoFlags(std::ostream &out, const StdVideoEncodeH264ReferenceListsInfoFlags* structInfo, Decoded_StdVideoEncodeH264ReferenceListsInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* ref_pic_list_modification_flag_l0 */ +// ref_pic_list_modification_flag_l0 struct_body << "\t" << structInfo->ref_pic_list_modification_flag_l0 << "," << std::endl; -/* ref_pic_list_modification_flag_l1 */ +// ref_pic_list_modification_flag_l1 struct_body << "\t\t\t" << structInfo->ref_pic_list_modification_flag_l1 << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264ReferenceListsInfoFlags"); out << "\t\t" << "StdVideoEncodeH264ReferenceListsInfoFlags " << variable_name << " {" << std::endl; @@ -447,25 +447,25 @@ std::string GenerateStruct_StdVideoEncodeH264SliceHeader(std::ostream &out, cons consumer); pweight_table_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* first_mb_in_slice */ +// first_mb_in_slice struct_body << "\t\t\t" << structInfo->first_mb_in_slice << "," << std::endl; -/* slice_type */ +// slice_type struct_body << "\t\t\t" << "StdVideoH264SliceType(" << structInfo->slice_type << ")" << "," << std::endl; -/* slice_alpha_c0_offset_div2 */ +// slice_alpha_c0_offset_div2 struct_body << "\t\t\t" << std::to_string(structInfo->slice_alpha_c0_offset_div2) << "," << std::endl; -/* slice_beta_offset_div2 */ +// slice_beta_offset_div2 struct_body << "\t\t\t" << std::to_string(structInfo->slice_beta_offset_div2) << "," << std::endl; -/* slice_qp_delta */ +// slice_qp_delta struct_body << "\t\t\t" << std::to_string(structInfo->slice_qp_delta) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* cabac_init_idc */ +// cabac_init_idc struct_body << "\t\t\t" << "StdVideoH264CabacInitIdc(" << structInfo->cabac_init_idc << ")" << "," << std::endl; -/* disable_deblocking_filter_idc */ +// disable_deblocking_filter_idc struct_body << "\t\t\t" << "StdVideoH264DisableDeblockingFilterIdc(" << structInfo->disable_deblocking_filter_idc << ")" << "," << std::endl; -/* pWeightTable */ +// pWeightTable struct_body << "\t\t\t" << pweight_table_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264SliceHeader"); out << "\t\t" << "StdVideoEncodeH264SliceHeader " << variable_name << " {" << std::endl; @@ -477,11 +477,11 @@ std::string GenerateStruct_StdVideoEncodeH264SliceHeader(std::ostream &out, cons std::string GenerateStruct_StdVideoEncodeH264SliceHeaderFlags(std::ostream &out, const StdVideoEncodeH264SliceHeaderFlags* structInfo, Decoded_StdVideoEncodeH264SliceHeaderFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* direct_spatial_mv_pred_flag */ +// direct_spatial_mv_pred_flag struct_body << "\t" << structInfo->direct_spatial_mv_pred_flag << "," << std::endl; -/* num_ref_idx_active_override_flag */ +// num_ref_idx_active_override_flag struct_body << "\t\t\t" << structInfo->num_ref_idx_active_override_flag << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264SliceHeaderFlags"); out << "\t\t" << "StdVideoEncodeH264SliceHeaderFlags " << variable_name << " {" << std::endl; @@ -497,27 +497,27 @@ std::string GenerateStruct_StdVideoEncodeH264WeightTable(std::ostream &out, cons &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* luma_log2_weight_denom */ +// luma_log2_weight_denom struct_body << "\t\t\t" << std::to_string(structInfo->luma_log2_weight_denom) << "," << std::endl; -/* chroma_log2_weight_denom */ +// chroma_log2_weight_denom struct_body << "\t\t\t" << std::to_string(structInfo->chroma_log2_weight_denom) << "," << std::endl; -/* luma_weight_l0 */ +// luma_weight_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->luma_weight_l0[0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* luma_offset_l0 */ +// luma_offset_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->luma_offset_l0[0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* chroma_weight_l0 */ +// chroma_weight_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->chroma_weight_l0[0][0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* chroma_offset_l0 */ +// chroma_offset_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->chroma_offset_l0[0][0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* luma_weight_l1 */ +// luma_weight_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->luma_weight_l1[0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* luma_offset_l1 */ +// luma_offset_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->luma_offset_l1[0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* chroma_weight_l1 */ +// chroma_weight_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->chroma_weight_l1[0][0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << "," << std::endl; -/* chroma_offset_l1 */ +// chroma_offset_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->chroma_offset_l1[0][0]), STD_VIDEO_H264_MAX_NUM_LIST_REF) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264WeightTable"); out << "\t\t" << "StdVideoEncodeH264WeightTable " << variable_name << " {" << std::endl; @@ -529,13 +529,13 @@ std::string GenerateStruct_StdVideoEncodeH264WeightTable(std::ostream &out, cons std::string GenerateStruct_StdVideoEncodeH264WeightTableFlags(std::ostream &out, const StdVideoEncodeH264WeightTableFlags* structInfo, Decoded_StdVideoEncodeH264WeightTableFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* luma_weight_l0_flag */ +// luma_weight_l0_flag struct_body << "\t" << structInfo->luma_weight_l0_flag << "," << std::endl; -/* chroma_weight_l0_flag */ +// chroma_weight_l0_flag struct_body << "\t\t\t" << structInfo->chroma_weight_l0_flag << "," << std::endl; -/* luma_weight_l1_flag */ +// luma_weight_l1_flag struct_body << "\t\t\t" << structInfo->luma_weight_l1_flag << "," << std::endl; -/* chroma_weight_l1_flag */ +// chroma_weight_l1_flag struct_body << "\t\t\t" << structInfo->chroma_weight_l1_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH264WeightTableFlags"); out << "\t\t" << "StdVideoEncodeH264WeightTableFlags " << variable_name << " {" << std::endl; @@ -547,19 +547,19 @@ std::string GenerateStruct_StdVideoEncodeH264WeightTableFlags(std::ostream &out, std::string GenerateStruct_StdVideoEncodeH265LongTermRefPics(std::ostream &out, const StdVideoEncodeH265LongTermRefPics* structInfo, Decoded_StdVideoEncodeH265LongTermRefPics* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* num_long_term_sps */ +// num_long_term_sps struct_body << "\t" << std::to_string(structInfo->num_long_term_sps) << "," << std::endl; -/* num_long_term_pics */ +// num_long_term_pics struct_body << "\t\t\t" << std::to_string(structInfo->num_long_term_pics) << "," << std::endl; -/* lt_idx_sps */ +// lt_idx_sps struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->lt_idx_sps[0]), STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS) << "," << std::endl; -/* poc_lsb_lt */ +// poc_lsb_lt struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->poc_lsb_lt[0]), STD_VIDEO_H265_MAX_LONG_TERM_PICS) << "," << std::endl; -/* used_by_curr_pic_lt_flag */ +// used_by_curr_pic_lt_flag struct_body << "\t\t\t" << structInfo->used_by_curr_pic_lt_flag << "," << std::endl; -/* delta_poc_msb_present_flag */ +// delta_poc_msb_present_flag struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_poc_msb_present_flag[0]), STD_VIDEO_H265_MAX_DELTA_POC) << "," << std::endl; -/* delta_poc_msb_cycle_lt */ +// delta_poc_msb_cycle_lt struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_poc_msb_cycle_lt[0]), STD_VIDEO_H265_MAX_DELTA_POC) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265LongTermRefPics"); out << "\t\t" << "StdVideoEncodeH265LongTermRefPics " << variable_name << " {" << std::endl; @@ -599,29 +599,29 @@ std::string GenerateStruct_StdVideoEncodeH265PictureInfo(std::ostream &out, cons consumer); plong_term_ref_pics_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* pic_type */ +// pic_type struct_body << "\t\t\t" << "StdVideoH265PictureType(" << structInfo->pic_type << ")" << "," << std::endl; -/* sps_video_parameter_set_id */ +// sps_video_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->sps_video_parameter_set_id) << "," << std::endl; -/* pps_seq_parameter_set_id */ +// pps_seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pps_seq_parameter_set_id) << "," << std::endl; -/* pps_pic_parameter_set_id */ +// pps_pic_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pps_pic_parameter_set_id) << "," << std::endl; -/* short_term_ref_pic_set_idx */ +// short_term_ref_pic_set_idx struct_body << "\t\t\t" << std::to_string(structInfo->short_term_ref_pic_set_idx) << "," << std::endl; -/* PicOrderCntVal */ +// PicOrderCntVal struct_body << "\t\t\t" << structInfo->PicOrderCntVal << "," << std::endl; -/* TemporalId */ +// TemporalId struct_body << "\t\t\t" << std::to_string(structInfo->TemporalId) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->reserved1[0]), 7) << "," << std::endl; -/* pRefLists */ +// pRefLists struct_body << "\t\t\t" << pref_lists_struct << "," << std::endl; -/* pShortTermRefPicSet */ +// pShortTermRefPicSet struct_body << "\t\t\t" << pshort_term_ref_pic_set_struct << "," << std::endl; -/* pLongTermRefPics */ +// pLongTermRefPics struct_body << "\t\t\t" << plong_term_ref_pics_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265PictureInfo"); out << "\t\t" << "StdVideoEncodeH265PictureInfo " << variable_name << " {" << std::endl; @@ -633,25 +633,25 @@ std::string GenerateStruct_StdVideoEncodeH265PictureInfo(std::ostream &out, cons std::string GenerateStruct_StdVideoEncodeH265PictureInfoFlags(std::ostream &out, const StdVideoEncodeH265PictureInfoFlags* structInfo, Decoded_StdVideoEncodeH265PictureInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* is_reference */ +// is_reference struct_body << "\t" << structInfo->is_reference << "," << std::endl; -/* IrapPicFlag */ +// IrapPicFlag struct_body << "\t\t\t" << structInfo->IrapPicFlag << "," << std::endl; -/* used_for_long_term_reference */ +// used_for_long_term_reference struct_body << "\t\t\t" << structInfo->used_for_long_term_reference << "," << std::endl; -/* discardable_flag */ +// discardable_flag struct_body << "\t\t\t" << structInfo->discardable_flag << "," << std::endl; -/* cross_layer_bla_flag */ +// cross_layer_bla_flag struct_body << "\t\t\t" << structInfo->cross_layer_bla_flag << "," << std::endl; -/* pic_output_flag */ +// pic_output_flag struct_body << "\t\t\t" << structInfo->pic_output_flag << "," << std::endl; -/* no_output_of_prior_pics_flag */ +// no_output_of_prior_pics_flag struct_body << "\t\t\t" << structInfo->no_output_of_prior_pics_flag << "," << std::endl; -/* short_term_ref_pic_set_sps_flag */ +// short_term_ref_pic_set_sps_flag struct_body << "\t\t\t" << structInfo->short_term_ref_pic_set_sps_flag << "," << std::endl; -/* slice_temporal_mvp_enabled_flag */ +// slice_temporal_mvp_enabled_flag struct_body << "\t\t\t" << structInfo->slice_temporal_mvp_enabled_flag << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265PictureInfoFlags"); out << "\t\t" << "StdVideoEncodeH265PictureInfoFlags " << variable_name << " {" << std::endl; @@ -667,13 +667,13 @@ std::string GenerateStruct_StdVideoEncodeH265ReferenceInfo(std::ostream &out, co &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* pic_type */ +// pic_type struct_body << "\t\t\t" << "StdVideoH265PictureType(" << structInfo->pic_type << ")" << "," << std::endl; -/* PicOrderCntVal */ +// PicOrderCntVal struct_body << "\t\t\t" << structInfo->PicOrderCntVal << "," << std::endl; -/* TemporalId */ +// TemporalId struct_body << "\t\t\t" << std::to_string(structInfo->TemporalId) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265ReferenceInfo"); out << "\t\t" << "StdVideoEncodeH265ReferenceInfo " << variable_name << " {" << std::endl; @@ -685,11 +685,11 @@ std::string GenerateStruct_StdVideoEncodeH265ReferenceInfo(std::ostream &out, co std::string GenerateStruct_StdVideoEncodeH265ReferenceInfoFlags(std::ostream &out, const StdVideoEncodeH265ReferenceInfoFlags* structInfo, Decoded_StdVideoEncodeH265ReferenceInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* used_for_long_term_reference */ +// used_for_long_term_reference struct_body << "\t" << structInfo->used_for_long_term_reference << "," << std::endl; -/* unused_for_reference */ +// unused_for_reference struct_body << "\t\t\t" << structInfo->unused_for_reference << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265ReferenceInfoFlags"); out << "\t\t" << "StdVideoEncodeH265ReferenceInfoFlags " << variable_name << " {" << std::endl; @@ -705,19 +705,19 @@ std::string GenerateStruct_StdVideoEncodeH265ReferenceListsInfo(std::ostream &ou &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* num_ref_idx_l0_active_minus1 */ +// num_ref_idx_l0_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l0_active_minus1) << "," << std::endl; -/* num_ref_idx_l1_active_minus1 */ +// num_ref_idx_l1_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l1_active_minus1) << "," << std::endl; -/* RefPicList0 */ +// RefPicList0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->RefPicList0[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* RefPicList1 */ +// RefPicList1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->RefPicList1[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* list_entry_l0 */ +// list_entry_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->list_entry_l0[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* list_entry_l1 */ +// list_entry_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->list_entry_l1[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265ReferenceListsInfo"); out << "\t\t" << "StdVideoEncodeH265ReferenceListsInfo " << variable_name << " {" << std::endl; @@ -729,11 +729,11 @@ std::string GenerateStruct_StdVideoEncodeH265ReferenceListsInfo(std::ostream &ou std::string GenerateStruct_StdVideoEncodeH265ReferenceListsInfoFlags(std::ostream &out, const StdVideoEncodeH265ReferenceListsInfoFlags* structInfo, Decoded_StdVideoEncodeH265ReferenceListsInfoFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* ref_pic_list_modification_flag_l0 */ +// ref_pic_list_modification_flag_l0 struct_body << "\t" << structInfo->ref_pic_list_modification_flag_l0 << "," << std::endl; -/* ref_pic_list_modification_flag_l1 */ +// ref_pic_list_modification_flag_l1 struct_body << "\t\t\t" << structInfo->ref_pic_list_modification_flag_l1 << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265ReferenceListsInfoFlags"); out << "\t\t" << "StdVideoEncodeH265ReferenceListsInfoFlags " << variable_name << " {" << std::endl; @@ -757,35 +757,35 @@ std::string GenerateStruct_StdVideoEncodeH265SliceSegmentHeader(std::ostream &ou consumer); pweight_table_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* slice_type */ +// slice_type struct_body << "\t\t\t" << "StdVideoH265SliceType(" << structInfo->slice_type << ")" << "," << std::endl; -/* slice_segment_address */ +// slice_segment_address struct_body << "\t\t\t" << structInfo->slice_segment_address << "," << std::endl; -/* collocated_ref_idx */ +// collocated_ref_idx struct_body << "\t\t\t" << std::to_string(structInfo->collocated_ref_idx) << "," << std::endl; -/* MaxNumMergeCand */ +// MaxNumMergeCand struct_body << "\t\t\t" << std::to_string(structInfo->MaxNumMergeCand) << "," << std::endl; -/* slice_cb_qp_offset */ +// slice_cb_qp_offset struct_body << "\t\t\t" << std::to_string(structInfo->slice_cb_qp_offset) << "," << std::endl; -/* slice_cr_qp_offset */ +// slice_cr_qp_offset struct_body << "\t\t\t" << std::to_string(structInfo->slice_cr_qp_offset) << "," << std::endl; -/* slice_beta_offset_div2 */ +// slice_beta_offset_div2 struct_body << "\t\t\t" << std::to_string(structInfo->slice_beta_offset_div2) << "," << std::endl; -/* slice_tc_offset_div2 */ +// slice_tc_offset_div2 struct_body << "\t\t\t" << std::to_string(structInfo->slice_tc_offset_div2) << "," << std::endl; -/* slice_act_y_qp_offset */ +// slice_act_y_qp_offset struct_body << "\t\t\t" << std::to_string(structInfo->slice_act_y_qp_offset) << "," << std::endl; -/* slice_act_cb_qp_offset */ +// slice_act_cb_qp_offset struct_body << "\t\t\t" << std::to_string(structInfo->slice_act_cb_qp_offset) << "," << std::endl; -/* slice_act_cr_qp_offset */ +// slice_act_cr_qp_offset struct_body << "\t\t\t" << std::to_string(structInfo->slice_act_cr_qp_offset) << "," << std::endl; -/* slice_qp_delta */ +// slice_qp_delta struct_body << "\t\t\t" << std::to_string(structInfo->slice_qp_delta) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << structInfo->reserved1 << "," << std::endl; -/* pWeightTable */ +// pWeightTable struct_body << "\t\t\t" << pweight_table_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265SliceSegmentHeader"); out << "\t\t" << "StdVideoEncodeH265SliceSegmentHeader " << variable_name << " {" << std::endl; @@ -797,31 +797,31 @@ std::string GenerateStruct_StdVideoEncodeH265SliceSegmentHeader(std::ostream &ou std::string GenerateStruct_StdVideoEncodeH265SliceSegmentHeaderFlags(std::ostream &out, const StdVideoEncodeH265SliceSegmentHeaderFlags* structInfo, Decoded_StdVideoEncodeH265SliceSegmentHeaderFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* first_slice_segment_in_pic_flag */ +// first_slice_segment_in_pic_flag struct_body << "\t" << structInfo->first_slice_segment_in_pic_flag << "," << std::endl; -/* dependent_slice_segment_flag */ +// dependent_slice_segment_flag struct_body << "\t\t\t" << structInfo->dependent_slice_segment_flag << "," << std::endl; -/* slice_sao_luma_flag */ +// slice_sao_luma_flag struct_body << "\t\t\t" << structInfo->slice_sao_luma_flag << "," << std::endl; -/* slice_sao_chroma_flag */ +// slice_sao_chroma_flag struct_body << "\t\t\t" << structInfo->slice_sao_chroma_flag << "," << std::endl; -/* num_ref_idx_active_override_flag */ +// num_ref_idx_active_override_flag struct_body << "\t\t\t" << structInfo->num_ref_idx_active_override_flag << "," << std::endl; -/* mvd_l1_zero_flag */ +// mvd_l1_zero_flag struct_body << "\t\t\t" << structInfo->mvd_l1_zero_flag << "," << std::endl; -/* cabac_init_flag */ +// cabac_init_flag struct_body << "\t\t\t" << structInfo->cabac_init_flag << "," << std::endl; -/* cu_chroma_qp_offset_enabled_flag */ +// cu_chroma_qp_offset_enabled_flag struct_body << "\t\t\t" << structInfo->cu_chroma_qp_offset_enabled_flag << "," << std::endl; -/* deblocking_filter_override_flag */ +// deblocking_filter_override_flag struct_body << "\t\t\t" << structInfo->deblocking_filter_override_flag << "," << std::endl; -/* slice_deblocking_filter_disabled_flag */ +// slice_deblocking_filter_disabled_flag struct_body << "\t\t\t" << structInfo->slice_deblocking_filter_disabled_flag << "," << std::endl; -/* collocated_from_l0_flag */ +// collocated_from_l0_flag struct_body << "\t\t\t" << structInfo->collocated_from_l0_flag << "," << std::endl; -/* slice_loop_filter_across_slices_enabled_flag */ +// slice_loop_filter_across_slices_enabled_flag struct_body << "\t\t\t" << structInfo->slice_loop_filter_across_slices_enabled_flag << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << structInfo->reserved << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265SliceSegmentHeaderFlags"); out << "\t\t" << "StdVideoEncodeH265SliceSegmentHeaderFlags " << variable_name << " {" << std::endl; @@ -837,27 +837,27 @@ std::string GenerateStruct_StdVideoEncodeH265WeightTable(std::ostream &out, cons &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* luma_log2_weight_denom */ +// luma_log2_weight_denom struct_body << "\t\t\t" << std::to_string(structInfo->luma_log2_weight_denom) << "," << std::endl; -/* delta_chroma_log2_weight_denom */ +// delta_chroma_log2_weight_denom struct_body << "\t\t\t" << std::to_string(structInfo->delta_chroma_log2_weight_denom) << "," << std::endl; -/* delta_luma_weight_l0 */ +// delta_luma_weight_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_luma_weight_l0[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* luma_offset_l0 */ +// luma_offset_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->luma_offset_l0[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* delta_chroma_weight_l0 */ +// delta_chroma_weight_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_chroma_weight_l0[0][0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* delta_chroma_offset_l0 */ +// delta_chroma_offset_l0 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_chroma_offset_l0[0][0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* delta_luma_weight_l1 */ +// delta_luma_weight_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_luma_weight_l1[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* luma_offset_l1 */ +// luma_offset_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->luma_offset_l1[0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* delta_chroma_weight_l1 */ +// delta_chroma_weight_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_chroma_weight_l1[0][0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << "," << std::endl; -/* delta_chroma_offset_l1 */ +// delta_chroma_offset_l1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_chroma_offset_l1[0][0]), STD_VIDEO_H265_MAX_NUM_LIST_REF) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265WeightTable"); out << "\t\t" << "StdVideoEncodeH265WeightTable " << variable_name << " {" << std::endl; @@ -869,13 +869,13 @@ std::string GenerateStruct_StdVideoEncodeH265WeightTable(std::ostream &out, cons std::string GenerateStruct_StdVideoEncodeH265WeightTableFlags(std::ostream &out, const StdVideoEncodeH265WeightTableFlags* structInfo, Decoded_StdVideoEncodeH265WeightTableFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* luma_weight_l0_flag */ +// luma_weight_l0_flag struct_body << "\t" << structInfo->luma_weight_l0_flag << "," << std::endl; -/* chroma_weight_l0_flag */ +// chroma_weight_l0_flag struct_body << "\t\t\t" << structInfo->chroma_weight_l0_flag << "," << std::endl; -/* luma_weight_l1_flag */ +// luma_weight_l1_flag struct_body << "\t\t\t" << structInfo->luma_weight_l1_flag << "," << std::endl; -/* chroma_weight_l1_flag */ +// chroma_weight_l1_flag struct_body << "\t\t\t" << structInfo->chroma_weight_l1_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoEncodeH265WeightTableFlags"); out << "\t\t" << "StdVideoEncodeH265WeightTableFlags " << variable_name << " {" << std::endl; @@ -887,27 +887,27 @@ std::string GenerateStruct_StdVideoEncodeH265WeightTableFlags(std::ostream &out, std::string GenerateStruct_StdVideoH264HrdParameters(std::ostream &out, const StdVideoH264HrdParameters* structInfo, Decoded_StdVideoH264HrdParameters* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* cpb_cnt_minus1 */ +// cpb_cnt_minus1 struct_body << "\t" << std::to_string(structInfo->cpb_cnt_minus1) << "," << std::endl; -/* bit_rate_scale */ +// bit_rate_scale struct_body << "\t\t\t" << std::to_string(structInfo->bit_rate_scale) << "," << std::endl; -/* cpb_size_scale */ +// cpb_size_scale struct_body << "\t\t\t" << std::to_string(structInfo->cpb_size_scale) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* bit_rate_value_minus1 */ +// bit_rate_value_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->bit_rate_value_minus1[0]), STD_VIDEO_H264_CPB_CNT_LIST_SIZE) << "," << std::endl; -/* cpb_size_value_minus1 */ +// cpb_size_value_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->cpb_size_value_minus1[0]), STD_VIDEO_H264_CPB_CNT_LIST_SIZE) << "," << std::endl; -/* cbr_flag */ +// cbr_flag struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->cbr_flag[0]), STD_VIDEO_H264_CPB_CNT_LIST_SIZE) << "," << std::endl; -/* initial_cpb_removal_delay_length_minus1 */ +// initial_cpb_removal_delay_length_minus1 struct_body << "\t\t\t" << structInfo->initial_cpb_removal_delay_length_minus1 << "," << std::endl; -/* cpb_removal_delay_length_minus1 */ +// cpb_removal_delay_length_minus1 struct_body << "\t\t\t" << structInfo->cpb_removal_delay_length_minus1 << "," << std::endl; -/* dpb_output_delay_length_minus1 */ +// dpb_output_delay_length_minus1 struct_body << "\t\t\t" << structInfo->dpb_output_delay_length_minus1 << "," << std::endl; -/* time_offset_length */ +// time_offset_length struct_body << "\t\t\t" << structInfo->time_offset_length << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264HrdParameters"); out << "\t\t" << "StdVideoH264HrdParameters " << variable_name << " {" << std::endl; @@ -931,27 +931,27 @@ std::string GenerateStruct_StdVideoH264PictureParameterSet(std::ostream &out, co consumer); pscaling_lists_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* seq_parameter_set_id */ +// seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->seq_parameter_set_id) << "," << std::endl; -/* pic_parameter_set_id */ +// pic_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pic_parameter_set_id) << "," << std::endl; -/* num_ref_idx_l0_default_active_minus1 */ +// num_ref_idx_l0_default_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l0_default_active_minus1) << "," << std::endl; -/* num_ref_idx_l1_default_active_minus1 */ +// num_ref_idx_l1_default_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l1_default_active_minus1) << "," << std::endl; -/* weighted_bipred_idc */ +// weighted_bipred_idc struct_body << "\t\t\t" << "StdVideoH264WeightedBipredIdc(" << structInfo->weighted_bipred_idc << ")" << "," << std::endl; -/* pic_init_qp_minus26 */ +// pic_init_qp_minus26 struct_body << "\t\t\t" << std::to_string(structInfo->pic_init_qp_minus26) << "," << std::endl; -/* pic_init_qs_minus26 */ +// pic_init_qs_minus26 struct_body << "\t\t\t" << std::to_string(structInfo->pic_init_qs_minus26) << "," << std::endl; -/* chroma_qp_index_offset */ +// chroma_qp_index_offset struct_body << "\t\t\t" << std::to_string(structInfo->chroma_qp_index_offset) << "," << std::endl; -/* second_chroma_qp_index_offset */ +// second_chroma_qp_index_offset struct_body << "\t\t\t" << std::to_string(structInfo->second_chroma_qp_index_offset) << "," << std::endl; -/* pScalingLists */ +// pScalingLists struct_body << "\t\t\t" << pscaling_lists_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264PictureParameterSet"); out << "\t\t" << "StdVideoH264PictureParameterSet " << variable_name << " {" << std::endl; @@ -963,21 +963,21 @@ std::string GenerateStruct_StdVideoH264PictureParameterSet(std::ostream &out, co std::string GenerateStruct_StdVideoH264PpsFlags(std::ostream &out, const StdVideoH264PpsFlags* structInfo, Decoded_StdVideoH264PpsFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* transform_8x8_mode_flag */ +// transform_8x8_mode_flag struct_body << "\t" << structInfo->transform_8x8_mode_flag << "," << std::endl; -/* redundant_pic_cnt_present_flag */ +// redundant_pic_cnt_present_flag struct_body << "\t\t\t" << structInfo->redundant_pic_cnt_present_flag << "," << std::endl; -/* constrained_intra_pred_flag */ +// constrained_intra_pred_flag struct_body << "\t\t\t" << structInfo->constrained_intra_pred_flag << "," << std::endl; -/* deblocking_filter_control_present_flag */ +// deblocking_filter_control_present_flag struct_body << "\t\t\t" << structInfo->deblocking_filter_control_present_flag << "," << std::endl; -/* weighted_pred_flag */ +// weighted_pred_flag struct_body << "\t\t\t" << structInfo->weighted_pred_flag << "," << std::endl; -/* bottom_field_pic_order_in_frame_present_flag */ +// bottom_field_pic_order_in_frame_present_flag struct_body << "\t\t\t" << structInfo->bottom_field_pic_order_in_frame_present_flag << "," << std::endl; -/* entropy_coding_mode_flag */ +// entropy_coding_mode_flag struct_body << "\t\t\t" << structInfo->entropy_coding_mode_flag << "," << std::endl; -/* pic_scaling_matrix_present_flag */ +// pic_scaling_matrix_present_flag struct_body << "\t\t\t" << structInfo->pic_scaling_matrix_present_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264PpsFlags"); out << "\t\t" << "StdVideoH264PpsFlags " << variable_name << " {" << std::endl; @@ -989,13 +989,13 @@ std::string GenerateStruct_StdVideoH264PpsFlags(std::ostream &out, const StdVide std::string GenerateStruct_StdVideoH264ScalingLists(std::ostream &out, const StdVideoH264ScalingLists* structInfo, Decoded_StdVideoH264ScalingLists* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* scaling_list_present_mask */ +// scaling_list_present_mask struct_body << "\t" << structInfo->scaling_list_present_mask << "," << std::endl; -/* use_default_scaling_matrix_mask */ +// use_default_scaling_matrix_mask struct_body << "\t\t\t" << structInfo->use_default_scaling_matrix_mask << "," << std::endl; -/* ScalingList4x4 */ +// ScalingList4x4 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingList4x4[0][0]), STD_VIDEO_H264_SCALING_LIST_4X4_NUM_LISTS) << "," << std::endl; -/* ScalingList8x8 */ +// ScalingList8x8 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingList8x8[0][0]), STD_VIDEO_H264_SCALING_LIST_8X8_NUM_LISTS) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264ScalingLists"); out << "\t\t" << "StdVideoH264ScalingLists " << variable_name << " {" << std::endl; @@ -1032,55 +1032,55 @@ std::string GenerateStruct_StdVideoH264SequenceParameterSet(std::ostream &out, c consumer); psequence_parameter_set_vui_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* profile_idc */ +// profile_idc struct_body << "\t\t\t" << "StdVideoH264ProfileIdc(" << structInfo->profile_idc << ")" << "," << std::endl; -/* level_idc */ +// level_idc struct_body << "\t\t\t" << "StdVideoH264LevelIdc(" << structInfo->level_idc << ")" << "," << std::endl; -/* chroma_format_idc */ +// chroma_format_idc struct_body << "\t\t\t" << "StdVideoH264ChromaFormatIdc(" << structInfo->chroma_format_idc << ")" << "," << std::endl; -/* seq_parameter_set_id */ +// seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->seq_parameter_set_id) << "," << std::endl; -/* bit_depth_luma_minus8 */ +// bit_depth_luma_minus8 struct_body << "\t\t\t" << std::to_string(structInfo->bit_depth_luma_minus8) << "," << std::endl; -/* bit_depth_chroma_minus8 */ +// bit_depth_chroma_minus8 struct_body << "\t\t\t" << std::to_string(structInfo->bit_depth_chroma_minus8) << "," << std::endl; -/* log2_max_frame_num_minus4 */ +// log2_max_frame_num_minus4 struct_body << "\t\t\t" << std::to_string(structInfo->log2_max_frame_num_minus4) << "," << std::endl; -/* pic_order_cnt_type */ +// pic_order_cnt_type struct_body << "\t\t\t" << "StdVideoH264PocType(" << structInfo->pic_order_cnt_type << ")" << "," << std::endl; -/* offset_for_non_ref_pic */ +// offset_for_non_ref_pic struct_body << "\t\t\t" << structInfo->offset_for_non_ref_pic << "," << std::endl; -/* offset_for_top_to_bottom_field */ +// offset_for_top_to_bottom_field struct_body << "\t\t\t" << structInfo->offset_for_top_to_bottom_field << "," << std::endl; -/* log2_max_pic_order_cnt_lsb_minus4 */ +// log2_max_pic_order_cnt_lsb_minus4 struct_body << "\t\t\t" << std::to_string(structInfo->log2_max_pic_order_cnt_lsb_minus4) << "," << std::endl; -/* num_ref_frames_in_pic_order_cnt_cycle */ +// num_ref_frames_in_pic_order_cnt_cycle struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_frames_in_pic_order_cnt_cycle) << "," << std::endl; -/* max_num_ref_frames */ +// max_num_ref_frames struct_body << "\t\t\t" << std::to_string(structInfo->max_num_ref_frames) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* pic_width_in_mbs_minus1 */ +// pic_width_in_mbs_minus1 struct_body << "\t\t\t" << structInfo->pic_width_in_mbs_minus1 << "," << std::endl; -/* pic_height_in_map_units_minus1 */ +// pic_height_in_map_units_minus1 struct_body << "\t\t\t" << structInfo->pic_height_in_map_units_minus1 << "," << std::endl; -/* frame_crop_left_offset */ +// frame_crop_left_offset struct_body << "\t\t\t" << structInfo->frame_crop_left_offset << "," << std::endl; -/* frame_crop_right_offset */ +// frame_crop_right_offset struct_body << "\t\t\t" << structInfo->frame_crop_right_offset << "," << std::endl; -/* frame_crop_top_offset */ +// frame_crop_top_offset struct_body << "\t\t\t" << structInfo->frame_crop_top_offset << "," << std::endl; -/* frame_crop_bottom_offset */ +// frame_crop_bottom_offset struct_body << "\t\t\t" << structInfo->frame_crop_bottom_offset << "," << std::endl; -/* reserved2 */ +// reserved2 struct_body << "\t\t\t" << structInfo->reserved2 << "," << std::endl; -/* pOffsetForRefFrame */ +// pOffsetForRefFrame struct_body << "\t\t\t" << poffset_for_ref_frame_array << "," << std::endl; -/* pScalingLists */ +// pScalingLists struct_body << "\t\t\t" << pscaling_lists_struct << "," << std::endl; -/* pSequenceParameterSetVui */ +// pSequenceParameterSetVui struct_body << "\t\t\t" << psequence_parameter_set_vui_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264SequenceParameterSet"); out << "\t\t" << "StdVideoH264SequenceParameterSet " << variable_name << " {" << std::endl; @@ -1104,37 +1104,37 @@ std::string GenerateStruct_StdVideoH264SequenceParameterSetVui(std::ostream &out consumer); phrd_parameters_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* aspect_ratio_idc */ +// aspect_ratio_idc struct_body << "\t\t\t" << "StdVideoH264AspectRatioIdc(" << structInfo->aspect_ratio_idc << ")" << "," << std::endl; -/* sar_width */ +// sar_width struct_body << "\t\t\t" << structInfo->sar_width << "," << std::endl; -/* sar_height */ +// sar_height struct_body << "\t\t\t" << structInfo->sar_height << "," << std::endl; -/* video_format */ +// video_format struct_body << "\t\t\t" << std::to_string(structInfo->video_format) << "," << std::endl; -/* colour_primaries */ +// colour_primaries struct_body << "\t\t\t" << std::to_string(structInfo->colour_primaries) << "," << std::endl; -/* transfer_characteristics */ +// transfer_characteristics struct_body << "\t\t\t" << std::to_string(structInfo->transfer_characteristics) << "," << std::endl; -/* matrix_coefficients */ +// matrix_coefficients struct_body << "\t\t\t" << std::to_string(structInfo->matrix_coefficients) << "," << std::endl; -/* num_units_in_tick */ +// num_units_in_tick struct_body << "\t\t\t" << structInfo->num_units_in_tick << "," << std::endl; -/* time_scale */ +// time_scale struct_body << "\t\t\t" << structInfo->time_scale << "," << std::endl; -/* max_num_reorder_frames */ +// max_num_reorder_frames struct_body << "\t\t\t" << std::to_string(structInfo->max_num_reorder_frames) << "," << std::endl; -/* max_dec_frame_buffering */ +// max_dec_frame_buffering struct_body << "\t\t\t" << std::to_string(structInfo->max_dec_frame_buffering) << "," << std::endl; -/* chroma_sample_loc_type_top_field */ +// chroma_sample_loc_type_top_field struct_body << "\t\t\t" << std::to_string(structInfo->chroma_sample_loc_type_top_field) << "," << std::endl; -/* chroma_sample_loc_type_bottom_field */ +// chroma_sample_loc_type_bottom_field struct_body << "\t\t\t" << std::to_string(structInfo->chroma_sample_loc_type_bottom_field) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << structInfo->reserved1 << "," << std::endl; -/* pHrdParameters */ +// pHrdParameters struct_body << "\t\t\t" << phrd_parameters_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264SequenceParameterSetVui"); out << "\t\t" << "StdVideoH264SequenceParameterSetVui " << variable_name << " {" << std::endl; @@ -1146,37 +1146,37 @@ std::string GenerateStruct_StdVideoH264SequenceParameterSetVui(std::ostream &out std::string GenerateStruct_StdVideoH264SpsFlags(std::ostream &out, const StdVideoH264SpsFlags* structInfo, Decoded_StdVideoH264SpsFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* constraint_set0_flag */ +// constraint_set0_flag struct_body << "\t" << structInfo->constraint_set0_flag << "," << std::endl; -/* constraint_set1_flag */ +// constraint_set1_flag struct_body << "\t\t\t" << structInfo->constraint_set1_flag << "," << std::endl; -/* constraint_set2_flag */ +// constraint_set2_flag struct_body << "\t\t\t" << structInfo->constraint_set2_flag << "," << std::endl; -/* constraint_set3_flag */ +// constraint_set3_flag struct_body << "\t\t\t" << structInfo->constraint_set3_flag << "," << std::endl; -/* constraint_set4_flag */ +// constraint_set4_flag struct_body << "\t\t\t" << structInfo->constraint_set4_flag << "," << std::endl; -/* constraint_set5_flag */ +// constraint_set5_flag struct_body << "\t\t\t" << structInfo->constraint_set5_flag << "," << std::endl; -/* direct_8x8_inference_flag */ +// direct_8x8_inference_flag struct_body << "\t\t\t" << structInfo->direct_8x8_inference_flag << "," << std::endl; -/* mb_adaptive_frame_field_flag */ +// mb_adaptive_frame_field_flag struct_body << "\t\t\t" << structInfo->mb_adaptive_frame_field_flag << "," << std::endl; -/* frame_mbs_only_flag */ +// frame_mbs_only_flag struct_body << "\t\t\t" << structInfo->frame_mbs_only_flag << "," << std::endl; -/* delta_pic_order_always_zero_flag */ +// delta_pic_order_always_zero_flag struct_body << "\t\t\t" << structInfo->delta_pic_order_always_zero_flag << "," << std::endl; -/* separate_colour_plane_flag */ +// separate_colour_plane_flag struct_body << "\t\t\t" << structInfo->separate_colour_plane_flag << "," << std::endl; -/* gaps_in_frame_num_value_allowed_flag */ +// gaps_in_frame_num_value_allowed_flag struct_body << "\t\t\t" << structInfo->gaps_in_frame_num_value_allowed_flag << "," << std::endl; -/* qpprime_y_zero_transform_bypass_flag */ +// qpprime_y_zero_transform_bypass_flag struct_body << "\t\t\t" << structInfo->qpprime_y_zero_transform_bypass_flag << "," << std::endl; -/* frame_cropping_flag */ +// frame_cropping_flag struct_body << "\t\t\t" << structInfo->frame_cropping_flag << "," << std::endl; -/* seq_scaling_matrix_present_flag */ +// seq_scaling_matrix_present_flag struct_body << "\t\t\t" << structInfo->seq_scaling_matrix_present_flag << "," << std::endl; -/* vui_parameters_present_flag */ +// vui_parameters_present_flag struct_body << "\t\t\t" << structInfo->vui_parameters_present_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264SpsFlags"); out << "\t\t" << "StdVideoH264SpsFlags " << variable_name << " {" << std::endl; @@ -1188,29 +1188,29 @@ std::string GenerateStruct_StdVideoH264SpsFlags(std::ostream &out, const StdVide std::string GenerateStruct_StdVideoH264SpsVuiFlags(std::ostream &out, const StdVideoH264SpsVuiFlags* structInfo, Decoded_StdVideoH264SpsVuiFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* aspect_ratio_info_present_flag */ +// aspect_ratio_info_present_flag struct_body << "\t" << structInfo->aspect_ratio_info_present_flag << "," << std::endl; -/* overscan_info_present_flag */ +// overscan_info_present_flag struct_body << "\t\t\t" << structInfo->overscan_info_present_flag << "," << std::endl; -/* overscan_appropriate_flag */ +// overscan_appropriate_flag struct_body << "\t\t\t" << structInfo->overscan_appropriate_flag << "," << std::endl; -/* video_signal_type_present_flag */ +// video_signal_type_present_flag struct_body << "\t\t\t" << structInfo->video_signal_type_present_flag << "," << std::endl; -/* video_full_range_flag */ +// video_full_range_flag struct_body << "\t\t\t" << structInfo->video_full_range_flag << "," << std::endl; -/* color_description_present_flag */ +// color_description_present_flag struct_body << "\t\t\t" << structInfo->color_description_present_flag << "," << std::endl; -/* chroma_loc_info_present_flag */ +// chroma_loc_info_present_flag struct_body << "\t\t\t" << structInfo->chroma_loc_info_present_flag << "," << std::endl; -/* timing_info_present_flag */ +// timing_info_present_flag struct_body << "\t\t\t" << structInfo->timing_info_present_flag << "," << std::endl; -/* fixed_frame_rate_flag */ +// fixed_frame_rate_flag struct_body << "\t\t\t" << structInfo->fixed_frame_rate_flag << "," << std::endl; -/* bitstream_restriction_flag */ +// bitstream_restriction_flag struct_body << "\t\t\t" << structInfo->bitstream_restriction_flag << "," << std::endl; -/* nal_hrd_parameters_present_flag */ +// nal_hrd_parameters_present_flag struct_body << "\t\t\t" << structInfo->nal_hrd_parameters_present_flag << "," << std::endl; -/* vcl_hrd_parameters_present_flag */ +// vcl_hrd_parameters_present_flag struct_body << "\t\t\t" << structInfo->vcl_hrd_parameters_present_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH264SpsVuiFlags"); out << "\t\t" << "StdVideoH264SpsVuiFlags " << variable_name << " {" << std::endl; @@ -1222,11 +1222,11 @@ std::string GenerateStruct_StdVideoH264SpsVuiFlags(std::ostream &out, const StdV std::string GenerateStruct_StdVideoH265DecPicBufMgr(std::ostream &out, const StdVideoH265DecPicBufMgr* structInfo, Decoded_StdVideoH265DecPicBufMgr* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* max_latency_increase_plus1 */ +// max_latency_increase_plus1 struct_body << "\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->max_latency_increase_plus1[0]), STD_VIDEO_H265_SUBLAYERS_LIST_SIZE) << "," << std::endl; -/* max_dec_pic_buffering_minus1 */ +// max_dec_pic_buffering_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->max_dec_pic_buffering_minus1[0]), STD_VIDEO_H265_SUBLAYERS_LIST_SIZE) << "," << std::endl; -/* max_num_reorder_pics */ +// max_num_reorder_pics struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->max_num_reorder_pics[0]), STD_VIDEO_H265_SUBLAYERS_LIST_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265DecPicBufMgr"); out << "\t\t" << "StdVideoH265DecPicBufMgr " << variable_name << " {" << std::endl; @@ -1238,19 +1238,19 @@ std::string GenerateStruct_StdVideoH265DecPicBufMgr(std::ostream &out, const Std std::string GenerateStruct_StdVideoH265HrdFlags(std::ostream &out, const StdVideoH265HrdFlags* structInfo, Decoded_StdVideoH265HrdFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* nal_hrd_parameters_present_flag */ +// nal_hrd_parameters_present_flag struct_body << "\t" << structInfo->nal_hrd_parameters_present_flag << "," << std::endl; -/* vcl_hrd_parameters_present_flag */ +// vcl_hrd_parameters_present_flag struct_body << "\t\t\t" << structInfo->vcl_hrd_parameters_present_flag << "," << std::endl; -/* sub_pic_hrd_params_present_flag */ +// sub_pic_hrd_params_present_flag struct_body << "\t\t\t" << structInfo->sub_pic_hrd_params_present_flag << "," << std::endl; -/* sub_pic_cpb_params_in_pic_timing_sei_flag */ +// sub_pic_cpb_params_in_pic_timing_sei_flag struct_body << "\t\t\t" << structInfo->sub_pic_cpb_params_in_pic_timing_sei_flag << "," << std::endl; -/* fixed_pic_rate_general_flag */ +// fixed_pic_rate_general_flag struct_body << "\t\t\t" << structInfo->fixed_pic_rate_general_flag << "," << std::endl; -/* fixed_pic_rate_within_cvs_flag */ +// fixed_pic_rate_within_cvs_flag struct_body << "\t\t\t" << structInfo->fixed_pic_rate_within_cvs_flag << "," << std::endl; -/* low_delay_hrd_flag */ +// low_delay_hrd_flag struct_body << "\t\t\t" << structInfo->low_delay_hrd_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265HrdFlags"); out << "\t\t" << "StdVideoH265HrdFlags " << variable_name << " {" << std::endl; @@ -1282,35 +1282,35 @@ std::string GenerateStruct_StdVideoH265HrdParameters(std::ostream &out, const St consumer); psub_layer_hrd_parameters_vcl_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* tick_divisor_minus2 */ +// tick_divisor_minus2 struct_body << "\t\t\t" << std::to_string(structInfo->tick_divisor_minus2) << "," << std::endl; -/* du_cpb_removal_delay_increment_length_minus1 */ +// du_cpb_removal_delay_increment_length_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->du_cpb_removal_delay_increment_length_minus1) << "," << std::endl; -/* dpb_output_delay_du_length_minus1 */ +// dpb_output_delay_du_length_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->dpb_output_delay_du_length_minus1) << "," << std::endl; -/* bit_rate_scale */ +// bit_rate_scale struct_body << "\t\t\t" << std::to_string(structInfo->bit_rate_scale) << "," << std::endl; -/* cpb_size_scale */ +// cpb_size_scale struct_body << "\t\t\t" << std::to_string(structInfo->cpb_size_scale) << "," << std::endl; -/* cpb_size_du_scale */ +// cpb_size_du_scale struct_body << "\t\t\t" << std::to_string(structInfo->cpb_size_du_scale) << "," << std::endl; -/* initial_cpb_removal_delay_length_minus1 */ +// initial_cpb_removal_delay_length_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->initial_cpb_removal_delay_length_minus1) << "," << std::endl; -/* au_cpb_removal_delay_length_minus1 */ +// au_cpb_removal_delay_length_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->au_cpb_removal_delay_length_minus1) << "," << std::endl; -/* dpb_output_delay_length_minus1 */ +// dpb_output_delay_length_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->dpb_output_delay_length_minus1) << "," << std::endl; -/* cpb_cnt_minus1 */ +// cpb_cnt_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->cpb_cnt_minus1[0]), STD_VIDEO_H265_SUBLAYERS_LIST_SIZE) << "," << std::endl; -/* elemental_duration_in_tc_minus1 */ +// elemental_duration_in_tc_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->elemental_duration_in_tc_minus1[0]), STD_VIDEO_H265_SUBLAYERS_LIST_SIZE) << "," << std::endl; -/* reserved */ +// reserved struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->reserved[0]), 3) << "," << std::endl; -/* pSubLayerHrdParametersNal */ +// pSubLayerHrdParametersNal struct_body << "\t\t\t" << psub_layer_hrd_parameters_nal_struct << "," << std::endl; -/* pSubLayerHrdParametersVcl */ +// pSubLayerHrdParametersVcl struct_body << "\t\t\t" << psub_layer_hrd_parameters_vcl_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265HrdParameters"); out << "\t\t" << "StdVideoH265HrdParameters " << variable_name << " {" << std::endl; @@ -1322,9 +1322,9 @@ std::string GenerateStruct_StdVideoH265HrdParameters(std::ostream &out, const St std::string GenerateStruct_StdVideoH265LongTermRefPicsSps(std::ostream &out, const StdVideoH265LongTermRefPicsSps* structInfo, Decoded_StdVideoH265LongTermRefPicsSps* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* used_by_curr_pic_lt_sps_flag */ +// used_by_curr_pic_lt_sps_flag struct_body << "\t" << structInfo->used_by_curr_pic_lt_sps_flag << "," << std::endl; -/* lt_ref_pic_poc_lsb_sps */ +// lt_ref_pic_poc_lsb_sps struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->lt_ref_pic_poc_lsb_sps[0]), STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265LongTermRefPicsSps"); out << "\t\t" << "StdVideoH265LongTermRefPicsSps " << variable_name << " {" << std::endl; @@ -1356,77 +1356,77 @@ std::string GenerateStruct_StdVideoH265PictureParameterSet(std::ostream &out, co consumer); ppredictor_palette_entries_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* pps_pic_parameter_set_id */ +// pps_pic_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pps_pic_parameter_set_id) << "," << std::endl; -/* pps_seq_parameter_set_id */ +// pps_seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->pps_seq_parameter_set_id) << "," << std::endl; -/* sps_video_parameter_set_id */ +// sps_video_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->sps_video_parameter_set_id) << "," << std::endl; -/* num_extra_slice_header_bits */ +// num_extra_slice_header_bits struct_body << "\t\t\t" << std::to_string(structInfo->num_extra_slice_header_bits) << "," << std::endl; -/* num_ref_idx_l0_default_active_minus1 */ +// num_ref_idx_l0_default_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l0_default_active_minus1) << "," << std::endl; -/* num_ref_idx_l1_default_active_minus1 */ +// num_ref_idx_l1_default_active_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_ref_idx_l1_default_active_minus1) << "," << std::endl; -/* init_qp_minus26 */ +// init_qp_minus26 struct_body << "\t\t\t" << std::to_string(structInfo->init_qp_minus26) << "," << std::endl; -/* diff_cu_qp_delta_depth */ +// diff_cu_qp_delta_depth struct_body << "\t\t\t" << std::to_string(structInfo->diff_cu_qp_delta_depth) << "," << std::endl; -/* pps_cb_qp_offset */ +// pps_cb_qp_offset struct_body << "\t\t\t" << std::to_string(structInfo->pps_cb_qp_offset) << "," << std::endl; -/* pps_cr_qp_offset */ +// pps_cr_qp_offset struct_body << "\t\t\t" << std::to_string(structInfo->pps_cr_qp_offset) << "," << std::endl; -/* pps_beta_offset_div2 */ +// pps_beta_offset_div2 struct_body << "\t\t\t" << std::to_string(structInfo->pps_beta_offset_div2) << "," << std::endl; -/* pps_tc_offset_div2 */ +// pps_tc_offset_div2 struct_body << "\t\t\t" << std::to_string(structInfo->pps_tc_offset_div2) << "," << std::endl; -/* log2_parallel_merge_level_minus2 */ +// log2_parallel_merge_level_minus2 struct_body << "\t\t\t" << std::to_string(structInfo->log2_parallel_merge_level_minus2) << "," << std::endl; -/* log2_max_transform_skip_block_size_minus2 */ +// log2_max_transform_skip_block_size_minus2 struct_body << "\t\t\t" << std::to_string(structInfo->log2_max_transform_skip_block_size_minus2) << "," << std::endl; -/* diff_cu_chroma_qp_offset_depth */ +// diff_cu_chroma_qp_offset_depth struct_body << "\t\t\t" << std::to_string(structInfo->diff_cu_chroma_qp_offset_depth) << "," << std::endl; -/* chroma_qp_offset_list_len_minus1 */ +// chroma_qp_offset_list_len_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->chroma_qp_offset_list_len_minus1) << "," << std::endl; -/* cb_qp_offset_list */ +// cb_qp_offset_list struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->cb_qp_offset_list[0]), STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE) << "," << std::endl; -/* cr_qp_offset_list */ +// cr_qp_offset_list struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->cr_qp_offset_list[0]), STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE) << "," << std::endl; -/* log2_sao_offset_scale_luma */ +// log2_sao_offset_scale_luma struct_body << "\t\t\t" << std::to_string(structInfo->log2_sao_offset_scale_luma) << "," << std::endl; -/* log2_sao_offset_scale_chroma */ +// log2_sao_offset_scale_chroma struct_body << "\t\t\t" << std::to_string(structInfo->log2_sao_offset_scale_chroma) << "," << std::endl; -/* pps_act_y_qp_offset_plus5 */ +// pps_act_y_qp_offset_plus5 struct_body << "\t\t\t" << std::to_string(structInfo->pps_act_y_qp_offset_plus5) << "," << std::endl; -/* pps_act_cb_qp_offset_plus5 */ +// pps_act_cb_qp_offset_plus5 struct_body << "\t\t\t" << std::to_string(structInfo->pps_act_cb_qp_offset_plus5) << "," << std::endl; -/* pps_act_cr_qp_offset_plus3 */ +// pps_act_cr_qp_offset_plus3 struct_body << "\t\t\t" << std::to_string(structInfo->pps_act_cr_qp_offset_plus3) << "," << std::endl; -/* pps_num_palette_predictor_initializers */ +// pps_num_palette_predictor_initializers struct_body << "\t\t\t" << std::to_string(structInfo->pps_num_palette_predictor_initializers) << "," << std::endl; -/* luma_bit_depth_entry_minus8 */ +// luma_bit_depth_entry_minus8 struct_body << "\t\t\t" << std::to_string(structInfo->luma_bit_depth_entry_minus8) << "," << std::endl; -/* chroma_bit_depth_entry_minus8 */ +// chroma_bit_depth_entry_minus8 struct_body << "\t\t\t" << std::to_string(structInfo->chroma_bit_depth_entry_minus8) << "," << std::endl; -/* num_tile_columns_minus1 */ +// num_tile_columns_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_tile_columns_minus1) << "," << std::endl; -/* num_tile_rows_minus1 */ +// num_tile_rows_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->num_tile_rows_minus1) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* reserved2 */ +// reserved2 struct_body << "\t\t\t" << std::to_string(structInfo->reserved2) << "," << std::endl; -/* column_width_minus1 */ +// column_width_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->column_width_minus1[0]), STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE) << "," << std::endl; -/* row_height_minus1 */ +// row_height_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->row_height_minus1[0]), STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE) << "," << std::endl; -/* reserved3 */ +// reserved3 struct_body << "\t\t\t" << structInfo->reserved3 << "," << std::endl; -/* pScalingLists */ +// pScalingLists struct_body << "\t\t\t" << pscaling_lists_struct << "," << std::endl; -/* pPredictorPaletteEntries */ +// pPredictorPaletteEntries struct_body << "\t\t\t" << ppredictor_palette_entries_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265PictureParameterSet"); out << "\t\t" << "StdVideoH265PictureParameterSet " << variable_name << " {" << std::endl; @@ -1438,67 +1438,67 @@ std::string GenerateStruct_StdVideoH265PictureParameterSet(std::ostream &out, co std::string GenerateStruct_StdVideoH265PpsFlags(std::ostream &out, const StdVideoH265PpsFlags* structInfo, Decoded_StdVideoH265PpsFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* dependent_slice_segments_enabled_flag */ +// dependent_slice_segments_enabled_flag struct_body << "\t" << structInfo->dependent_slice_segments_enabled_flag << "," << std::endl; -/* output_flag_present_flag */ +// output_flag_present_flag struct_body << "\t\t\t" << structInfo->output_flag_present_flag << "," << std::endl; -/* sign_data_hiding_enabled_flag */ +// sign_data_hiding_enabled_flag struct_body << "\t\t\t" << structInfo->sign_data_hiding_enabled_flag << "," << std::endl; -/* cabac_init_present_flag */ +// cabac_init_present_flag struct_body << "\t\t\t" << structInfo->cabac_init_present_flag << "," << std::endl; -/* constrained_intra_pred_flag */ +// constrained_intra_pred_flag struct_body << "\t\t\t" << structInfo->constrained_intra_pred_flag << "," << std::endl; -/* transform_skip_enabled_flag */ +// transform_skip_enabled_flag struct_body << "\t\t\t" << structInfo->transform_skip_enabled_flag << "," << std::endl; -/* cu_qp_delta_enabled_flag */ +// cu_qp_delta_enabled_flag struct_body << "\t\t\t" << structInfo->cu_qp_delta_enabled_flag << "," << std::endl; -/* pps_slice_chroma_qp_offsets_present_flag */ +// pps_slice_chroma_qp_offsets_present_flag struct_body << "\t\t\t" << structInfo->pps_slice_chroma_qp_offsets_present_flag << "," << std::endl; -/* weighted_pred_flag */ +// weighted_pred_flag struct_body << "\t\t\t" << structInfo->weighted_pred_flag << "," << std::endl; -/* weighted_bipred_flag */ +// weighted_bipred_flag struct_body << "\t\t\t" << structInfo->weighted_bipred_flag << "," << std::endl; -/* transquant_bypass_enabled_flag */ +// transquant_bypass_enabled_flag struct_body << "\t\t\t" << structInfo->transquant_bypass_enabled_flag << "," << std::endl; -/* tiles_enabled_flag */ +// tiles_enabled_flag struct_body << "\t\t\t" << structInfo->tiles_enabled_flag << "," << std::endl; -/* entropy_coding_sync_enabled_flag */ +// entropy_coding_sync_enabled_flag struct_body << "\t\t\t" << structInfo->entropy_coding_sync_enabled_flag << "," << std::endl; -/* uniform_spacing_flag */ +// uniform_spacing_flag struct_body << "\t\t\t" << structInfo->uniform_spacing_flag << "," << std::endl; -/* loop_filter_across_tiles_enabled_flag */ +// loop_filter_across_tiles_enabled_flag struct_body << "\t\t\t" << structInfo->loop_filter_across_tiles_enabled_flag << "," << std::endl; -/* pps_loop_filter_across_slices_enabled_flag */ +// pps_loop_filter_across_slices_enabled_flag struct_body << "\t\t\t" << structInfo->pps_loop_filter_across_slices_enabled_flag << "," << std::endl; -/* deblocking_filter_control_present_flag */ +// deblocking_filter_control_present_flag struct_body << "\t\t\t" << structInfo->deblocking_filter_control_present_flag << "," << std::endl; -/* deblocking_filter_override_enabled_flag */ +// deblocking_filter_override_enabled_flag struct_body << "\t\t\t" << structInfo->deblocking_filter_override_enabled_flag << "," << std::endl; -/* pps_deblocking_filter_disabled_flag */ +// pps_deblocking_filter_disabled_flag struct_body << "\t\t\t" << structInfo->pps_deblocking_filter_disabled_flag << "," << std::endl; -/* pps_scaling_list_data_present_flag */ +// pps_scaling_list_data_present_flag struct_body << "\t\t\t" << structInfo->pps_scaling_list_data_present_flag << "," << std::endl; -/* lists_modification_present_flag */ +// lists_modification_present_flag struct_body << "\t\t\t" << structInfo->lists_modification_present_flag << "," << std::endl; -/* slice_segment_header_extension_present_flag */ +// slice_segment_header_extension_present_flag struct_body << "\t\t\t" << structInfo->slice_segment_header_extension_present_flag << "," << std::endl; -/* pps_extension_present_flag */ +// pps_extension_present_flag struct_body << "\t\t\t" << structInfo->pps_extension_present_flag << "," << std::endl; -/* cross_component_prediction_enabled_flag */ +// cross_component_prediction_enabled_flag struct_body << "\t\t\t" << structInfo->cross_component_prediction_enabled_flag << "," << std::endl; -/* chroma_qp_offset_list_enabled_flag */ +// chroma_qp_offset_list_enabled_flag struct_body << "\t\t\t" << structInfo->chroma_qp_offset_list_enabled_flag << "," << std::endl; -/* pps_curr_pic_ref_enabled_flag */ +// pps_curr_pic_ref_enabled_flag struct_body << "\t\t\t" << structInfo->pps_curr_pic_ref_enabled_flag << "," << std::endl; -/* residual_adaptive_colour_transform_enabled_flag */ +// residual_adaptive_colour_transform_enabled_flag struct_body << "\t\t\t" << structInfo->residual_adaptive_colour_transform_enabled_flag << "," << std::endl; -/* pps_slice_act_qp_offsets_present_flag */ +// pps_slice_act_qp_offsets_present_flag struct_body << "\t\t\t" << structInfo->pps_slice_act_qp_offsets_present_flag << "," << std::endl; -/* pps_palette_predictor_initializers_present_flag */ +// pps_palette_predictor_initializers_present_flag struct_body << "\t\t\t" << structInfo->pps_palette_predictor_initializers_present_flag << "," << std::endl; -/* monochrome_palette_flag */ +// monochrome_palette_flag struct_body << "\t\t\t" << structInfo->monochrome_palette_flag << "," << std::endl; -/* pps_range_extension_flag */ +// pps_range_extension_flag struct_body << "\t\t\t" << structInfo->pps_range_extension_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265PpsFlags"); out << "\t\t" << "StdVideoH265PpsFlags " << variable_name << " {" << std::endl; @@ -1510,7 +1510,7 @@ std::string GenerateStruct_StdVideoH265PpsFlags(std::ostream &out, const StdVide std::string GenerateStruct_StdVideoH265PredictorPaletteEntries(std::ostream &out, const StdVideoH265PredictorPaletteEntries* structInfo, Decoded_StdVideoH265PredictorPaletteEntries* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* PredictorPaletteEntries */ +// PredictorPaletteEntries struct_body << "\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->PredictorPaletteEntries[0][0]), STD_VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265PredictorPaletteEntries"); out << "\t\t" << "StdVideoH265PredictorPaletteEntries " << variable_name << " {" << std::endl; @@ -1526,11 +1526,11 @@ std::string GenerateStruct_StdVideoH265ProfileTierLevel(std::ostream &out, const &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* general_profile_idc */ +// general_profile_idc struct_body << "\t\t\t" << "StdVideoH265ProfileIdc(" << structInfo->general_profile_idc << ")" << "," << std::endl; -/* general_level_idc */ +// general_level_idc struct_body << "\t\t\t" << "StdVideoH265LevelIdc(" << structInfo->general_level_idc << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265ProfileTierLevel"); out << "\t\t" << "StdVideoH265ProfileTierLevel " << variable_name << " {" << std::endl; @@ -1542,15 +1542,15 @@ std::string GenerateStruct_StdVideoH265ProfileTierLevel(std::ostream &out, const std::string GenerateStruct_StdVideoH265ProfileTierLevelFlags(std::ostream &out, const StdVideoH265ProfileTierLevelFlags* structInfo, Decoded_StdVideoH265ProfileTierLevelFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* general_tier_flag */ +// general_tier_flag struct_body << "\t" << structInfo->general_tier_flag << "," << std::endl; -/* general_progressive_source_flag */ +// general_progressive_source_flag struct_body << "\t\t\t" << structInfo->general_progressive_source_flag << "," << std::endl; -/* general_interlaced_source_flag */ +// general_interlaced_source_flag struct_body << "\t\t\t" << structInfo->general_interlaced_source_flag << "," << std::endl; -/* general_non_packed_constraint_flag */ +// general_non_packed_constraint_flag struct_body << "\t\t\t" << structInfo->general_non_packed_constraint_flag << "," << std::endl; -/* general_frame_only_constraint_flag */ +// general_frame_only_constraint_flag struct_body << "\t\t\t" << structInfo->general_frame_only_constraint_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265ProfileTierLevelFlags"); out << "\t\t" << "StdVideoH265ProfileTierLevelFlags " << variable_name << " {" << std::endl; @@ -1562,17 +1562,17 @@ std::string GenerateStruct_StdVideoH265ProfileTierLevelFlags(std::ostream &out, std::string GenerateStruct_StdVideoH265ScalingLists(std::ostream &out, const StdVideoH265ScalingLists* structInfo, Decoded_StdVideoH265ScalingLists* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* ScalingList4x4 */ +// ScalingList4x4 struct_body << "\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingList4x4[0][0]), STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS) << "," << std::endl; -/* ScalingList8x8 */ +// ScalingList8x8 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingList8x8[0][0]), STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS) << "," << std::endl; -/* ScalingList16x16 */ +// ScalingList16x16 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingList16x16[0][0]), STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS) << "," << std::endl; -/* ScalingList32x32 */ +// ScalingList32x32 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingList32x32[0][0]), STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS) << "," << std::endl; -/* ScalingListDCCoef16x16 */ +// ScalingListDCCoef16x16 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingListDCCoef16x16[0]), STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS) << "," << std::endl; -/* ScalingListDCCoef32x32 */ +// ScalingListDCCoef32x32 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->ScalingListDCCoef32x32[0]), STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265ScalingLists"); out << "\t\t" << "StdVideoH265ScalingLists " << variable_name << " {" << std::endl; @@ -1644,83 +1644,83 @@ std::string GenerateStruct_StdVideoH265SequenceParameterSet(std::ostream &out, c consumer); ppredictor_palette_entries_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* chroma_format_idc */ +// chroma_format_idc struct_body << "\t\t\t" << "StdVideoH265ChromaFormatIdc(" << structInfo->chroma_format_idc << ")" << "," << std::endl; -/* pic_width_in_luma_samples */ +// pic_width_in_luma_samples struct_body << "\t\t\t" << structInfo->pic_width_in_luma_samples << "," << std::endl; -/* pic_height_in_luma_samples */ +// pic_height_in_luma_samples struct_body << "\t\t\t" << structInfo->pic_height_in_luma_samples << "," << std::endl; -/* sps_video_parameter_set_id */ +// sps_video_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->sps_video_parameter_set_id) << "," << std::endl; -/* sps_max_sub_layers_minus1 */ +// sps_max_sub_layers_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->sps_max_sub_layers_minus1) << "," << std::endl; -/* sps_seq_parameter_set_id */ +// sps_seq_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->sps_seq_parameter_set_id) << "," << std::endl; -/* bit_depth_luma_minus8 */ +// bit_depth_luma_minus8 struct_body << "\t\t\t" << std::to_string(structInfo->bit_depth_luma_minus8) << "," << std::endl; -/* bit_depth_chroma_minus8 */ +// bit_depth_chroma_minus8 struct_body << "\t\t\t" << std::to_string(structInfo->bit_depth_chroma_minus8) << "," << std::endl; -/* log2_max_pic_order_cnt_lsb_minus4 */ +// log2_max_pic_order_cnt_lsb_minus4 struct_body << "\t\t\t" << std::to_string(structInfo->log2_max_pic_order_cnt_lsb_minus4) << "," << std::endl; -/* log2_min_luma_coding_block_size_minus3 */ +// log2_min_luma_coding_block_size_minus3 struct_body << "\t\t\t" << std::to_string(structInfo->log2_min_luma_coding_block_size_minus3) << "," << std::endl; -/* log2_diff_max_min_luma_coding_block_size */ +// log2_diff_max_min_luma_coding_block_size struct_body << "\t\t\t" << std::to_string(structInfo->log2_diff_max_min_luma_coding_block_size) << "," << std::endl; -/* log2_min_luma_transform_block_size_minus2 */ +// log2_min_luma_transform_block_size_minus2 struct_body << "\t\t\t" << std::to_string(structInfo->log2_min_luma_transform_block_size_minus2) << "," << std::endl; -/* log2_diff_max_min_luma_transform_block_size */ +// log2_diff_max_min_luma_transform_block_size struct_body << "\t\t\t" << std::to_string(structInfo->log2_diff_max_min_luma_transform_block_size) << "," << std::endl; -/* max_transform_hierarchy_depth_inter */ +// max_transform_hierarchy_depth_inter struct_body << "\t\t\t" << std::to_string(structInfo->max_transform_hierarchy_depth_inter) << "," << std::endl; -/* max_transform_hierarchy_depth_intra */ +// max_transform_hierarchy_depth_intra struct_body << "\t\t\t" << std::to_string(structInfo->max_transform_hierarchy_depth_intra) << "," << std::endl; -/* num_short_term_ref_pic_sets */ +// num_short_term_ref_pic_sets struct_body << "\t\t\t" << std::to_string(structInfo->num_short_term_ref_pic_sets) << "," << std::endl; -/* num_long_term_ref_pics_sps */ +// num_long_term_ref_pics_sps struct_body << "\t\t\t" << std::to_string(structInfo->num_long_term_ref_pics_sps) << "," << std::endl; -/* pcm_sample_bit_depth_luma_minus1 */ +// pcm_sample_bit_depth_luma_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->pcm_sample_bit_depth_luma_minus1) << "," << std::endl; -/* pcm_sample_bit_depth_chroma_minus1 */ +// pcm_sample_bit_depth_chroma_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->pcm_sample_bit_depth_chroma_minus1) << "," << std::endl; -/* log2_min_pcm_luma_coding_block_size_minus3 */ +// log2_min_pcm_luma_coding_block_size_minus3 struct_body << "\t\t\t" << std::to_string(structInfo->log2_min_pcm_luma_coding_block_size_minus3) << "," << std::endl; -/* log2_diff_max_min_pcm_luma_coding_block_size */ +// log2_diff_max_min_pcm_luma_coding_block_size struct_body << "\t\t\t" << std::to_string(structInfo->log2_diff_max_min_pcm_luma_coding_block_size) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* reserved2 */ +// reserved2 struct_body << "\t\t\t" << std::to_string(structInfo->reserved2) << "," << std::endl; -/* palette_max_size */ +// palette_max_size struct_body << "\t\t\t" << std::to_string(structInfo->palette_max_size) << "," << std::endl; -/* delta_palette_max_predictor_size */ +// delta_palette_max_predictor_size struct_body << "\t\t\t" << std::to_string(structInfo->delta_palette_max_predictor_size) << "," << std::endl; -/* motion_vector_resolution_control_idc */ +// motion_vector_resolution_control_idc struct_body << "\t\t\t" << std::to_string(structInfo->motion_vector_resolution_control_idc) << "," << std::endl; -/* sps_num_palette_predictor_initializers_minus1 */ +// sps_num_palette_predictor_initializers_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->sps_num_palette_predictor_initializers_minus1) << "," << std::endl; -/* conf_win_left_offset */ +// conf_win_left_offset struct_body << "\t\t\t" << structInfo->conf_win_left_offset << "," << std::endl; -/* conf_win_right_offset */ +// conf_win_right_offset struct_body << "\t\t\t" << structInfo->conf_win_right_offset << "," << std::endl; -/* conf_win_top_offset */ +// conf_win_top_offset struct_body << "\t\t\t" << structInfo->conf_win_top_offset << "," << std::endl; -/* conf_win_bottom_offset */ +// conf_win_bottom_offset struct_body << "\t\t\t" << structInfo->conf_win_bottom_offset << "," << std::endl; -/* pProfileTierLevel */ +// pProfileTierLevel struct_body << "\t\t\t" << pprofile_tier_level_struct << "," << std::endl; -/* pDecPicBufMgr */ +// pDecPicBufMgr struct_body << "\t\t\t" << pdec_pic_buf_mgr_struct << "," << std::endl; -/* pScalingLists */ +// pScalingLists struct_body << "\t\t\t" << pscaling_lists_struct << "," << std::endl; -/* pShortTermRefPicSet */ +// pShortTermRefPicSet struct_body << "\t\t\t" << pshort_term_ref_pic_set_struct << "," << std::endl; -/* pLongTermRefPicsSps */ +// pLongTermRefPicsSps struct_body << "\t\t\t" << plong_term_ref_pics_sps_struct << "," << std::endl; -/* pSequenceParameterSetVui */ +// pSequenceParameterSetVui struct_body << "\t\t\t" << psequence_parameter_set_vui_struct << "," << std::endl; -/* pPredictorPaletteEntries */ +// pPredictorPaletteEntries struct_body << "\t\t\t" << ppredictor_palette_entries_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265SequenceParameterSet"); out << "\t\t" << "StdVideoH265SequenceParameterSet " << variable_name << " {" << std::endl; @@ -1744,57 +1744,57 @@ std::string GenerateStruct_StdVideoH265SequenceParameterSetVui(std::ostream &out consumer); phrd_parameters_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* aspect_ratio_idc */ +// aspect_ratio_idc struct_body << "\t\t\t" << "StdVideoH265AspectRatioIdc(" << structInfo->aspect_ratio_idc << ")" << "," << std::endl; -/* sar_width */ +// sar_width struct_body << "\t\t\t" << structInfo->sar_width << "," << std::endl; -/* sar_height */ +// sar_height struct_body << "\t\t\t" << structInfo->sar_height << "," << std::endl; -/* video_format */ +// video_format struct_body << "\t\t\t" << std::to_string(structInfo->video_format) << "," << std::endl; -/* colour_primaries */ +// colour_primaries struct_body << "\t\t\t" << std::to_string(structInfo->colour_primaries) << "," << std::endl; -/* transfer_characteristics */ +// transfer_characteristics struct_body << "\t\t\t" << std::to_string(structInfo->transfer_characteristics) << "," << std::endl; -/* matrix_coeffs */ +// matrix_coeffs struct_body << "\t\t\t" << std::to_string(structInfo->matrix_coeffs) << "," << std::endl; -/* chroma_sample_loc_type_top_field */ +// chroma_sample_loc_type_top_field struct_body << "\t\t\t" << std::to_string(structInfo->chroma_sample_loc_type_top_field) << "," << std::endl; -/* chroma_sample_loc_type_bottom_field */ +// chroma_sample_loc_type_bottom_field struct_body << "\t\t\t" << std::to_string(structInfo->chroma_sample_loc_type_bottom_field) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* reserved2 */ +// reserved2 struct_body << "\t\t\t" << std::to_string(structInfo->reserved2) << "," << std::endl; -/* def_disp_win_left_offset */ +// def_disp_win_left_offset struct_body << "\t\t\t" << structInfo->def_disp_win_left_offset << "," << std::endl; -/* def_disp_win_right_offset */ +// def_disp_win_right_offset struct_body << "\t\t\t" << structInfo->def_disp_win_right_offset << "," << std::endl; -/* def_disp_win_top_offset */ +// def_disp_win_top_offset struct_body << "\t\t\t" << structInfo->def_disp_win_top_offset << "," << std::endl; -/* def_disp_win_bottom_offset */ +// def_disp_win_bottom_offset struct_body << "\t\t\t" << structInfo->def_disp_win_bottom_offset << "," << std::endl; -/* vui_num_units_in_tick */ +// vui_num_units_in_tick struct_body << "\t\t\t" << structInfo->vui_num_units_in_tick << "," << std::endl; -/* vui_time_scale */ +// vui_time_scale struct_body << "\t\t\t" << structInfo->vui_time_scale << "," << std::endl; -/* vui_num_ticks_poc_diff_one_minus1 */ +// vui_num_ticks_poc_diff_one_minus1 struct_body << "\t\t\t" << structInfo->vui_num_ticks_poc_diff_one_minus1 << "," << std::endl; -/* min_spatial_segmentation_idc */ +// min_spatial_segmentation_idc struct_body << "\t\t\t" << structInfo->min_spatial_segmentation_idc << "," << std::endl; -/* reserved3 */ +// reserved3 struct_body << "\t\t\t" << structInfo->reserved3 << "," << std::endl; -/* max_bytes_per_pic_denom */ +// max_bytes_per_pic_denom struct_body << "\t\t\t" << std::to_string(structInfo->max_bytes_per_pic_denom) << "," << std::endl; -/* max_bits_per_min_cu_denom */ +// max_bits_per_min_cu_denom struct_body << "\t\t\t" << std::to_string(structInfo->max_bits_per_min_cu_denom) << "," << std::endl; -/* log2_max_mv_length_horizontal */ +// log2_max_mv_length_horizontal struct_body << "\t\t\t" << std::to_string(structInfo->log2_max_mv_length_horizontal) << "," << std::endl; -/* log2_max_mv_length_vertical */ +// log2_max_mv_length_vertical struct_body << "\t\t\t" << std::to_string(structInfo->log2_max_mv_length_vertical) << "," << std::endl; -/* pHrdParameters */ +// pHrdParameters struct_body << "\t\t\t" << phrd_parameters_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265SequenceParameterSetVui"); out << "\t\t" << "StdVideoH265SequenceParameterSetVui " << variable_name << " {" << std::endl; @@ -1810,33 +1810,33 @@ std::string GenerateStruct_StdVideoH265ShortTermRefPicSet(std::ostream &out, con &structInfo->flags, metaInfo->flags, consumer); -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* delta_idx_minus1 */ +// delta_idx_minus1 struct_body << "\t\t\t" << structInfo->delta_idx_minus1 << "," << std::endl; -/* use_delta_flag */ +// use_delta_flag struct_body << "\t\t\t" << structInfo->use_delta_flag << "," << std::endl; -/* abs_delta_rps_minus1 */ +// abs_delta_rps_minus1 struct_body << "\t\t\t" << structInfo->abs_delta_rps_minus1 << "," << std::endl; -/* used_by_curr_pic_flag */ +// used_by_curr_pic_flag struct_body << "\t\t\t" << structInfo->used_by_curr_pic_flag << "," << std::endl; -/* used_by_curr_pic_s0_flag */ +// used_by_curr_pic_s0_flag struct_body << "\t\t\t" << structInfo->used_by_curr_pic_s0_flag << "," << std::endl; -/* used_by_curr_pic_s1_flag */ +// used_by_curr_pic_s1_flag struct_body << "\t\t\t" << structInfo->used_by_curr_pic_s1_flag << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << structInfo->reserved1 << "," << std::endl; -/* reserved2 */ +// reserved2 struct_body << "\t\t\t" << std::to_string(structInfo->reserved2) << "," << std::endl; -/* reserved3 */ +// reserved3 struct_body << "\t\t\t" << std::to_string(structInfo->reserved3) << "," << std::endl; -/* num_negative_pics */ +// num_negative_pics struct_body << "\t\t\t" << std::to_string(structInfo->num_negative_pics) << "," << std::endl; -/* num_positive_pics */ +// num_positive_pics struct_body << "\t\t\t" << std::to_string(structInfo->num_positive_pics) << "," << std::endl; -/* delta_poc_s0_minus1 */ +// delta_poc_s0_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_poc_s0_minus1[0]), STD_VIDEO_H265_MAX_DPB_SIZE) << "," << std::endl; -/* delta_poc_s1_minus1 */ +// delta_poc_s1_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->delta_poc_s1_minus1[0]), STD_VIDEO_H265_MAX_DPB_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265ShortTermRefPicSet"); out << "\t\t" << "StdVideoH265ShortTermRefPicSet " << variable_name << " {" << std::endl; @@ -1848,9 +1848,9 @@ std::string GenerateStruct_StdVideoH265ShortTermRefPicSet(std::ostream &out, con std::string GenerateStruct_StdVideoH265ShortTermRefPicSetFlags(std::ostream &out, const StdVideoH265ShortTermRefPicSetFlags* structInfo, Decoded_StdVideoH265ShortTermRefPicSetFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* inter_ref_pic_set_prediction_flag */ +// inter_ref_pic_set_prediction_flag struct_body << "\t" << structInfo->inter_ref_pic_set_prediction_flag << "," << std::endl; -/* delta_rps_sign */ +// delta_rps_sign struct_body << "\t\t\t" << structInfo->delta_rps_sign << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265ShortTermRefPicSetFlags"); out << "\t\t" << "StdVideoH265ShortTermRefPicSetFlags " << variable_name << " {" << std::endl; @@ -1862,65 +1862,65 @@ std::string GenerateStruct_StdVideoH265ShortTermRefPicSetFlags(std::ostream &out std::string GenerateStruct_StdVideoH265SpsFlags(std::ostream &out, const StdVideoH265SpsFlags* structInfo, Decoded_StdVideoH265SpsFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* sps_temporal_id_nesting_flag */ +// sps_temporal_id_nesting_flag struct_body << "\t" << structInfo->sps_temporal_id_nesting_flag << "," << std::endl; -/* separate_colour_plane_flag */ +// separate_colour_plane_flag struct_body << "\t\t\t" << structInfo->separate_colour_plane_flag << "," << std::endl; -/* conformance_window_flag */ +// conformance_window_flag struct_body << "\t\t\t" << structInfo->conformance_window_flag << "," << std::endl; -/* sps_sub_layer_ordering_info_present_flag */ +// sps_sub_layer_ordering_info_present_flag struct_body << "\t\t\t" << structInfo->sps_sub_layer_ordering_info_present_flag << "," << std::endl; -/* scaling_list_enabled_flag */ +// scaling_list_enabled_flag struct_body << "\t\t\t" << structInfo->scaling_list_enabled_flag << "," << std::endl; -/* sps_scaling_list_data_present_flag */ +// sps_scaling_list_data_present_flag struct_body << "\t\t\t" << structInfo->sps_scaling_list_data_present_flag << "," << std::endl; -/* amp_enabled_flag */ +// amp_enabled_flag struct_body << "\t\t\t" << structInfo->amp_enabled_flag << "," << std::endl; -/* sample_adaptive_offset_enabled_flag */ +// sample_adaptive_offset_enabled_flag struct_body << "\t\t\t" << structInfo->sample_adaptive_offset_enabled_flag << "," << std::endl; -/* pcm_enabled_flag */ +// pcm_enabled_flag struct_body << "\t\t\t" << structInfo->pcm_enabled_flag << "," << std::endl; -/* pcm_loop_filter_disabled_flag */ +// pcm_loop_filter_disabled_flag struct_body << "\t\t\t" << structInfo->pcm_loop_filter_disabled_flag << "," << std::endl; -/* long_term_ref_pics_present_flag */ +// long_term_ref_pics_present_flag struct_body << "\t\t\t" << structInfo->long_term_ref_pics_present_flag << "," << std::endl; -/* sps_temporal_mvp_enabled_flag */ +// sps_temporal_mvp_enabled_flag struct_body << "\t\t\t" << structInfo->sps_temporal_mvp_enabled_flag << "," << std::endl; -/* strong_intra_smoothing_enabled_flag */ +// strong_intra_smoothing_enabled_flag struct_body << "\t\t\t" << structInfo->strong_intra_smoothing_enabled_flag << "," << std::endl; -/* vui_parameters_present_flag */ +// vui_parameters_present_flag struct_body << "\t\t\t" << structInfo->vui_parameters_present_flag << "," << std::endl; -/* sps_extension_present_flag */ +// sps_extension_present_flag struct_body << "\t\t\t" << structInfo->sps_extension_present_flag << "," << std::endl; -/* sps_range_extension_flag */ +// sps_range_extension_flag struct_body << "\t\t\t" << structInfo->sps_range_extension_flag << "," << std::endl; -/* transform_skip_rotation_enabled_flag */ +// transform_skip_rotation_enabled_flag struct_body << "\t\t\t" << structInfo->transform_skip_rotation_enabled_flag << "," << std::endl; -/* transform_skip_context_enabled_flag */ +// transform_skip_context_enabled_flag struct_body << "\t\t\t" << structInfo->transform_skip_context_enabled_flag << "," << std::endl; -/* implicit_rdpcm_enabled_flag */ +// implicit_rdpcm_enabled_flag struct_body << "\t\t\t" << structInfo->implicit_rdpcm_enabled_flag << "," << std::endl; -/* explicit_rdpcm_enabled_flag */ +// explicit_rdpcm_enabled_flag struct_body << "\t\t\t" << structInfo->explicit_rdpcm_enabled_flag << "," << std::endl; -/* extended_precision_processing_flag */ +// extended_precision_processing_flag struct_body << "\t\t\t" << structInfo->extended_precision_processing_flag << "," << std::endl; -/* intra_smoothing_disabled_flag */ +// intra_smoothing_disabled_flag struct_body << "\t\t\t" << structInfo->intra_smoothing_disabled_flag << "," << std::endl; -/* high_precision_offsets_enabled_flag */ +// high_precision_offsets_enabled_flag struct_body << "\t\t\t" << structInfo->high_precision_offsets_enabled_flag << "," << std::endl; -/* persistent_rice_adaptation_enabled_flag */ +// persistent_rice_adaptation_enabled_flag struct_body << "\t\t\t" << structInfo->persistent_rice_adaptation_enabled_flag << "," << std::endl; -/* cabac_bypass_alignment_enabled_flag */ +// cabac_bypass_alignment_enabled_flag struct_body << "\t\t\t" << structInfo->cabac_bypass_alignment_enabled_flag << "," << std::endl; -/* sps_scc_extension_flag */ +// sps_scc_extension_flag struct_body << "\t\t\t" << structInfo->sps_scc_extension_flag << "," << std::endl; -/* sps_curr_pic_ref_enabled_flag */ +// sps_curr_pic_ref_enabled_flag struct_body << "\t\t\t" << structInfo->sps_curr_pic_ref_enabled_flag << "," << std::endl; -/* palette_mode_enabled_flag */ +// palette_mode_enabled_flag struct_body << "\t\t\t" << structInfo->palette_mode_enabled_flag << "," << std::endl; -/* sps_palette_predictor_initializers_present_flag */ +// sps_palette_predictor_initializers_present_flag struct_body << "\t\t\t" << structInfo->sps_palette_predictor_initializers_present_flag << "," << std::endl; -/* intra_boundary_filtering_disabled_flag */ +// intra_boundary_filtering_disabled_flag struct_body << "\t\t\t" << structInfo->intra_boundary_filtering_disabled_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265SpsFlags"); out << "\t\t" << "StdVideoH265SpsFlags " << variable_name << " {" << std::endl; @@ -1932,41 +1932,41 @@ std::string GenerateStruct_StdVideoH265SpsFlags(std::ostream &out, const StdVide std::string GenerateStruct_StdVideoH265SpsVuiFlags(std::ostream &out, const StdVideoH265SpsVuiFlags* structInfo, Decoded_StdVideoH265SpsVuiFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* aspect_ratio_info_present_flag */ +// aspect_ratio_info_present_flag struct_body << "\t" << structInfo->aspect_ratio_info_present_flag << "," << std::endl; -/* overscan_info_present_flag */ +// overscan_info_present_flag struct_body << "\t\t\t" << structInfo->overscan_info_present_flag << "," << std::endl; -/* overscan_appropriate_flag */ +// overscan_appropriate_flag struct_body << "\t\t\t" << structInfo->overscan_appropriate_flag << "," << std::endl; -/* video_signal_type_present_flag */ +// video_signal_type_present_flag struct_body << "\t\t\t" << structInfo->video_signal_type_present_flag << "," << std::endl; -/* video_full_range_flag */ +// video_full_range_flag struct_body << "\t\t\t" << structInfo->video_full_range_flag << "," << std::endl; -/* colour_description_present_flag */ +// colour_description_present_flag struct_body << "\t\t\t" << structInfo->colour_description_present_flag << "," << std::endl; -/* chroma_loc_info_present_flag */ +// chroma_loc_info_present_flag struct_body << "\t\t\t" << structInfo->chroma_loc_info_present_flag << "," << std::endl; -/* neutral_chroma_indication_flag */ +// neutral_chroma_indication_flag struct_body << "\t\t\t" << structInfo->neutral_chroma_indication_flag << "," << std::endl; -/* field_seq_flag */ +// field_seq_flag struct_body << "\t\t\t" << structInfo->field_seq_flag << "," << std::endl; -/* frame_field_info_present_flag */ +// frame_field_info_present_flag struct_body << "\t\t\t" << structInfo->frame_field_info_present_flag << "," << std::endl; -/* default_display_window_flag */ +// default_display_window_flag struct_body << "\t\t\t" << structInfo->default_display_window_flag << "," << std::endl; -/* vui_timing_info_present_flag */ +// vui_timing_info_present_flag struct_body << "\t\t\t" << structInfo->vui_timing_info_present_flag << "," << std::endl; -/* vui_poc_proportional_to_timing_flag */ +// vui_poc_proportional_to_timing_flag struct_body << "\t\t\t" << structInfo->vui_poc_proportional_to_timing_flag << "," << std::endl; -/* vui_hrd_parameters_present_flag */ +// vui_hrd_parameters_present_flag struct_body << "\t\t\t" << structInfo->vui_hrd_parameters_present_flag << "," << std::endl; -/* bitstream_restriction_flag */ +// bitstream_restriction_flag struct_body << "\t\t\t" << structInfo->bitstream_restriction_flag << "," << std::endl; -/* tiles_fixed_structure_flag */ +// tiles_fixed_structure_flag struct_body << "\t\t\t" << structInfo->tiles_fixed_structure_flag << "," << std::endl; -/* motion_vectors_over_pic_boundaries_flag */ +// motion_vectors_over_pic_boundaries_flag struct_body << "\t\t\t" << structInfo->motion_vectors_over_pic_boundaries_flag << "," << std::endl; -/* restricted_ref_pic_lists_flag */ +// restricted_ref_pic_lists_flag struct_body << "\t\t\t" << structInfo->restricted_ref_pic_lists_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265SpsVuiFlags"); out << "\t\t" << "StdVideoH265SpsVuiFlags " << variable_name << " {" << std::endl; @@ -1978,15 +1978,15 @@ std::string GenerateStruct_StdVideoH265SpsVuiFlags(std::ostream &out, const StdV std::string GenerateStruct_StdVideoH265SubLayerHrdParameters(std::ostream &out, const StdVideoH265SubLayerHrdParameters* structInfo, Decoded_StdVideoH265SubLayerHrdParameters* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* bit_rate_value_minus1 */ +// bit_rate_value_minus1 struct_body << "\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->bit_rate_value_minus1[0]), STD_VIDEO_H265_CPB_CNT_LIST_SIZE) << "," << std::endl; -/* cpb_size_value_minus1 */ +// cpb_size_value_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->cpb_size_value_minus1[0]), STD_VIDEO_H265_CPB_CNT_LIST_SIZE) << "," << std::endl; -/* cpb_size_du_value_minus1 */ +// cpb_size_du_value_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->cpb_size_du_value_minus1[0]), STD_VIDEO_H265_CPB_CNT_LIST_SIZE) << "," << std::endl; -/* bit_rate_du_value_minus1 */ +// bit_rate_du_value_minus1 struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->bit_rate_du_value_minus1[0]), STD_VIDEO_H265_CPB_CNT_LIST_SIZE) << "," << std::endl; -/* cbr_flag */ +// cbr_flag struct_body << "\t\t\t" << structInfo->cbr_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265SubLayerHrdParameters"); out << "\t\t" << "StdVideoH265SubLayerHrdParameters " << variable_name << " {" << std::endl; @@ -2026,29 +2026,29 @@ std::string GenerateStruct_StdVideoH265VideoParameterSet(std::ostream &out, cons consumer); pprofile_tier_level_struct.insert(0, "&"); } -/* flags */ +// flags struct_body << "\t" << flags_info_var << "," << std::endl; -/* vps_video_parameter_set_id */ +// vps_video_parameter_set_id struct_body << "\t\t\t" << std::to_string(structInfo->vps_video_parameter_set_id) << "," << std::endl; -/* vps_max_sub_layers_minus1 */ +// vps_max_sub_layers_minus1 struct_body << "\t\t\t" << std::to_string(structInfo->vps_max_sub_layers_minus1) << "," << std::endl; -/* reserved1 */ +// reserved1 struct_body << "\t\t\t" << std::to_string(structInfo->reserved1) << "," << std::endl; -/* reserved2 */ +// reserved2 struct_body << "\t\t\t" << std::to_string(structInfo->reserved2) << "," << std::endl; -/* vps_num_units_in_tick */ +// vps_num_units_in_tick struct_body << "\t\t\t" << structInfo->vps_num_units_in_tick << "," << std::endl; -/* vps_time_scale */ +// vps_time_scale struct_body << "\t\t\t" << structInfo->vps_time_scale << "," << std::endl; -/* vps_num_ticks_poc_diff_one_minus1 */ +// vps_num_ticks_poc_diff_one_minus1 struct_body << "\t\t\t" << structInfo->vps_num_ticks_poc_diff_one_minus1 << "," << std::endl; -/* reserved3 */ +// reserved3 struct_body << "\t\t\t" << structInfo->reserved3 << "," << std::endl; -/* pDecPicBufMgr */ +// pDecPicBufMgr struct_body << "\t\t\t" << pdec_pic_buf_mgr_struct << "," << std::endl; -/* pHrdParameters */ +// pHrdParameters struct_body << "\t\t\t" << phrd_parameters_struct << "," << std::endl; -/* pProfileTierLevel */ +// pProfileTierLevel struct_body << "\t\t\t" << pprofile_tier_level_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265VideoParameterSet"); out << "\t\t" << "StdVideoH265VideoParameterSet " << variable_name << " {" << std::endl; @@ -2060,13 +2060,13 @@ std::string GenerateStruct_StdVideoH265VideoParameterSet(std::ostream &out, cons std::string GenerateStruct_StdVideoH265VpsFlags(std::ostream &out, const StdVideoH265VpsFlags* structInfo, Decoded_StdVideoH265VpsFlags* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* vps_temporal_id_nesting_flag */ +// vps_temporal_id_nesting_flag struct_body << "\t" << structInfo->vps_temporal_id_nesting_flag << "," << std::endl; -/* vps_sub_layer_ordering_info_present_flag */ +// vps_sub_layer_ordering_info_present_flag struct_body << "\t\t\t" << structInfo->vps_sub_layer_ordering_info_present_flag << "," << std::endl; -/* vps_timing_info_present_flag */ +// vps_timing_info_present_flag struct_body << "\t\t\t" << structInfo->vps_timing_info_present_flag << "," << std::endl; -/* vps_poc_proportional_to_timing_flag */ +// vps_poc_proportional_to_timing_flag struct_body << "\t\t\t" << structInfo->vps_poc_proportional_to_timing_flag << ","; std::string variable_name = consumer.AddStruct(struct_body, "stdVideoH265VpsFlags"); out << "\t\t" << "StdVideoH265VpsFlags " << variable_name << " {" << std::endl; @@ -2078,17 +2078,17 @@ std::string GenerateStruct_StdVideoH265VpsFlags(std::ostream &out, const StdVide std::string GenerateStruct_VkAllocationCallbacks(std::ostream &out, const VkAllocationCallbacks* structInfo, Decoded_VkAllocationCallbacks* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* pUserData */ +// pUserData out << "\t\t" << "// TODO: Support pUserData (output?) argument." << std::endl; -/* pfnAllocation */ +// pfnAllocation struct_body << "\t\t\t" << structInfo->pfnAllocation << "," << std::endl; -/* pfnReallocation */ +// pfnReallocation struct_body << "\t\t\t" << structInfo->pfnReallocation << "," << std::endl; -/* pfnFree */ +// pfnFree struct_body << "\t\t\t" << structInfo->pfnFree << "," << std::endl; -/* pfnInternalAllocation */ +// pfnInternalAllocation struct_body << "\t\t\t" << structInfo->pfnInternalAllocation << "," << std::endl; -/* pfnInternalFree */ +// pfnInternalFree struct_body << "\t\t\t" << structInfo->pfnInternalFree << ","; std::string variable_name = consumer.AddStruct(struct_body, "allocationCallbacks"); out << "\t\t" << "VkAllocationCallbacks " << variable_name << " {" << std::endl; @@ -2101,19 +2101,19 @@ std::string GenerateStruct_VkAllocationCallbacks(std::ostream &out, const VkAllo std::string GenerateStruct_VkApplicationInfo(std::ostream &out, const VkApplicationInfo* structInfo, Decoded_VkApplicationInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pApplicationName */ +// pApplicationName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pApplicationName) << "," << std::endl; -/* applicationVersion */ +// applicationVersion struct_body << "\t\t\t" << structInfo->applicationVersion << "," << std::endl; -/* pEngineName */ +// pEngineName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pEngineName) << "," << std::endl; -/* engineVersion */ +// engineVersion struct_body << "\t\t\t" << structInfo->engineVersion << "," << std::endl; -/* apiVersion */ +// apiVersion struct_body << "\t\t\t" << structInfo->apiVersion << ","; std::string variable_name = consumer.AddStruct(struct_body, "applicationInfo"); out << "\t\t" << "VkApplicationInfo " << variable_name << " {" << std::endl; @@ -2125,23 +2125,23 @@ std::string GenerateStruct_VkApplicationInfo(std::ostream &out, const VkApplicat std::string GenerateStruct_VkAttachmentDescription(std::ostream &out, const VkAttachmentDescription* structInfo, Decoded_VkAttachmentDescription* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* flags */ +// flags struct_body << "\t" << "VkAttachmentDescriptionFlags(" << structInfo->flags << ")" << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* samples */ +// samples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->samples << ")" << "," << std::endl; -/* loadOp */ +// loadOp struct_body << "\t\t\t" << "VkAttachmentLoadOp(" << structInfo->loadOp << ")" << "," << std::endl; -/* storeOp */ +// storeOp struct_body << "\t\t\t" << "VkAttachmentStoreOp(" << structInfo->storeOp << ")" << "," << std::endl; -/* stencilLoadOp */ +// stencilLoadOp struct_body << "\t\t\t" << "VkAttachmentLoadOp(" << structInfo->stencilLoadOp << ")" << "," << std::endl; -/* stencilStoreOp */ +// stencilStoreOp struct_body << "\t\t\t" << "VkAttachmentStoreOp(" << structInfo->stencilStoreOp << ")" << "," << std::endl; -/* initialLayout */ +// initialLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->initialLayout << ")" << "," << std::endl; -/* finalLayout */ +// finalLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->finalLayout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentDescription"); out << "\t\t" << "VkAttachmentDescription " << variable_name << " {" << std::endl; @@ -2153,9 +2153,9 @@ std::string GenerateStruct_VkAttachmentDescription(std::ostream &out, const VkAt std::string GenerateStruct_VkAttachmentReference(std::ostream &out, const VkAttachmentReference* structInfo, Decoded_VkAttachmentReference* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* attachment */ +// attachment struct_body << "\t" << structInfo->attachment << "," << std::endl; -/* layout */ +// layout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->layout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentReference"); out << "\t\t" << "VkAttachmentReference " << variable_name << " {" << std::endl; @@ -2242,29 +2242,29 @@ std::string GenerateStruct_VkBindSparseInfo(std::ostream &out, const VkBindSpars out << "\t\t" << "VkSemaphore " << psignal_semaphores_array << "[] = {" << psignal_semaphores_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* waitSemaphoreCount */ +// waitSemaphoreCount struct_body << "\t\t\t" << structInfo->waitSemaphoreCount << "," << std::endl; -/* pWaitSemaphores */ +// pWaitSemaphores struct_body << "\t\t\t" << pwait_semaphores_array << "," << std::endl; -/* bufferBindCount */ +// bufferBindCount struct_body << "\t\t\t" << structInfo->bufferBindCount << "," << std::endl; -/* pBufferBinds */ +// pBufferBinds struct_body << "\t\t\t" << pbuffer_binds_array << "," << std::endl; -/* imageOpaqueBindCount */ +// imageOpaqueBindCount struct_body << "\t\t\t" << structInfo->imageOpaqueBindCount << "," << std::endl; -/* pImageOpaqueBinds */ +// pImageOpaqueBinds struct_body << "\t\t\t" << pimage_opaque_binds_array << "," << std::endl; -/* imageBindCount */ +// imageBindCount struct_body << "\t\t\t" << structInfo->imageBindCount << "," << std::endl; -/* pImageBinds */ +// pImageBinds struct_body << "\t\t\t" << pimage_binds_array << "," << std::endl; -/* signalSemaphoreCount */ +// signalSemaphoreCount struct_body << "\t\t\t" << structInfo->signalSemaphoreCount << "," << std::endl; -/* pSignalSemaphores */ +// pSignalSemaphores struct_body << "\t\t\t" << psignal_semaphores_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindSparseInfo"); out << "\t\t" << "VkBindSparseInfo " << variable_name << " {" << std::endl; @@ -2276,11 +2276,11 @@ std::string GenerateStruct_VkBindSparseInfo(std::ostream &out, const VkBindSpars std::string GenerateStruct_VkBufferCopy(std::ostream &out, const VkBufferCopy* structInfo, Decoded_VkBufferCopy* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* srcOffset */ +// srcOffset struct_body << "\t" << structInfo->srcOffset << "UL" << "," << std::endl; -/* dstOffset */ +// dstOffset struct_body << "\t\t\t" << structInfo->dstOffset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferCopy"); out << "\t\t" << "VkBufferCopy " << variable_name << " {" << std::endl; @@ -2298,21 +2298,21 @@ std::string GenerateStruct_VkBufferCreateInfo(std::ostream &out, const VkBufferC pqueue_family_indices_array = "pQueueFamilyIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pqueue_family_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pQueueFamilyIndices, structInfo->queueFamilyIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkBufferCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkBufferUsageFlags(" << structInfo->usage << ")" << "," << std::endl; -/* sharingMode */ +// sharingMode struct_body << "\t\t\t" << "VkSharingMode(" << structInfo->sharingMode << ")" << "," << std::endl; -/* queueFamilyIndexCount */ +// queueFamilyIndexCount struct_body << "\t\t\t" << structInfo->queueFamilyIndexCount << "," << std::endl; -/* pQueueFamilyIndices */ +// pQueueFamilyIndices struct_body << "\t\t\t" << pqueue_family_indices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferCreateInfo"); out << "\t\t" << "VkBufferCreateInfo " << variable_name << " {" << std::endl; @@ -2336,17 +2336,17 @@ std::string GenerateStruct_VkBufferImageCopy(std::ostream &out, const VkBufferIm &structInfo->imageExtent, metaInfo->imageExtent, consumer); -/* bufferOffset */ +// bufferOffset struct_body << "\t" << structInfo->bufferOffset << "UL" << "," << std::endl; -/* bufferRowLength */ +// bufferRowLength struct_body << "\t\t\t" << structInfo->bufferRowLength << "," << std::endl; -/* bufferImageHeight */ +// bufferImageHeight struct_body << "\t\t\t" << structInfo->bufferImageHeight << "," << std::endl; -/* imageSubresource */ +// imageSubresource struct_body << "\t\t\t" << image_subresource_info_var << "," << std::endl; -/* imageOffset */ +// imageOffset struct_body << "\t\t\t" << image_offset_info_var << "," << std::endl; -/* imageExtent */ +// imageExtent struct_body << "\t\t\t" << image_extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferImageCopy"); out << "\t\t" << "VkBufferImageCopy " << variable_name << " {" << std::endl; @@ -2359,23 +2359,23 @@ std::string GenerateStruct_VkBufferImageCopy(std::ostream &out, const VkBufferIm std::string GenerateStruct_VkBufferMemoryBarrier(std::ostream &out, const VkBufferMemoryBarrier* structInfo, Decoded_VkBufferMemoryBarrier* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->dstAccessMask << ")" << "," << std::endl; -/* srcQueueFamilyIndex */ +// srcQueueFamilyIndex struct_body << "\t\t\t" << structInfo->srcQueueFamilyIndex << "," << std::endl; -/* dstQueueFamilyIndex */ +// dstQueueFamilyIndex struct_body << "\t\t\t" << structInfo->dstQueueFamilyIndex << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferMemoryBarrier"); out << "\t\t" << "VkBufferMemoryBarrier " << variable_name << " {" << std::endl; @@ -2388,19 +2388,19 @@ std::string GenerateStruct_VkBufferMemoryBarrier(std::ostream &out, const VkBuff std::string GenerateStruct_VkBufferViewCreateInfo(std::ostream &out, const VkBufferViewCreateInfo* structInfo, Decoded_VkBufferViewCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkBufferViewCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* range */ +// range struct_body << "\t\t\t" << structInfo->range << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferViewCreateInfo"); out << "\t\t" << "VkBufferViewCreateInfo " << variable_name << " {" << std::endl; @@ -2416,11 +2416,11 @@ std::string GenerateStruct_VkClearAttachment(std::ostream &out, const VkClearAtt &structInfo->clearValue.color, metaInfo->clearValue->color, consumer); -/* aspectMask */ +// aspectMask struct_body << "\t" << "VkImageAspectFlags(" << structInfo->aspectMask << ")" << "," << std::endl; -/* colorAttachment */ +// colorAttachment struct_body << "\t\t\t" << structInfo->colorAttachment << "," << std::endl; -/* clearValue */ +// clearValue struct_body << "\t\t\t" << color_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "clearAttachment"); out << "\t\t" << "VkClearAttachment " << variable_name << " {" << std::endl; @@ -2432,9 +2432,9 @@ std::string GenerateStruct_VkClearAttachment(std::ostream &out, const VkClearAtt std::string GenerateStruct_VkClearDepthStencilValue(std::ostream &out, const VkClearDepthStencilValue* structInfo, Decoded_VkClearDepthStencilValue* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* depth */ +// depth struct_body << "\t" << structInfo->depth << "," << std::endl; -/* stencil */ +// stencil struct_body << "\t\t\t" << structInfo->stencil << ","; std::string variable_name = consumer.AddStruct(struct_body, "clearDepthStencilValue"); out << "\t\t" << "VkClearDepthStencilValue " << variable_name << " {" << std::endl; @@ -2450,11 +2450,11 @@ std::string GenerateStruct_VkClearRect(std::ostream &out, const VkClearRect* str &structInfo->rect, metaInfo->rect, consumer); -/* rect */ +// rect struct_body << "\t" << rect_info_var << "," << std::endl; -/* baseArrayLayer */ +// baseArrayLayer struct_body << "\t\t\t" << structInfo->baseArrayLayer << "," << std::endl; -/* layerCount */ +// layerCount struct_body << "\t\t\t" << structInfo->layerCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "clearRect"); out << "\t\t" << "VkClearRect " << variable_name << " {" << std::endl; @@ -2467,15 +2467,15 @@ std::string GenerateStruct_VkClearRect(std::ostream &out, const VkClearRect* str std::string GenerateStruct_VkCommandBufferAllocateInfo(std::ostream &out, const VkCommandBufferAllocateInfo* structInfo, Decoded_VkCommandBufferAllocateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* commandPool */ +// commandPool struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->commandPool) << "," << std::endl; -/* level */ +// level struct_body << "\t\t\t" << "VkCommandBufferLevel(" << structInfo->level << ")" << "," << std::endl; -/* commandBufferCount */ +// commandBufferCount struct_body << "\t\t\t" << structInfo->commandBufferCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferAllocateInfo"); out << "\t\t" << "VkCommandBufferAllocateInfo " << variable_name << " {" << std::endl; @@ -2496,13 +2496,13 @@ std::string GenerateStruct_VkCommandBufferBeginInfo(std::ostream &out, const VkC consumer); pinheritance_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkCommandBufferUsageFlags(" << structInfo->flags << ")" << "," << std::endl; -/* pInheritanceInfo */ +// pInheritanceInfo struct_body << "\t\t\t" << pinheritance_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferBeginInfo"); out << "\t\t" << "VkCommandBufferBeginInfo " << variable_name << " {" << std::endl; @@ -2515,21 +2515,21 @@ std::string GenerateStruct_VkCommandBufferBeginInfo(std::ostream &out, const VkC std::string GenerateStruct_VkCommandBufferInheritanceInfo(std::ostream &out, const VkCommandBufferInheritanceInfo* structInfo, Decoded_VkCommandBufferInheritanceInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* renderPass */ +// renderPass struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->renderPass) << "," << std::endl; -/* subpass */ +// subpass struct_body << "\t\t\t" << structInfo->subpass << "," << std::endl; -/* framebuffer */ +// framebuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->framebuffer) << "," << std::endl; -/* occlusionQueryEnable */ +// occlusionQueryEnable struct_body << "\t\t\t" << structInfo->occlusionQueryEnable << "," << std::endl; -/* queryFlags */ +// queryFlags struct_body << "\t\t\t" << "VkQueryControlFlags(" << structInfo->queryFlags << ")" << "," << std::endl; -/* pipelineStatistics */ +// pipelineStatistics struct_body << "\t\t\t" << "VkQueryPipelineStatisticFlags(" << structInfo->pipelineStatistics << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferInheritanceInfo"); out << "\t\t" << "VkCommandBufferInheritanceInfo " << variable_name << " {" << std::endl; @@ -2542,13 +2542,13 @@ std::string GenerateStruct_VkCommandBufferInheritanceInfo(std::ostream &out, con std::string GenerateStruct_VkCommandPoolCreateInfo(std::ostream &out, const VkCommandPoolCreateInfo* structInfo, Decoded_VkCommandPoolCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkCommandPoolCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* queueFamilyIndex */ +// queueFamilyIndex struct_body << "\t\t\t" << structInfo->queueFamilyIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandPoolCreateInfo"); out << "\t\t" << "VkCommandPoolCreateInfo " << variable_name << " {" << std::endl; @@ -2560,13 +2560,13 @@ std::string GenerateStruct_VkCommandPoolCreateInfo(std::ostream &out, const VkCo std::string GenerateStruct_VkComponentMapping(std::ostream &out, const VkComponentMapping* structInfo, Decoded_VkComponentMapping* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* r */ +// r struct_body << "\t" << "VkComponentSwizzle(" << structInfo->r << ")" << "," << std::endl; -/* g */ +// g struct_body << "\t\t\t" << "VkComponentSwizzle(" << structInfo->g << ")" << "," << std::endl; -/* b */ +// b struct_body << "\t\t\t" << "VkComponentSwizzle(" << structInfo->b << ")" << "," << std::endl; -/* a */ +// a struct_body << "\t\t\t" << "VkComponentSwizzle(" << structInfo->a << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "componentMapping"); out << "\t\t" << "VkComponentMapping " << variable_name << " {" << std::endl; @@ -2583,19 +2583,19 @@ std::string GenerateStruct_VkComputePipelineCreateInfo(std::ostream &out, const &structInfo->stage, metaInfo->stage, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* stage */ +// stage struct_body << "\t\t\t" << stage_info_var << "," << std::endl; -/* layout */ +// layout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->layout) << "," << std::endl; -/* basePipelineHandle */ +// basePipelineHandle struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->basePipelineHandle) << "," << std::endl; -/* basePipelineIndex */ +// basePipelineIndex struct_body << "\t\t\t" << structInfo->basePipelineIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "computePipelineCreateInfo"); out << "\t\t" << "VkComputePipelineCreateInfo " << variable_name << " {" << std::endl; @@ -2608,23 +2608,23 @@ std::string GenerateStruct_VkComputePipelineCreateInfo(std::ostream &out, const std::string GenerateStruct_VkCopyDescriptorSet(std::ostream &out, const VkCopyDescriptorSet* structInfo, Decoded_VkCopyDescriptorSet* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcSet */ +// srcSet struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcSet) << "," << std::endl; -/* srcBinding */ +// srcBinding struct_body << "\t\t\t" << structInfo->srcBinding << "," << std::endl; -/* srcArrayElement */ +// srcArrayElement struct_body << "\t\t\t" << structInfo->srcArrayElement << "," << std::endl; -/* dstSet */ +// dstSet struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstSet) << "," << std::endl; -/* dstBinding */ +// dstBinding struct_body << "\t\t\t" << structInfo->dstBinding << "," << std::endl; -/* dstArrayElement */ +// dstArrayElement struct_body << "\t\t\t" << structInfo->dstArrayElement << "," << std::endl; -/* descriptorCount */ +// descriptorCount struct_body << "\t\t\t" << structInfo->descriptorCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyDescriptorSet"); out << "\t\t" << "VkCopyDescriptorSet " << variable_name << " {" << std::endl; @@ -2636,11 +2636,11 @@ std::string GenerateStruct_VkCopyDescriptorSet(std::ostream &out, const VkCopyDe std::string GenerateStruct_VkDescriptorBufferInfo(std::ostream &out, const VkDescriptorBufferInfo* structInfo, Decoded_VkDescriptorBufferInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* buffer */ +// buffer struct_body << "\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* range */ +// range struct_body << "\t\t\t" << structInfo->range << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorBufferInfo"); out << "\t\t" << "VkDescriptorBufferInfo " << variable_name << " {" << std::endl; @@ -2669,17 +2669,17 @@ std::string GenerateStruct_VkDescriptorPoolCreateInfo(std::ostream &out, const V } out << "\t\t" << "VkDescriptorPoolSize " << ppool_sizes_array << "[] = {" << ppool_sizes_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDescriptorPoolCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* maxSets */ +// maxSets struct_body << "\t\t\t" << structInfo->maxSets << "," << std::endl; -/* poolSizeCount */ +// poolSizeCount struct_body << "\t\t\t" << structInfo->poolSizeCount << "," << std::endl; -/* pPoolSizes */ +// pPoolSizes struct_body << "\t\t\t" << ppool_sizes_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorPoolCreateInfo"); out << "\t\t" << "VkDescriptorPoolCreateInfo " << variable_name << " {" << std::endl; @@ -2691,9 +2691,9 @@ std::string GenerateStruct_VkDescriptorPoolCreateInfo(std::ostream &out, const V std::string GenerateStruct_VkDescriptorPoolSize(std::ostream &out, const VkDescriptorPoolSize* structInfo, Decoded_VkDescriptorPoolSize* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* type */ +// type struct_body << "\t" << "VkDescriptorType(" << structInfo->type << ")" << "," << std::endl; -/* descriptorCount */ +// descriptorCount struct_body << "\t\t\t" << structInfo->descriptorCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorPoolSize"); out << "\t\t" << "VkDescriptorPoolSize " << variable_name << " {" << std::endl; @@ -2719,15 +2719,15 @@ std::string GenerateStruct_VkDescriptorSetAllocateInfo(std::ostream &out, const out << "\t\t" << "VkDescriptorSetLayout " << pset_layouts_array << "[] = {" << pset_layouts_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* descriptorPool */ +// descriptorPool struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->descriptorPool) << "," << std::endl; -/* descriptorSetCount */ +// descriptorSetCount struct_body << "\t\t\t" << structInfo->descriptorSetCount << "," << std::endl; -/* pSetLayouts */ +// pSetLayouts struct_body << "\t\t\t" << pset_layouts_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetAllocateInfo"); out << "\t\t" << "VkDescriptorSetAllocateInfo " << variable_name << " {" << std::endl; @@ -2752,15 +2752,15 @@ std::string GenerateStruct_VkDescriptorSetLayoutBinding(std::ostream &out, const out << "\t\t" << "VkSampler " << pimmutable_samplers_array << "[] = {" << pimmutable_samplers_values << "};" << std::endl; } } -/* binding */ +// binding struct_body << "\t" << structInfo->binding << "," << std::endl; -/* descriptorType */ +// descriptorType struct_body << "\t\t\t" << "VkDescriptorType(" << structInfo->descriptorType << ")" << "," << std::endl; -/* descriptorCount */ +// descriptorCount struct_body << "\t\t\t" << structInfo->descriptorCount << "," << std::endl; -/* stageFlags */ +// stageFlags struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->stageFlags << ")" << "," << std::endl; -/* pImmutableSamplers */ +// pImmutableSamplers struct_body << "\t\t\t" << pimmutable_samplers_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetLayoutBinding"); out << "\t\t" << "VkDescriptorSetLayoutBinding " << variable_name << " {" << std::endl; @@ -2789,15 +2789,15 @@ std::string GenerateStruct_VkDescriptorSetLayoutCreateInfo(std::ostream &out, co } out << "\t\t" << "VkDescriptorSetLayoutBinding " << pbindings_array << "[] = {" << pbindings_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDescriptorSetLayoutCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* bindingCount */ +// bindingCount struct_body << "\t\t\t" << structInfo->bindingCount << "," << std::endl; -/* pBindings */ +// pBindings struct_body << "\t\t\t" << pbindings_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetLayoutCreateInfo"); out << "\t\t" << "VkDescriptorSetLayoutCreateInfo " << variable_name << " {" << std::endl; @@ -2844,25 +2844,25 @@ std::string GenerateStruct_VkDeviceCreateInfo(std::ostream &out, const VkDeviceC consumer); penabled_features_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDeviceCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* queueCreateInfoCount */ +// queueCreateInfoCount struct_body << "\t\t\t" << structInfo->queueCreateInfoCount << "," << std::endl; -/* pQueueCreateInfos */ +// pQueueCreateInfos struct_body << "\t\t\t" << pqueue_create_infos_array << "," << std::endl; -/* enabledLayerCount */ +// enabledLayerCount struct_body << "\t\t\t" << structInfo->enabledLayerCount << "," << std::endl; -/* ppEnabledLayerNames */ +// ppEnabledLayerNames struct_body << "\t\t\t" << pp_enabled_layer_names_var << "," << std::endl; -/* enabledExtensionCount */ +// enabledExtensionCount struct_body << "\t\t\t" << structInfo->enabledExtensionCount << "," << std::endl; -/* ppEnabledExtensionNames */ +// ppEnabledExtensionNames struct_body << "\t\t\t" << pp_enabled_extension_names_var << "," << std::endl; -/* pEnabledFeatures */ +// pEnabledFeatures struct_body << "\t\t\t" << penabled_features_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceCreateInfo"); out << "\t\t" << "VkDeviceCreateInfo " << variable_name << " {" << std::endl; @@ -2880,17 +2880,17 @@ std::string GenerateStruct_VkDeviceQueueCreateInfo(std::ostream &out, const VkDe pqueue_priorities_array = "pQueuePriorities_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "float " << pqueue_priorities_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pQueuePriorities, structInfo->queueCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDeviceQueueCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* queueFamilyIndex */ +// queueFamilyIndex struct_body << "\t\t\t" << structInfo->queueFamilyIndex << "," << std::endl; -/* queueCount */ +// queueCount struct_body << "\t\t\t" << structInfo->queueCount << "," << std::endl; -/* pQueuePriorities */ +// pQueuePriorities struct_body << "\t\t\t" << pqueue_priorities_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceQueueCreateInfo"); out << "\t\t" << "VkDeviceQueueCreateInfo " << variable_name << " {" << std::endl; @@ -2902,11 +2902,11 @@ std::string GenerateStruct_VkDeviceQueueCreateInfo(std::ostream &out, const VkDe std::string GenerateStruct_VkDispatchIndirectCommand(std::ostream &out, const VkDispatchIndirectCommand* structInfo, Decoded_VkDispatchIndirectCommand* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* x */ +// x struct_body << "\t" << structInfo->x << "," << std::endl; -/* y */ +// y struct_body << "\t\t\t" << structInfo->y << "," << std::endl; -/* z */ +// z struct_body << "\t\t\t" << structInfo->z << ","; std::string variable_name = consumer.AddStruct(struct_body, "dispatchIndirectCommand"); out << "\t\t" << "VkDispatchIndirectCommand " << variable_name << " {" << std::endl; @@ -2918,15 +2918,15 @@ std::string GenerateStruct_VkDispatchIndirectCommand(std::ostream &out, const Vk std::string GenerateStruct_VkDrawIndexedIndirectCommand(std::ostream &out, const VkDrawIndexedIndirectCommand* structInfo, Decoded_VkDrawIndexedIndirectCommand* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* indexCount */ +// indexCount struct_body << "\t" << structInfo->indexCount << "," << std::endl; -/* instanceCount */ +// instanceCount struct_body << "\t\t\t" << structInfo->instanceCount << "," << std::endl; -/* firstIndex */ +// firstIndex struct_body << "\t\t\t" << structInfo->firstIndex << "," << std::endl; -/* vertexOffset */ +// vertexOffset struct_body << "\t\t\t" << structInfo->vertexOffset << "," << std::endl; -/* firstInstance */ +// firstInstance struct_body << "\t\t\t" << structInfo->firstInstance << ","; std::string variable_name = consumer.AddStruct(struct_body, "drawIndexedIndirectCommand"); out << "\t\t" << "VkDrawIndexedIndirectCommand " << variable_name << " {" << std::endl; @@ -2938,13 +2938,13 @@ std::string GenerateStruct_VkDrawIndexedIndirectCommand(std::ostream &out, const std::string GenerateStruct_VkDrawIndirectCommand(std::ostream &out, const VkDrawIndirectCommand* structInfo, Decoded_VkDrawIndirectCommand* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* vertexCount */ +// vertexCount struct_body << "\t" << structInfo->vertexCount << "," << std::endl; -/* instanceCount */ +// instanceCount struct_body << "\t\t\t" << structInfo->instanceCount << "," << std::endl; -/* firstVertex */ +// firstVertex struct_body << "\t\t\t" << structInfo->firstVertex << "," << std::endl; -/* firstInstance */ +// firstInstance struct_body << "\t\t\t" << structInfo->firstInstance << ","; std::string variable_name = consumer.AddStruct(struct_body, "drawIndirectCommand"); out << "\t\t" << "VkDrawIndirectCommand " << variable_name << " {" << std::endl; @@ -2957,11 +2957,11 @@ std::string GenerateStruct_VkDrawIndirectCommand(std::ostream &out, const VkDraw std::string GenerateStruct_VkEventCreateInfo(std::ostream &out, const VkEventCreateInfo* structInfo, Decoded_VkEventCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkEventCreateFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "eventCreateInfo"); out << "\t\t" << "VkEventCreateInfo " << variable_name << " {" << std::endl; @@ -2973,9 +2973,9 @@ std::string GenerateStruct_VkEventCreateInfo(std::ostream &out, const VkEventCre std::string GenerateStruct_VkExtensionProperties(std::ostream &out, const VkExtensionProperties* structInfo, Decoded_VkExtensionProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* extensionName */ +// extensionName struct_body << "\t" << VulkanCppConsumerBase::ToEscape(structInfo->extensionName) << "," << std::endl; -/* specVersion */ +// specVersion struct_body << "\t\t\t" << structInfo->specVersion << ","; std::string variable_name = consumer.AddStruct(struct_body, "extensionProperties"); out << "\t\t" << "VkExtensionProperties " << variable_name << " {" << std::endl; @@ -2987,9 +2987,9 @@ std::string GenerateStruct_VkExtensionProperties(std::ostream &out, const VkExte std::string GenerateStruct_VkExtent2D(std::ostream &out, const VkExtent2D* structInfo, Decoded_VkExtent2D* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* width */ +// width struct_body << "\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << ","; std::string variable_name = consumer.AddStruct(struct_body, "extent2D"); out << "\t\t" << "VkExtent2D " << variable_name << " {" << std::endl; @@ -3001,11 +3001,11 @@ std::string GenerateStruct_VkExtent2D(std::ostream &out, const VkExtent2D* struc std::string GenerateStruct_VkExtent3D(std::ostream &out, const VkExtent3D* structInfo, Decoded_VkExtent3D* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* width */ +// width struct_body << "\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << "," << std::endl; -/* depth */ +// depth struct_body << "\t\t\t" << structInfo->depth << ","; std::string variable_name = consumer.AddStruct(struct_body, "extent3D"); out << "\t\t" << "VkExtent3D " << variable_name << " {" << std::endl; @@ -3018,11 +3018,11 @@ std::string GenerateStruct_VkExtent3D(std::ostream &out, const VkExtent3D* struc std::string GenerateStruct_VkFenceCreateInfo(std::ostream &out, const VkFenceCreateInfo* structInfo, Decoded_VkFenceCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkFenceCreateFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "fenceCreateInfo"); out << "\t\t" << "VkFenceCreateInfo " << variable_name << " {" << std::endl; @@ -3034,11 +3034,11 @@ std::string GenerateStruct_VkFenceCreateInfo(std::ostream &out, const VkFenceCre std::string GenerateStruct_VkFormatProperties(std::ostream &out, const VkFormatProperties* structInfo, Decoded_VkFormatProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* linearTilingFeatures */ +// linearTilingFeatures struct_body << "\t" << "VkFormatFeatureFlags(" << structInfo->linearTilingFeatures << ")" << "," << std::endl; -/* optimalTilingFeatures */ +// optimalTilingFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags(" << structInfo->optimalTilingFeatures << ")" << "," << std::endl; -/* bufferFeatures */ +// bufferFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags(" << structInfo->bufferFeatures << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "formatProperties"); out << "\t\t" << "VkFormatProperties " << variable_name << " {" << std::endl; @@ -3064,23 +3064,23 @@ std::string GenerateStruct_VkFramebufferCreateInfo(std::ostream &out, const VkFr out << "\t\t" << "VkImageView " << pattachments_array << "[] = {" << pattachments_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkFramebufferCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* renderPass */ +// renderPass struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->renderPass) << "," << std::endl; -/* attachmentCount */ +// attachmentCount struct_body << "\t\t\t" << structInfo->attachmentCount << "," << std::endl; -/* pAttachments */ +// pAttachments struct_body << "\t\t\t" << pattachments_array << "," << std::endl; -/* width */ +// width struct_body << "\t\t\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << "," << std::endl; -/* layers */ +// layers struct_body << "\t\t\t" << structInfo->layers << ","; std::string variable_name = consumer.AddStruct(struct_body, "framebufferCreateInfo"); out << "\t\t" << "VkFramebufferCreateInfo " << variable_name << " {" << std::endl; @@ -3181,43 +3181,43 @@ std::string GenerateStruct_VkGraphicsPipelineCreateInfo(std::ostream &out, const consumer); pdynamic_state_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* stageCount */ +// stageCount struct_body << "\t\t\t" << structInfo->stageCount << "," << std::endl; -/* pStages */ +// pStages struct_body << "\t\t\t" << pstages_array << "," << std::endl; -/* pVertexInputState */ +// pVertexInputState struct_body << "\t\t\t" << pvertex_input_state_struct << "," << std::endl; -/* pInputAssemblyState */ +// pInputAssemblyState struct_body << "\t\t\t" << pinput_assembly_state_struct << "," << std::endl; -/* pTessellationState */ +// pTessellationState struct_body << "\t\t\t" << ptessellation_state_struct << "," << std::endl; -/* pViewportState */ +// pViewportState struct_body << "\t\t\t" << pviewport_state_struct << "," << std::endl; -/* pRasterizationState */ +// pRasterizationState struct_body << "\t\t\t" << prasterization_state_struct << "," << std::endl; -/* pMultisampleState */ +// pMultisampleState struct_body << "\t\t\t" << pmultisample_state_struct << "," << std::endl; -/* pDepthStencilState */ +// pDepthStencilState struct_body << "\t\t\t" << pdepth_stencil_state_struct << "," << std::endl; -/* pColorBlendState */ +// pColorBlendState struct_body << "\t\t\t" << pcolor_blend_state_struct << "," << std::endl; -/* pDynamicState */ +// pDynamicState struct_body << "\t\t\t" << pdynamic_state_struct << "," << std::endl; -/* layout */ +// layout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->layout) << "," << std::endl; -/* renderPass */ +// renderPass struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->renderPass) << "," << std::endl; -/* subpass */ +// subpass struct_body << "\t\t\t" << structInfo->subpass << "," << std::endl; -/* basePipelineHandle */ +// basePipelineHandle struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->basePipelineHandle) << "," << std::endl; -/* basePipelineIndex */ +// basePipelineIndex struct_body << "\t\t\t" << structInfo->basePipelineIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "graphicsPipelineCreateInfo"); out << "\t\t" << "VkGraphicsPipelineCreateInfo " << variable_name << " {" << std::endl; @@ -3237,13 +3237,13 @@ std::string GenerateStruct_VkImageBlit(std::ostream &out, const VkImageBlit* str &structInfo->dstSubresource, metaInfo->dstSubresource, consumer); -/* srcSubresource */ +// srcSubresource struct_body << "\t" << src_subresource_info_var << "," << std::endl; -/* srcOffsets */ +// srcOffsets struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->srcOffsets[0]), 2) << "," << std::endl; -/* dstSubresource */ +// dstSubresource struct_body << "\t\t\t" << dst_subresource_info_var << "," << std::endl; -/* dstOffsets */ +// dstOffsets struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->dstOffsets[0]), 2) << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageBlit"); out << "\t\t" << "VkImageBlit " << variable_name << " {" << std::endl; @@ -3275,15 +3275,15 @@ std::string GenerateStruct_VkImageCopy(std::ostream &out, const VkImageCopy* str &structInfo->extent, metaInfo->extent, consumer); -/* srcSubresource */ +// srcSubresource struct_body << "\t" << src_subresource_info_var << "," << std::endl; -/* srcOffset */ +// srcOffset struct_body << "\t\t\t" << src_offset_info_var << "," << std::endl; -/* dstSubresource */ +// dstSubresource struct_body << "\t\t\t" << dst_subresource_info_var << "," << std::endl; -/* dstOffset */ +// dstOffset struct_body << "\t\t\t" << dst_offset_info_var << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageCopy"); out << "\t\t" << "VkImageCopy " << variable_name << " {" << std::endl; @@ -3305,35 +3305,35 @@ std::string GenerateStruct_VkImageCreateInfo(std::ostream &out, const VkImageCre pqueue_family_indices_array = "pQueueFamilyIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pqueue_family_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pQueueFamilyIndices, structInfo->queueFamilyIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkImageCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* imageType */ +// imageType struct_body << "\t\t\t" << "VkImageType(" << structInfo->imageType << ")" << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << "," << std::endl; -/* mipLevels */ +// mipLevels struct_body << "\t\t\t" << structInfo->mipLevels << "," << std::endl; -/* arrayLayers */ +// arrayLayers struct_body << "\t\t\t" << structInfo->arrayLayers << "," << std::endl; -/* samples */ +// samples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->samples << ")" << "," << std::endl; -/* tiling */ +// tiling struct_body << "\t\t\t" << "VkImageTiling(" << structInfo->tiling << ")" << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->usage << ")" << "," << std::endl; -/* sharingMode */ +// sharingMode struct_body << "\t\t\t" << "VkSharingMode(" << structInfo->sharingMode << ")" << "," << std::endl; -/* queueFamilyIndexCount */ +// queueFamilyIndexCount struct_body << "\t\t\t" << structInfo->queueFamilyIndexCount << "," << std::endl; -/* pQueueFamilyIndices */ +// pQueueFamilyIndices struct_body << "\t\t\t" << pqueue_family_indices_array << "," << std::endl; -/* initialLayout */ +// initialLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->initialLayout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageCreateInfo"); out << "\t\t" << "VkImageCreateInfo " << variable_name << " {" << std::endl; @@ -3349,15 +3349,15 @@ std::string GenerateStruct_VkImageFormatProperties(std::ostream &out, const VkIm &structInfo->maxExtent, metaInfo->maxExtent, consumer); -/* maxExtent */ +// maxExtent struct_body << "\t" << max_extent_info_var << "," << std::endl; -/* maxMipLevels */ +// maxMipLevels struct_body << "\t\t\t" << structInfo->maxMipLevels << "," << std::endl; -/* maxArrayLayers */ +// maxArrayLayers struct_body << "\t\t\t" << structInfo->maxArrayLayers << "," << std::endl; -/* sampleCounts */ +// sampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->sampleCounts << ")" << "," << std::endl; -/* maxResourceSize */ +// maxResourceSize struct_body << "\t\t\t" << structInfo->maxResourceSize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageFormatProperties"); out << "\t\t" << "VkImageFormatProperties " << variable_name << " {" << std::endl; @@ -3374,25 +3374,25 @@ std::string GenerateStruct_VkImageMemoryBarrier(std::ostream &out, const VkImage &structInfo->subresourceRange, metaInfo->subresourceRange, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->dstAccessMask << ")" << "," << std::endl; -/* oldLayout */ +// oldLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->oldLayout << ")" << "," << std::endl; -/* newLayout */ +// newLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->newLayout << ")" << "," << std::endl; -/* srcQueueFamilyIndex */ +// srcQueueFamilyIndex struct_body << "\t\t\t" << structInfo->srcQueueFamilyIndex << "," << std::endl; -/* dstQueueFamilyIndex */ +// dstQueueFamilyIndex struct_body << "\t\t\t" << structInfo->dstQueueFamilyIndex << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* subresourceRange */ +// subresourceRange struct_body << "\t\t\t" << subresource_range_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageMemoryBarrier"); out << "\t\t" << "VkImageMemoryBarrier " << variable_name << " {" << std::endl; @@ -3424,15 +3424,15 @@ std::string GenerateStruct_VkImageResolve(std::ostream &out, const VkImageResolv &structInfo->extent, metaInfo->extent, consumer); -/* srcSubresource */ +// srcSubresource struct_body << "\t" << src_subresource_info_var << "," << std::endl; -/* srcOffset */ +// srcOffset struct_body << "\t\t\t" << src_offset_info_var << "," << std::endl; -/* dstSubresource */ +// dstSubresource struct_body << "\t\t\t" << dst_subresource_info_var << "," << std::endl; -/* dstOffset */ +// dstOffset struct_body << "\t\t\t" << dst_offset_info_var << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageResolve"); out << "\t\t" << "VkImageResolve " << variable_name << " {" << std::endl; @@ -3444,11 +3444,11 @@ std::string GenerateStruct_VkImageResolve(std::ostream &out, const VkImageResolv std::string GenerateStruct_VkImageSubresource(std::ostream &out, const VkImageSubresource* structInfo, Decoded_VkImageSubresource* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* aspectMask */ +// aspectMask struct_body << "\t" << "VkImageAspectFlags(" << structInfo->aspectMask << ")" << "," << std::endl; -/* mipLevel */ +// mipLevel struct_body << "\t\t\t" << structInfo->mipLevel << "," << std::endl; -/* arrayLayer */ +// arrayLayer struct_body << "\t\t\t" << structInfo->arrayLayer << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageSubresource"); out << "\t\t" << "VkImageSubresource " << variable_name << " {" << std::endl; @@ -3460,13 +3460,13 @@ std::string GenerateStruct_VkImageSubresource(std::ostream &out, const VkImageSu std::string GenerateStruct_VkImageSubresourceLayers(std::ostream &out, const VkImageSubresourceLayers* structInfo, Decoded_VkImageSubresourceLayers* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* aspectMask */ +// aspectMask struct_body << "\t" << "VkImageAspectFlags(" << structInfo->aspectMask << ")" << "," << std::endl; -/* mipLevel */ +// mipLevel struct_body << "\t\t\t" << structInfo->mipLevel << "," << std::endl; -/* baseArrayLayer */ +// baseArrayLayer struct_body << "\t\t\t" << structInfo->baseArrayLayer << "," << std::endl; -/* layerCount */ +// layerCount struct_body << "\t\t\t" << structInfo->layerCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageSubresourceLayers"); out << "\t\t" << "VkImageSubresourceLayers " << variable_name << " {" << std::endl; @@ -3478,15 +3478,15 @@ std::string GenerateStruct_VkImageSubresourceLayers(std::ostream &out, const VkI std::string GenerateStruct_VkImageSubresourceRange(std::ostream &out, const VkImageSubresourceRange* structInfo, Decoded_VkImageSubresourceRange* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* aspectMask */ +// aspectMask struct_body << "\t" << "VkImageAspectFlags(" << structInfo->aspectMask << ")" << "," << std::endl; -/* baseMipLevel */ +// baseMipLevel struct_body << "\t\t\t" << structInfo->baseMipLevel << "," << std::endl; -/* levelCount */ +// levelCount struct_body << "\t\t\t" << structInfo->levelCount << "," << std::endl; -/* baseArrayLayer */ +// baseArrayLayer struct_body << "\t\t\t" << structInfo->baseArrayLayer << "," << std::endl; -/* layerCount */ +// layerCount struct_body << "\t\t\t" << structInfo->layerCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageSubresourceRange"); out << "\t\t" << "VkImageSubresourceRange " << variable_name << " {" << std::endl; @@ -3507,21 +3507,21 @@ std::string GenerateStruct_VkImageViewCreateInfo(std::ostream &out, const VkImag &structInfo->subresourceRange, metaInfo->subresourceRange, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkImageViewCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* viewType */ +// viewType struct_body << "\t\t\t" << "VkImageViewType(" << structInfo->viewType << ")" << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* components */ +// components struct_body << "\t\t\t" << components_info_var << "," << std::endl; -/* subresourceRange */ +// subresourceRange struct_body << "\t\t\t" << subresource_range_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewCreateInfo"); out << "\t\t" << "VkImageViewCreateInfo " << variable_name << " {" << std::endl; @@ -3552,21 +3552,21 @@ std::string GenerateStruct_VkInstanceCreateInfo(std::ostream &out, const VkInsta pp_enabled_extension_names_var = "ppEnabledExtensionNames_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "const char* " << pp_enabled_extension_names_var << "[] = " << VulkanCppConsumerBase::EscapeStringArray(structInfo->ppEnabledExtensionNames, structInfo->enabledExtensionCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkInstanceCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* pApplicationInfo */ +// pApplicationInfo struct_body << "\t\t\t" << papplication_info_struct << "," << std::endl; -/* enabledLayerCount */ +// enabledLayerCount struct_body << "\t\t\t" << structInfo->enabledLayerCount << "," << std::endl; -/* ppEnabledLayerNames */ +// ppEnabledLayerNames struct_body << "\t\t\t" << pp_enabled_layer_names_var << "," << std::endl; -/* enabledExtensionCount */ +// enabledExtensionCount struct_body << "\t\t\t" << structInfo->enabledExtensionCount << "," << std::endl; -/* ppEnabledExtensionNames */ +// ppEnabledExtensionNames struct_body << "\t\t\t" << pp_enabled_extension_names_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "instanceCreateInfo"); out << "\t\t" << "VkInstanceCreateInfo " << variable_name << " {" << std::endl; @@ -3578,13 +3578,13 @@ std::string GenerateStruct_VkInstanceCreateInfo(std::ostream &out, const VkInsta std::string GenerateStruct_VkLayerProperties(std::ostream &out, const VkLayerProperties* structInfo, Decoded_VkLayerProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* layerName */ +// layerName struct_body << "\t" << VulkanCppConsumerBase::ToEscape(structInfo->layerName) << "," << std::endl; -/* specVersion */ +// specVersion struct_body << "\t\t\t" << structInfo->specVersion << "," << std::endl; -/* implementationVersion */ +// implementationVersion struct_body << "\t\t\t" << structInfo->implementationVersion << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << ","; std::string variable_name = consumer.AddStruct(struct_body, "layerProperties"); out << "\t\t" << "VkLayerProperties " << variable_name << " {" << std::endl; @@ -3597,15 +3597,15 @@ std::string GenerateStruct_VkLayerProperties(std::ostream &out, const VkLayerPro std::string GenerateStruct_VkMappedMemoryRange(std::ostream &out, const VkMappedMemoryRange* structInfo, Decoded_VkMappedMemoryRange* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "mappedMemoryRange"); out << "\t\t" << "VkMappedMemoryRange " << variable_name << " {" << std::endl; @@ -3618,13 +3618,13 @@ std::string GenerateStruct_VkMappedMemoryRange(std::ostream &out, const VkMapped std::string GenerateStruct_VkMemoryAllocateInfo(std::ostream &out, const VkMemoryAllocateInfo* structInfo, Decoded_VkMemoryAllocateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* allocationSize */ +// allocationSize struct_body << "\t\t\t" << structInfo->allocationSize << "UL" << "," << std::endl; -/* memoryTypeIndex */ +// memoryTypeIndex struct_body << "\t\t\t" << structInfo->memoryTypeIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryAllocateInfo"); out << "\t\t" << "VkMemoryAllocateInfo " << variable_name << " {" << std::endl; @@ -3637,13 +3637,13 @@ std::string GenerateStruct_VkMemoryAllocateInfo(std::ostream &out, const VkMemor std::string GenerateStruct_VkMemoryBarrier(std::ostream &out, const VkMemoryBarrier* structInfo, Decoded_VkMemoryBarrier* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->dstAccessMask << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryBarrier"); out << "\t\t" << "VkMemoryBarrier " << variable_name << " {" << std::endl; @@ -3655,9 +3655,9 @@ std::string GenerateStruct_VkMemoryBarrier(std::ostream &out, const VkMemoryBarr std::string GenerateStruct_VkMemoryHeap(std::ostream &out, const VkMemoryHeap* structInfo, Decoded_VkMemoryHeap* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* size */ +// size struct_body << "\t" << structInfo->size << "UL" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkMemoryHeapFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryHeap"); out << "\t\t" << "VkMemoryHeap " << variable_name << " {" << std::endl; @@ -3669,11 +3669,11 @@ std::string GenerateStruct_VkMemoryHeap(std::ostream &out, const VkMemoryHeap* s std::string GenerateStruct_VkMemoryRequirements(std::ostream &out, const VkMemoryRequirements* structInfo, Decoded_VkMemoryRequirements* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* size */ +// size struct_body << "\t" << structInfo->size << "UL" << "," << std::endl; -/* alignment */ +// alignment struct_body << "\t\t\t" << structInfo->alignment << "UL" << "," << std::endl; -/* memoryTypeBits */ +// memoryTypeBits struct_body << "\t\t\t" << structInfo->memoryTypeBits << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryRequirements"); out << "\t\t" << "VkMemoryRequirements " << variable_name << " {" << std::endl; @@ -3685,9 +3685,9 @@ std::string GenerateStruct_VkMemoryRequirements(std::ostream &out, const VkMemor std::string GenerateStruct_VkMemoryType(std::ostream &out, const VkMemoryType* structInfo, Decoded_VkMemoryType* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* propertyFlags */ +// propertyFlags struct_body << "\t" << "VkMemoryPropertyFlags(" << structInfo->propertyFlags << ")" << "," << std::endl; -/* heapIndex */ +// heapIndex struct_body << "\t\t\t" << structInfo->heapIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryType"); out << "\t\t" << "VkMemoryType " << variable_name << " {" << std::endl; @@ -3699,9 +3699,9 @@ std::string GenerateStruct_VkMemoryType(std::ostream &out, const VkMemoryType* s std::string GenerateStruct_VkOffset2D(std::ostream &out, const VkOffset2D* structInfo, Decoded_VkOffset2D* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* x */ +// x struct_body << "\t" << structInfo->x << "," << std::endl; -/* y */ +// y struct_body << "\t\t\t" << structInfo->y << ","; std::string variable_name = consumer.AddStruct(struct_body, "offset2D"); out << "\t\t" << "VkOffset2D " << variable_name << " {" << std::endl; @@ -3713,11 +3713,11 @@ std::string GenerateStruct_VkOffset2D(std::ostream &out, const VkOffset2D* struc std::string GenerateStruct_VkOffset3D(std::ostream &out, const VkOffset3D* structInfo, Decoded_VkOffset3D* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* x */ +// x struct_body << "\t" << structInfo->x << "," << std::endl; -/* y */ +// y struct_body << "\t\t\t" << structInfo->y << "," << std::endl; -/* z */ +// z struct_body << "\t\t\t" << structInfo->z << ","; std::string variable_name = consumer.AddStruct(struct_body, "offset3D"); out << "\t\t" << "VkOffset3D " << variable_name << " {" << std::endl; @@ -3729,115 +3729,115 @@ std::string GenerateStruct_VkOffset3D(std::ostream &out, const VkOffset3D* struc std::string GenerateStruct_VkPhysicalDeviceFeatures(std::ostream &out, const VkPhysicalDeviceFeatures* structInfo, Decoded_VkPhysicalDeviceFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* robustBufferAccess */ +// robustBufferAccess struct_body << "\t" << structInfo->robustBufferAccess << "," << std::endl; -/* fullDrawIndexUint32 */ +// fullDrawIndexUint32 struct_body << "\t\t\t" << structInfo->fullDrawIndexUint32 << "," << std::endl; -/* imageCubeArray */ +// imageCubeArray struct_body << "\t\t\t" << structInfo->imageCubeArray << "," << std::endl; -/* independentBlend */ +// independentBlend struct_body << "\t\t\t" << structInfo->independentBlend << "," << std::endl; -/* geometryShader */ +// geometryShader struct_body << "\t\t\t" << structInfo->geometryShader << "," << std::endl; -/* tessellationShader */ +// tessellationShader struct_body << "\t\t\t" << structInfo->tessellationShader << "," << std::endl; -/* sampleRateShading */ +// sampleRateShading struct_body << "\t\t\t" << structInfo->sampleRateShading << "," << std::endl; -/* dualSrcBlend */ +// dualSrcBlend struct_body << "\t\t\t" << structInfo->dualSrcBlend << "," << std::endl; -/* logicOp */ +// logicOp struct_body << "\t\t\t" << structInfo->logicOp << "," << std::endl; -/* multiDrawIndirect */ +// multiDrawIndirect struct_body << "\t\t\t" << structInfo->multiDrawIndirect << "," << std::endl; -/* drawIndirectFirstInstance */ +// drawIndirectFirstInstance struct_body << "\t\t\t" << structInfo->drawIndirectFirstInstance << "," << std::endl; -/* depthClamp */ +// depthClamp struct_body << "\t\t\t" << structInfo->depthClamp << "," << std::endl; -/* depthBiasClamp */ +// depthBiasClamp struct_body << "\t\t\t" << structInfo->depthBiasClamp << "," << std::endl; -/* fillModeNonSolid */ +// fillModeNonSolid struct_body << "\t\t\t" << structInfo->fillModeNonSolid << "," << std::endl; -/* depthBounds */ +// depthBounds struct_body << "\t\t\t" << structInfo->depthBounds << "," << std::endl; -/* wideLines */ +// wideLines struct_body << "\t\t\t" << structInfo->wideLines << "," << std::endl; -/* largePoints */ +// largePoints struct_body << "\t\t\t" << structInfo->largePoints << "," << std::endl; -/* alphaToOne */ +// alphaToOne struct_body << "\t\t\t" << structInfo->alphaToOne << "," << std::endl; -/* multiViewport */ +// multiViewport struct_body << "\t\t\t" << structInfo->multiViewport << "," << std::endl; -/* samplerAnisotropy */ +// samplerAnisotropy struct_body << "\t\t\t" << structInfo->samplerAnisotropy << "," << std::endl; -/* textureCompressionETC2 */ +// textureCompressionETC2 struct_body << "\t\t\t" << structInfo->textureCompressionETC2 << "," << std::endl; -/* textureCompressionASTC_LDR */ +// textureCompressionASTC_LDR struct_body << "\t\t\t" << structInfo->textureCompressionASTC_LDR << "," << std::endl; -/* textureCompressionBC */ +// textureCompressionBC struct_body << "\t\t\t" << structInfo->textureCompressionBC << "," << std::endl; -/* occlusionQueryPrecise */ +// occlusionQueryPrecise struct_body << "\t\t\t" << structInfo->occlusionQueryPrecise << "," << std::endl; -/* pipelineStatisticsQuery */ +// pipelineStatisticsQuery struct_body << "\t\t\t" << structInfo->pipelineStatisticsQuery << "," << std::endl; -/* vertexPipelineStoresAndAtomics */ +// vertexPipelineStoresAndAtomics struct_body << "\t\t\t" << structInfo->vertexPipelineStoresAndAtomics << "," << std::endl; -/* fragmentStoresAndAtomics */ +// fragmentStoresAndAtomics struct_body << "\t\t\t" << structInfo->fragmentStoresAndAtomics << "," << std::endl; -/* shaderTessellationAndGeometryPointSize */ +// shaderTessellationAndGeometryPointSize struct_body << "\t\t\t" << structInfo->shaderTessellationAndGeometryPointSize << "," << std::endl; -/* shaderImageGatherExtended */ +// shaderImageGatherExtended struct_body << "\t\t\t" << structInfo->shaderImageGatherExtended << "," << std::endl; -/* shaderStorageImageExtendedFormats */ +// shaderStorageImageExtendedFormats struct_body << "\t\t\t" << structInfo->shaderStorageImageExtendedFormats << "," << std::endl; -/* shaderStorageImageMultisample */ +// shaderStorageImageMultisample struct_body << "\t\t\t" << structInfo->shaderStorageImageMultisample << "," << std::endl; -/* shaderStorageImageReadWithoutFormat */ +// shaderStorageImageReadWithoutFormat struct_body << "\t\t\t" << structInfo->shaderStorageImageReadWithoutFormat << "," << std::endl; -/* shaderStorageImageWriteWithoutFormat */ +// shaderStorageImageWriteWithoutFormat struct_body << "\t\t\t" << structInfo->shaderStorageImageWriteWithoutFormat << "," << std::endl; -/* shaderUniformBufferArrayDynamicIndexing */ +// shaderUniformBufferArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderUniformBufferArrayDynamicIndexing << "," << std::endl; -/* shaderSampledImageArrayDynamicIndexing */ +// shaderSampledImageArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderSampledImageArrayDynamicIndexing << "," << std::endl; -/* shaderStorageBufferArrayDynamicIndexing */ +// shaderStorageBufferArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderStorageBufferArrayDynamicIndexing << "," << std::endl; -/* shaderStorageImageArrayDynamicIndexing */ +// shaderStorageImageArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderStorageImageArrayDynamicIndexing << "," << std::endl; -/* shaderClipDistance */ +// shaderClipDistance struct_body << "\t\t\t" << structInfo->shaderClipDistance << "," << std::endl; -/* shaderCullDistance */ +// shaderCullDistance struct_body << "\t\t\t" << structInfo->shaderCullDistance << "," << std::endl; -/* shaderFloat64 */ +// shaderFloat64 struct_body << "\t\t\t" << structInfo->shaderFloat64 << "," << std::endl; -/* shaderInt64 */ +// shaderInt64 struct_body << "\t\t\t" << structInfo->shaderInt64 << "," << std::endl; -/* shaderInt16 */ +// shaderInt16 struct_body << "\t\t\t" << structInfo->shaderInt16 << "," << std::endl; -/* shaderResourceResidency */ +// shaderResourceResidency struct_body << "\t\t\t" << structInfo->shaderResourceResidency << "," << std::endl; -/* shaderResourceMinLod */ +// shaderResourceMinLod struct_body << "\t\t\t" << structInfo->shaderResourceMinLod << "," << std::endl; -/* sparseBinding */ +// sparseBinding struct_body << "\t\t\t" << structInfo->sparseBinding << "," << std::endl; -/* sparseResidencyBuffer */ +// sparseResidencyBuffer struct_body << "\t\t\t" << structInfo->sparseResidencyBuffer << "," << std::endl; -/* sparseResidencyImage2D */ +// sparseResidencyImage2D struct_body << "\t\t\t" << structInfo->sparseResidencyImage2D << "," << std::endl; -/* sparseResidencyImage3D */ +// sparseResidencyImage3D struct_body << "\t\t\t" << structInfo->sparseResidencyImage3D << "," << std::endl; -/* sparseResidency2Samples */ +// sparseResidency2Samples struct_body << "\t\t\t" << structInfo->sparseResidency2Samples << "," << std::endl; -/* sparseResidency4Samples */ +// sparseResidency4Samples struct_body << "\t\t\t" << structInfo->sparseResidency4Samples << "," << std::endl; -/* sparseResidency8Samples */ +// sparseResidency8Samples struct_body << "\t\t\t" << structInfo->sparseResidency8Samples << "," << std::endl; -/* sparseResidency16Samples */ +// sparseResidency16Samples struct_body << "\t\t\t" << structInfo->sparseResidency16Samples << "," << std::endl; -/* sparseResidencyAliased */ +// sparseResidencyAliased struct_body << "\t\t\t" << structInfo->sparseResidencyAliased << "," << std::endl; -/* variableMultisampleRate */ +// variableMultisampleRate struct_body << "\t\t\t" << structInfo->variableMultisampleRate << "," << std::endl; -/* inheritedQueries */ +// inheritedQueries struct_body << "\t\t\t" << structInfo->inheritedQueries << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFeatures"); out << "\t\t" << "VkPhysicalDeviceFeatures " << variable_name << " {" << std::endl; @@ -3849,217 +3849,217 @@ std::string GenerateStruct_VkPhysicalDeviceFeatures(std::ostream &out, const VkP std::string GenerateStruct_VkPhysicalDeviceLimits(std::ostream &out, const VkPhysicalDeviceLimits* structInfo, Decoded_VkPhysicalDeviceLimits* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* maxImageDimension1D */ +// maxImageDimension1D struct_body << "\t" << structInfo->maxImageDimension1D << "," << std::endl; -/* maxImageDimension2D */ +// maxImageDimension2D struct_body << "\t\t\t" << structInfo->maxImageDimension2D << "," << std::endl; -/* maxImageDimension3D */ +// maxImageDimension3D struct_body << "\t\t\t" << structInfo->maxImageDimension3D << "," << std::endl; -/* maxImageDimensionCube */ +// maxImageDimensionCube struct_body << "\t\t\t" << structInfo->maxImageDimensionCube << "," << std::endl; -/* maxImageArrayLayers */ +// maxImageArrayLayers struct_body << "\t\t\t" << structInfo->maxImageArrayLayers << "," << std::endl; -/* maxTexelBufferElements */ +// maxTexelBufferElements struct_body << "\t\t\t" << structInfo->maxTexelBufferElements << "," << std::endl; -/* maxUniformBufferRange */ +// maxUniformBufferRange struct_body << "\t\t\t" << structInfo->maxUniformBufferRange << "," << std::endl; -/* maxStorageBufferRange */ +// maxStorageBufferRange struct_body << "\t\t\t" << structInfo->maxStorageBufferRange << "," << std::endl; -/* maxPushConstantsSize */ +// maxPushConstantsSize struct_body << "\t\t\t" << structInfo->maxPushConstantsSize << "," << std::endl; -/* maxMemoryAllocationCount */ +// maxMemoryAllocationCount struct_body << "\t\t\t" << structInfo->maxMemoryAllocationCount << "," << std::endl; -/* maxSamplerAllocationCount */ +// maxSamplerAllocationCount struct_body << "\t\t\t" << structInfo->maxSamplerAllocationCount << "," << std::endl; -/* bufferImageGranularity */ +// bufferImageGranularity struct_body << "\t\t\t" << structInfo->bufferImageGranularity << "UL" << "," << std::endl; -/* sparseAddressSpaceSize */ +// sparseAddressSpaceSize struct_body << "\t\t\t" << structInfo->sparseAddressSpaceSize << "UL" << "," << std::endl; -/* maxBoundDescriptorSets */ +// maxBoundDescriptorSets struct_body << "\t\t\t" << structInfo->maxBoundDescriptorSets << "," << std::endl; -/* maxPerStageDescriptorSamplers */ +// maxPerStageDescriptorSamplers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorSamplers << "," << std::endl; -/* maxPerStageDescriptorUniformBuffers */ +// maxPerStageDescriptorUniformBuffers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUniformBuffers << "," << std::endl; -/* maxPerStageDescriptorStorageBuffers */ +// maxPerStageDescriptorStorageBuffers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorStorageBuffers << "," << std::endl; -/* maxPerStageDescriptorSampledImages */ +// maxPerStageDescriptorSampledImages struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorSampledImages << "," << std::endl; -/* maxPerStageDescriptorStorageImages */ +// maxPerStageDescriptorStorageImages struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorStorageImages << "," << std::endl; -/* maxPerStageDescriptorInputAttachments */ +// maxPerStageDescriptorInputAttachments struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorInputAttachments << "," << std::endl; -/* maxPerStageResources */ +// maxPerStageResources struct_body << "\t\t\t" << structInfo->maxPerStageResources << "," << std::endl; -/* maxDescriptorSetSamplers */ +// maxDescriptorSetSamplers struct_body << "\t\t\t" << structInfo->maxDescriptorSetSamplers << "," << std::endl; -/* maxDescriptorSetUniformBuffers */ +// maxDescriptorSetUniformBuffers struct_body << "\t\t\t" << structInfo->maxDescriptorSetUniformBuffers << "," << std::endl; -/* maxDescriptorSetUniformBuffersDynamic */ +// maxDescriptorSetUniformBuffersDynamic struct_body << "\t\t\t" << structInfo->maxDescriptorSetUniformBuffersDynamic << "," << std::endl; -/* maxDescriptorSetStorageBuffers */ +// maxDescriptorSetStorageBuffers struct_body << "\t\t\t" << structInfo->maxDescriptorSetStorageBuffers << "," << std::endl; -/* maxDescriptorSetStorageBuffersDynamic */ +// maxDescriptorSetStorageBuffersDynamic struct_body << "\t\t\t" << structInfo->maxDescriptorSetStorageBuffersDynamic << "," << std::endl; -/* maxDescriptorSetSampledImages */ +// maxDescriptorSetSampledImages struct_body << "\t\t\t" << structInfo->maxDescriptorSetSampledImages << "," << std::endl; -/* maxDescriptorSetStorageImages */ +// maxDescriptorSetStorageImages struct_body << "\t\t\t" << structInfo->maxDescriptorSetStorageImages << "," << std::endl; -/* maxDescriptorSetInputAttachments */ +// maxDescriptorSetInputAttachments struct_body << "\t\t\t" << structInfo->maxDescriptorSetInputAttachments << "," << std::endl; -/* maxVertexInputAttributes */ +// maxVertexInputAttributes struct_body << "\t\t\t" << structInfo->maxVertexInputAttributes << "," << std::endl; -/* maxVertexInputBindings */ +// maxVertexInputBindings struct_body << "\t\t\t" << structInfo->maxVertexInputBindings << "," << std::endl; -/* maxVertexInputAttributeOffset */ +// maxVertexInputAttributeOffset struct_body << "\t\t\t" << structInfo->maxVertexInputAttributeOffset << "," << std::endl; -/* maxVertexInputBindingStride */ +// maxVertexInputBindingStride struct_body << "\t\t\t" << structInfo->maxVertexInputBindingStride << "," << std::endl; -/* maxVertexOutputComponents */ +// maxVertexOutputComponents struct_body << "\t\t\t" << structInfo->maxVertexOutputComponents << "," << std::endl; -/* maxTessellationGenerationLevel */ +// maxTessellationGenerationLevel struct_body << "\t\t\t" << structInfo->maxTessellationGenerationLevel << "," << std::endl; -/* maxTessellationPatchSize */ +// maxTessellationPatchSize struct_body << "\t\t\t" << structInfo->maxTessellationPatchSize << "," << std::endl; -/* maxTessellationControlPerVertexInputComponents */ +// maxTessellationControlPerVertexInputComponents struct_body << "\t\t\t" << structInfo->maxTessellationControlPerVertexInputComponents << "," << std::endl; -/* maxTessellationControlPerVertexOutputComponents */ +// maxTessellationControlPerVertexOutputComponents struct_body << "\t\t\t" << structInfo->maxTessellationControlPerVertexOutputComponents << "," << std::endl; -/* maxTessellationControlPerPatchOutputComponents */ +// maxTessellationControlPerPatchOutputComponents struct_body << "\t\t\t" << structInfo->maxTessellationControlPerPatchOutputComponents << "," << std::endl; -/* maxTessellationControlTotalOutputComponents */ +// maxTessellationControlTotalOutputComponents struct_body << "\t\t\t" << structInfo->maxTessellationControlTotalOutputComponents << "," << std::endl; -/* maxTessellationEvaluationInputComponents */ +// maxTessellationEvaluationInputComponents struct_body << "\t\t\t" << structInfo->maxTessellationEvaluationInputComponents << "," << std::endl; -/* maxTessellationEvaluationOutputComponents */ +// maxTessellationEvaluationOutputComponents struct_body << "\t\t\t" << structInfo->maxTessellationEvaluationOutputComponents << "," << std::endl; -/* maxGeometryShaderInvocations */ +// maxGeometryShaderInvocations struct_body << "\t\t\t" << structInfo->maxGeometryShaderInvocations << "," << std::endl; -/* maxGeometryInputComponents */ +// maxGeometryInputComponents struct_body << "\t\t\t" << structInfo->maxGeometryInputComponents << "," << std::endl; -/* maxGeometryOutputComponents */ +// maxGeometryOutputComponents struct_body << "\t\t\t" << structInfo->maxGeometryOutputComponents << "," << std::endl; -/* maxGeometryOutputVertices */ +// maxGeometryOutputVertices struct_body << "\t\t\t" << structInfo->maxGeometryOutputVertices << "," << std::endl; -/* maxGeometryTotalOutputComponents */ +// maxGeometryTotalOutputComponents struct_body << "\t\t\t" << structInfo->maxGeometryTotalOutputComponents << "," << std::endl; -/* maxFragmentInputComponents */ +// maxFragmentInputComponents struct_body << "\t\t\t" << structInfo->maxFragmentInputComponents << "," << std::endl; -/* maxFragmentOutputAttachments */ +// maxFragmentOutputAttachments struct_body << "\t\t\t" << structInfo->maxFragmentOutputAttachments << "," << std::endl; -/* maxFragmentDualSrcAttachments */ +// maxFragmentDualSrcAttachments struct_body << "\t\t\t" << structInfo->maxFragmentDualSrcAttachments << "," << std::endl; -/* maxFragmentCombinedOutputResources */ +// maxFragmentCombinedOutputResources struct_body << "\t\t\t" << structInfo->maxFragmentCombinedOutputResources << "," << std::endl; -/* maxComputeSharedMemorySize */ +// maxComputeSharedMemorySize struct_body << "\t\t\t" << structInfo->maxComputeSharedMemorySize << "," << std::endl; -/* maxComputeWorkGroupCount */ +// maxComputeWorkGroupCount struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxComputeWorkGroupCount[0]), 3) << "," << std::endl; -/* maxComputeWorkGroupInvocations */ +// maxComputeWorkGroupInvocations struct_body << "\t\t\t" << structInfo->maxComputeWorkGroupInvocations << "," << std::endl; -/* maxComputeWorkGroupSize */ +// maxComputeWorkGroupSize struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxComputeWorkGroupSize[0]), 3) << "," << std::endl; -/* subPixelPrecisionBits */ +// subPixelPrecisionBits struct_body << "\t\t\t" << structInfo->subPixelPrecisionBits << "," << std::endl; -/* subTexelPrecisionBits */ +// subTexelPrecisionBits struct_body << "\t\t\t" << structInfo->subTexelPrecisionBits << "," << std::endl; -/* mipmapPrecisionBits */ +// mipmapPrecisionBits struct_body << "\t\t\t" << structInfo->mipmapPrecisionBits << "," << std::endl; -/* maxDrawIndexedIndexValue */ +// maxDrawIndexedIndexValue struct_body << "\t\t\t" << structInfo->maxDrawIndexedIndexValue << "," << std::endl; -/* maxDrawIndirectCount */ +// maxDrawIndirectCount struct_body << "\t\t\t" << structInfo->maxDrawIndirectCount << "," << std::endl; -/* maxSamplerLodBias */ +// maxSamplerLodBias struct_body << "\t\t\t" << structInfo->maxSamplerLodBias << "," << std::endl; -/* maxSamplerAnisotropy */ +// maxSamplerAnisotropy struct_body << "\t\t\t" << structInfo->maxSamplerAnisotropy << "," << std::endl; -/* maxViewports */ +// maxViewports struct_body << "\t\t\t" << structInfo->maxViewports << "," << std::endl; -/* maxViewportDimensions */ +// maxViewportDimensions struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxViewportDimensions[0]), 2) << "," << std::endl; -/* viewportBoundsRange */ +// viewportBoundsRange struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->viewportBoundsRange[0]), 2) << "," << std::endl; -/* viewportSubPixelBits */ +// viewportSubPixelBits struct_body << "\t\t\t" << structInfo->viewportSubPixelBits << "," << std::endl; -/* minMemoryMapAlignment */ +// minMemoryMapAlignment struct_body << "\t\t\t" << structInfo->minMemoryMapAlignment << "," << std::endl; -/* minTexelBufferOffsetAlignment */ +// minTexelBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->minTexelBufferOffsetAlignment << "UL" << "," << std::endl; -/* minUniformBufferOffsetAlignment */ +// minUniformBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->minUniformBufferOffsetAlignment << "UL" << "," << std::endl; -/* minStorageBufferOffsetAlignment */ +// minStorageBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->minStorageBufferOffsetAlignment << "UL" << "," << std::endl; -/* minTexelOffset */ +// minTexelOffset struct_body << "\t\t\t" << structInfo->minTexelOffset << "," << std::endl; -/* maxTexelOffset */ +// maxTexelOffset struct_body << "\t\t\t" << structInfo->maxTexelOffset << "," << std::endl; -/* minTexelGatherOffset */ +// minTexelGatherOffset struct_body << "\t\t\t" << structInfo->minTexelGatherOffset << "," << std::endl; -/* maxTexelGatherOffset */ +// maxTexelGatherOffset struct_body << "\t\t\t" << structInfo->maxTexelGatherOffset << "," << std::endl; -/* minInterpolationOffset */ +// minInterpolationOffset struct_body << "\t\t\t" << structInfo->minInterpolationOffset << "," << std::endl; -/* maxInterpolationOffset */ +// maxInterpolationOffset struct_body << "\t\t\t" << structInfo->maxInterpolationOffset << "," << std::endl; -/* subPixelInterpolationOffsetBits */ +// subPixelInterpolationOffsetBits struct_body << "\t\t\t" << structInfo->subPixelInterpolationOffsetBits << "," << std::endl; -/* maxFramebufferWidth */ +// maxFramebufferWidth struct_body << "\t\t\t" << structInfo->maxFramebufferWidth << "," << std::endl; -/* maxFramebufferHeight */ +// maxFramebufferHeight struct_body << "\t\t\t" << structInfo->maxFramebufferHeight << "," << std::endl; -/* maxFramebufferLayers */ +// maxFramebufferLayers struct_body << "\t\t\t" << structInfo->maxFramebufferLayers << "," << std::endl; -/* framebufferColorSampleCounts */ +// framebufferColorSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->framebufferColorSampleCounts << ")" << "," << std::endl; -/* framebufferDepthSampleCounts */ +// framebufferDepthSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->framebufferDepthSampleCounts << ")" << "," << std::endl; -/* framebufferStencilSampleCounts */ +// framebufferStencilSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->framebufferStencilSampleCounts << ")" << "," << std::endl; -/* framebufferNoAttachmentsSampleCounts */ +// framebufferNoAttachmentsSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->framebufferNoAttachmentsSampleCounts << ")" << "," << std::endl; -/* maxColorAttachments */ +// maxColorAttachments struct_body << "\t\t\t" << structInfo->maxColorAttachments << "," << std::endl; -/* sampledImageColorSampleCounts */ +// sampledImageColorSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->sampledImageColorSampleCounts << ")" << "," << std::endl; -/* sampledImageIntegerSampleCounts */ +// sampledImageIntegerSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->sampledImageIntegerSampleCounts << ")" << "," << std::endl; -/* sampledImageDepthSampleCounts */ +// sampledImageDepthSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->sampledImageDepthSampleCounts << ")" << "," << std::endl; -/* sampledImageStencilSampleCounts */ +// sampledImageStencilSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->sampledImageStencilSampleCounts << ")" << "," << std::endl; -/* storageImageSampleCounts */ +// storageImageSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->storageImageSampleCounts << ")" << "," << std::endl; -/* maxSampleMaskWords */ +// maxSampleMaskWords struct_body << "\t\t\t" << structInfo->maxSampleMaskWords << "," << std::endl; -/* timestampComputeAndGraphics */ +// timestampComputeAndGraphics struct_body << "\t\t\t" << structInfo->timestampComputeAndGraphics << "," << std::endl; -/* timestampPeriod */ +// timestampPeriod struct_body << "\t\t\t" << structInfo->timestampPeriod << "," << std::endl; -/* maxClipDistances */ +// maxClipDistances struct_body << "\t\t\t" << structInfo->maxClipDistances << "," << std::endl; -/* maxCullDistances */ +// maxCullDistances struct_body << "\t\t\t" << structInfo->maxCullDistances << "," << std::endl; -/* maxCombinedClipAndCullDistances */ +// maxCombinedClipAndCullDistances struct_body << "\t\t\t" << structInfo->maxCombinedClipAndCullDistances << "," << std::endl; -/* discreteQueuePriorities */ +// discreteQueuePriorities struct_body << "\t\t\t" << structInfo->discreteQueuePriorities << "," << std::endl; -/* pointSizeRange */ +// pointSizeRange struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->pointSizeRange[0]), 2) << "," << std::endl; -/* lineWidthRange */ +// lineWidthRange struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->lineWidthRange[0]), 2) << "," << std::endl; -/* pointSizeGranularity */ +// pointSizeGranularity struct_body << "\t\t\t" << structInfo->pointSizeGranularity << "," << std::endl; -/* lineWidthGranularity */ +// lineWidthGranularity struct_body << "\t\t\t" << structInfo->lineWidthGranularity << "," << std::endl; -/* strictLines */ +// strictLines struct_body << "\t\t\t" << structInfo->strictLines << "," << std::endl; -/* standardSampleLocations */ +// standardSampleLocations struct_body << "\t\t\t" << structInfo->standardSampleLocations << "," << std::endl; -/* optimalBufferCopyOffsetAlignment */ +// optimalBufferCopyOffsetAlignment struct_body << "\t\t\t" << structInfo->optimalBufferCopyOffsetAlignment << "UL" << "," << std::endl; -/* optimalBufferCopyRowPitchAlignment */ +// optimalBufferCopyRowPitchAlignment struct_body << "\t\t\t" << structInfo->optimalBufferCopyRowPitchAlignment << "UL" << "," << std::endl; -/* nonCoherentAtomSize */ +// nonCoherentAtomSize struct_body << "\t\t\t" << structInfo->nonCoherentAtomSize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLimits"); out << "\t\t" << "VkPhysicalDeviceLimits " << variable_name << " {" << std::endl; @@ -4071,13 +4071,13 @@ std::string GenerateStruct_VkPhysicalDeviceLimits(std::ostream &out, const VkPhy std::string GenerateStruct_VkPhysicalDeviceMemoryProperties(std::ostream &out, const VkPhysicalDeviceMemoryProperties* structInfo, Decoded_VkPhysicalDeviceMemoryProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* memoryTypeCount */ +// memoryTypeCount struct_body << "\t" << structInfo->memoryTypeCount << "," << std::endl; -/* memoryTypes */ +// memoryTypes struct_body << "\t\t\t{}," << std::endl; -/* memoryHeapCount */ +// memoryHeapCount struct_body << "\t\t\t" << structInfo->memoryHeapCount << "," << std::endl; -/* memoryHeaps */ +// memoryHeaps struct_body << "\t\t\t{}," << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMemoryProperties"); out << "\t\t" << "VkPhysicalDeviceMemoryProperties " << variable_name << " {" << std::endl; @@ -4097,23 +4097,23 @@ std::string GenerateStruct_VkPhysicalDeviceProperties(std::ostream &out, const V &structInfo->sparseProperties, metaInfo->sparseProperties, consumer); -/* apiVersion */ +// apiVersion struct_body << "\t" << structInfo->apiVersion << "," << std::endl; -/* driverVersion */ +// driverVersion struct_body << "\t\t\t" << structInfo->driverVersion << "," << std::endl; -/* vendorID */ +// vendorID struct_body << "\t\t\t" << structInfo->vendorID << "," << std::endl; -/* deviceID */ +// deviceID struct_body << "\t\t\t" << structInfo->deviceID << "," << std::endl; -/* deviceType */ +// deviceType struct_body << "\t\t\t" << "VkPhysicalDeviceType(" << structInfo->deviceType << ")" << "," << std::endl; -/* deviceName */ +// deviceName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->deviceName) << "," << std::endl; -/* pipelineCacheUUID */ +// pipelineCacheUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->pipelineCacheUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* limits */ +// limits struct_body << "\t\t\t" << limits_info_var << "," << std::endl; -/* sparseProperties */ +// sparseProperties struct_body << "\t\t\t" << sparse_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceProperties"); out << "\t\t" << "VkPhysicalDeviceProperties " << variable_name << " {" << std::endl; @@ -4125,15 +4125,15 @@ std::string GenerateStruct_VkPhysicalDeviceProperties(std::ostream &out, const V std::string GenerateStruct_VkPhysicalDeviceSparseProperties(std::ostream &out, const VkPhysicalDeviceSparseProperties* structInfo, Decoded_VkPhysicalDeviceSparseProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* residencyStandard2DBlockShape */ +// residencyStandard2DBlockShape struct_body << "\t" << structInfo->residencyStandard2DBlockShape << "," << std::endl; -/* residencyStandard2DMultisampleBlockShape */ +// residencyStandard2DMultisampleBlockShape struct_body << "\t\t\t" << structInfo->residencyStandard2DMultisampleBlockShape << "," << std::endl; -/* residencyStandard3DBlockShape */ +// residencyStandard3DBlockShape struct_body << "\t\t\t" << structInfo->residencyStandard3DBlockShape << "," << std::endl; -/* residencyAlignedMipSize */ +// residencyAlignedMipSize struct_body << "\t\t\t" << structInfo->residencyAlignedMipSize << "," << std::endl; -/* residencyNonResidentStrict */ +// residencyNonResidentStrict struct_body << "\t\t\t" << structInfo->residencyNonResidentStrict << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSparseProperties"); out << "\t\t" << "VkPhysicalDeviceSparseProperties " << variable_name << " {" << std::endl; @@ -4155,15 +4155,15 @@ std::string GenerateStruct_VkPipelineCacheCreateInfo(std::ostream &out, const Vk pinitial_data_array = "pInitialData_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << pinitial_data_array << "[] = {" << pinitial_data_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCacheCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* initialDataSize */ +// initialDataSize struct_body << "\t\t\t" << structInfo->initialDataSize << "," << std::endl; -/* pInitialData */ +// pInitialData struct_body << "\t\t\t" << pinitial_data_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCacheCreateInfo"); out << "\t\t" << "VkPipelineCacheCreateInfo " << variable_name << " {" << std::endl; @@ -4175,15 +4175,15 @@ std::string GenerateStruct_VkPipelineCacheCreateInfo(std::ostream &out, const Vk std::string GenerateStruct_VkPipelineCacheHeaderVersionOne(std::ostream &out, const VkPipelineCacheHeaderVersionOne* structInfo, Decoded_VkPipelineCacheHeaderVersionOne* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* headerSize */ +// headerSize struct_body << "\t" << structInfo->headerSize << "," << std::endl; -/* headerVersion */ +// headerVersion struct_body << "\t\t\t" << "VkPipelineCacheHeaderVersion(" << structInfo->headerVersion << ")" << "," << std::endl; -/* vendorID */ +// vendorID struct_body << "\t\t\t" << structInfo->vendorID << "," << std::endl; -/* deviceID */ +// deviceID struct_body << "\t\t\t" << structInfo->deviceID << "," << std::endl; -/* pipelineCacheUUID */ +// pipelineCacheUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->pipelineCacheUUID[0]), VK_UUID_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCacheHeaderVersionOne"); out << "\t\t" << "VkPipelineCacheHeaderVersionOne " << variable_name << " {" << std::endl; @@ -4195,21 +4195,21 @@ std::string GenerateStruct_VkPipelineCacheHeaderVersionOne(std::ostream &out, co std::string GenerateStruct_VkPipelineColorBlendAttachmentState(std::ostream &out, const VkPipelineColorBlendAttachmentState* structInfo, Decoded_VkPipelineColorBlendAttachmentState* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* blendEnable */ +// blendEnable struct_body << "\t" << structInfo->blendEnable << "," << std::endl; -/* srcColorBlendFactor */ +// srcColorBlendFactor struct_body << "\t\t\t" << "VkBlendFactor(" << structInfo->srcColorBlendFactor << ")" << "," << std::endl; -/* dstColorBlendFactor */ +// dstColorBlendFactor struct_body << "\t\t\t" << "VkBlendFactor(" << structInfo->dstColorBlendFactor << ")" << "," << std::endl; -/* colorBlendOp */ +// colorBlendOp struct_body << "\t\t\t" << "VkBlendOp(" << structInfo->colorBlendOp << ")" << "," << std::endl; -/* srcAlphaBlendFactor */ +// srcAlphaBlendFactor struct_body << "\t\t\t" << "VkBlendFactor(" << structInfo->srcAlphaBlendFactor << ")" << "," << std::endl; -/* dstAlphaBlendFactor */ +// dstAlphaBlendFactor struct_body << "\t\t\t" << "VkBlendFactor(" << structInfo->dstAlphaBlendFactor << ")" << "," << std::endl; -/* alphaBlendOp */ +// alphaBlendOp struct_body << "\t\t\t" << "VkBlendOp(" << structInfo->alphaBlendOp << ")" << "," << std::endl; -/* colorWriteMask */ +// colorWriteMask struct_body << "\t\t\t" << "VkColorComponentFlags(" << structInfo->colorWriteMask << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineColorBlendAttachmentState"); out << "\t\t" << "VkPipelineColorBlendAttachmentState " << variable_name << " {" << std::endl; @@ -4238,21 +4238,21 @@ std::string GenerateStruct_VkPipelineColorBlendStateCreateInfo(std::ostream &out } out << "\t\t" << "VkPipelineColorBlendAttachmentState " << pattachments_array << "[] = {" << pattachments_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineColorBlendStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* logicOpEnable */ +// logicOpEnable struct_body << "\t\t\t" << structInfo->logicOpEnable << "," << std::endl; -/* logicOp */ +// logicOp struct_body << "\t\t\t" << "VkLogicOp(" << structInfo->logicOp << ")" << "," << std::endl; -/* attachmentCount */ +// attachmentCount struct_body << "\t\t\t" << structInfo->attachmentCount << "," << std::endl; -/* pAttachments */ +// pAttachments struct_body << "\t\t\t" << pattachments_array << "," << std::endl; -/* blendConstants */ +// blendConstants struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->blendConstants[0]), 4) << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineColorBlendStateCreateInfo"); out << "\t\t" << "VkPipelineColorBlendStateCreateInfo " << variable_name << " {" << std::endl; @@ -4273,29 +4273,29 @@ std::string GenerateStruct_VkPipelineDepthStencilStateCreateInfo(std::ostream &o &structInfo->back, metaInfo->back, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineDepthStencilStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* depthTestEnable */ +// depthTestEnable struct_body << "\t\t\t" << structInfo->depthTestEnable << "," << std::endl; -/* depthWriteEnable */ +// depthWriteEnable struct_body << "\t\t\t" << structInfo->depthWriteEnable << "," << std::endl; -/* depthCompareOp */ +// depthCompareOp struct_body << "\t\t\t" << "VkCompareOp(" << structInfo->depthCompareOp << ")" << "," << std::endl; -/* depthBoundsTestEnable */ +// depthBoundsTestEnable struct_body << "\t\t\t" << structInfo->depthBoundsTestEnable << "," << std::endl; -/* stencilTestEnable */ +// stencilTestEnable struct_body << "\t\t\t" << structInfo->stencilTestEnable << "," << std::endl; -/* front */ +// front struct_body << "\t\t\t" << front_info_var << "," << std::endl; -/* back */ +// back struct_body << "\t\t\t" << back_info_var << "," << std::endl; -/* minDepthBounds */ +// minDepthBounds struct_body << "\t\t\t" << structInfo->minDepthBounds << "," << std::endl; -/* maxDepthBounds */ +// maxDepthBounds struct_body << "\t\t\t" << structInfo->maxDepthBounds << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineDepthStencilStateCreateInfo"); out << "\t\t" << "VkPipelineDepthStencilStateCreateInfo " << variable_name << " {" << std::endl; @@ -4317,15 +4317,15 @@ std::string GenerateStruct_VkPipelineDynamicStateCreateInfo(std::ostream &out, c pdynamic_states_array = "pDynamicStates_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkDynamicState " << pdynamic_states_array << "[] = {" << pdynamic_states_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineDynamicStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* dynamicStateCount */ +// dynamicStateCount struct_body << "\t\t\t" << structInfo->dynamicStateCount << "," << std::endl; -/* pDynamicStates */ +// pDynamicStates struct_body << "\t\t\t" << pdynamic_states_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineDynamicStateCreateInfo"); out << "\t\t" << "VkPipelineDynamicStateCreateInfo " << variable_name << " {" << std::endl; @@ -4338,15 +4338,15 @@ std::string GenerateStruct_VkPipelineDynamicStateCreateInfo(std::ostream &out, c std::string GenerateStruct_VkPipelineInputAssemblyStateCreateInfo(std::ostream &out, const VkPipelineInputAssemblyStateCreateInfo* structInfo, Decoded_VkPipelineInputAssemblyStateCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineInputAssemblyStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* topology */ +// topology struct_body << "\t\t\t" << "VkPrimitiveTopology(" << structInfo->topology << ")" << "," << std::endl; -/* primitiveRestartEnable */ +// primitiveRestartEnable struct_body << "\t\t\t" << structInfo->primitiveRestartEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineInputAssemblyStateCreateInfo"); out << "\t\t" << "VkPipelineInputAssemblyStateCreateInfo " << variable_name << " {" << std::endl; @@ -4388,19 +4388,19 @@ std::string GenerateStruct_VkPipelineLayoutCreateInfo(std::ostream &out, const V } out << "\t\t" << "VkPushConstantRange " << ppush_constant_ranges_array << "[] = {" << ppush_constant_ranges_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineLayoutCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* setLayoutCount */ +// setLayoutCount struct_body << "\t\t\t" << structInfo->setLayoutCount << "," << std::endl; -/* pSetLayouts */ +// pSetLayouts struct_body << "\t\t\t" << pset_layouts_array << "," << std::endl; -/* pushConstantRangeCount */ +// pushConstantRangeCount struct_body << "\t\t\t" << structInfo->pushConstantRangeCount << "," << std::endl; -/* pPushConstantRanges */ +// pPushConstantRanges struct_body << "\t\t\t" << ppush_constant_ranges_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineLayoutCreateInfo"); out << "\t\t" << "VkPipelineLayoutCreateInfo " << variable_name << " {" << std::endl; @@ -4422,23 +4422,23 @@ std::string GenerateStruct_VkPipelineMultisampleStateCreateInfo(std::ostream &ou psample_mask_array = "pSampleMask_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkSampleMask " << psample_mask_array << "[] = {" << psample_mask_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineMultisampleStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* rasterizationSamples */ +// rasterizationSamples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->rasterizationSamples << ")" << "," << std::endl; -/* sampleShadingEnable */ +// sampleShadingEnable struct_body << "\t\t\t" << structInfo->sampleShadingEnable << "," << std::endl; -/* minSampleShading */ +// minSampleShading struct_body << "\t\t\t" << structInfo->minSampleShading << "," << std::endl; -/* pSampleMask */ +// pSampleMask struct_body << "\t\t\t" << psample_mask_array << "," << std::endl; -/* alphaToCoverageEnable */ +// alphaToCoverageEnable struct_body << "\t\t\t" << structInfo->alphaToCoverageEnable << "," << std::endl; -/* alphaToOneEnable */ +// alphaToOneEnable struct_body << "\t\t\t" << structInfo->alphaToOneEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineMultisampleStateCreateInfo"); out << "\t\t" << "VkPipelineMultisampleStateCreateInfo " << variable_name << " {" << std::endl; @@ -4451,31 +4451,31 @@ std::string GenerateStruct_VkPipelineMultisampleStateCreateInfo(std::ostream &ou std::string GenerateStruct_VkPipelineRasterizationStateCreateInfo(std::ostream &out, const VkPipelineRasterizationStateCreateInfo* structInfo, Decoded_VkPipelineRasterizationStateCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineRasterizationStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* depthClampEnable */ +// depthClampEnable struct_body << "\t\t\t" << structInfo->depthClampEnable << "," << std::endl; -/* rasterizerDiscardEnable */ +// rasterizerDiscardEnable struct_body << "\t\t\t" << structInfo->rasterizerDiscardEnable << "," << std::endl; -/* polygonMode */ +// polygonMode struct_body << "\t\t\t" << "VkPolygonMode(" << structInfo->polygonMode << ")" << "," << std::endl; -/* cullMode */ +// cullMode struct_body << "\t\t\t" << "VkCullModeFlags(" << structInfo->cullMode << ")" << "," << std::endl; -/* frontFace */ +// frontFace struct_body << "\t\t\t" << "VkFrontFace(" << structInfo->frontFace << ")" << "," << std::endl; -/* depthBiasEnable */ +// depthBiasEnable struct_body << "\t\t\t" << structInfo->depthBiasEnable << "," << std::endl; -/* depthBiasConstantFactor */ +// depthBiasConstantFactor struct_body << "\t\t\t" << structInfo->depthBiasConstantFactor << "," << std::endl; -/* depthBiasClamp */ +// depthBiasClamp struct_body << "\t\t\t" << structInfo->depthBiasClamp << "," << std::endl; -/* depthBiasSlopeFactor */ +// depthBiasSlopeFactor struct_body << "\t\t\t" << structInfo->depthBiasSlopeFactor << "," << std::endl; -/* lineWidth */ +// lineWidth struct_body << "\t\t\t" << structInfo->lineWidth << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRasterizationStateCreateInfo"); out << "\t\t" << "VkPipelineRasterizationStateCreateInfo " << variable_name << " {" << std::endl; @@ -4496,19 +4496,19 @@ std::string GenerateStruct_VkPipelineShaderStageCreateInfo(std::ostream &out, co consumer); pspecialization_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineShaderStageCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* stage */ +// stage struct_body << "\t\t\t" << "VkShaderStageFlagBits(" << structInfo->stage << ")" << "," << std::endl; -/* module */ +// module struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->module) << "," << std::endl; -/* pName */ +// pName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pName) << "," << std::endl; -/* pSpecializationInfo */ +// pSpecializationInfo struct_body << "\t\t\t" << pspecialization_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineShaderStageCreateInfo"); out << "\t\t" << "VkPipelineShaderStageCreateInfo " << variable_name << " {" << std::endl; @@ -4521,13 +4521,13 @@ std::string GenerateStruct_VkPipelineShaderStageCreateInfo(std::ostream &out, co std::string GenerateStruct_VkPipelineTessellationStateCreateInfo(std::ostream &out, const VkPipelineTessellationStateCreateInfo* structInfo, Decoded_VkPipelineTessellationStateCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineTessellationStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* patchControlPoints */ +// patchControlPoints struct_body << "\t\t\t" << structInfo->patchControlPoints << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineTessellationStateCreateInfo"); out << "\t\t" << "VkPipelineTessellationStateCreateInfo " << variable_name << " {" << std::endl; @@ -4572,19 +4572,19 @@ std::string GenerateStruct_VkPipelineVertexInputStateCreateInfo(std::ostream &ou } out << "\t\t" << "VkVertexInputAttributeDescription " << pvertex_attribute_descriptions_array << "[] = {" << pvertex_attribute_descriptions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineVertexInputStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* vertexBindingDescriptionCount */ +// vertexBindingDescriptionCount struct_body << "\t\t\t" << structInfo->vertexBindingDescriptionCount << "," << std::endl; -/* pVertexBindingDescriptions */ +// pVertexBindingDescriptions struct_body << "\t\t\t" << pvertex_binding_descriptions_array << "," << std::endl; -/* vertexAttributeDescriptionCount */ +// vertexAttributeDescriptionCount struct_body << "\t\t\t" << structInfo->vertexAttributeDescriptionCount << "," << std::endl; -/* pVertexAttributeDescriptions */ +// pVertexAttributeDescriptions struct_body << "\t\t\t" << pvertex_attribute_descriptions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineVertexInputStateCreateInfo"); out << "\t\t" << "VkPipelineVertexInputStateCreateInfo " << variable_name << " {" << std::endl; @@ -4618,19 +4618,19 @@ std::string GenerateStruct_VkPipelineViewportStateCreateInfo(std::ostream &out, pscissors_array = "pScissors_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkRect2D " << pscissors_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pScissors, structInfo->scissorCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineViewportStateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* viewportCount */ +// viewportCount struct_body << "\t\t\t" << structInfo->viewportCount << "," << std::endl; -/* pViewports */ +// pViewports struct_body << "\t\t\t" << pviewports_array << "," << std::endl; -/* scissorCount */ +// scissorCount struct_body << "\t\t\t" << structInfo->scissorCount << "," << std::endl; -/* pScissors */ +// pScissors struct_body << "\t\t\t" << pscissors_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineViewportStateCreateInfo"); out << "\t\t" << "VkPipelineViewportStateCreateInfo " << variable_name << " {" << std::endl; @@ -4642,11 +4642,11 @@ std::string GenerateStruct_VkPipelineViewportStateCreateInfo(std::ostream &out, std::string GenerateStruct_VkPushConstantRange(std::ostream &out, const VkPushConstantRange* structInfo, Decoded_VkPushConstantRange* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* stageFlags */ +// stageFlags struct_body << "\t" << "VkShaderStageFlags(" << structInfo->stageFlags << ")" << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << ","; std::string variable_name = consumer.AddStruct(struct_body, "pushConstantRange"); out << "\t\t" << "VkPushConstantRange " << variable_name << " {" << std::endl; @@ -4659,17 +4659,17 @@ std::string GenerateStruct_VkPushConstantRange(std::ostream &out, const VkPushCo std::string GenerateStruct_VkQueryPoolCreateInfo(std::ostream &out, const VkQueryPoolCreateInfo* structInfo, Decoded_VkQueryPoolCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkQueryPoolCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* queryType */ +// queryType struct_body << "\t\t\t" << "VkQueryType(" << structInfo->queryType << ")" << "," << std::endl; -/* queryCount */ +// queryCount struct_body << "\t\t\t" << structInfo->queryCount << "," << std::endl; -/* pipelineStatistics */ +// pipelineStatistics struct_body << "\t\t\t" << "VkQueryPipelineStatisticFlags(" << structInfo->pipelineStatistics << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "queryPoolCreateInfo"); out << "\t\t" << "VkQueryPoolCreateInfo " << variable_name << " {" << std::endl; @@ -4685,13 +4685,13 @@ std::string GenerateStruct_VkQueueFamilyProperties(std::ostream &out, const VkQu &structInfo->minImageTransferGranularity, metaInfo->minImageTransferGranularity, consumer); -/* queueFlags */ +// queueFlags struct_body << "\t" << "VkQueueFlags(" << structInfo->queueFlags << ")" << "," << std::endl; -/* queueCount */ +// queueCount struct_body << "\t\t\t" << structInfo->queueCount << "," << std::endl; -/* timestampValidBits */ +// timestampValidBits struct_body << "\t\t\t" << structInfo->timestampValidBits << "," << std::endl; -/* minImageTransferGranularity */ +// minImageTransferGranularity struct_body << "\t\t\t" << min_image_transfer_granularity_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "queueFamilyProperties"); out << "\t\t" << "VkQueueFamilyProperties " << variable_name << " {" << std::endl; @@ -4711,9 +4711,9 @@ std::string GenerateStruct_VkRect2D(std::ostream &out, const VkRect2D* structInf &structInfo->extent, metaInfo->extent, consumer); -/* offset */ +// offset struct_body << "\t" << offset_info_var << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "rect2D"); out << "\t\t" << "VkRect2D " << variable_name << " {" << std::endl; @@ -4735,19 +4735,19 @@ std::string GenerateStruct_VkRenderPassBeginInfo(std::ostream &out, const VkRend pclear_values_array = "pClearValues_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkClearValue " << pclear_values_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pClearValues, structInfo->clearValueCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* renderPass */ +// renderPass struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->renderPass) << "," << std::endl; -/* framebuffer */ +// framebuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->framebuffer) << "," << std::endl; -/* renderArea */ +// renderArea struct_body << "\t\t\t" << render_area_info_var << "," << std::endl; -/* clearValueCount */ +// clearValueCount struct_body << "\t\t\t" << structInfo->clearValueCount << "," << std::endl; -/* pClearValues */ +// pClearValues struct_body << "\t\t\t" << pclear_values_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassBeginInfo"); out << "\t\t" << "VkRenderPassBeginInfo " << variable_name << " {" << std::endl; @@ -4808,23 +4808,23 @@ std::string GenerateStruct_VkRenderPassCreateInfo(std::ostream &out, const VkRen } out << "\t\t" << "VkSubpassDependency " << pdependencies_array << "[] = {" << pdependencies_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkRenderPassCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* attachmentCount */ +// attachmentCount struct_body << "\t\t\t" << structInfo->attachmentCount << "," << std::endl; -/* pAttachments */ +// pAttachments struct_body << "\t\t\t" << pattachments_array << "," << std::endl; -/* subpassCount */ +// subpassCount struct_body << "\t\t\t" << structInfo->subpassCount << "," << std::endl; -/* pSubpasses */ +// pSubpasses struct_body << "\t\t\t" << psubpasses_array << "," << std::endl; -/* dependencyCount */ +// dependencyCount struct_body << "\t\t\t" << structInfo->dependencyCount << "," << std::endl; -/* pDependencies */ +// pDependencies struct_body << "\t\t\t" << pdependencies_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassCreateInfo"); out << "\t\t" << "VkRenderPassCreateInfo " << variable_name << " {" << std::endl; @@ -4837,41 +4837,41 @@ std::string GenerateStruct_VkRenderPassCreateInfo(std::ostream &out, const VkRen std::string GenerateStruct_VkSamplerCreateInfo(std::ostream &out, const VkSamplerCreateInfo* structInfo, Decoded_VkSamplerCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSamplerCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* magFilter */ +// magFilter struct_body << "\t\t\t" << "VkFilter(" << structInfo->magFilter << ")" << "," << std::endl; -/* minFilter */ +// minFilter struct_body << "\t\t\t" << "VkFilter(" << structInfo->minFilter << ")" << "," << std::endl; -/* mipmapMode */ +// mipmapMode struct_body << "\t\t\t" << "VkSamplerMipmapMode(" << structInfo->mipmapMode << ")" << "," << std::endl; -/* addressModeU */ +// addressModeU struct_body << "\t\t\t" << "VkSamplerAddressMode(" << structInfo->addressModeU << ")" << "," << std::endl; -/* addressModeV */ +// addressModeV struct_body << "\t\t\t" << "VkSamplerAddressMode(" << structInfo->addressModeV << ")" << "," << std::endl; -/* addressModeW */ +// addressModeW struct_body << "\t\t\t" << "VkSamplerAddressMode(" << structInfo->addressModeW << ")" << "," << std::endl; -/* mipLodBias */ +// mipLodBias struct_body << "\t\t\t" << structInfo->mipLodBias << "," << std::endl; -/* anisotropyEnable */ +// anisotropyEnable struct_body << "\t\t\t" << structInfo->anisotropyEnable << "," << std::endl; -/* maxAnisotropy */ +// maxAnisotropy struct_body << "\t\t\t" << structInfo->maxAnisotropy << "," << std::endl; -/* compareEnable */ +// compareEnable struct_body << "\t\t\t" << structInfo->compareEnable << "," << std::endl; -/* compareOp */ +// compareOp struct_body << "\t\t\t" << "VkCompareOp(" << structInfo->compareOp << ")" << "," << std::endl; -/* minLod */ +// minLod struct_body << "\t\t\t" << structInfo->minLod << "," << std::endl; -/* maxLod */ +// maxLod struct_body << "\t\t\t" << structInfo->maxLod << "," << std::endl; -/* borderColor */ +// borderColor struct_body << "\t\t\t" << "VkBorderColor(" << structInfo->borderColor << ")" << "," << std::endl; -/* unnormalizedCoordinates */ +// unnormalizedCoordinates struct_body << "\t\t\t" << structInfo->unnormalizedCoordinates << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerCreateInfo"); out << "\t\t" << "VkSamplerCreateInfo " << variable_name << " {" << std::endl; @@ -4884,11 +4884,11 @@ std::string GenerateStruct_VkSamplerCreateInfo(std::ostream &out, const VkSample std::string GenerateStruct_VkSemaphoreCreateInfo(std::ostream &out, const VkSemaphoreCreateInfo* structInfo, Decoded_VkSemaphoreCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSemaphoreCreateFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreCreateInfo"); out << "\t\t" << "VkSemaphoreCreateInfo " << variable_name << " {" << std::endl; @@ -4906,15 +4906,15 @@ std::string GenerateStruct_VkShaderModuleCreateInfo(std::ostream &out, const VkS pcode_array = "pCode_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pcode_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pCode, structInfo->codeSize / 4) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkShaderModuleCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* codeSize */ +// codeSize struct_body << "\t\t\t" << structInfo->codeSize << "," << std::endl; -/* pCode */ +// pCode struct_body << "\t\t\t" << pcode_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "shaderModuleCreateInfo"); out << "\t\t" << "VkShaderModuleCreateInfo " << variable_name << " {" << std::endl; @@ -4942,11 +4942,11 @@ std::string GenerateStruct_VkSparseBufferMemoryBindInfo(std::ostream &out, const } out << "\t\t" << "VkSparseMemoryBind " << pbinds_array << "[] = {" << pbinds_names << "};" << std::endl; } -/* buffer */ +// buffer struct_body << "\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* bindCount */ +// bindCount struct_body << "\t\t\t" << structInfo->bindCount << "," << std::endl; -/* pBinds */ +// pBinds struct_body << "\t\t\t" << pbinds_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseBufferMemoryBindInfo"); out << "\t\t" << "VkSparseBufferMemoryBindInfo " << variable_name << " {" << std::endl; @@ -4962,11 +4962,11 @@ std::string GenerateStruct_VkSparseImageFormatProperties(std::ostream &out, cons &structInfo->imageGranularity, metaInfo->imageGranularity, consumer); -/* aspectMask */ +// aspectMask struct_body << "\t" << "VkImageAspectFlags(" << structInfo->aspectMask << ")" << "," << std::endl; -/* imageGranularity */ +// imageGranularity struct_body << "\t\t\t" << image_granularity_info_var << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSparseImageFormatFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseImageFormatProperties"); out << "\t\t" << "VkSparseImageFormatProperties " << variable_name << " {" << std::endl; @@ -4990,17 +4990,17 @@ std::string GenerateStruct_VkSparseImageMemoryBind(std::ostream &out, const VkSp &structInfo->extent, metaInfo->extent, consumer); -/* subresource */ +// subresource struct_body << "\t" << subresource_info_var << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << offset_info_var << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* memoryOffset */ +// memoryOffset struct_body << "\t\t\t" << structInfo->memoryOffset << "UL" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSparseMemoryBindFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseImageMemoryBind"); out << "\t\t" << "VkSparseImageMemoryBind " << variable_name << " {" << std::endl; @@ -5028,11 +5028,11 @@ std::string GenerateStruct_VkSparseImageMemoryBindInfo(std::ostream &out, const } out << "\t\t" << "VkSparseImageMemoryBind " << pbinds_array << "[] = {" << pbinds_names << "};" << std::endl; } -/* image */ +// image struct_body << "\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* bindCount */ +// bindCount struct_body << "\t\t\t" << structInfo->bindCount << "," << std::endl; -/* pBinds */ +// pBinds struct_body << "\t\t\t" << pbinds_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseImageMemoryBindInfo"); out << "\t\t" << "VkSparseImageMemoryBindInfo " << variable_name << " {" << std::endl; @@ -5048,15 +5048,15 @@ std::string GenerateStruct_VkSparseImageMemoryRequirements(std::ostream &out, co &structInfo->formatProperties, metaInfo->formatProperties, consumer); -/* formatProperties */ +// formatProperties struct_body << "\t" << format_properties_info_var << "," << std::endl; -/* imageMipTailFirstLod */ +// imageMipTailFirstLod struct_body << "\t\t\t" << structInfo->imageMipTailFirstLod << "," << std::endl; -/* imageMipTailSize */ +// imageMipTailSize struct_body << "\t\t\t" << structInfo->imageMipTailSize << "UL" << "," << std::endl; -/* imageMipTailOffset */ +// imageMipTailOffset struct_body << "\t\t\t" << structInfo->imageMipTailOffset << "UL" << "," << std::endl; -/* imageMipTailStride */ +// imageMipTailStride struct_body << "\t\t\t" << structInfo->imageMipTailStride << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseImageMemoryRequirements"); out << "\t\t" << "VkSparseImageMemoryRequirements " << variable_name << " {" << std::endl; @@ -5084,11 +5084,11 @@ std::string GenerateStruct_VkSparseImageOpaqueMemoryBindInfo(std::ostream &out, } out << "\t\t" << "VkSparseMemoryBind " << pbinds_array << "[] = {" << pbinds_names << "};" << std::endl; } -/* image */ +// image struct_body << "\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* bindCount */ +// bindCount struct_body << "\t\t\t" << structInfo->bindCount << "," << std::endl; -/* pBinds */ +// pBinds struct_body << "\t\t\t" << pbinds_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseImageOpaqueMemoryBindInfo"); out << "\t\t" << "VkSparseImageOpaqueMemoryBindInfo " << variable_name << " {" << std::endl; @@ -5100,15 +5100,15 @@ std::string GenerateStruct_VkSparseImageOpaqueMemoryBindInfo(std::ostream &out, std::string GenerateStruct_VkSparseMemoryBind(std::ostream &out, const VkSparseMemoryBind* structInfo, Decoded_VkSparseMemoryBind* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* resourceOffset */ +// resourceOffset struct_body << "\t" << structInfo->resourceOffset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* memoryOffset */ +// memoryOffset struct_body << "\t\t\t" << structInfo->memoryOffset << "UL" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSparseMemoryBindFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseMemoryBind"); out << "\t\t" << "VkSparseMemoryBind " << variable_name << " {" << std::endl; @@ -5145,13 +5145,13 @@ std::string GenerateStruct_VkSpecializationInfo(std::ostream &out, const VkSpeci pdata_array = "pData_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << pdata_array << "[] = {" << pdata_values << "};" << std::endl; } -/* mapEntryCount */ +// mapEntryCount struct_body << "\t" << structInfo->mapEntryCount << "," << std::endl; -/* pMapEntries */ +// pMapEntries struct_body << "\t\t\t" << pmap_entries_array << "," << std::endl; -/* dataSize */ +// dataSize struct_body << "\t\t\t" << structInfo->dataSize << "," << std::endl; -/* pData */ +// pData struct_body << "\t\t\t" << pdata_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "specializationInfo"); out << "\t\t" << "VkSpecializationInfo " << variable_name << " {" << std::endl; @@ -5163,11 +5163,11 @@ std::string GenerateStruct_VkSpecializationInfo(std::ostream &out, const VkSpeci std::string GenerateStruct_VkSpecializationMapEntry(std::ostream &out, const VkSpecializationMapEntry* structInfo, Decoded_VkSpecializationMapEntry* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* constantID */ +// constantID struct_body << "\t" << structInfo->constantID << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << ","; std::string variable_name = consumer.AddStruct(struct_body, "specializationMapEntry"); out << "\t\t" << "VkSpecializationMapEntry " << variable_name << " {" << std::endl; @@ -5179,19 +5179,19 @@ std::string GenerateStruct_VkSpecializationMapEntry(std::ostream &out, const VkS std::string GenerateStruct_VkStencilOpState(std::ostream &out, const VkStencilOpState* structInfo, Decoded_VkStencilOpState* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* failOp */ +// failOp struct_body << "\t" << "VkStencilOp(" << structInfo->failOp << ")" << "," << std::endl; -/* passOp */ +// passOp struct_body << "\t\t\t" << "VkStencilOp(" << structInfo->passOp << ")" << "," << std::endl; -/* depthFailOp */ +// depthFailOp struct_body << "\t\t\t" << "VkStencilOp(" << structInfo->depthFailOp << ")" << "," << std::endl; -/* compareOp */ +// compareOp struct_body << "\t\t\t" << "VkCompareOp(" << structInfo->compareOp << ")" << "," << std::endl; -/* compareMask */ +// compareMask struct_body << "\t\t\t" << structInfo->compareMask << "," << std::endl; -/* writeMask */ +// writeMask struct_body << "\t\t\t" << structInfo->writeMask << "," << std::endl; -/* reference */ +// reference struct_body << "\t\t\t" << structInfo->reference << ","; std::string variable_name = consumer.AddStruct(struct_body, "stencilOpState"); out << "\t\t" << "VkStencilOpState " << variable_name << " {" << std::endl; @@ -5252,23 +5252,23 @@ std::string GenerateStruct_VkSubmitInfo(std::ostream &out, const VkSubmitInfo* s out << "\t\t" << "VkSemaphore " << psignal_semaphores_array << "[] = {" << psignal_semaphores_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* waitSemaphoreCount */ +// waitSemaphoreCount struct_body << "\t\t\t" << structInfo->waitSemaphoreCount << "," << std::endl; -/* pWaitSemaphores */ +// pWaitSemaphores struct_body << "\t\t\t" << pwait_semaphores_array << "," << std::endl; -/* pWaitDstStageMask */ +// pWaitDstStageMask struct_body << "\t\t\t" << pwait_dst_stage_mask_array << "," << std::endl; -/* commandBufferCount */ +// commandBufferCount struct_body << "\t\t\t" << structInfo->commandBufferCount << "," << std::endl; -/* pCommandBuffers */ +// pCommandBuffers struct_body << "\t\t\t" << pcommand_buffers_array << "," << std::endl; -/* signalSemaphoreCount */ +// signalSemaphoreCount struct_body << "\t\t\t" << structInfo->signalSemaphoreCount << "," << std::endl; -/* pSignalSemaphores */ +// pSignalSemaphores struct_body << "\t\t\t" << psignal_semaphores_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "submitInfo"); out << "\t\t" << "VkSubmitInfo " << variable_name << " {" << std::endl; @@ -5280,19 +5280,19 @@ std::string GenerateStruct_VkSubmitInfo(std::ostream &out, const VkSubmitInfo* s std::string GenerateStruct_VkSubpassDependency(std::ostream &out, const VkSubpassDependency* structInfo, Decoded_VkSubpassDependency* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* srcSubpass */ +// srcSubpass struct_body << "\t" << structInfo->srcSubpass << "," << std::endl; -/* dstSubpass */ +// dstSubpass struct_body << "\t\t\t" << structInfo->dstSubpass << "," << std::endl; -/* srcStageMask */ +// srcStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags(" << structInfo->srcStageMask << ")" << "," << std::endl; -/* dstStageMask */ +// dstStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags(" << structInfo->dstStageMask << ")" << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->dstAccessMask << ")" << "," << std::endl; -/* dependencyFlags */ +// dependencyFlags struct_body << "\t\t\t" << "VkDependencyFlags(" << structInfo->dependencyFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassDependency"); out << "\t\t" << "VkSubpassDependency " << variable_name << " {" << std::endl; @@ -5365,25 +5365,25 @@ std::string GenerateStruct_VkSubpassDescription(std::ostream &out, const VkSubpa ppreserve_attachments_array = "pPreserveAttachments_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << ppreserve_attachments_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pPreserveAttachments, structInfo->preserveAttachmentCount) << ";" << std::endl; } -/* flags */ +// flags struct_body << "\t" << "VkSubpassDescriptionFlags(" << structInfo->flags << ")" << "," << std::endl; -/* pipelineBindPoint */ +// pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; -/* inputAttachmentCount */ +// inputAttachmentCount struct_body << "\t\t\t" << structInfo->inputAttachmentCount << "," << std::endl; -/* pInputAttachments */ +// pInputAttachments struct_body << "\t\t\t" << pinput_attachments_array << "," << std::endl; -/* colorAttachmentCount */ +// colorAttachmentCount struct_body << "\t\t\t" << structInfo->colorAttachmentCount << "," << std::endl; -/* pColorAttachments */ +// pColorAttachments struct_body << "\t\t\t" << pcolor_attachments_array << "," << std::endl; -/* pResolveAttachments */ +// pResolveAttachments struct_body << "\t\t\t" << presolve_attachments_array << "," << std::endl; -/* pDepthStencilAttachment */ +// pDepthStencilAttachment struct_body << "\t\t\t" << pdepth_stencil_attachment_struct << "," << std::endl; -/* preserveAttachmentCount */ +// preserveAttachmentCount struct_body << "\t\t\t" << structInfo->preserveAttachmentCount << "," << std::endl; -/* pPreserveAttachments */ +// pPreserveAttachments struct_body << "\t\t\t" << ppreserve_attachments_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassDescription"); out << "\t\t" << "VkSubpassDescription " << variable_name << " {" << std::endl; @@ -5395,15 +5395,15 @@ std::string GenerateStruct_VkSubpassDescription(std::ostream &out, const VkSubpa std::string GenerateStruct_VkSubresourceLayout(std::ostream &out, const VkSubresourceLayout* structInfo, Decoded_VkSubresourceLayout* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* offset */ +// offset struct_body << "\t" << structInfo->offset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* rowPitch */ +// rowPitch struct_body << "\t\t\t" << structInfo->rowPitch << "UL" << "," << std::endl; -/* arrayPitch */ +// arrayPitch struct_body << "\t\t\t" << structInfo->arrayPitch << "UL" << "," << std::endl; -/* depthPitch */ +// depthPitch struct_body << "\t\t\t" << structInfo->depthPitch << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "subresourceLayout"); out << "\t\t" << "VkSubresourceLayout " << variable_name << " {" << std::endl; @@ -5415,13 +5415,13 @@ std::string GenerateStruct_VkSubresourceLayout(std::ostream &out, const VkSubres std::string GenerateStruct_VkVertexInputAttributeDescription(std::ostream &out, const VkVertexInputAttributeDescription* structInfo, Decoded_VkVertexInputAttributeDescription* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* location */ +// location struct_body << "\t" << structInfo->location << "," << std::endl; -/* binding */ +// binding struct_body << "\t\t\t" << structInfo->binding << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << ","; std::string variable_name = consumer.AddStruct(struct_body, "vertexInputAttributeDescription"); out << "\t\t" << "VkVertexInputAttributeDescription " << variable_name << " {" << std::endl; @@ -5433,11 +5433,11 @@ std::string GenerateStruct_VkVertexInputAttributeDescription(std::ostream &out, std::string GenerateStruct_VkVertexInputBindingDescription(std::ostream &out, const VkVertexInputBindingDescription* structInfo, Decoded_VkVertexInputBindingDescription* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* binding */ +// binding struct_body << "\t" << structInfo->binding << "," << std::endl; -/* stride */ +// stride struct_body << "\t\t\t" << structInfo->stride << "," << std::endl; -/* inputRate */ +// inputRate struct_body << "\t\t\t" << "VkVertexInputRate(" << structInfo->inputRate << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "vertexInputBindingDescription"); out << "\t\t" << "VkVertexInputBindingDescription " << variable_name << " {" << std::endl; @@ -5449,17 +5449,17 @@ std::string GenerateStruct_VkVertexInputBindingDescription(std::ostream &out, co std::string GenerateStruct_VkViewport(std::ostream &out, const VkViewport* structInfo, Decoded_VkViewport* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* x */ +// x struct_body << "\t" << structInfo->x << "," << std::endl; -/* y */ +// y struct_body << "\t\t\t" << structInfo->y << "," << std::endl; -/* width */ +// width struct_body << "\t\t\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << "," << std::endl; -/* minDepth */ +// minDepth struct_body << "\t\t\t" << structInfo->minDepth << "," << std::endl; -/* maxDepth */ +// maxDepth struct_body << "\t\t\t" << structInfo->maxDepth << ","; std::string variable_name = consumer.AddStruct(struct_body, "viewport"); out << "\t\t" << "VkViewport " << variable_name << " {" << std::endl; @@ -5477,13 +5477,13 @@ std::string GenerateStruct_VkBindBufferMemoryDeviceGroupInfo(std::ostream &out, pdevice_indices_array = "pDeviceIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pdevice_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pDeviceIndices, structInfo->deviceIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceIndexCount */ +// deviceIndexCount struct_body << "\t\t\t" << structInfo->deviceIndexCount << "," << std::endl; -/* pDeviceIndices */ +// pDeviceIndices struct_body << "\t\t\t" << pdevice_indices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindBufferMemoryDeviceGroupInfo"); out << "\t\t" << "VkBindBufferMemoryDeviceGroupInfo " << variable_name << " {" << std::endl; @@ -5496,15 +5496,15 @@ std::string GenerateStruct_VkBindBufferMemoryDeviceGroupInfo(std::ostream &out, std::string GenerateStruct_VkBindBufferMemoryInfo(std::ostream &out, const VkBindBufferMemoryInfo* structInfo, Decoded_VkBindBufferMemoryInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* memoryOffset */ +// memoryOffset struct_body << "\t\t\t" << structInfo->memoryOffset << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindBufferMemoryInfo"); out << "\t\t" << "VkBindBufferMemoryInfo " << variable_name << " {" << std::endl; @@ -5527,17 +5527,17 @@ std::string GenerateStruct_VkBindImageMemoryDeviceGroupInfo(std::ostream &out, c psplit_instance_bind_regions_array = "pSplitInstanceBindRegions_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkRect2D " << psplit_instance_bind_regions_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pSplitInstanceBindRegions, structInfo->splitInstanceBindRegionCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceIndexCount */ +// deviceIndexCount struct_body << "\t\t\t" << structInfo->deviceIndexCount << "," << std::endl; -/* pDeviceIndices */ +// pDeviceIndices struct_body << "\t\t\t" << pdevice_indices_array << "," << std::endl; -/* splitInstanceBindRegionCount */ +// splitInstanceBindRegionCount struct_body << "\t\t\t" << structInfo->splitInstanceBindRegionCount << "," << std::endl; -/* pSplitInstanceBindRegions */ +// pSplitInstanceBindRegions struct_body << "\t\t\t" << psplit_instance_bind_regions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindImageMemoryDeviceGroupInfo"); out << "\t\t" << "VkBindImageMemoryDeviceGroupInfo " << variable_name << " {" << std::endl; @@ -5550,15 +5550,15 @@ std::string GenerateStruct_VkBindImageMemoryDeviceGroupInfo(std::ostream &out, c std::string GenerateStruct_VkBindImageMemoryInfo(std::ostream &out, const VkBindImageMemoryInfo* structInfo, Decoded_VkBindImageMemoryInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* memoryOffset */ +// memoryOffset struct_body << "\t\t\t" << structInfo->memoryOffset << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindImageMemoryInfo"); out << "\t\t" << "VkBindImageMemoryInfo " << variable_name << " {" << std::endl; @@ -5571,11 +5571,11 @@ std::string GenerateStruct_VkBindImageMemoryInfo(std::ostream &out, const VkBind std::string GenerateStruct_VkBindImagePlaneMemoryInfo(std::ostream &out, const VkBindImagePlaneMemoryInfo* structInfo, Decoded_VkBindImagePlaneMemoryInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* planeAspect */ +// planeAspect struct_body << "\t\t\t" << "VkImageAspectFlagBits(" << structInfo->planeAspect << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindImagePlaneMemoryInfo"); out << "\t\t" << "VkBindImagePlaneMemoryInfo " << variable_name << " {" << std::endl; @@ -5588,11 +5588,11 @@ std::string GenerateStruct_VkBindImagePlaneMemoryInfo(std::ostream &out, const V std::string GenerateStruct_VkBufferMemoryRequirementsInfo2(std::ostream &out, const VkBufferMemoryRequirementsInfo2* structInfo, Decoded_VkBufferMemoryRequirementsInfo2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferMemoryRequirementsInfo2"); out << "\t\t" << "VkBufferMemoryRequirementsInfo2 " << variable_name << " {" << std::endl; @@ -5605,11 +5605,11 @@ std::string GenerateStruct_VkBufferMemoryRequirementsInfo2(std::ostream &out, co std::string GenerateStruct_VkDescriptorSetLayoutSupport(std::ostream &out, const VkDescriptorSetLayoutSupport* structInfo, Decoded_VkDescriptorSetLayoutSupport* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* supported */ +// supported struct_body << "\t\t\t" << structInfo->supported << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetLayoutSupport"); out << "\t\t" << "VkDescriptorSetLayoutSupport " << variable_name << " {" << std::endl; @@ -5638,25 +5638,25 @@ std::string GenerateStruct_VkDescriptorUpdateTemplateCreateInfo(std::ostream &ou } out << "\t\t" << "VkDescriptorUpdateTemplateEntry " << pdescriptor_update_entries_array << "[] = {" << pdescriptor_update_entries_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDescriptorUpdateTemplateCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* descriptorUpdateEntryCount */ +// descriptorUpdateEntryCount struct_body << "\t\t\t" << structInfo->descriptorUpdateEntryCount << "," << std::endl; -/* pDescriptorUpdateEntries */ +// pDescriptorUpdateEntries struct_body << "\t\t\t" << pdescriptor_update_entries_array << "," << std::endl; -/* templateType */ +// templateType struct_body << "\t\t\t" << "VkDescriptorUpdateTemplateType(" << structInfo->templateType << ")" << "," << std::endl; -/* descriptorSetLayout */ +// descriptorSetLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->descriptorSetLayout) << "," << std::endl; -/* pipelineBindPoint */ +// pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; -/* pipelineLayout */ +// pipelineLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pipelineLayout) << "," << std::endl; -/* set */ +// set struct_body << "\t\t\t" << structInfo->set << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorUpdateTemplateCreateInfo"); out << "\t\t" << "VkDescriptorUpdateTemplateCreateInfo " << variable_name << " {" << std::endl; @@ -5669,13 +5669,13 @@ std::string GenerateStruct_VkDescriptorUpdateTemplateCreateInfo(std::ostream &ou std::string GenerateStruct_VkDeviceGroupBindSparseInfo(std::ostream &out, const VkDeviceGroupBindSparseInfo* structInfo, Decoded_VkDeviceGroupBindSparseInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* resourceDeviceIndex */ +// resourceDeviceIndex struct_body << "\t\t\t" << structInfo->resourceDeviceIndex << "," << std::endl; -/* memoryDeviceIndex */ +// memoryDeviceIndex struct_body << "\t\t\t" << structInfo->memoryDeviceIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupBindSparseInfo"); out << "\t\t" << "VkDeviceGroupBindSparseInfo " << variable_name << " {" << std::endl; @@ -5688,11 +5688,11 @@ std::string GenerateStruct_VkDeviceGroupBindSparseInfo(std::ostream &out, const std::string GenerateStruct_VkDeviceGroupCommandBufferBeginInfo(std::ostream &out, const VkDeviceGroupCommandBufferBeginInfo* structInfo, Decoded_VkDeviceGroupCommandBufferBeginInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceMask */ +// deviceMask struct_body << "\t\t\t" << structInfo->deviceMask << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupCommandBufferBeginInfo"); out << "\t\t" << "VkDeviceGroupCommandBufferBeginInfo " << variable_name << " {" << std::endl; @@ -5718,13 +5718,13 @@ std::string GenerateStruct_VkDeviceGroupDeviceCreateInfo(std::ostream &out, cons out << "\t\t" << "VkPhysicalDevice " << pphysical_devices_array << "[] = {" << pphysical_devices_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* physicalDeviceCount */ +// physicalDeviceCount struct_body << "\t\t\t" << structInfo->physicalDeviceCount << "," << std::endl; -/* pPhysicalDevices */ +// pPhysicalDevices struct_body << "\t\t\t" << pphysical_devices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupDeviceCreateInfo"); out << "\t\t" << "VkDeviceGroupDeviceCreateInfo " << variable_name << " {" << std::endl; @@ -5742,15 +5742,15 @@ std::string GenerateStruct_VkDeviceGroupRenderPassBeginInfo(std::ostream &out, c pdevice_render_areas_array = "pDeviceRenderAreas_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkRect2D " << pdevice_render_areas_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pDeviceRenderAreas, structInfo->deviceRenderAreaCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceMask */ +// deviceMask struct_body << "\t\t\t" << structInfo->deviceMask << "," << std::endl; -/* deviceRenderAreaCount */ +// deviceRenderAreaCount struct_body << "\t\t\t" << structInfo->deviceRenderAreaCount << "," << std::endl; -/* pDeviceRenderAreas */ +// pDeviceRenderAreas struct_body << "\t\t\t" << pdevice_render_areas_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupRenderPassBeginInfo"); out << "\t\t" << "VkDeviceGroupRenderPassBeginInfo " << variable_name << " {" << std::endl; @@ -5778,21 +5778,21 @@ std::string GenerateStruct_VkDeviceGroupSubmitInfo(std::ostream &out, const VkDe psignal_semaphore_device_indices_array = "pSignalSemaphoreDeviceIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << psignal_semaphore_device_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pSignalSemaphoreDeviceIndices, structInfo->signalSemaphoreCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* waitSemaphoreCount */ +// waitSemaphoreCount struct_body << "\t\t\t" << structInfo->waitSemaphoreCount << "," << std::endl; -/* pWaitSemaphoreDeviceIndices */ +// pWaitSemaphoreDeviceIndices struct_body << "\t\t\t" << pwait_semaphore_device_indices_array << "," << std::endl; -/* commandBufferCount */ +// commandBufferCount struct_body << "\t\t\t" << structInfo->commandBufferCount << "," << std::endl; -/* pCommandBufferDeviceMasks */ +// pCommandBufferDeviceMasks struct_body << "\t\t\t" << pcommand_buffer_device_masks_array << "," << std::endl; -/* signalSemaphoreCount */ +// signalSemaphoreCount struct_body << "\t\t\t" << structInfo->signalSemaphoreCount << "," << std::endl; -/* pSignalSemaphoreDeviceIndices */ +// pSignalSemaphoreDeviceIndices struct_body << "\t\t\t" << psignal_semaphore_device_indices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupSubmitInfo"); out << "\t\t" << "VkDeviceGroupSubmitInfo " << variable_name << " {" << std::endl; @@ -5805,15 +5805,15 @@ std::string GenerateStruct_VkDeviceGroupSubmitInfo(std::ostream &out, const VkDe std::string GenerateStruct_VkDeviceQueueInfo2(std::ostream &out, const VkDeviceQueueInfo2* structInfo, Decoded_VkDeviceQueueInfo2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDeviceQueueCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* queueFamilyIndex */ +// queueFamilyIndex struct_body << "\t\t\t" << structInfo->queueFamilyIndex << "," << std::endl; -/* queueIndex */ +// queueIndex struct_body << "\t\t\t" << structInfo->queueIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceQueueInfo2"); out << "\t\t" << "VkDeviceQueueInfo2 " << variable_name << " {" << std::endl; @@ -5826,11 +5826,11 @@ std::string GenerateStruct_VkDeviceQueueInfo2(std::ostream &out, const VkDeviceQ std::string GenerateStruct_VkExportFenceCreateInfo(std::ostream &out, const VkExportFenceCreateInfo* structInfo, Decoded_VkExportFenceCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleTypes */ +// handleTypes struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlags(" << structInfo->handleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportFenceCreateInfo"); out << "\t\t" << "VkExportFenceCreateInfo " << variable_name << " {" << std::endl; @@ -5843,11 +5843,11 @@ std::string GenerateStruct_VkExportFenceCreateInfo(std::ostream &out, const VkEx std::string GenerateStruct_VkExportMemoryAllocateInfo(std::ostream &out, const VkExportMemoryAllocateInfo* structInfo, Decoded_VkExportMemoryAllocateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleTypes */ +// handleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlags(" << structInfo->handleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportMemoryAllocateInfo"); out << "\t\t" << "VkExportMemoryAllocateInfo " << variable_name << " {" << std::endl; @@ -5860,11 +5860,11 @@ std::string GenerateStruct_VkExportMemoryAllocateInfo(std::ostream &out, const V std::string GenerateStruct_VkExportSemaphoreCreateInfo(std::ostream &out, const VkExportSemaphoreCreateInfo* structInfo, Decoded_VkExportSemaphoreCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleTypes */ +// handleTypes struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlags(" << structInfo->handleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportSemaphoreCreateInfo"); out << "\t\t" << "VkExportSemaphoreCreateInfo " << variable_name << " {" << std::endl; @@ -5881,11 +5881,11 @@ std::string GenerateStruct_VkExternalBufferProperties(std::ostream &out, const V &structInfo->externalMemoryProperties, metaInfo->externalMemoryProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* externalMemoryProperties */ +// externalMemoryProperties struct_body << "\t\t\t" << external_memory_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalBufferProperties"); out << "\t\t" << "VkExternalBufferProperties " << variable_name << " {" << std::endl; @@ -5898,15 +5898,15 @@ std::string GenerateStruct_VkExternalBufferProperties(std::ostream &out, const V std::string GenerateStruct_VkExternalFenceProperties(std::ostream &out, const VkExternalFenceProperties* structInfo, Decoded_VkExternalFenceProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* exportFromImportedHandleTypes */ +// exportFromImportedHandleTypes struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlags(" << structInfo->exportFromImportedHandleTypes << ")" << "," << std::endl; -/* compatibleHandleTypes */ +// compatibleHandleTypes struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlags(" << structInfo->compatibleHandleTypes << ")" << "," << std::endl; -/* externalFenceFeatures */ +// externalFenceFeatures struct_body << "\t\t\t" << "VkExternalFenceFeatureFlags(" << structInfo->externalFenceFeatures << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalFenceProperties"); out << "\t\t" << "VkExternalFenceProperties " << variable_name << " {" << std::endl; @@ -5923,11 +5923,11 @@ std::string GenerateStruct_VkExternalImageFormatProperties(std::ostream &out, co &structInfo->externalMemoryProperties, metaInfo->externalMemoryProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* externalMemoryProperties */ +// externalMemoryProperties struct_body << "\t\t\t" << external_memory_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalImageFormatProperties"); out << "\t\t" << "VkExternalImageFormatProperties " << variable_name << " {" << std::endl; @@ -5940,11 +5940,11 @@ std::string GenerateStruct_VkExternalImageFormatProperties(std::ostream &out, co std::string GenerateStruct_VkExternalMemoryBufferCreateInfo(std::ostream &out, const VkExternalMemoryBufferCreateInfo* structInfo, Decoded_VkExternalMemoryBufferCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleTypes */ +// handleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlags(" << structInfo->handleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalMemoryBufferCreateInfo"); out << "\t\t" << "VkExternalMemoryBufferCreateInfo " << variable_name << " {" << std::endl; @@ -5957,11 +5957,11 @@ std::string GenerateStruct_VkExternalMemoryBufferCreateInfo(std::ostream &out, c std::string GenerateStruct_VkExternalMemoryImageCreateInfo(std::ostream &out, const VkExternalMemoryImageCreateInfo* structInfo, Decoded_VkExternalMemoryImageCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleTypes */ +// handleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlags(" << structInfo->handleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalMemoryImageCreateInfo"); out << "\t\t" << "VkExternalMemoryImageCreateInfo " << variable_name << " {" << std::endl; @@ -5973,11 +5973,11 @@ std::string GenerateStruct_VkExternalMemoryImageCreateInfo(std::ostream &out, co std::string GenerateStruct_VkExternalMemoryProperties(std::ostream &out, const VkExternalMemoryProperties* structInfo, Decoded_VkExternalMemoryProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* externalMemoryFeatures */ +// externalMemoryFeatures struct_body << "\t" << "VkExternalMemoryFeatureFlags(" << structInfo->externalMemoryFeatures << ")" << "," << std::endl; -/* exportFromImportedHandleTypes */ +// exportFromImportedHandleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlags(" << structInfo->exportFromImportedHandleTypes << ")" << "," << std::endl; -/* compatibleHandleTypes */ +// compatibleHandleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlags(" << structInfo->compatibleHandleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalMemoryProperties"); out << "\t\t" << "VkExternalMemoryProperties " << variable_name << " {" << std::endl; @@ -5990,15 +5990,15 @@ std::string GenerateStruct_VkExternalMemoryProperties(std::ostream &out, const V std::string GenerateStruct_VkExternalSemaphoreProperties(std::ostream &out, const VkExternalSemaphoreProperties* structInfo, Decoded_VkExternalSemaphoreProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* exportFromImportedHandleTypes */ +// exportFromImportedHandleTypes struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlags(" << structInfo->exportFromImportedHandleTypes << ")" << "," << std::endl; -/* compatibleHandleTypes */ +// compatibleHandleTypes struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlags(" << structInfo->compatibleHandleTypes << ")" << "," << std::endl; -/* externalSemaphoreFeatures */ +// externalSemaphoreFeatures struct_body << "\t\t\t" << "VkExternalSemaphoreFeatureFlags(" << structInfo->externalSemaphoreFeatures << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalSemaphoreProperties"); out << "\t\t" << "VkExternalSemaphoreProperties " << variable_name << " {" << std::endl; @@ -6015,11 +6015,11 @@ std::string GenerateStruct_VkFormatProperties2(std::ostream &out, const VkFormat &structInfo->formatProperties, metaInfo->formatProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* formatProperties */ +// formatProperties struct_body << "\t\t\t" << format_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "formatProperties2"); out << "\t\t" << "VkFormatProperties2 " << variable_name << " {" << std::endl; @@ -6036,11 +6036,11 @@ std::string GenerateStruct_VkImageFormatProperties2(std::ostream &out, const VkI &structInfo->imageFormatProperties, metaInfo->imageFormatProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageFormatProperties */ +// imageFormatProperties struct_body << "\t\t\t" << image_format_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageFormatProperties2"); out << "\t\t" << "VkImageFormatProperties2 " << variable_name << " {" << std::endl; @@ -6053,11 +6053,11 @@ std::string GenerateStruct_VkImageFormatProperties2(std::ostream &out, const VkI std::string GenerateStruct_VkImageMemoryRequirementsInfo2(std::ostream &out, const VkImageMemoryRequirementsInfo2* structInfo, Decoded_VkImageMemoryRequirementsInfo2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageMemoryRequirementsInfo2"); out << "\t\t" << "VkImageMemoryRequirementsInfo2 " << variable_name << " {" << std::endl; @@ -6070,11 +6070,11 @@ std::string GenerateStruct_VkImageMemoryRequirementsInfo2(std::ostream &out, con std::string GenerateStruct_VkImagePlaneMemoryRequirementsInfo(std::ostream &out, const VkImagePlaneMemoryRequirementsInfo* structInfo, Decoded_VkImagePlaneMemoryRequirementsInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* planeAspect */ +// planeAspect struct_body << "\t\t\t" << "VkImageAspectFlagBits(" << structInfo->planeAspect << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imagePlaneMemoryRequirementsInfo"); out << "\t\t" << "VkImagePlaneMemoryRequirementsInfo " << variable_name << " {" << std::endl; @@ -6087,11 +6087,11 @@ std::string GenerateStruct_VkImagePlaneMemoryRequirementsInfo(std::ostream &out, std::string GenerateStruct_VkImageSparseMemoryRequirementsInfo2(std::ostream &out, const VkImageSparseMemoryRequirementsInfo2* structInfo, Decoded_VkImageSparseMemoryRequirementsInfo2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageSparseMemoryRequirementsInfo2"); out << "\t\t" << "VkImageSparseMemoryRequirementsInfo2 " << variable_name << " {" << std::endl; @@ -6104,11 +6104,11 @@ std::string GenerateStruct_VkImageSparseMemoryRequirementsInfo2(std::ostream &ou std::string GenerateStruct_VkImageViewUsageCreateInfo(std::ostream &out, const VkImageViewUsageCreateInfo* structInfo, Decoded_VkImageViewUsageCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->usage << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewUsageCreateInfo"); out << "\t\t" << "VkImageViewUsageCreateInfo " << variable_name << " {" << std::endl; @@ -6120,11 +6120,11 @@ std::string GenerateStruct_VkImageViewUsageCreateInfo(std::ostream &out, const V std::string GenerateStruct_VkInputAttachmentAspectReference(std::ostream &out, const VkInputAttachmentAspectReference* structInfo, Decoded_VkInputAttachmentAspectReference* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* subpass */ +// subpass struct_body << "\t" << structInfo->subpass << "," << std::endl; -/* inputAttachmentIndex */ +// inputAttachmentIndex struct_body << "\t\t\t" << structInfo->inputAttachmentIndex << "," << std::endl; -/* aspectMask */ +// aspectMask struct_body << "\t\t\t" << "VkImageAspectFlags(" << structInfo->aspectMask << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "inputAttachmentAspectReference"); out << "\t\t" << "VkInputAttachmentAspectReference " << variable_name << " {" << std::endl; @@ -6137,13 +6137,13 @@ std::string GenerateStruct_VkInputAttachmentAspectReference(std::ostream &out, c std::string GenerateStruct_VkMemoryAllocateFlagsInfo(std::ostream &out, const VkMemoryAllocateFlagsInfo* structInfo, Decoded_VkMemoryAllocateFlagsInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkMemoryAllocateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* deviceMask */ +// deviceMask struct_body << "\t\t\t" << structInfo->deviceMask << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryAllocateFlagsInfo"); out << "\t\t" << "VkMemoryAllocateFlagsInfo " << variable_name << " {" << std::endl; @@ -6156,13 +6156,13 @@ std::string GenerateStruct_VkMemoryAllocateFlagsInfo(std::ostream &out, const Vk std::string GenerateStruct_VkMemoryDedicatedAllocateInfo(std::ostream &out, const VkMemoryDedicatedAllocateInfo* structInfo, Decoded_VkMemoryDedicatedAllocateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryDedicatedAllocateInfo"); out << "\t\t" << "VkMemoryDedicatedAllocateInfo " << variable_name << " {" << std::endl; @@ -6175,13 +6175,13 @@ std::string GenerateStruct_VkMemoryDedicatedAllocateInfo(std::ostream &out, cons std::string GenerateStruct_VkMemoryDedicatedRequirements(std::ostream &out, const VkMemoryDedicatedRequirements* structInfo, Decoded_VkMemoryDedicatedRequirements* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* prefersDedicatedAllocation */ +// prefersDedicatedAllocation struct_body << "\t\t\t" << structInfo->prefersDedicatedAllocation << "," << std::endl; -/* requiresDedicatedAllocation */ +// requiresDedicatedAllocation struct_body << "\t\t\t" << structInfo->requiresDedicatedAllocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryDedicatedRequirements"); out << "\t\t" << "VkMemoryDedicatedRequirements " << variable_name << " {" << std::endl; @@ -6198,11 +6198,11 @@ std::string GenerateStruct_VkMemoryRequirements2(std::ostream &out, const VkMemo &structInfo->memoryRequirements, metaInfo->memoryRequirements, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryRequirements */ +// memoryRequirements struct_body << "\t\t\t" << memory_requirements_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryRequirements2"); out << "\t\t" << variable_name << " = {" << std::endl; @@ -6215,17 +6215,17 @@ std::string GenerateStruct_VkMemoryRequirements2(std::ostream &out, const VkMemo std::string GenerateStruct_VkPhysicalDevice16BitStorageFeatures(std::ostream &out, const VkPhysicalDevice16BitStorageFeatures* structInfo, Decoded_VkPhysicalDevice16BitStorageFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* storageBuffer16BitAccess */ +// storageBuffer16BitAccess struct_body << "\t\t\t" << structInfo->storageBuffer16BitAccess << "," << std::endl; -/* uniformAndStorageBuffer16BitAccess */ +// uniformAndStorageBuffer16BitAccess struct_body << "\t\t\t" << structInfo->uniformAndStorageBuffer16BitAccess << "," << std::endl; -/* storagePushConstant16 */ +// storagePushConstant16 struct_body << "\t\t\t" << structInfo->storagePushConstant16 << "," << std::endl; -/* storageInputOutput16 */ +// storageInputOutput16 struct_body << "\t\t\t" << structInfo->storageInputOutput16 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevice16BitStorageFeatures"); out << "\t\t" << "VkPhysicalDevice16BitStorageFeatures " << variable_name << " {" << std::endl; @@ -6238,15 +6238,15 @@ std::string GenerateStruct_VkPhysicalDevice16BitStorageFeatures(std::ostream &ou std::string GenerateStruct_VkPhysicalDeviceExternalBufferInfo(std::ostream &out, const VkPhysicalDeviceExternalBufferInfo* structInfo, Decoded_VkPhysicalDeviceExternalBufferInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkBufferCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkBufferUsageFlags(" << structInfo->usage << ")" << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalBufferInfo"); out << "\t\t" << "VkPhysicalDeviceExternalBufferInfo " << variable_name << " {" << std::endl; @@ -6259,11 +6259,11 @@ std::string GenerateStruct_VkPhysicalDeviceExternalBufferInfo(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceExternalFenceInfo(std::ostream &out, const VkPhysicalDeviceExternalFenceInfo* structInfo, Decoded_VkPhysicalDeviceExternalFenceInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalFenceInfo"); out << "\t\t" << "VkPhysicalDeviceExternalFenceInfo " << variable_name << " {" << std::endl; @@ -6276,11 +6276,11 @@ std::string GenerateStruct_VkPhysicalDeviceExternalFenceInfo(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceExternalImageFormatInfo(std::ostream &out, const VkPhysicalDeviceExternalImageFormatInfo* structInfo, Decoded_VkPhysicalDeviceExternalImageFormatInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalImageFormatInfo"); out << "\t\t" << "VkPhysicalDeviceExternalImageFormatInfo " << variable_name << " {" << std::endl; @@ -6293,11 +6293,11 @@ std::string GenerateStruct_VkPhysicalDeviceExternalImageFormatInfo(std::ostream std::string GenerateStruct_VkPhysicalDeviceExternalSemaphoreInfo(std::ostream &out, const VkPhysicalDeviceExternalSemaphoreInfo* structInfo, Decoded_VkPhysicalDeviceExternalSemaphoreInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalSemaphoreInfo"); out << "\t\t" << "VkPhysicalDeviceExternalSemaphoreInfo " << variable_name << " {" << std::endl; @@ -6314,11 +6314,11 @@ std::string GenerateStruct_VkPhysicalDeviceFeatures2(std::ostream &out, const Vk &structInfo->features, metaInfo->features, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* features */ +// features struct_body << "\t\t\t" << features_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFeatures2"); out << "\t\t" << "VkPhysicalDeviceFeatures2 " << variable_name << " {" << std::endl; @@ -6331,15 +6331,15 @@ std::string GenerateStruct_VkPhysicalDeviceFeatures2(std::ostream &out, const Vk std::string GenerateStruct_VkPhysicalDeviceGroupProperties(std::ostream &out, const VkPhysicalDeviceGroupProperties* structInfo, Decoded_VkPhysicalDeviceGroupProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* physicalDeviceCount */ +// physicalDeviceCount struct_body << "\t\t\t" << structInfo->physicalDeviceCount << "," << std::endl; -/* physicalDevices */ +// physicalDevices out << "\t\t" << "// TODO: Support physicalDevices (output with array length value?) argument." << std::endl; -/* subsetAllocation */ +// subsetAllocation struct_body << "\t\t\t" << structInfo->subsetAllocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceGroupProperties"); out << "\t\t" << "VkPhysicalDeviceGroupProperties " << variable_name << " {" << std::endl; @@ -6352,19 +6352,19 @@ std::string GenerateStruct_VkPhysicalDeviceGroupProperties(std::ostream &out, co std::string GenerateStruct_VkPhysicalDeviceIDProperties(std::ostream &out, const VkPhysicalDeviceIDProperties* structInfo, Decoded_VkPhysicalDeviceIDProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceUUID */ +// deviceUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->deviceUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* driverUUID */ +// driverUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->driverUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* deviceLUID */ +// deviceLUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->deviceLUID[0]), VK_LUID_SIZE) << "," << std::endl; -/* deviceNodeMask */ +// deviceNodeMask struct_body << "\t\t\t" << structInfo->deviceNodeMask << "," << std::endl; -/* deviceLUIDValid */ +// deviceLUIDValid struct_body << "\t\t\t" << structInfo->deviceLUIDValid << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceIDProperties"); out << "\t\t" << "VkPhysicalDeviceIDProperties " << variable_name << " {" << std::endl; @@ -6377,19 +6377,19 @@ std::string GenerateStruct_VkPhysicalDeviceIDProperties(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceImageFormatInfo2(std::ostream &out, const VkPhysicalDeviceImageFormatInfo2* structInfo, Decoded_VkPhysicalDeviceImageFormatInfo2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkImageType(" << structInfo->type << ")" << "," << std::endl; -/* tiling */ +// tiling struct_body << "\t\t\t" << "VkImageTiling(" << structInfo->tiling << ")" << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->usage << ")" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkImageCreateFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageFormatInfo2"); out << "\t\t" << "VkPhysicalDeviceImageFormatInfo2 " << variable_name << " {" << std::endl; @@ -6402,13 +6402,13 @@ std::string GenerateStruct_VkPhysicalDeviceImageFormatInfo2(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceMaintenance3Properties(std::ostream &out, const VkPhysicalDeviceMaintenance3Properties* structInfo, Decoded_VkPhysicalDeviceMaintenance3Properties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxPerSetDescriptors */ +// maxPerSetDescriptors struct_body << "\t\t\t" << structInfo->maxPerSetDescriptors << "," << std::endl; -/* maxMemoryAllocationSize */ +// maxMemoryAllocationSize struct_body << "\t\t\t" << structInfo->maxMemoryAllocationSize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMaintenance3Properties"); out << "\t\t" << "VkPhysicalDeviceMaintenance3Properties " << variable_name << " {" << std::endl; @@ -6425,11 +6425,11 @@ std::string GenerateStruct_VkPhysicalDeviceMemoryProperties2(std::ostream &out, &structInfo->memoryProperties, metaInfo->memoryProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryProperties */ +// memoryProperties struct_body << "\t\t\t" << memory_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMemoryProperties2"); out << "\t\t" << "VkPhysicalDeviceMemoryProperties2 " << variable_name << " {" << std::endl; @@ -6442,15 +6442,15 @@ std::string GenerateStruct_VkPhysicalDeviceMemoryProperties2(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceMultiviewFeatures(std::ostream &out, const VkPhysicalDeviceMultiviewFeatures* structInfo, Decoded_VkPhysicalDeviceMultiviewFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* multiview */ +// multiview struct_body << "\t\t\t" << structInfo->multiview << "," << std::endl; -/* multiviewGeometryShader */ +// multiviewGeometryShader struct_body << "\t\t\t" << structInfo->multiviewGeometryShader << "," << std::endl; -/* multiviewTessellationShader */ +// multiviewTessellationShader struct_body << "\t\t\t" << structInfo->multiviewTessellationShader << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultiviewFeatures"); out << "\t\t" << "VkPhysicalDeviceMultiviewFeatures " << variable_name << " {" << std::endl; @@ -6463,13 +6463,13 @@ std::string GenerateStruct_VkPhysicalDeviceMultiviewFeatures(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceMultiviewProperties(std::ostream &out, const VkPhysicalDeviceMultiviewProperties* structInfo, Decoded_VkPhysicalDeviceMultiviewProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxMultiviewViewCount */ +// maxMultiviewViewCount struct_body << "\t\t\t" << structInfo->maxMultiviewViewCount << "," << std::endl; -/* maxMultiviewInstanceIndex */ +// maxMultiviewInstanceIndex struct_body << "\t\t\t" << structInfo->maxMultiviewInstanceIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultiviewProperties"); out << "\t\t" << "VkPhysicalDeviceMultiviewProperties " << variable_name << " {" << std::endl; @@ -6482,11 +6482,11 @@ std::string GenerateStruct_VkPhysicalDeviceMultiviewProperties(std::ostream &out std::string GenerateStruct_VkPhysicalDevicePointClippingProperties(std::ostream &out, const VkPhysicalDevicePointClippingProperties* structInfo, Decoded_VkPhysicalDevicePointClippingProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pointClippingBehavior */ +// pointClippingBehavior struct_body << "\t\t\t" << "VkPointClippingBehavior(" << structInfo->pointClippingBehavior << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePointClippingProperties"); out << "\t\t" << "VkPhysicalDevicePointClippingProperties " << variable_name << " {" << std::endl; @@ -6503,11 +6503,11 @@ std::string GenerateStruct_VkPhysicalDeviceProperties2(std::ostream &out, const &structInfo->properties, metaInfo->properties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* properties */ +// properties struct_body << "\t\t\t" << properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceProperties2"); out << "\t\t" << "VkPhysicalDeviceProperties2 " << variable_name << " {" << std::endl; @@ -6520,11 +6520,11 @@ std::string GenerateStruct_VkPhysicalDeviceProperties2(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceProtectedMemoryFeatures(std::ostream &out, const VkPhysicalDeviceProtectedMemoryFeatures* structInfo, Decoded_VkPhysicalDeviceProtectedMemoryFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* protectedMemory */ +// protectedMemory struct_body << "\t\t\t" << structInfo->protectedMemory << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceProtectedMemoryFeatures"); out << "\t\t" << "VkPhysicalDeviceProtectedMemoryFeatures " << variable_name << " {" << std::endl; @@ -6537,11 +6537,11 @@ std::string GenerateStruct_VkPhysicalDeviceProtectedMemoryFeatures(std::ostream std::string GenerateStruct_VkPhysicalDeviceProtectedMemoryProperties(std::ostream &out, const VkPhysicalDeviceProtectedMemoryProperties* structInfo, Decoded_VkPhysicalDeviceProtectedMemoryProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* protectedNoFault */ +// protectedNoFault struct_body << "\t\t\t" << structInfo->protectedNoFault << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceProtectedMemoryProperties"); out << "\t\t" << "VkPhysicalDeviceProtectedMemoryProperties " << variable_name << " {" << std::endl; @@ -6554,11 +6554,11 @@ std::string GenerateStruct_VkPhysicalDeviceProtectedMemoryProperties(std::ostrea std::string GenerateStruct_VkPhysicalDeviceSamplerYcbcrConversionFeatures(std::ostream &out, const VkPhysicalDeviceSamplerYcbcrConversionFeatures* structInfo, Decoded_VkPhysicalDeviceSamplerYcbcrConversionFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* samplerYcbcrConversion */ +// samplerYcbcrConversion struct_body << "\t\t\t" << structInfo->samplerYcbcrConversion << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSamplerYcbcrConversionFeatures"); out << "\t\t" << "VkPhysicalDeviceSamplerYcbcrConversionFeatures " << variable_name << " {" << std::endl; @@ -6571,11 +6571,11 @@ std::string GenerateStruct_VkPhysicalDeviceSamplerYcbcrConversionFeatures(std::o std::string GenerateStruct_VkPhysicalDeviceShaderDrawParametersFeatures(std::ostream &out, const VkPhysicalDeviceShaderDrawParametersFeatures* structInfo, Decoded_VkPhysicalDeviceShaderDrawParametersFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderDrawParameters */ +// shaderDrawParameters struct_body << "\t\t\t" << structInfo->shaderDrawParameters << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderDrawParametersFeatures"); out << "\t\t" << "VkPhysicalDeviceShaderDrawParametersFeatures " << variable_name << " {" << std::endl; @@ -6588,19 +6588,19 @@ std::string GenerateStruct_VkPhysicalDeviceShaderDrawParametersFeatures(std::ost std::string GenerateStruct_VkPhysicalDeviceSparseImageFormatInfo2(std::ostream &out, const VkPhysicalDeviceSparseImageFormatInfo2* structInfo, Decoded_VkPhysicalDeviceSparseImageFormatInfo2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkImageType(" << structInfo->type << ")" << "," << std::endl; -/* samples */ +// samples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->samples << ")" << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->usage << ")" << "," << std::endl; -/* tiling */ +// tiling struct_body << "\t\t\t" << "VkImageTiling(" << structInfo->tiling << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSparseImageFormatInfo2"); out << "\t\t" << "VkPhysicalDeviceSparseImageFormatInfo2 " << variable_name << " {" << std::endl; @@ -6613,17 +6613,17 @@ std::string GenerateStruct_VkPhysicalDeviceSparseImageFormatInfo2(std::ostream & std::string GenerateStruct_VkPhysicalDeviceSubgroupProperties(std::ostream &out, const VkPhysicalDeviceSubgroupProperties* structInfo, Decoded_VkPhysicalDeviceSubgroupProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* subgroupSize */ +// subgroupSize struct_body << "\t\t\t" << structInfo->subgroupSize << "," << std::endl; -/* supportedStages */ +// supportedStages struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->supportedStages << ")" << "," << std::endl; -/* supportedOperations */ +// supportedOperations struct_body << "\t\t\t" << "VkSubgroupFeatureFlags(" << structInfo->supportedOperations << ")" << "," << std::endl; -/* quadOperationsInAllStages */ +// quadOperationsInAllStages struct_body << "\t\t\t" << structInfo->quadOperationsInAllStages << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSubgroupProperties"); out << "\t\t" << "VkPhysicalDeviceSubgroupProperties " << variable_name << " {" << std::endl; @@ -6636,13 +6636,13 @@ std::string GenerateStruct_VkPhysicalDeviceSubgroupProperties(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceVariablePointersFeatures(std::ostream &out, const VkPhysicalDeviceVariablePointersFeatures* structInfo, Decoded_VkPhysicalDeviceVariablePointersFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* variablePointersStorageBuffer */ +// variablePointersStorageBuffer struct_body << "\t\t\t" << structInfo->variablePointersStorageBuffer << "," << std::endl; -/* variablePointers */ +// variablePointers struct_body << "\t\t\t" << structInfo->variablePointers << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVariablePointersFeatures"); out << "\t\t" << "VkPhysicalDeviceVariablePointersFeatures " << variable_name << " {" << std::endl; @@ -6655,11 +6655,11 @@ std::string GenerateStruct_VkPhysicalDeviceVariablePointersFeatures(std::ostream std::string GenerateStruct_VkPipelineTessellationDomainOriginStateCreateInfo(std::ostream &out, const VkPipelineTessellationDomainOriginStateCreateInfo* structInfo, Decoded_VkPipelineTessellationDomainOriginStateCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* domainOrigin */ +// domainOrigin struct_body << "\t\t\t" << "VkTessellationDomainOrigin(" << structInfo->domainOrigin << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineTessellationDomainOriginStateCreateInfo"); out << "\t\t" << "VkPipelineTessellationDomainOriginStateCreateInfo " << variable_name << " {" << std::endl; @@ -6672,11 +6672,11 @@ std::string GenerateStruct_VkPipelineTessellationDomainOriginStateCreateInfo(std std::string GenerateStruct_VkProtectedSubmitInfo(std::ostream &out, const VkProtectedSubmitInfo* structInfo, Decoded_VkProtectedSubmitInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* protectedSubmit */ +// protectedSubmit struct_body << "\t\t\t" << structInfo->protectedSubmit << ","; std::string variable_name = consumer.AddStruct(struct_body, "protectedSubmitInfo"); out << "\t\t" << "VkProtectedSubmitInfo " << variable_name << " {" << std::endl; @@ -6693,11 +6693,11 @@ std::string GenerateStruct_VkQueueFamilyProperties2(std::ostream &out, const VkQ &structInfo->queueFamilyProperties, metaInfo->queueFamilyProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* queueFamilyProperties */ +// queueFamilyProperties struct_body << "\t\t\t" << queue_family_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "queueFamilyProperties2"); out << "\t\t" << "VkQueueFamilyProperties2 " << variable_name << " {" << std::endl; @@ -6726,13 +6726,13 @@ std::string GenerateStruct_VkRenderPassInputAttachmentAspectCreateInfo(std::ostr } out << "\t\t" << "VkInputAttachmentAspectReference " << paspect_references_array << "[] = {" << paspect_references_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* aspectReferenceCount */ +// aspectReferenceCount struct_body << "\t\t\t" << structInfo->aspectReferenceCount << "," << std::endl; -/* pAspectReferences */ +// pAspectReferences struct_body << "\t\t\t" << paspect_references_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassInputAttachmentAspectCreateInfo"); out << "\t\t" << "VkRenderPassInputAttachmentAspectCreateInfo " << variable_name << " {" << std::endl; @@ -6760,21 +6760,21 @@ std::string GenerateStruct_VkRenderPassMultiviewCreateInfo(std::ostream &out, co pcorrelation_masks_array = "pCorrelationMasks_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pcorrelation_masks_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pCorrelationMasks, structInfo->correlationMaskCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* subpassCount */ +// subpassCount struct_body << "\t\t\t" << structInfo->subpassCount << "," << std::endl; -/* pViewMasks */ +// pViewMasks struct_body << "\t\t\t" << pview_masks_array << "," << std::endl; -/* dependencyCount */ +// dependencyCount struct_body << "\t\t\t" << structInfo->dependencyCount << "," << std::endl; -/* pViewOffsets */ +// pViewOffsets struct_body << "\t\t\t" << pview_offsets_array << "," << std::endl; -/* correlationMaskCount */ +// correlationMaskCount struct_body << "\t\t\t" << structInfo->correlationMaskCount << "," << std::endl; -/* pCorrelationMasks */ +// pCorrelationMasks struct_body << "\t\t\t" << pcorrelation_masks_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassMultiviewCreateInfo"); out << "\t\t" << "VkRenderPassMultiviewCreateInfo " << variable_name << " {" << std::endl; @@ -6791,25 +6791,25 @@ std::string GenerateStruct_VkSamplerYcbcrConversionCreateInfo(std::ostream &out, &structInfo->components, metaInfo->components, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* ycbcrModel */ +// ycbcrModel struct_body << "\t\t\t" << "VkSamplerYcbcrModelConversion(" << structInfo->ycbcrModel << ")" << "," << std::endl; -/* ycbcrRange */ +// ycbcrRange struct_body << "\t\t\t" << "VkSamplerYcbcrRange(" << structInfo->ycbcrRange << ")" << "," << std::endl; -/* components */ +// components struct_body << "\t\t\t" << components_info_var << "," << std::endl; -/* xChromaOffset */ +// xChromaOffset struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->xChromaOffset << ")" << "," << std::endl; -/* yChromaOffset */ +// yChromaOffset struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->yChromaOffset << ")" << "," << std::endl; -/* chromaFilter */ +// chromaFilter struct_body << "\t\t\t" << "VkFilter(" << structInfo->chromaFilter << ")" << "," << std::endl; -/* forceExplicitReconstruction */ +// forceExplicitReconstruction struct_body << "\t\t\t" << structInfo->forceExplicitReconstruction << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerYcbcrConversionCreateInfo"); out << "\t\t" << "VkSamplerYcbcrConversionCreateInfo " << variable_name << " {" << std::endl; @@ -6822,11 +6822,11 @@ std::string GenerateStruct_VkSamplerYcbcrConversionCreateInfo(std::ostream &out, std::string GenerateStruct_VkSamplerYcbcrConversionImageFormatProperties(std::ostream &out, const VkSamplerYcbcrConversionImageFormatProperties* structInfo, Decoded_VkSamplerYcbcrConversionImageFormatProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* combinedImageSamplerDescriptorCount */ +// combinedImageSamplerDescriptorCount struct_body << "\t\t\t" << structInfo->combinedImageSamplerDescriptorCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerYcbcrConversionImageFormatProperties"); out << "\t\t" << "VkSamplerYcbcrConversionImageFormatProperties " << variable_name << " {" << std::endl; @@ -6839,11 +6839,11 @@ std::string GenerateStruct_VkSamplerYcbcrConversionImageFormatProperties(std::os std::string GenerateStruct_VkSamplerYcbcrConversionInfo(std::ostream &out, const VkSamplerYcbcrConversionInfo* structInfo, Decoded_VkSamplerYcbcrConversionInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* conversion */ +// conversion struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->conversion) << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerYcbcrConversionInfo"); out << "\t\t" << "VkSamplerYcbcrConversionInfo " << variable_name << " {" << std::endl; @@ -6860,11 +6860,11 @@ std::string GenerateStruct_VkSparseImageFormatProperties2(std::ostream &out, con &structInfo->properties, metaInfo->properties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* properties */ +// properties struct_body << "\t\t\t" << properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseImageFormatProperties2"); out << "\t\t" << "VkSparseImageFormatProperties2 " << variable_name << " {" << std::endl; @@ -6881,11 +6881,11 @@ std::string GenerateStruct_VkSparseImageMemoryRequirements2(std::ostream &out, c &structInfo->memoryRequirements, metaInfo->memoryRequirements, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryRequirements */ +// memoryRequirements struct_body << "\t\t\t" << memory_requirements_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "sparseImageMemoryRequirements2"); out << "\t\t" << "VkSparseImageMemoryRequirements2 " << variable_name << " {" << std::endl; @@ -6898,27 +6898,27 @@ std::string GenerateStruct_VkSparseImageMemoryRequirements2(std::ostream &out, c std::string GenerateStruct_VkAttachmentDescription2(std::ostream &out, const VkAttachmentDescription2* structInfo, Decoded_VkAttachmentDescription2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkAttachmentDescriptionFlags(" << structInfo->flags << ")" << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* samples */ +// samples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->samples << ")" << "," << std::endl; -/* loadOp */ +// loadOp struct_body << "\t\t\t" << "VkAttachmentLoadOp(" << structInfo->loadOp << ")" << "," << std::endl; -/* storeOp */ +// storeOp struct_body << "\t\t\t" << "VkAttachmentStoreOp(" << structInfo->storeOp << ")" << "," << std::endl; -/* stencilLoadOp */ +// stencilLoadOp struct_body << "\t\t\t" << "VkAttachmentLoadOp(" << structInfo->stencilLoadOp << ")" << "," << std::endl; -/* stencilStoreOp */ +// stencilStoreOp struct_body << "\t\t\t" << "VkAttachmentStoreOp(" << structInfo->stencilStoreOp << ")" << "," << std::endl; -/* initialLayout */ +// initialLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->initialLayout << ")" << "," << std::endl; -/* finalLayout */ +// finalLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->finalLayout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentDescription2"); out << "\t\t" << "VkAttachmentDescription2 " << variable_name << " {" << std::endl; @@ -6931,13 +6931,13 @@ std::string GenerateStruct_VkAttachmentDescription2(std::ostream &out, const VkA std::string GenerateStruct_VkAttachmentDescriptionStencilLayout(std::ostream &out, const VkAttachmentDescriptionStencilLayout* structInfo, Decoded_VkAttachmentDescriptionStencilLayout* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stencilInitialLayout */ +// stencilInitialLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->stencilInitialLayout << ")" << "," << std::endl; -/* stencilFinalLayout */ +// stencilFinalLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->stencilFinalLayout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentDescriptionStencilLayout"); out << "\t\t" << "VkAttachmentDescriptionStencilLayout " << variable_name << " {" << std::endl; @@ -6950,15 +6950,15 @@ std::string GenerateStruct_VkAttachmentDescriptionStencilLayout(std::ostream &ou std::string GenerateStruct_VkAttachmentReference2(std::ostream &out, const VkAttachmentReference2* structInfo, Decoded_VkAttachmentReference2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* attachment */ +// attachment struct_body << "\t\t\t" << structInfo->attachment << "," << std::endl; -/* layout */ +// layout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->layout << ")" << "," << std::endl; -/* aspectMask */ +// aspectMask struct_body << "\t\t\t" << "VkImageAspectFlags(" << structInfo->aspectMask << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentReference2"); out << "\t\t" << "VkAttachmentReference2 " << variable_name << " {" << std::endl; @@ -6971,11 +6971,11 @@ std::string GenerateStruct_VkAttachmentReference2(std::ostream &out, const VkAtt std::string GenerateStruct_VkAttachmentReferenceStencilLayout(std::ostream &out, const VkAttachmentReferenceStencilLayout* structInfo, Decoded_VkAttachmentReferenceStencilLayout* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stencilLayout */ +// stencilLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->stencilLayout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentReferenceStencilLayout"); out << "\t\t" << "VkAttachmentReferenceStencilLayout " << variable_name << " {" << std::endl; @@ -6988,11 +6988,11 @@ std::string GenerateStruct_VkAttachmentReferenceStencilLayout(std::ostream &out, std::string GenerateStruct_VkBufferDeviceAddressInfo(std::ostream &out, const VkBufferDeviceAddressInfo* structInfo, Decoded_VkBufferDeviceAddressInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferDeviceAddressInfo"); out << "\t\t" << "VkBufferDeviceAddressInfo " << variable_name << " {" << std::endl; @@ -7005,11 +7005,11 @@ std::string GenerateStruct_VkBufferDeviceAddressInfo(std::ostream &out, const Vk std::string GenerateStruct_VkBufferOpaqueCaptureAddressCreateInfo(std::ostream &out, const VkBufferOpaqueCaptureAddressCreateInfo* structInfo, Decoded_VkBufferOpaqueCaptureAddressCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* opaqueCaptureAddress */ +// opaqueCaptureAddress struct_body << "\t\t\t" << structInfo->opaqueCaptureAddress << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferOpaqueCaptureAddressCreateInfo"); out << "\t\t" << "VkBufferOpaqueCaptureAddressCreateInfo " << variable_name << " {" << std::endl; @@ -7021,13 +7021,13 @@ std::string GenerateStruct_VkBufferOpaqueCaptureAddressCreateInfo(std::ostream & std::string GenerateStruct_VkConformanceVersion(std::ostream &out, const VkConformanceVersion* structInfo, Decoded_VkConformanceVersion* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* major */ +// major struct_body << "\t" << std::to_string(structInfo->major) << "," << std::endl; -/* minor */ +// minor struct_body << "\t\t\t" << std::to_string(structInfo->minor) << "," << std::endl; -/* subminor */ +// subminor struct_body << "\t\t\t" << std::to_string(structInfo->subminor) << "," << std::endl; -/* patch */ +// patch struct_body << "\t\t\t" << std::to_string(structInfo->patch) << ","; std::string variable_name = consumer.AddStruct(struct_body, "conformanceVersion"); out << "\t\t" << "VkConformanceVersion " << variable_name << " {" << std::endl; @@ -7049,13 +7049,13 @@ std::string GenerateStruct_VkDescriptorSetLayoutBindingFlagsCreateInfo(std::ostr pbinding_flags_array = "pBindingFlags_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkDescriptorBindingFlags " << pbinding_flags_array << "[] = {" << pbinding_flags_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* bindingCount */ +// bindingCount struct_body << "\t\t\t" << structInfo->bindingCount << "," << std::endl; -/* pBindingFlags */ +// pBindingFlags struct_body << "\t\t\t" << pbinding_flags_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetLayoutBindingFlagsCreateInfo"); out << "\t\t" << "VkDescriptorSetLayoutBindingFlagsCreateInfo " << variable_name << " {" << std::endl; @@ -7073,13 +7073,13 @@ std::string GenerateStruct_VkDescriptorSetVariableDescriptorCountAllocateInfo(st pdescriptor_counts_array = "pDescriptorCounts_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pdescriptor_counts_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pDescriptorCounts, structInfo->descriptorSetCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* descriptorSetCount */ +// descriptorSetCount struct_body << "\t\t\t" << structInfo->descriptorSetCount << "," << std::endl; -/* pDescriptorCounts */ +// pDescriptorCounts struct_body << "\t\t\t" << pdescriptor_counts_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetVariableDescriptorCountAllocateInfo"); out << "\t\t" << "VkDescriptorSetVariableDescriptorCountAllocateInfo " << variable_name << " {" << std::endl; @@ -7092,11 +7092,11 @@ std::string GenerateStruct_VkDescriptorSetVariableDescriptorCountAllocateInfo(st std::string GenerateStruct_VkDescriptorSetVariableDescriptorCountLayoutSupport(std::ostream &out, const VkDescriptorSetVariableDescriptorCountLayoutSupport* structInfo, Decoded_VkDescriptorSetVariableDescriptorCountLayoutSupport* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxVariableDescriptorCount */ +// maxVariableDescriptorCount struct_body << "\t\t\t" << structInfo->maxVariableDescriptorCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetVariableDescriptorCountLayoutSupport"); out << "\t\t" << "VkDescriptorSetVariableDescriptorCountLayoutSupport " << variable_name << " {" << std::endl; @@ -7109,11 +7109,11 @@ std::string GenerateStruct_VkDescriptorSetVariableDescriptorCountLayoutSupport(s std::string GenerateStruct_VkDeviceMemoryOpaqueCaptureAddressInfo(std::ostream &out, const VkDeviceMemoryOpaqueCaptureAddressInfo* structInfo, Decoded_VkDeviceMemoryOpaqueCaptureAddressInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceMemoryOpaqueCaptureAddressInfo"); out << "\t\t" << "VkDeviceMemoryOpaqueCaptureAddressInfo " << variable_name << " {" << std::endl; @@ -7135,23 +7135,23 @@ std::string GenerateStruct_VkFramebufferAttachmentImageInfo(std::ostream &out, c pview_formats_array = "pViewFormats_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkFormat " << pview_formats_array << "[] = {" << pview_formats_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkImageCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->usage << ")" << "," << std::endl; -/* width */ +// width struct_body << "\t\t\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << "," << std::endl; -/* layerCount */ +// layerCount struct_body << "\t\t\t" << structInfo->layerCount << "," << std::endl; -/* viewFormatCount */ +// viewFormatCount struct_body << "\t\t\t" << structInfo->viewFormatCount << "," << std::endl; -/* pViewFormats */ +// pViewFormats struct_body << "\t\t\t" << pview_formats_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "framebufferAttachmentImageInfo"); out << "\t\t" << "VkFramebufferAttachmentImageInfo " << variable_name << " {" << std::endl; @@ -7180,13 +7180,13 @@ std::string GenerateStruct_VkFramebufferAttachmentsCreateInfo(std::ostream &out, } out << "\t\t" << "VkFramebufferAttachmentImageInfo " << pattachment_image_infos_array << "[] = {" << pattachment_image_infos_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* attachmentImageInfoCount */ +// attachmentImageInfoCount struct_body << "\t\t\t" << structInfo->attachmentImageInfoCount << "," << std::endl; -/* pAttachmentImageInfos */ +// pAttachmentImageInfos struct_body << "\t\t\t" << pattachment_image_infos_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "framebufferAttachmentsCreateInfo"); out << "\t\t" << "VkFramebufferAttachmentsCreateInfo " << variable_name << " {" << std::endl; @@ -7208,13 +7208,13 @@ std::string GenerateStruct_VkImageFormatListCreateInfo(std::ostream &out, const pview_formats_array = "pViewFormats_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkFormat " << pview_formats_array << "[] = {" << pview_formats_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* viewFormatCount */ +// viewFormatCount struct_body << "\t\t\t" << structInfo->viewFormatCount << "," << std::endl; -/* pViewFormats */ +// pViewFormats struct_body << "\t\t\t" << pview_formats_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageFormatListCreateInfo"); out << "\t\t" << "VkImageFormatListCreateInfo " << variable_name << " {" << std::endl; @@ -7227,11 +7227,11 @@ std::string GenerateStruct_VkImageFormatListCreateInfo(std::ostream &out, const std::string GenerateStruct_VkImageStencilUsageCreateInfo(std::ostream &out, const VkImageStencilUsageCreateInfo* structInfo, Decoded_VkImageStencilUsageCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stencilUsage */ +// stencilUsage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->stencilUsage << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageStencilUsageCreateInfo"); out << "\t\t" << "VkImageStencilUsageCreateInfo " << variable_name << " {" << std::endl; @@ -7244,11 +7244,11 @@ std::string GenerateStruct_VkImageStencilUsageCreateInfo(std::ostream &out, cons std::string GenerateStruct_VkMemoryOpaqueCaptureAddressAllocateInfo(std::ostream &out, const VkMemoryOpaqueCaptureAddressAllocateInfo* structInfo, Decoded_VkMemoryOpaqueCaptureAddressAllocateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* opaqueCaptureAddress */ +// opaqueCaptureAddress struct_body << "\t\t\t" << structInfo->opaqueCaptureAddress << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryOpaqueCaptureAddressAllocateInfo"); out << "\t\t" << "VkMemoryOpaqueCaptureAddressAllocateInfo " << variable_name << " {" << std::endl; @@ -7261,15 +7261,15 @@ std::string GenerateStruct_VkMemoryOpaqueCaptureAddressAllocateInfo(std::ostream std::string GenerateStruct_VkPhysicalDevice8BitStorageFeatures(std::ostream &out, const VkPhysicalDevice8BitStorageFeatures* structInfo, Decoded_VkPhysicalDevice8BitStorageFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* storageBuffer8BitAccess */ +// storageBuffer8BitAccess struct_body << "\t\t\t" << structInfo->storageBuffer8BitAccess << "," << std::endl; -/* uniformAndStorageBuffer8BitAccess */ +// uniformAndStorageBuffer8BitAccess struct_body << "\t\t\t" << structInfo->uniformAndStorageBuffer8BitAccess << "," << std::endl; -/* storagePushConstant8 */ +// storagePushConstant8 struct_body << "\t\t\t" << structInfo->storagePushConstant8 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevice8BitStorageFeatures"); out << "\t\t" << "VkPhysicalDevice8BitStorageFeatures " << variable_name << " {" << std::endl; @@ -7282,15 +7282,15 @@ std::string GenerateStruct_VkPhysicalDevice8BitStorageFeatures(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceBufferDeviceAddressFeatures(std::ostream &out, const VkPhysicalDeviceBufferDeviceAddressFeatures* structInfo, Decoded_VkPhysicalDeviceBufferDeviceAddressFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* bufferDeviceAddress */ +// bufferDeviceAddress struct_body << "\t\t\t" << structInfo->bufferDeviceAddress << "," << std::endl; -/* bufferDeviceAddressCaptureReplay */ +// bufferDeviceAddressCaptureReplay struct_body << "\t\t\t" << structInfo->bufferDeviceAddressCaptureReplay << "," << std::endl; -/* bufferDeviceAddressMultiDevice */ +// bufferDeviceAddressMultiDevice struct_body << "\t\t\t" << structInfo->bufferDeviceAddressMultiDevice << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceBufferDeviceAddressFeatures"); out << "\t\t" << "VkPhysicalDeviceBufferDeviceAddressFeatures " << variable_name << " {" << std::endl; @@ -7303,17 +7303,17 @@ std::string GenerateStruct_VkPhysicalDeviceBufferDeviceAddressFeatures(std::ostr std::string GenerateStruct_VkPhysicalDeviceDepthStencilResolveProperties(std::ostream &out, const VkPhysicalDeviceDepthStencilResolveProperties* structInfo, Decoded_VkPhysicalDeviceDepthStencilResolveProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* supportedDepthResolveModes */ +// supportedDepthResolveModes struct_body << "\t\t\t" << "VkResolveModeFlags(" << structInfo->supportedDepthResolveModes << ")" << "," << std::endl; -/* supportedStencilResolveModes */ +// supportedStencilResolveModes struct_body << "\t\t\t" << "VkResolveModeFlags(" << structInfo->supportedStencilResolveModes << ")" << "," << std::endl; -/* independentResolveNone */ +// independentResolveNone struct_body << "\t\t\t" << structInfo->independentResolveNone << "," << std::endl; -/* independentResolve */ +// independentResolve struct_body << "\t\t\t" << structInfo->independentResolve << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDepthStencilResolveProperties"); out << "\t\t" << "VkPhysicalDeviceDepthStencilResolveProperties " << variable_name << " {" << std::endl; @@ -7326,49 +7326,49 @@ std::string GenerateStruct_VkPhysicalDeviceDepthStencilResolveProperties(std::os std::string GenerateStruct_VkPhysicalDeviceDescriptorIndexingFeatures(std::ostream &out, const VkPhysicalDeviceDescriptorIndexingFeatures* structInfo, Decoded_VkPhysicalDeviceDescriptorIndexingFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderInputAttachmentArrayDynamicIndexing */ +// shaderInputAttachmentArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderInputAttachmentArrayDynamicIndexing << "," << std::endl; -/* shaderUniformTexelBufferArrayDynamicIndexing */ +// shaderUniformTexelBufferArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderUniformTexelBufferArrayDynamicIndexing << "," << std::endl; -/* shaderStorageTexelBufferArrayDynamicIndexing */ +// shaderStorageTexelBufferArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderStorageTexelBufferArrayDynamicIndexing << "," << std::endl; -/* shaderUniformBufferArrayNonUniformIndexing */ +// shaderUniformBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderUniformBufferArrayNonUniformIndexing << "," << std::endl; -/* shaderSampledImageArrayNonUniformIndexing */ +// shaderSampledImageArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderSampledImageArrayNonUniformIndexing << "," << std::endl; -/* shaderStorageBufferArrayNonUniformIndexing */ +// shaderStorageBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderStorageBufferArrayNonUniformIndexing << "," << std::endl; -/* shaderStorageImageArrayNonUniformIndexing */ +// shaderStorageImageArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderStorageImageArrayNonUniformIndexing << "," << std::endl; -/* shaderInputAttachmentArrayNonUniformIndexing */ +// shaderInputAttachmentArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderInputAttachmentArrayNonUniformIndexing << "," << std::endl; -/* shaderUniformTexelBufferArrayNonUniformIndexing */ +// shaderUniformTexelBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderUniformTexelBufferArrayNonUniformIndexing << "," << std::endl; -/* shaderStorageTexelBufferArrayNonUniformIndexing */ +// shaderStorageTexelBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderStorageTexelBufferArrayNonUniformIndexing << "," << std::endl; -/* descriptorBindingUniformBufferUpdateAfterBind */ +// descriptorBindingUniformBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingUniformBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingSampledImageUpdateAfterBind */ +// descriptorBindingSampledImageUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingSampledImageUpdateAfterBind << "," << std::endl; -/* descriptorBindingStorageImageUpdateAfterBind */ +// descriptorBindingStorageImageUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingStorageImageUpdateAfterBind << "," << std::endl; -/* descriptorBindingStorageBufferUpdateAfterBind */ +// descriptorBindingStorageBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingStorageBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingUniformTexelBufferUpdateAfterBind */ +// descriptorBindingUniformTexelBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingUniformTexelBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingStorageTexelBufferUpdateAfterBind */ +// descriptorBindingStorageTexelBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingStorageTexelBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingUpdateUnusedWhilePending */ +// descriptorBindingUpdateUnusedWhilePending struct_body << "\t\t\t" << structInfo->descriptorBindingUpdateUnusedWhilePending << "," << std::endl; -/* descriptorBindingPartiallyBound */ +// descriptorBindingPartiallyBound struct_body << "\t\t\t" << structInfo->descriptorBindingPartiallyBound << "," << std::endl; -/* descriptorBindingVariableDescriptorCount */ +// descriptorBindingVariableDescriptorCount struct_body << "\t\t\t" << structInfo->descriptorBindingVariableDescriptorCount << "," << std::endl; -/* runtimeDescriptorArray */ +// runtimeDescriptorArray struct_body << "\t\t\t" << structInfo->runtimeDescriptorArray << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDescriptorIndexingFeatures"); out << "\t\t" << "VkPhysicalDeviceDescriptorIndexingFeatures " << variable_name << " {" << std::endl; @@ -7381,55 +7381,55 @@ std::string GenerateStruct_VkPhysicalDeviceDescriptorIndexingFeatures(std::ostre std::string GenerateStruct_VkPhysicalDeviceDescriptorIndexingProperties(std::ostream &out, const VkPhysicalDeviceDescriptorIndexingProperties* structInfo, Decoded_VkPhysicalDeviceDescriptorIndexingProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxUpdateAfterBindDescriptorsInAllPools */ +// maxUpdateAfterBindDescriptorsInAllPools struct_body << "\t\t\t" << structInfo->maxUpdateAfterBindDescriptorsInAllPools << "," << std::endl; -/* shaderUniformBufferArrayNonUniformIndexingNative */ +// shaderUniformBufferArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderUniformBufferArrayNonUniformIndexingNative << "," << std::endl; -/* shaderSampledImageArrayNonUniformIndexingNative */ +// shaderSampledImageArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderSampledImageArrayNonUniformIndexingNative << "," << std::endl; -/* shaderStorageBufferArrayNonUniformIndexingNative */ +// shaderStorageBufferArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderStorageBufferArrayNonUniformIndexingNative << "," << std::endl; -/* shaderStorageImageArrayNonUniformIndexingNative */ +// shaderStorageImageArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderStorageImageArrayNonUniformIndexingNative << "," << std::endl; -/* shaderInputAttachmentArrayNonUniformIndexingNative */ +// shaderInputAttachmentArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderInputAttachmentArrayNonUniformIndexingNative << "," << std::endl; -/* robustBufferAccessUpdateAfterBind */ +// robustBufferAccessUpdateAfterBind struct_body << "\t\t\t" << structInfo->robustBufferAccessUpdateAfterBind << "," << std::endl; -/* quadDivergentImplicitLod */ +// quadDivergentImplicitLod struct_body << "\t\t\t" << structInfo->quadDivergentImplicitLod << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindSamplers */ +// maxPerStageDescriptorUpdateAfterBindSamplers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindSamplers << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindUniformBuffers */ +// maxPerStageDescriptorUpdateAfterBindUniformBuffers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindUniformBuffers << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindStorageBuffers */ +// maxPerStageDescriptorUpdateAfterBindStorageBuffers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindStorageBuffers << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindSampledImages */ +// maxPerStageDescriptorUpdateAfterBindSampledImages struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindSampledImages << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindStorageImages */ +// maxPerStageDescriptorUpdateAfterBindStorageImages struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindStorageImages << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindInputAttachments */ +// maxPerStageDescriptorUpdateAfterBindInputAttachments struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindInputAttachments << "," << std::endl; -/* maxPerStageUpdateAfterBindResources */ +// maxPerStageUpdateAfterBindResources struct_body << "\t\t\t" << structInfo->maxPerStageUpdateAfterBindResources << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindSamplers */ +// maxDescriptorSetUpdateAfterBindSamplers struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindSamplers << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindUniformBuffers */ +// maxDescriptorSetUpdateAfterBindUniformBuffers struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindUniformBuffers << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindUniformBuffersDynamic */ +// maxDescriptorSetUpdateAfterBindUniformBuffersDynamic struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindStorageBuffers */ +// maxDescriptorSetUpdateAfterBindStorageBuffers struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindStorageBuffers << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindStorageBuffersDynamic */ +// maxDescriptorSetUpdateAfterBindStorageBuffersDynamic struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindSampledImages */ +// maxDescriptorSetUpdateAfterBindSampledImages struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindSampledImages << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindStorageImages */ +// maxDescriptorSetUpdateAfterBindStorageImages struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindStorageImages << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindInputAttachments */ +// maxDescriptorSetUpdateAfterBindInputAttachments struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindInputAttachments << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDescriptorIndexingProperties"); out << "\t\t" << "VkPhysicalDeviceDescriptorIndexingProperties " << variable_name << " {" << std::endl; @@ -7446,17 +7446,17 @@ std::string GenerateStruct_VkPhysicalDeviceDriverProperties(std::ostream &out, c &structInfo->conformanceVersion, metaInfo->conformanceVersion, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* driverID */ +// driverID struct_body << "\t\t\t" << "VkDriverId(" << structInfo->driverID << ")" << "," << std::endl; -/* driverName */ +// driverName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->driverName) << "," << std::endl; -/* driverInfo */ +// driverInfo struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->driverInfo) << "," << std::endl; -/* conformanceVersion */ +// conformanceVersion struct_body << "\t\t\t" << conformance_version_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDriverProperties"); out << "\t\t" << "VkPhysicalDeviceDriverProperties " << variable_name << " {" << std::endl; @@ -7469,43 +7469,43 @@ std::string GenerateStruct_VkPhysicalDeviceDriverProperties(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceFloatControlsProperties(std::ostream &out, const VkPhysicalDeviceFloatControlsProperties* structInfo, Decoded_VkPhysicalDeviceFloatControlsProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* denormBehaviorIndependence */ +// denormBehaviorIndependence struct_body << "\t\t\t" << "VkShaderFloatControlsIndependence(" << structInfo->denormBehaviorIndependence << ")" << "," << std::endl; -/* roundingModeIndependence */ +// roundingModeIndependence struct_body << "\t\t\t" << "VkShaderFloatControlsIndependence(" << structInfo->roundingModeIndependence << ")" << "," << std::endl; -/* shaderSignedZeroInfNanPreserveFloat16 */ +// shaderSignedZeroInfNanPreserveFloat16 struct_body << "\t\t\t" << structInfo->shaderSignedZeroInfNanPreserveFloat16 << "," << std::endl; -/* shaderSignedZeroInfNanPreserveFloat32 */ +// shaderSignedZeroInfNanPreserveFloat32 struct_body << "\t\t\t" << structInfo->shaderSignedZeroInfNanPreserveFloat32 << "," << std::endl; -/* shaderSignedZeroInfNanPreserveFloat64 */ +// shaderSignedZeroInfNanPreserveFloat64 struct_body << "\t\t\t" << structInfo->shaderSignedZeroInfNanPreserveFloat64 << "," << std::endl; -/* shaderDenormPreserveFloat16 */ +// shaderDenormPreserveFloat16 struct_body << "\t\t\t" << structInfo->shaderDenormPreserveFloat16 << "," << std::endl; -/* shaderDenormPreserveFloat32 */ +// shaderDenormPreserveFloat32 struct_body << "\t\t\t" << structInfo->shaderDenormPreserveFloat32 << "," << std::endl; -/* shaderDenormPreserveFloat64 */ +// shaderDenormPreserveFloat64 struct_body << "\t\t\t" << structInfo->shaderDenormPreserveFloat64 << "," << std::endl; -/* shaderDenormFlushToZeroFloat16 */ +// shaderDenormFlushToZeroFloat16 struct_body << "\t\t\t" << structInfo->shaderDenormFlushToZeroFloat16 << "," << std::endl; -/* shaderDenormFlushToZeroFloat32 */ +// shaderDenormFlushToZeroFloat32 struct_body << "\t\t\t" << structInfo->shaderDenormFlushToZeroFloat32 << "," << std::endl; -/* shaderDenormFlushToZeroFloat64 */ +// shaderDenormFlushToZeroFloat64 struct_body << "\t\t\t" << structInfo->shaderDenormFlushToZeroFloat64 << "," << std::endl; -/* shaderRoundingModeRTEFloat16 */ +// shaderRoundingModeRTEFloat16 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTEFloat16 << "," << std::endl; -/* shaderRoundingModeRTEFloat32 */ +// shaderRoundingModeRTEFloat32 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTEFloat32 << "," << std::endl; -/* shaderRoundingModeRTEFloat64 */ +// shaderRoundingModeRTEFloat64 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTEFloat64 << "," << std::endl; -/* shaderRoundingModeRTZFloat16 */ +// shaderRoundingModeRTZFloat16 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTZFloat16 << "," << std::endl; -/* shaderRoundingModeRTZFloat32 */ +// shaderRoundingModeRTZFloat32 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTZFloat32 << "," << std::endl; -/* shaderRoundingModeRTZFloat64 */ +// shaderRoundingModeRTZFloat64 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTZFloat64 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFloatControlsProperties"); out << "\t\t" << "VkPhysicalDeviceFloatControlsProperties " << variable_name << " {" << std::endl; @@ -7518,11 +7518,11 @@ std::string GenerateStruct_VkPhysicalDeviceFloatControlsProperties(std::ostream std::string GenerateStruct_VkPhysicalDeviceHostQueryResetFeatures(std::ostream &out, const VkPhysicalDeviceHostQueryResetFeatures* structInfo, Decoded_VkPhysicalDeviceHostQueryResetFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* hostQueryReset */ +// hostQueryReset struct_body << "\t\t\t" << structInfo->hostQueryReset << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceHostQueryResetFeatures"); out << "\t\t" << "VkPhysicalDeviceHostQueryResetFeatures " << variable_name << " {" << std::endl; @@ -7535,11 +7535,11 @@ std::string GenerateStruct_VkPhysicalDeviceHostQueryResetFeatures(std::ostream & std::string GenerateStruct_VkPhysicalDeviceImagelessFramebufferFeatures(std::ostream &out, const VkPhysicalDeviceImagelessFramebufferFeatures* structInfo, Decoded_VkPhysicalDeviceImagelessFramebufferFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imagelessFramebuffer */ +// imagelessFramebuffer struct_body << "\t\t\t" << structInfo->imagelessFramebuffer << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImagelessFramebufferFeatures"); out << "\t\t" << "VkPhysicalDeviceImagelessFramebufferFeatures " << variable_name << " {" << std::endl; @@ -7552,13 +7552,13 @@ std::string GenerateStruct_VkPhysicalDeviceImagelessFramebufferFeatures(std::ost std::string GenerateStruct_VkPhysicalDeviceSamplerFilterMinmaxProperties(std::ostream &out, const VkPhysicalDeviceSamplerFilterMinmaxProperties* structInfo, Decoded_VkPhysicalDeviceSamplerFilterMinmaxProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* filterMinmaxSingleComponentFormats */ +// filterMinmaxSingleComponentFormats struct_body << "\t\t\t" << structInfo->filterMinmaxSingleComponentFormats << "," << std::endl; -/* filterMinmaxImageComponentMapping */ +// filterMinmaxImageComponentMapping struct_body << "\t\t\t" << structInfo->filterMinmaxImageComponentMapping << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSamplerFilterMinmaxProperties"); out << "\t\t" << "VkPhysicalDeviceSamplerFilterMinmaxProperties " << variable_name << " {" << std::endl; @@ -7571,11 +7571,11 @@ std::string GenerateStruct_VkPhysicalDeviceSamplerFilterMinmaxProperties(std::os std::string GenerateStruct_VkPhysicalDeviceScalarBlockLayoutFeatures(std::ostream &out, const VkPhysicalDeviceScalarBlockLayoutFeatures* structInfo, Decoded_VkPhysicalDeviceScalarBlockLayoutFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* scalarBlockLayout */ +// scalarBlockLayout struct_body << "\t\t\t" << structInfo->scalarBlockLayout << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceScalarBlockLayoutFeatures"); out << "\t\t" << "VkPhysicalDeviceScalarBlockLayoutFeatures " << variable_name << " {" << std::endl; @@ -7588,11 +7588,11 @@ std::string GenerateStruct_VkPhysicalDeviceScalarBlockLayoutFeatures(std::ostrea std::string GenerateStruct_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(std::ostream &out, const VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* structInfo, Decoded_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* separateDepthStencilLayouts */ +// separateDepthStencilLayouts struct_body << "\t\t\t" << structInfo->separateDepthStencilLayouts << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSeparateDepthStencilLayoutsFeatures"); out << "\t\t" << "VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures " << variable_name << " {" << std::endl; @@ -7605,13 +7605,13 @@ std::string GenerateStruct_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(s std::string GenerateStruct_VkPhysicalDeviceShaderAtomicInt64Features(std::ostream &out, const VkPhysicalDeviceShaderAtomicInt64Features* structInfo, Decoded_VkPhysicalDeviceShaderAtomicInt64Features* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderBufferInt64Atomics */ +// shaderBufferInt64Atomics struct_body << "\t\t\t" << structInfo->shaderBufferInt64Atomics << "," << std::endl; -/* shaderSharedInt64Atomics */ +// shaderSharedInt64Atomics struct_body << "\t\t\t" << structInfo->shaderSharedInt64Atomics << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderAtomicInt64Features"); out << "\t\t" << "VkPhysicalDeviceShaderAtomicInt64Features " << variable_name << " {" << std::endl; @@ -7624,13 +7624,13 @@ std::string GenerateStruct_VkPhysicalDeviceShaderAtomicInt64Features(std::ostrea std::string GenerateStruct_VkPhysicalDeviceShaderFloat16Int8Features(std::ostream &out, const VkPhysicalDeviceShaderFloat16Int8Features* structInfo, Decoded_VkPhysicalDeviceShaderFloat16Int8Features* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderFloat16 */ +// shaderFloat16 struct_body << "\t\t\t" << structInfo->shaderFloat16 << "," << std::endl; -/* shaderInt8 */ +// shaderInt8 struct_body << "\t\t\t" << structInfo->shaderInt8 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderFloat16Int8Features"); out << "\t\t" << "VkPhysicalDeviceShaderFloat16Int8Features " << variable_name << " {" << std::endl; @@ -7643,11 +7643,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderFloat16Int8Features(std::ostrea std::string GenerateStruct_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(std::ostream &out, const VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* structInfo, Decoded_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderSubgroupExtendedTypes */ +// shaderSubgroupExtendedTypes struct_body << "\t\t\t" << structInfo->shaderSubgroupExtendedTypes << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderSubgroupExtendedTypesFeatures"); out << "\t\t" << "VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures " << variable_name << " {" << std::endl; @@ -7660,11 +7660,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(s std::string GenerateStruct_VkPhysicalDeviceTimelineSemaphoreFeatures(std::ostream &out, const VkPhysicalDeviceTimelineSemaphoreFeatures* structInfo, Decoded_VkPhysicalDeviceTimelineSemaphoreFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* timelineSemaphore */ +// timelineSemaphore struct_body << "\t\t\t" << structInfo->timelineSemaphore << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTimelineSemaphoreFeatures"); out << "\t\t" << "VkPhysicalDeviceTimelineSemaphoreFeatures " << variable_name << " {" << std::endl; @@ -7677,11 +7677,11 @@ std::string GenerateStruct_VkPhysicalDeviceTimelineSemaphoreFeatures(std::ostrea std::string GenerateStruct_VkPhysicalDeviceTimelineSemaphoreProperties(std::ostream &out, const VkPhysicalDeviceTimelineSemaphoreProperties* structInfo, Decoded_VkPhysicalDeviceTimelineSemaphoreProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxTimelineSemaphoreValueDifference */ +// maxTimelineSemaphoreValueDifference struct_body << "\t\t\t" << structInfo->maxTimelineSemaphoreValueDifference << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTimelineSemaphoreProperties"); out << "\t\t" << "VkPhysicalDeviceTimelineSemaphoreProperties " << variable_name << " {" << std::endl; @@ -7694,11 +7694,11 @@ std::string GenerateStruct_VkPhysicalDeviceTimelineSemaphoreProperties(std::ostr std::string GenerateStruct_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(std::ostream &out, const VkPhysicalDeviceUniformBufferStandardLayoutFeatures* structInfo, Decoded_VkPhysicalDeviceUniformBufferStandardLayoutFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* uniformBufferStandardLayout */ +// uniformBufferStandardLayout struct_body << "\t\t\t" << structInfo->uniformBufferStandardLayout << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceUniformBufferStandardLayoutFeatures"); out << "\t\t" << "VkPhysicalDeviceUniformBufferStandardLayoutFeatures " << variable_name << " {" << std::endl; @@ -7711,33 +7711,33 @@ std::string GenerateStruct_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(s std::string GenerateStruct_VkPhysicalDeviceVulkan11Features(std::ostream &out, const VkPhysicalDeviceVulkan11Features* structInfo, Decoded_VkPhysicalDeviceVulkan11Features* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* storageBuffer16BitAccess */ +// storageBuffer16BitAccess struct_body << "\t\t\t" << structInfo->storageBuffer16BitAccess << "," << std::endl; -/* uniformAndStorageBuffer16BitAccess */ +// uniformAndStorageBuffer16BitAccess struct_body << "\t\t\t" << structInfo->uniformAndStorageBuffer16BitAccess << "," << std::endl; -/* storagePushConstant16 */ +// storagePushConstant16 struct_body << "\t\t\t" << structInfo->storagePushConstant16 << "," << std::endl; -/* storageInputOutput16 */ +// storageInputOutput16 struct_body << "\t\t\t" << structInfo->storageInputOutput16 << "," << std::endl; -/* multiview */ +// multiview struct_body << "\t\t\t" << structInfo->multiview << "," << std::endl; -/* multiviewGeometryShader */ +// multiviewGeometryShader struct_body << "\t\t\t" << structInfo->multiviewGeometryShader << "," << std::endl; -/* multiviewTessellationShader */ +// multiviewTessellationShader struct_body << "\t\t\t" << structInfo->multiviewTessellationShader << "," << std::endl; -/* variablePointersStorageBuffer */ +// variablePointersStorageBuffer struct_body << "\t\t\t" << structInfo->variablePointersStorageBuffer << "," << std::endl; -/* variablePointers */ +// variablePointers struct_body << "\t\t\t" << structInfo->variablePointers << "," << std::endl; -/* protectedMemory */ +// protectedMemory struct_body << "\t\t\t" << structInfo->protectedMemory << "," << std::endl; -/* samplerYcbcrConversion */ +// samplerYcbcrConversion struct_body << "\t\t\t" << structInfo->samplerYcbcrConversion << "," << std::endl; -/* shaderDrawParameters */ +// shaderDrawParameters struct_body << "\t\t\t" << structInfo->shaderDrawParameters << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVulkan11Features"); out << "\t\t" << "VkPhysicalDeviceVulkan11Features " << variable_name << " {" << std::endl; @@ -7750,39 +7750,39 @@ std::string GenerateStruct_VkPhysicalDeviceVulkan11Features(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceVulkan11Properties(std::ostream &out, const VkPhysicalDeviceVulkan11Properties* structInfo, Decoded_VkPhysicalDeviceVulkan11Properties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceUUID */ +// deviceUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->deviceUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* driverUUID */ +// driverUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->driverUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* deviceLUID */ +// deviceLUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->deviceLUID[0]), VK_LUID_SIZE) << "," << std::endl; -/* deviceNodeMask */ +// deviceNodeMask struct_body << "\t\t\t" << structInfo->deviceNodeMask << "," << std::endl; -/* deviceLUIDValid */ +// deviceLUIDValid struct_body << "\t\t\t" << structInfo->deviceLUIDValid << "," << std::endl; -/* subgroupSize */ +// subgroupSize struct_body << "\t\t\t" << structInfo->subgroupSize << "," << std::endl; -/* subgroupSupportedStages */ +// subgroupSupportedStages struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->subgroupSupportedStages << ")" << "," << std::endl; -/* subgroupSupportedOperations */ +// subgroupSupportedOperations struct_body << "\t\t\t" << "VkSubgroupFeatureFlags(" << structInfo->subgroupSupportedOperations << ")" << "," << std::endl; -/* subgroupQuadOperationsInAllStages */ +// subgroupQuadOperationsInAllStages struct_body << "\t\t\t" << structInfo->subgroupQuadOperationsInAllStages << "," << std::endl; -/* pointClippingBehavior */ +// pointClippingBehavior struct_body << "\t\t\t" << "VkPointClippingBehavior(" << structInfo->pointClippingBehavior << ")" << "," << std::endl; -/* maxMultiviewViewCount */ +// maxMultiviewViewCount struct_body << "\t\t\t" << structInfo->maxMultiviewViewCount << "," << std::endl; -/* maxMultiviewInstanceIndex */ +// maxMultiviewInstanceIndex struct_body << "\t\t\t" << structInfo->maxMultiviewInstanceIndex << "," << std::endl; -/* protectedNoFault */ +// protectedNoFault struct_body << "\t\t\t" << structInfo->protectedNoFault << "," << std::endl; -/* maxPerSetDescriptors */ +// maxPerSetDescriptors struct_body << "\t\t\t" << structInfo->maxPerSetDescriptors << "," << std::endl; -/* maxMemoryAllocationSize */ +// maxMemoryAllocationSize struct_body << "\t\t\t" << structInfo->maxMemoryAllocationSize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVulkan11Properties"); out << "\t\t" << "VkPhysicalDeviceVulkan11Properties " << variable_name << " {" << std::endl; @@ -7795,103 +7795,103 @@ std::string GenerateStruct_VkPhysicalDeviceVulkan11Properties(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceVulkan12Features(std::ostream &out, const VkPhysicalDeviceVulkan12Features* structInfo, Decoded_VkPhysicalDeviceVulkan12Features* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* samplerMirrorClampToEdge */ +// samplerMirrorClampToEdge struct_body << "\t\t\t" << structInfo->samplerMirrorClampToEdge << "," << std::endl; -/* drawIndirectCount */ +// drawIndirectCount struct_body << "\t\t\t" << structInfo->drawIndirectCount << "," << std::endl; -/* storageBuffer8BitAccess */ +// storageBuffer8BitAccess struct_body << "\t\t\t" << structInfo->storageBuffer8BitAccess << "," << std::endl; -/* uniformAndStorageBuffer8BitAccess */ +// uniformAndStorageBuffer8BitAccess struct_body << "\t\t\t" << structInfo->uniformAndStorageBuffer8BitAccess << "," << std::endl; -/* storagePushConstant8 */ +// storagePushConstant8 struct_body << "\t\t\t" << structInfo->storagePushConstant8 << "," << std::endl; -/* shaderBufferInt64Atomics */ +// shaderBufferInt64Atomics struct_body << "\t\t\t" << structInfo->shaderBufferInt64Atomics << "," << std::endl; -/* shaderSharedInt64Atomics */ +// shaderSharedInt64Atomics struct_body << "\t\t\t" << structInfo->shaderSharedInt64Atomics << "," << std::endl; -/* shaderFloat16 */ +// shaderFloat16 struct_body << "\t\t\t" << structInfo->shaderFloat16 << "," << std::endl; -/* shaderInt8 */ +// shaderInt8 struct_body << "\t\t\t" << structInfo->shaderInt8 << "," << std::endl; -/* descriptorIndexing */ +// descriptorIndexing struct_body << "\t\t\t" << structInfo->descriptorIndexing << "," << std::endl; -/* shaderInputAttachmentArrayDynamicIndexing */ +// shaderInputAttachmentArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderInputAttachmentArrayDynamicIndexing << "," << std::endl; -/* shaderUniformTexelBufferArrayDynamicIndexing */ +// shaderUniformTexelBufferArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderUniformTexelBufferArrayDynamicIndexing << "," << std::endl; -/* shaderStorageTexelBufferArrayDynamicIndexing */ +// shaderStorageTexelBufferArrayDynamicIndexing struct_body << "\t\t\t" << structInfo->shaderStorageTexelBufferArrayDynamicIndexing << "," << std::endl; -/* shaderUniformBufferArrayNonUniformIndexing */ +// shaderUniformBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderUniformBufferArrayNonUniformIndexing << "," << std::endl; -/* shaderSampledImageArrayNonUniformIndexing */ +// shaderSampledImageArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderSampledImageArrayNonUniformIndexing << "," << std::endl; -/* shaderStorageBufferArrayNonUniformIndexing */ +// shaderStorageBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderStorageBufferArrayNonUniformIndexing << "," << std::endl; -/* shaderStorageImageArrayNonUniformIndexing */ +// shaderStorageImageArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderStorageImageArrayNonUniformIndexing << "," << std::endl; -/* shaderInputAttachmentArrayNonUniformIndexing */ +// shaderInputAttachmentArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderInputAttachmentArrayNonUniformIndexing << "," << std::endl; -/* shaderUniformTexelBufferArrayNonUniformIndexing */ +// shaderUniformTexelBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderUniformTexelBufferArrayNonUniformIndexing << "," << std::endl; -/* shaderStorageTexelBufferArrayNonUniformIndexing */ +// shaderStorageTexelBufferArrayNonUniformIndexing struct_body << "\t\t\t" << structInfo->shaderStorageTexelBufferArrayNonUniformIndexing << "," << std::endl; -/* descriptorBindingUniformBufferUpdateAfterBind */ +// descriptorBindingUniformBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingUniformBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingSampledImageUpdateAfterBind */ +// descriptorBindingSampledImageUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingSampledImageUpdateAfterBind << "," << std::endl; -/* descriptorBindingStorageImageUpdateAfterBind */ +// descriptorBindingStorageImageUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingStorageImageUpdateAfterBind << "," << std::endl; -/* descriptorBindingStorageBufferUpdateAfterBind */ +// descriptorBindingStorageBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingStorageBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingUniformTexelBufferUpdateAfterBind */ +// descriptorBindingUniformTexelBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingUniformTexelBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingStorageTexelBufferUpdateAfterBind */ +// descriptorBindingStorageTexelBufferUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingStorageTexelBufferUpdateAfterBind << "," << std::endl; -/* descriptorBindingUpdateUnusedWhilePending */ +// descriptorBindingUpdateUnusedWhilePending struct_body << "\t\t\t" << structInfo->descriptorBindingUpdateUnusedWhilePending << "," << std::endl; -/* descriptorBindingPartiallyBound */ +// descriptorBindingPartiallyBound struct_body << "\t\t\t" << structInfo->descriptorBindingPartiallyBound << "," << std::endl; -/* descriptorBindingVariableDescriptorCount */ +// descriptorBindingVariableDescriptorCount struct_body << "\t\t\t" << structInfo->descriptorBindingVariableDescriptorCount << "," << std::endl; -/* runtimeDescriptorArray */ +// runtimeDescriptorArray struct_body << "\t\t\t" << structInfo->runtimeDescriptorArray << "," << std::endl; -/* samplerFilterMinmax */ +// samplerFilterMinmax struct_body << "\t\t\t" << structInfo->samplerFilterMinmax << "," << std::endl; -/* scalarBlockLayout */ +// scalarBlockLayout struct_body << "\t\t\t" << structInfo->scalarBlockLayout << "," << std::endl; -/* imagelessFramebuffer */ +// imagelessFramebuffer struct_body << "\t\t\t" << structInfo->imagelessFramebuffer << "," << std::endl; -/* uniformBufferStandardLayout */ +// uniformBufferStandardLayout struct_body << "\t\t\t" << structInfo->uniformBufferStandardLayout << "," << std::endl; -/* shaderSubgroupExtendedTypes */ +// shaderSubgroupExtendedTypes struct_body << "\t\t\t" << structInfo->shaderSubgroupExtendedTypes << "," << std::endl; -/* separateDepthStencilLayouts */ +// separateDepthStencilLayouts struct_body << "\t\t\t" << structInfo->separateDepthStencilLayouts << "," << std::endl; -/* hostQueryReset */ +// hostQueryReset struct_body << "\t\t\t" << structInfo->hostQueryReset << "," << std::endl; -/* timelineSemaphore */ +// timelineSemaphore struct_body << "\t\t\t" << structInfo->timelineSemaphore << "," << std::endl; -/* bufferDeviceAddress */ +// bufferDeviceAddress struct_body << "\t\t\t" << structInfo->bufferDeviceAddress << "," << std::endl; -/* bufferDeviceAddressCaptureReplay */ +// bufferDeviceAddressCaptureReplay struct_body << "\t\t\t" << structInfo->bufferDeviceAddressCaptureReplay << "," << std::endl; -/* bufferDeviceAddressMultiDevice */ +// bufferDeviceAddressMultiDevice struct_body << "\t\t\t" << structInfo->bufferDeviceAddressMultiDevice << "," << std::endl; -/* vulkanMemoryModel */ +// vulkanMemoryModel struct_body << "\t\t\t" << structInfo->vulkanMemoryModel << "," << std::endl; -/* vulkanMemoryModelDeviceScope */ +// vulkanMemoryModelDeviceScope struct_body << "\t\t\t" << structInfo->vulkanMemoryModelDeviceScope << "," << std::endl; -/* vulkanMemoryModelAvailabilityVisibilityChains */ +// vulkanMemoryModelAvailabilityVisibilityChains struct_body << "\t\t\t" << structInfo->vulkanMemoryModelAvailabilityVisibilityChains << "," << std::endl; -/* shaderOutputViewportIndex */ +// shaderOutputViewportIndex struct_body << "\t\t\t" << structInfo->shaderOutputViewportIndex << "," << std::endl; -/* shaderOutputLayer */ +// shaderOutputLayer struct_body << "\t\t\t" << structInfo->shaderOutputLayer << "," << std::endl; -/* subgroupBroadcastDynamicId */ +// subgroupBroadcastDynamicId struct_body << "\t\t\t" << structInfo->subgroupBroadcastDynamicId << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVulkan12Features"); out << "\t\t" << "VkPhysicalDeviceVulkan12Features " << variable_name << " {" << std::endl; @@ -7908,113 +7908,113 @@ std::string GenerateStruct_VkPhysicalDeviceVulkan12Properties(std::ostream &out, &structInfo->conformanceVersion, metaInfo->conformanceVersion, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* driverID */ +// driverID struct_body << "\t\t\t" << "VkDriverId(" << structInfo->driverID << ")" << "," << std::endl; -/* driverName */ +// driverName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->driverName) << "," << std::endl; -/* driverInfo */ +// driverInfo struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->driverInfo) << "," << std::endl; -/* conformanceVersion */ +// conformanceVersion struct_body << "\t\t\t" << conformance_version_info_var << "," << std::endl; -/* denormBehaviorIndependence */ +// denormBehaviorIndependence struct_body << "\t\t\t" << "VkShaderFloatControlsIndependence(" << structInfo->denormBehaviorIndependence << ")" << "," << std::endl; -/* roundingModeIndependence */ +// roundingModeIndependence struct_body << "\t\t\t" << "VkShaderFloatControlsIndependence(" << structInfo->roundingModeIndependence << ")" << "," << std::endl; -/* shaderSignedZeroInfNanPreserveFloat16 */ +// shaderSignedZeroInfNanPreserveFloat16 struct_body << "\t\t\t" << structInfo->shaderSignedZeroInfNanPreserveFloat16 << "," << std::endl; -/* shaderSignedZeroInfNanPreserveFloat32 */ +// shaderSignedZeroInfNanPreserveFloat32 struct_body << "\t\t\t" << structInfo->shaderSignedZeroInfNanPreserveFloat32 << "," << std::endl; -/* shaderSignedZeroInfNanPreserveFloat64 */ +// shaderSignedZeroInfNanPreserveFloat64 struct_body << "\t\t\t" << structInfo->shaderSignedZeroInfNanPreserveFloat64 << "," << std::endl; -/* shaderDenormPreserveFloat16 */ +// shaderDenormPreserveFloat16 struct_body << "\t\t\t" << structInfo->shaderDenormPreserveFloat16 << "," << std::endl; -/* shaderDenormPreserveFloat32 */ +// shaderDenormPreserveFloat32 struct_body << "\t\t\t" << structInfo->shaderDenormPreserveFloat32 << "," << std::endl; -/* shaderDenormPreserveFloat64 */ +// shaderDenormPreserveFloat64 struct_body << "\t\t\t" << structInfo->shaderDenormPreserveFloat64 << "," << std::endl; -/* shaderDenormFlushToZeroFloat16 */ +// shaderDenormFlushToZeroFloat16 struct_body << "\t\t\t" << structInfo->shaderDenormFlushToZeroFloat16 << "," << std::endl; -/* shaderDenormFlushToZeroFloat32 */ +// shaderDenormFlushToZeroFloat32 struct_body << "\t\t\t" << structInfo->shaderDenormFlushToZeroFloat32 << "," << std::endl; -/* shaderDenormFlushToZeroFloat64 */ +// shaderDenormFlushToZeroFloat64 struct_body << "\t\t\t" << structInfo->shaderDenormFlushToZeroFloat64 << "," << std::endl; -/* shaderRoundingModeRTEFloat16 */ +// shaderRoundingModeRTEFloat16 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTEFloat16 << "," << std::endl; -/* shaderRoundingModeRTEFloat32 */ +// shaderRoundingModeRTEFloat32 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTEFloat32 << "," << std::endl; -/* shaderRoundingModeRTEFloat64 */ +// shaderRoundingModeRTEFloat64 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTEFloat64 << "," << std::endl; -/* shaderRoundingModeRTZFloat16 */ +// shaderRoundingModeRTZFloat16 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTZFloat16 << "," << std::endl; -/* shaderRoundingModeRTZFloat32 */ +// shaderRoundingModeRTZFloat32 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTZFloat32 << "," << std::endl; -/* shaderRoundingModeRTZFloat64 */ +// shaderRoundingModeRTZFloat64 struct_body << "\t\t\t" << structInfo->shaderRoundingModeRTZFloat64 << "," << std::endl; -/* maxUpdateAfterBindDescriptorsInAllPools */ +// maxUpdateAfterBindDescriptorsInAllPools struct_body << "\t\t\t" << structInfo->maxUpdateAfterBindDescriptorsInAllPools << "," << std::endl; -/* shaderUniformBufferArrayNonUniformIndexingNative */ +// shaderUniformBufferArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderUniformBufferArrayNonUniformIndexingNative << "," << std::endl; -/* shaderSampledImageArrayNonUniformIndexingNative */ +// shaderSampledImageArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderSampledImageArrayNonUniformIndexingNative << "," << std::endl; -/* shaderStorageBufferArrayNonUniformIndexingNative */ +// shaderStorageBufferArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderStorageBufferArrayNonUniformIndexingNative << "," << std::endl; -/* shaderStorageImageArrayNonUniformIndexingNative */ +// shaderStorageImageArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderStorageImageArrayNonUniformIndexingNative << "," << std::endl; -/* shaderInputAttachmentArrayNonUniformIndexingNative */ +// shaderInputAttachmentArrayNonUniformIndexingNative struct_body << "\t\t\t" << structInfo->shaderInputAttachmentArrayNonUniformIndexingNative << "," << std::endl; -/* robustBufferAccessUpdateAfterBind */ +// robustBufferAccessUpdateAfterBind struct_body << "\t\t\t" << structInfo->robustBufferAccessUpdateAfterBind << "," << std::endl; -/* quadDivergentImplicitLod */ +// quadDivergentImplicitLod struct_body << "\t\t\t" << structInfo->quadDivergentImplicitLod << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindSamplers */ +// maxPerStageDescriptorUpdateAfterBindSamplers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindSamplers << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindUniformBuffers */ +// maxPerStageDescriptorUpdateAfterBindUniformBuffers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindUniformBuffers << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindStorageBuffers */ +// maxPerStageDescriptorUpdateAfterBindStorageBuffers struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindStorageBuffers << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindSampledImages */ +// maxPerStageDescriptorUpdateAfterBindSampledImages struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindSampledImages << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindStorageImages */ +// maxPerStageDescriptorUpdateAfterBindStorageImages struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindStorageImages << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindInputAttachments */ +// maxPerStageDescriptorUpdateAfterBindInputAttachments struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindInputAttachments << "," << std::endl; -/* maxPerStageUpdateAfterBindResources */ +// maxPerStageUpdateAfterBindResources struct_body << "\t\t\t" << structInfo->maxPerStageUpdateAfterBindResources << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindSamplers */ +// maxDescriptorSetUpdateAfterBindSamplers struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindSamplers << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindUniformBuffers */ +// maxDescriptorSetUpdateAfterBindUniformBuffers struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindUniformBuffers << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindUniformBuffersDynamic */ +// maxDescriptorSetUpdateAfterBindUniformBuffersDynamic struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindStorageBuffers */ +// maxDescriptorSetUpdateAfterBindStorageBuffers struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindStorageBuffers << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindStorageBuffersDynamic */ +// maxDescriptorSetUpdateAfterBindStorageBuffersDynamic struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindSampledImages */ +// maxDescriptorSetUpdateAfterBindSampledImages struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindSampledImages << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindStorageImages */ +// maxDescriptorSetUpdateAfterBindStorageImages struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindStorageImages << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindInputAttachments */ +// maxDescriptorSetUpdateAfterBindInputAttachments struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindInputAttachments << "," << std::endl; -/* supportedDepthResolveModes */ +// supportedDepthResolveModes struct_body << "\t\t\t" << "VkResolveModeFlags(" << structInfo->supportedDepthResolveModes << ")" << "," << std::endl; -/* supportedStencilResolveModes */ +// supportedStencilResolveModes struct_body << "\t\t\t" << "VkResolveModeFlags(" << structInfo->supportedStencilResolveModes << ")" << "," << std::endl; -/* independentResolveNone */ +// independentResolveNone struct_body << "\t\t\t" << structInfo->independentResolveNone << "," << std::endl; -/* independentResolve */ +// independentResolve struct_body << "\t\t\t" << structInfo->independentResolve << "," << std::endl; -/* filterMinmaxSingleComponentFormats */ +// filterMinmaxSingleComponentFormats struct_body << "\t\t\t" << structInfo->filterMinmaxSingleComponentFormats << "," << std::endl; -/* filterMinmaxImageComponentMapping */ +// filterMinmaxImageComponentMapping struct_body << "\t\t\t" << structInfo->filterMinmaxImageComponentMapping << "," << std::endl; -/* maxTimelineSemaphoreValueDifference */ +// maxTimelineSemaphoreValueDifference struct_body << "\t\t\t" << structInfo->maxTimelineSemaphoreValueDifference << "UL" << "," << std::endl; -/* framebufferIntegerColorSampleCounts */ +// framebufferIntegerColorSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->framebufferIntegerColorSampleCounts << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVulkan12Properties"); out << "\t\t" << "VkPhysicalDeviceVulkan12Properties " << variable_name << " {" << std::endl; @@ -8027,15 +8027,15 @@ std::string GenerateStruct_VkPhysicalDeviceVulkan12Properties(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceVulkanMemoryModelFeatures(std::ostream &out, const VkPhysicalDeviceVulkanMemoryModelFeatures* structInfo, Decoded_VkPhysicalDeviceVulkanMemoryModelFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* vulkanMemoryModel */ +// vulkanMemoryModel struct_body << "\t\t\t" << structInfo->vulkanMemoryModel << "," << std::endl; -/* vulkanMemoryModelDeviceScope */ +// vulkanMemoryModelDeviceScope struct_body << "\t\t\t" << structInfo->vulkanMemoryModelDeviceScope << "," << std::endl; -/* vulkanMemoryModelAvailabilityVisibilityChains */ +// vulkanMemoryModelAvailabilityVisibilityChains struct_body << "\t\t\t" << structInfo->vulkanMemoryModelAvailabilityVisibilityChains << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVulkanMemoryModelFeatures"); out << "\t\t" << "VkPhysicalDeviceVulkanMemoryModelFeatures " << variable_name << " {" << std::endl; @@ -8061,13 +8061,13 @@ std::string GenerateStruct_VkRenderPassAttachmentBeginInfo(std::ostream &out, co out << "\t\t" << "VkImageView " << pattachments_array << "[] = {" << pattachments_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* attachmentCount */ +// attachmentCount struct_body << "\t\t\t" << structInfo->attachmentCount << "," << std::endl; -/* pAttachments */ +// pAttachments struct_body << "\t\t\t" << pattachments_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassAttachmentBeginInfo"); out << "\t\t" << "VkRenderPassAttachmentBeginInfo " << variable_name << " {" << std::endl; @@ -8133,27 +8133,27 @@ std::string GenerateStruct_VkRenderPassCreateInfo2(std::ostream &out, const VkRe pcorrelated_view_masks_array = "pCorrelatedViewMasks_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pcorrelated_view_masks_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pCorrelatedViewMasks, structInfo->correlatedViewMaskCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkRenderPassCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* attachmentCount */ +// attachmentCount struct_body << "\t\t\t" << structInfo->attachmentCount << "," << std::endl; -/* pAttachments */ +// pAttachments struct_body << "\t\t\t" << pattachments_array << "," << std::endl; -/* subpassCount */ +// subpassCount struct_body << "\t\t\t" << structInfo->subpassCount << "," << std::endl; -/* pSubpasses */ +// pSubpasses struct_body << "\t\t\t" << psubpasses_array << "," << std::endl; -/* dependencyCount */ +// dependencyCount struct_body << "\t\t\t" << structInfo->dependencyCount << "," << std::endl; -/* pDependencies */ +// pDependencies struct_body << "\t\t\t" << pdependencies_array << "," << std::endl; -/* correlatedViewMaskCount */ +// correlatedViewMaskCount struct_body << "\t\t\t" << structInfo->correlatedViewMaskCount << "," << std::endl; -/* pCorrelatedViewMasks */ +// pCorrelatedViewMasks struct_body << "\t\t\t" << pcorrelated_view_masks_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassCreateInfo2"); out << "\t\t" << "VkRenderPassCreateInfo2 " << variable_name << " {" << std::endl; @@ -8166,11 +8166,11 @@ std::string GenerateStruct_VkRenderPassCreateInfo2(std::ostream &out, const VkRe std::string GenerateStruct_VkSamplerReductionModeCreateInfo(std::ostream &out, const VkSamplerReductionModeCreateInfo* structInfo, Decoded_VkSamplerReductionModeCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* reductionMode */ +// reductionMode struct_body << "\t\t\t" << "VkSamplerReductionMode(" << structInfo->reductionMode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerReductionModeCreateInfo"); out << "\t\t" << "VkSamplerReductionModeCreateInfo " << variable_name << " {" << std::endl; @@ -8183,13 +8183,13 @@ std::string GenerateStruct_VkSamplerReductionModeCreateInfo(std::ostream &out, c std::string GenerateStruct_VkSemaphoreSignalInfo(std::ostream &out, const VkSemaphoreSignalInfo* structInfo, Decoded_VkSemaphoreSignalInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* value */ +// value struct_body << "\t\t\t" << structInfo->value << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreSignalInfo"); out << "\t\t" << "VkSemaphoreSignalInfo " << variable_name << " {" << std::endl; @@ -8202,13 +8202,13 @@ std::string GenerateStruct_VkSemaphoreSignalInfo(std::ostream &out, const VkSema std::string GenerateStruct_VkSemaphoreTypeCreateInfo(std::ostream &out, const VkSemaphoreTypeCreateInfo* structInfo, Decoded_VkSemaphoreTypeCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphoreType */ +// semaphoreType struct_body << "\t\t\t" << "VkSemaphoreType(" << structInfo->semaphoreType << ")" << "," << std::endl; -/* initialValue */ +// initialValue struct_body << "\t\t\t" << structInfo->initialValue << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreTypeCreateInfo"); out << "\t\t" << "VkSemaphoreTypeCreateInfo " << variable_name << " {" << std::endl; @@ -8246,17 +8246,17 @@ std::string GenerateStruct_VkSemaphoreWaitInfo(std::ostream &out, const VkSemaph out << "\t\t" << "uint64_t " << pvalues_array << "[] = {" << pvalues_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSemaphoreWaitFlags(" << structInfo->flags << ")" << "," << std::endl; -/* semaphoreCount */ +// semaphoreCount struct_body << "\t\t\t" << structInfo->semaphoreCount << "," << std::endl; -/* pSemaphores */ +// pSemaphores struct_body << "\t\t\t" << psemaphores_array << "," << std::endl; -/* pValues */ +// pValues struct_body << "\t\t\t" << "{ *" << pvalues_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreWaitInfo"); out << "\t\t" << "VkSemaphoreWaitInfo " << variable_name << " {" << std::endl; @@ -8269,11 +8269,11 @@ std::string GenerateStruct_VkSemaphoreWaitInfo(std::ostream &out, const VkSemaph std::string GenerateStruct_VkSubpassBeginInfo(std::ostream &out, const VkSubpassBeginInfo* structInfo, Decoded_VkSubpassBeginInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* contents */ +// contents struct_body << "\t\t\t" << "VkSubpassContents(" << structInfo->contents << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassBeginInfo"); out << "\t\t" << "VkSubpassBeginInfo " << variable_name << " {" << std::endl; @@ -8286,25 +8286,25 @@ std::string GenerateStruct_VkSubpassBeginInfo(std::ostream &out, const VkSubpass std::string GenerateStruct_VkSubpassDependency2(std::ostream &out, const VkSubpassDependency2* structInfo, Decoded_VkSubpassDependency2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcSubpass */ +// srcSubpass struct_body << "\t\t\t" << structInfo->srcSubpass << "," << std::endl; -/* dstSubpass */ +// dstSubpass struct_body << "\t\t\t" << structInfo->dstSubpass << "," << std::endl; -/* srcStageMask */ +// srcStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags(" << structInfo->srcStageMask << ")" << "," << std::endl; -/* dstStageMask */ +// dstStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags(" << structInfo->dstStageMask << ")" << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags(" << structInfo->dstAccessMask << ")" << "," << std::endl; -/* dependencyFlags */ +// dependencyFlags struct_body << "\t\t\t" << "VkDependencyFlags(" << structInfo->dependencyFlags << ")" << "," << std::endl; -/* viewOffset */ +// viewOffset struct_body << "\t\t\t" << structInfo->viewOffset << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassDependency2"); out << "\t\t" << "VkSubpassDependency2 " << variable_name << " {" << std::endl; @@ -8378,31 +8378,31 @@ std::string GenerateStruct_VkSubpassDescription2(std::ostream &out, const VkSubp ppreserve_attachments_array = "pPreserveAttachments_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << ppreserve_attachments_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pPreserveAttachments, structInfo->preserveAttachmentCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSubpassDescriptionFlags(" << structInfo->flags << ")" << "," << std::endl; -/* pipelineBindPoint */ +// pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; -/* viewMask */ +// viewMask struct_body << "\t\t\t" << structInfo->viewMask << "," << std::endl; -/* inputAttachmentCount */ +// inputAttachmentCount struct_body << "\t\t\t" << structInfo->inputAttachmentCount << "," << std::endl; -/* pInputAttachments */ +// pInputAttachments struct_body << "\t\t\t" << pinput_attachments_array << "," << std::endl; -/* colorAttachmentCount */ +// colorAttachmentCount struct_body << "\t\t\t" << structInfo->colorAttachmentCount << "," << std::endl; -/* pColorAttachments */ +// pColorAttachments struct_body << "\t\t\t" << pcolor_attachments_array << "," << std::endl; -/* pResolveAttachments */ +// pResolveAttachments struct_body << "\t\t\t" << presolve_attachments_array << "," << std::endl; -/* pDepthStencilAttachment */ +// pDepthStencilAttachment struct_body << "\t\t\t" << pdepth_stencil_attachment_struct << "," << std::endl; -/* preserveAttachmentCount */ +// preserveAttachmentCount struct_body << "\t\t\t" << structInfo->preserveAttachmentCount << "," << std::endl; -/* pPreserveAttachments */ +// pPreserveAttachments struct_body << "\t\t\t" << ppreserve_attachments_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassDescription2"); out << "\t\t" << "VkSubpassDescription2 " << variable_name << " {" << std::endl; @@ -8423,15 +8423,15 @@ std::string GenerateStruct_VkSubpassDescriptionDepthStencilResolve(std::ostream consumer); pdepth_stencil_resolve_attachment_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* depthResolveMode */ +// depthResolveMode struct_body << "\t\t\t" << "VkResolveModeFlagBits(" << structInfo->depthResolveMode << ")" << "," << std::endl; -/* stencilResolveMode */ +// stencilResolveMode struct_body << "\t\t\t" << "VkResolveModeFlagBits(" << structInfo->stencilResolveMode << ")" << "," << std::endl; -/* pDepthStencilResolveAttachment */ +// pDepthStencilResolveAttachment struct_body << "\t\t\t" << pdepth_stencil_resolve_attachment_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassDescriptionDepthStencilResolve"); out << "\t\t" << "VkSubpassDescriptionDepthStencilResolve " << variable_name << " {" << std::endl; @@ -8444,9 +8444,9 @@ std::string GenerateStruct_VkSubpassDescriptionDepthStencilResolve(std::ostream std::string GenerateStruct_VkSubpassEndInfo(std::ostream &out, const VkSubpassEndInfo* structInfo, Decoded_VkSubpassEndInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassEndInfo"); out << "\t\t" << "VkSubpassEndInfo " << variable_name << " {" << std::endl; @@ -8483,17 +8483,17 @@ std::string GenerateStruct_VkTimelineSemaphoreSubmitInfo(std::ostream &out, cons out << "\t\t" << "uint64_t " << psignal_semaphore_values_array << "[] = {" << psignal_semaphore_values_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* waitSemaphoreValueCount */ +// waitSemaphoreValueCount struct_body << "\t\t\t" << structInfo->waitSemaphoreValueCount << "," << std::endl; -/* pWaitSemaphoreValues */ +// pWaitSemaphoreValues struct_body << "\t\t\t" << "{ *" << pwait_semaphore_values_array << " }" << "," << std::endl; -/* signalSemaphoreValueCount */ +// signalSemaphoreValueCount struct_body << "\t\t\t" << structInfo->signalSemaphoreValueCount << "," << std::endl; -/* pSignalSemaphoreValues */ +// pSignalSemaphoreValues struct_body << "\t\t\t" << "{ *" << psignal_semaphore_values_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "timelineSemaphoreSubmitInfo"); out << "\t\t" << "VkTimelineSemaphoreSubmitInfo " << variable_name << " {" << std::endl; @@ -8522,23 +8522,23 @@ std::string GenerateStruct_VkBlitImageInfo2(std::ostream &out, const VkBlitImage } out << "\t\t" << "VkImageBlit2 " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcImage */ +// srcImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcImage) << "," << std::endl; -/* srcImageLayout */ +// srcImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->srcImageLayout << ")" << "," << std::endl; -/* dstImage */ +// dstImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstImage) << "," << std::endl; -/* dstImageLayout */ +// dstImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->dstImageLayout << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << "," << std::endl; -/* filter */ +// filter struct_body << "\t\t\t" << "VkFilter(" << structInfo->filter << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "blitImageInfo2"); out << "\t\t" << "VkBlitImageInfo2 " << variable_name << " {" << std::endl; @@ -8551,15 +8551,15 @@ std::string GenerateStruct_VkBlitImageInfo2(std::ostream &out, const VkBlitImage std::string GenerateStruct_VkBufferCopy2(std::ostream &out, const VkBufferCopy2* structInfo, Decoded_VkBufferCopy2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcOffset */ +// srcOffset struct_body << "\t\t\t" << structInfo->srcOffset << "UL" << "," << std::endl; -/* dstOffset */ +// dstOffset struct_body << "\t\t\t" << structInfo->dstOffset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferCopy2"); out << "\t\t" << "VkBufferCopy2 " << variable_name << " {" << std::endl; @@ -8584,21 +8584,21 @@ std::string GenerateStruct_VkBufferImageCopy2(std::ostream &out, const VkBufferI &structInfo->imageExtent, metaInfo->imageExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* bufferOffset */ +// bufferOffset struct_body << "\t\t\t" << structInfo->bufferOffset << "UL" << "," << std::endl; -/* bufferRowLength */ +// bufferRowLength struct_body << "\t\t\t" << structInfo->bufferRowLength << "," << std::endl; -/* bufferImageHeight */ +// bufferImageHeight struct_body << "\t\t\t" << structInfo->bufferImageHeight << "," << std::endl; -/* imageSubresource */ +// imageSubresource struct_body << "\t\t\t" << image_subresource_info_var << "," << std::endl; -/* imageOffset */ +// imageOffset struct_body << "\t\t\t" << image_offset_info_var << "," << std::endl; -/* imageExtent */ +// imageExtent struct_body << "\t\t\t" << image_extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferImageCopy2"); out << "\t\t" << "VkBufferImageCopy2 " << variable_name << " {" << std::endl; @@ -8611,27 +8611,27 @@ std::string GenerateStruct_VkBufferImageCopy2(std::ostream &out, const VkBufferI std::string GenerateStruct_VkBufferMemoryBarrier2(std::ostream &out, const VkBufferMemoryBarrier2* structInfo, Decoded_VkBufferMemoryBarrier2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcStageMask */ +// srcStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->srcStageMask << ")" << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags2(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstStageMask */ +// dstStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->dstStageMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags2(" << structInfo->dstAccessMask << ")" << "," << std::endl; -/* srcQueueFamilyIndex */ +// srcQueueFamilyIndex struct_body << "\t\t\t" << structInfo->srcQueueFamilyIndex << "," << std::endl; -/* dstQueueFamilyIndex */ +// dstQueueFamilyIndex struct_body << "\t\t\t" << structInfo->dstQueueFamilyIndex << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferMemoryBarrier2"); out << "\t\t" << "VkBufferMemoryBarrier2 " << variable_name << " {" << std::endl; @@ -8653,23 +8653,23 @@ std::string GenerateStruct_VkCommandBufferInheritanceRenderingInfo(std::ostream pcolor_attachment_formats_array = "pColorAttachmentFormats_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkFormat " << pcolor_attachment_formats_array << "[] = {" << pcolor_attachment_formats_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkRenderingFlags(" << structInfo->flags << ")" << "," << std::endl; -/* viewMask */ +// viewMask struct_body << "\t\t\t" << structInfo->viewMask << "," << std::endl; -/* colorAttachmentCount */ +// colorAttachmentCount struct_body << "\t\t\t" << structInfo->colorAttachmentCount << "," << std::endl; -/* pColorAttachmentFormats */ +// pColorAttachmentFormats struct_body << "\t\t\t" << pcolor_attachment_formats_array << "," << std::endl; -/* depthAttachmentFormat */ +// depthAttachmentFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->depthAttachmentFormat << ")" << "," << std::endl; -/* stencilAttachmentFormat */ +// stencilAttachmentFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->stencilAttachmentFormat << ")" << "," << std::endl; -/* rasterizationSamples */ +// rasterizationSamples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->rasterizationSamples << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferInheritanceRenderingInfo"); out << "\t\t" << "VkCommandBufferInheritanceRenderingInfo " << variable_name << " {" << std::endl; @@ -8682,13 +8682,13 @@ std::string GenerateStruct_VkCommandBufferInheritanceRenderingInfo(std::ostream std::string GenerateStruct_VkCommandBufferSubmitInfo(std::ostream &out, const VkCommandBufferSubmitInfo* structInfo, Decoded_VkCommandBufferSubmitInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* commandBuffer */ +// commandBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->commandBuffer) << "," << std::endl; -/* deviceMask */ +// deviceMask struct_body << "\t\t\t" << structInfo->deviceMask << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferSubmitInfo"); out << "\t\t" << "VkCommandBufferSubmitInfo " << variable_name << " {" << std::endl; @@ -8717,17 +8717,17 @@ std::string GenerateStruct_VkCopyBufferInfo2(std::ostream &out, const VkCopyBuff } out << "\t\t" << "VkBufferCopy2 " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcBuffer */ +// srcBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcBuffer) << "," << std::endl; -/* dstBuffer */ +// dstBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstBuffer) << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyBufferInfo2"); out << "\t\t" << "VkCopyBufferInfo2 " << variable_name << " {" << std::endl; @@ -8756,19 +8756,19 @@ std::string GenerateStruct_VkCopyBufferToImageInfo2(std::ostream &out, const VkC } out << "\t\t" << "VkBufferImageCopy2 " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcBuffer */ +// srcBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcBuffer) << "," << std::endl; -/* dstImage */ +// dstImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstImage) << "," << std::endl; -/* dstImageLayout */ +// dstImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->dstImageLayout << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyBufferToImageInfo2"); out << "\t\t" << "VkCopyBufferToImageInfo2 " << variable_name << " {" << std::endl; @@ -8797,21 +8797,21 @@ std::string GenerateStruct_VkCopyImageInfo2(std::ostream &out, const VkCopyImage } out << "\t\t" << "VkImageCopy2 " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcImage */ +// srcImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcImage) << "," << std::endl; -/* srcImageLayout */ +// srcImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->srcImageLayout << ")" << "," << std::endl; -/* dstImage */ +// dstImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstImage) << "," << std::endl; -/* dstImageLayout */ +// dstImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->dstImageLayout << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyImageInfo2"); out << "\t\t" << "VkCopyImageInfo2 " << variable_name << " {" << std::endl; @@ -8840,19 +8840,19 @@ std::string GenerateStruct_VkCopyImageToBufferInfo2(std::ostream &out, const VkC } out << "\t\t" << "VkBufferImageCopy2 " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcImage */ +// srcImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcImage) << "," << std::endl; -/* srcImageLayout */ +// srcImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->srcImageLayout << ")" << "," << std::endl; -/* dstBuffer */ +// dstBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstBuffer) << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyImageToBufferInfo2"); out << "\t\t" << "VkCopyImageToBufferInfo2 " << variable_name << " {" << std::endl; @@ -8913,23 +8913,23 @@ std::string GenerateStruct_VkDependencyInfo(std::ostream &out, const VkDependenc } out << "\t\t" << "VkImageMemoryBarrier2 " << pimage_memory_barriers_array << "[] = {" << pimage_memory_barriers_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dependencyFlags */ +// dependencyFlags struct_body << "\t\t\t" << "VkDependencyFlags(" << structInfo->dependencyFlags << ")" << "," << std::endl; -/* memoryBarrierCount */ +// memoryBarrierCount struct_body << "\t\t\t" << structInfo->memoryBarrierCount << "," << std::endl; -/* pMemoryBarriers */ +// pMemoryBarriers struct_body << "\t\t\t" << pmemory_barriers_array << "," << std::endl; -/* bufferMemoryBarrierCount */ +// bufferMemoryBarrierCount struct_body << "\t\t\t" << structInfo->bufferMemoryBarrierCount << "," << std::endl; -/* pBufferMemoryBarriers */ +// pBufferMemoryBarriers struct_body << "\t\t\t" << pbuffer_memory_barriers_array << "," << std::endl; -/* imageMemoryBarrierCount */ +// imageMemoryBarrierCount struct_body << "\t\t\t" << structInfo->imageMemoryBarrierCount << "," << std::endl; -/* pImageMemoryBarriers */ +// pImageMemoryBarriers struct_body << "\t\t\t" << pimage_memory_barriers_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "dependencyInfo"); out << "\t\t" << "VkDependencyInfo " << variable_name << " {" << std::endl; @@ -8942,11 +8942,11 @@ std::string GenerateStruct_VkDependencyInfo(std::ostream &out, const VkDependenc std::string GenerateStruct_VkDescriptorPoolInlineUniformBlockCreateInfo(std::ostream &out, const VkDescriptorPoolInlineUniformBlockCreateInfo* structInfo, Decoded_VkDescriptorPoolInlineUniformBlockCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxInlineUniformBlockBindings */ +// maxInlineUniformBlockBindings struct_body << "\t\t\t" << structInfo->maxInlineUniformBlockBindings << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorPoolInlineUniformBlockCreateInfo"); out << "\t\t" << "VkDescriptorPoolInlineUniformBlockCreateInfo " << variable_name << " {" << std::endl; @@ -8967,11 +8967,11 @@ std::string GenerateStruct_VkDeviceBufferMemoryRequirements(std::ostream &out, c consumer); pcreate_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pCreateInfo */ +// pCreateInfo struct_body << "\t\t\t" << pcreate_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceBufferMemoryRequirements"); out << "\t\t" << "VkDeviceBufferMemoryRequirements " << variable_name << " {" << std::endl; @@ -8992,13 +8992,13 @@ std::string GenerateStruct_VkDeviceImageMemoryRequirements(std::ostream &out, co consumer); pcreate_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pCreateInfo */ +// pCreateInfo struct_body << "\t\t\t" << pcreate_info_struct << "," << std::endl; -/* planeAspect */ +// planeAspect struct_body << "\t\t\t" << "VkImageAspectFlagBits(" << structInfo->planeAspect << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceImageMemoryRequirements"); out << "\t\t" << "VkDeviceImageMemoryRequirements " << variable_name << " {" << std::endl; @@ -9011,11 +9011,11 @@ std::string GenerateStruct_VkDeviceImageMemoryRequirements(std::ostream &out, co std::string GenerateStruct_VkDevicePrivateDataCreateInfo(std::ostream &out, const VkDevicePrivateDataCreateInfo* structInfo, Decoded_VkDevicePrivateDataCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* privateDataSlotRequestCount */ +// privateDataSlotRequestCount struct_body << "\t\t\t" << structInfo->privateDataSlotRequestCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "devicePrivateDataCreateInfo"); out << "\t\t" << "VkDevicePrivateDataCreateInfo " << variable_name << " {" << std::endl; @@ -9028,15 +9028,15 @@ std::string GenerateStruct_VkDevicePrivateDataCreateInfo(std::ostream &out, cons std::string GenerateStruct_VkFormatProperties3(std::ostream &out, const VkFormatProperties3* structInfo, Decoded_VkFormatProperties3* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* linearTilingFeatures */ +// linearTilingFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags2(" << structInfo->linearTilingFeatures << ")" << "," << std::endl; -/* optimalTilingFeatures */ +// optimalTilingFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags2(" << structInfo->optimalTilingFeatures << ")" << "," << std::endl; -/* bufferFeatures */ +// bufferFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags2(" << structInfo->bufferFeatures << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "formatProperties3"); out << "\t\t" << "VkFormatProperties3 " << variable_name << " {" << std::endl; @@ -9057,17 +9057,17 @@ std::string GenerateStruct_VkImageBlit2(std::ostream &out, const VkImageBlit2* s &structInfo->dstSubresource, metaInfo->dstSubresource, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcSubresource */ +// srcSubresource struct_body << "\t\t\t" << src_subresource_info_var << "," << std::endl; -/* srcOffsets */ +// srcOffsets struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->srcOffsets[0]), 2) << "," << std::endl; -/* dstSubresource */ +// dstSubresource struct_body << "\t\t\t" << dst_subresource_info_var << "," << std::endl; -/* dstOffsets */ +// dstOffsets struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->dstOffsets[0]), 2) << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageBlit2"); out << "\t\t" << "VkImageBlit2 " << variable_name << " {" << std::endl; @@ -9100,19 +9100,19 @@ std::string GenerateStruct_VkImageCopy2(std::ostream &out, const VkImageCopy2* s &structInfo->extent, metaInfo->extent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcSubresource */ +// srcSubresource struct_body << "\t\t\t" << src_subresource_info_var << "," << std::endl; -/* srcOffset */ +// srcOffset struct_body << "\t\t\t" << src_offset_info_var << "," << std::endl; -/* dstSubresource */ +// dstSubresource struct_body << "\t\t\t" << dst_subresource_info_var << "," << std::endl; -/* dstOffset */ +// dstOffset struct_body << "\t\t\t" << dst_offset_info_var << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageCopy2"); out << "\t\t" << "VkImageCopy2 " << variable_name << " {" << std::endl; @@ -9129,29 +9129,29 @@ std::string GenerateStruct_VkImageMemoryBarrier2(std::ostream &out, const VkImag &structInfo->subresourceRange, metaInfo->subresourceRange, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcStageMask */ +// srcStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->srcStageMask << ")" << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags2(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstStageMask */ +// dstStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->dstStageMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags2(" << structInfo->dstAccessMask << ")" << "," << std::endl; -/* oldLayout */ +// oldLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->oldLayout << ")" << "," << std::endl; -/* newLayout */ +// newLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->newLayout << ")" << "," << std::endl; -/* srcQueueFamilyIndex */ +// srcQueueFamilyIndex struct_body << "\t\t\t" << structInfo->srcQueueFamilyIndex << "," << std::endl; -/* dstQueueFamilyIndex */ +// dstQueueFamilyIndex struct_body << "\t\t\t" << structInfo->dstQueueFamilyIndex << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* subresourceRange */ +// subresourceRange struct_body << "\t\t\t" << subresource_range_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageMemoryBarrier2"); out << "\t\t" << "VkImageMemoryBarrier2 " << variable_name << " {" << std::endl; @@ -9184,19 +9184,19 @@ std::string GenerateStruct_VkImageResolve2(std::ostream &out, const VkImageResol &structInfo->extent, metaInfo->extent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcSubresource */ +// srcSubresource struct_body << "\t\t\t" << src_subresource_info_var << "," << std::endl; -/* srcOffset */ +// srcOffset struct_body << "\t\t\t" << src_offset_info_var << "," << std::endl; -/* dstSubresource */ +// dstSubresource struct_body << "\t\t\t" << dst_subresource_info_var << "," << std::endl; -/* dstOffset */ +// dstOffset struct_body << "\t\t\t" << dst_offset_info_var << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageResolve2"); out << "\t\t" << "VkImageResolve2 " << variable_name << " {" << std::endl; @@ -9209,17 +9209,17 @@ std::string GenerateStruct_VkImageResolve2(std::ostream &out, const VkImageResol std::string GenerateStruct_VkMemoryBarrier2(std::ostream &out, const VkMemoryBarrier2* structInfo, Decoded_VkMemoryBarrier2* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcStageMask */ +// srcStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->srcStageMask << ")" << "," << std::endl; -/* srcAccessMask */ +// srcAccessMask struct_body << "\t\t\t" << "VkAccessFlags2(" << structInfo->srcAccessMask << ")" << "," << std::endl; -/* dstStageMask */ +// dstStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->dstStageMask << ")" << "," << std::endl; -/* dstAccessMask */ +// dstAccessMask struct_body << "\t\t\t" << "VkAccessFlags2(" << structInfo->dstAccessMask << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryBarrier2"); out << "\t\t" << "VkMemoryBarrier2 " << variable_name << " {" << std::endl; @@ -9232,11 +9232,11 @@ std::string GenerateStruct_VkMemoryBarrier2(std::ostream &out, const VkMemoryBar std::string GenerateStruct_VkPhysicalDeviceDynamicRenderingFeatures(std::ostream &out, const VkPhysicalDeviceDynamicRenderingFeatures* structInfo, Decoded_VkPhysicalDeviceDynamicRenderingFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dynamicRendering */ +// dynamicRendering struct_body << "\t\t\t" << structInfo->dynamicRendering << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDynamicRenderingFeatures"); out << "\t\t" << "VkPhysicalDeviceDynamicRenderingFeatures " << variable_name << " {" << std::endl; @@ -9249,11 +9249,11 @@ std::string GenerateStruct_VkPhysicalDeviceDynamicRenderingFeatures(std::ostream std::string GenerateStruct_VkPhysicalDeviceImageRobustnessFeatures(std::ostream &out, const VkPhysicalDeviceImageRobustnessFeatures* structInfo, Decoded_VkPhysicalDeviceImageRobustnessFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* robustImageAccess */ +// robustImageAccess struct_body << "\t\t\t" << structInfo->robustImageAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageRobustnessFeatures"); out << "\t\t" << "VkPhysicalDeviceImageRobustnessFeatures " << variable_name << " {" << std::endl; @@ -9266,13 +9266,13 @@ std::string GenerateStruct_VkPhysicalDeviceImageRobustnessFeatures(std::ostream std::string GenerateStruct_VkPhysicalDeviceInlineUniformBlockFeatures(std::ostream &out, const VkPhysicalDeviceInlineUniformBlockFeatures* structInfo, Decoded_VkPhysicalDeviceInlineUniformBlockFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* inlineUniformBlock */ +// inlineUniformBlock struct_body << "\t\t\t" << structInfo->inlineUniformBlock << "," << std::endl; -/* descriptorBindingInlineUniformBlockUpdateAfterBind */ +// descriptorBindingInlineUniformBlockUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingInlineUniformBlockUpdateAfterBind << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceInlineUniformBlockFeatures"); out << "\t\t" << "VkPhysicalDeviceInlineUniformBlockFeatures " << variable_name << " {" << std::endl; @@ -9285,19 +9285,19 @@ std::string GenerateStruct_VkPhysicalDeviceInlineUniformBlockFeatures(std::ostre std::string GenerateStruct_VkPhysicalDeviceInlineUniformBlockProperties(std::ostream &out, const VkPhysicalDeviceInlineUniformBlockProperties* structInfo, Decoded_VkPhysicalDeviceInlineUniformBlockProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxInlineUniformBlockSize */ +// maxInlineUniformBlockSize struct_body << "\t\t\t" << structInfo->maxInlineUniformBlockSize << "," << std::endl; -/* maxPerStageDescriptorInlineUniformBlocks */ +// maxPerStageDescriptorInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorInlineUniformBlocks << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks */ +// maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks << "," << std::endl; -/* maxDescriptorSetInlineUniformBlocks */ +// maxDescriptorSetInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxDescriptorSetInlineUniformBlocks << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindInlineUniformBlocks */ +// maxDescriptorSetUpdateAfterBindInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindInlineUniformBlocks << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceInlineUniformBlockProperties"); out << "\t\t" << "VkPhysicalDeviceInlineUniformBlockProperties " << variable_name << " {" << std::endl; @@ -9310,11 +9310,11 @@ std::string GenerateStruct_VkPhysicalDeviceInlineUniformBlockProperties(std::ost std::string GenerateStruct_VkPhysicalDeviceMaintenance4Features(std::ostream &out, const VkPhysicalDeviceMaintenance4Features* structInfo, Decoded_VkPhysicalDeviceMaintenance4Features* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maintenance4 */ +// maintenance4 struct_body << "\t\t\t" << structInfo->maintenance4 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMaintenance4Features"); out << "\t\t" << "VkPhysicalDeviceMaintenance4Features " << variable_name << " {" << std::endl; @@ -9327,11 +9327,11 @@ std::string GenerateStruct_VkPhysicalDeviceMaintenance4Features(std::ostream &ou std::string GenerateStruct_VkPhysicalDeviceMaintenance4Properties(std::ostream &out, const VkPhysicalDeviceMaintenance4Properties* structInfo, Decoded_VkPhysicalDeviceMaintenance4Properties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxBufferSize */ +// maxBufferSize struct_body << "\t\t\t" << structInfo->maxBufferSize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMaintenance4Properties"); out << "\t\t" << "VkPhysicalDeviceMaintenance4Properties " << variable_name << " {" << std::endl; @@ -9344,11 +9344,11 @@ std::string GenerateStruct_VkPhysicalDeviceMaintenance4Properties(std::ostream & std::string GenerateStruct_VkPhysicalDevicePipelineCreationCacheControlFeatures(std::ostream &out, const VkPhysicalDevicePipelineCreationCacheControlFeatures* structInfo, Decoded_VkPhysicalDevicePipelineCreationCacheControlFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineCreationCacheControl */ +// pipelineCreationCacheControl struct_body << "\t\t\t" << structInfo->pipelineCreationCacheControl << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePipelineCreationCacheControlFeatures"); out << "\t\t" << "VkPhysicalDevicePipelineCreationCacheControlFeatures " << variable_name << " {" << std::endl; @@ -9361,11 +9361,11 @@ std::string GenerateStruct_VkPhysicalDevicePipelineCreationCacheControlFeatures( std::string GenerateStruct_VkPhysicalDevicePrivateDataFeatures(std::ostream &out, const VkPhysicalDevicePrivateDataFeatures* structInfo, Decoded_VkPhysicalDevicePrivateDataFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* privateData */ +// privateData struct_body << "\t\t\t" << structInfo->privateData << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePrivateDataFeatures"); out << "\t\t" << "VkPhysicalDevicePrivateDataFeatures " << variable_name << " {" << std::endl; @@ -9378,11 +9378,11 @@ std::string GenerateStruct_VkPhysicalDevicePrivateDataFeatures(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures(std::ostream &out, const VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures* structInfo, Decoded_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderDemoteToHelperInvocation */ +// shaderDemoteToHelperInvocation struct_body << "\t\t\t" << structInfo->shaderDemoteToHelperInvocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderDemoteToHelperInvocationFeatures"); out << "\t\t" << "VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures " << variable_name << " {" << std::endl; @@ -9395,11 +9395,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderDemoteToHelperInvocationFeature std::string GenerateStruct_VkPhysicalDeviceShaderIntegerDotProductFeatures(std::ostream &out, const VkPhysicalDeviceShaderIntegerDotProductFeatures* structInfo, Decoded_VkPhysicalDeviceShaderIntegerDotProductFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderIntegerDotProduct */ +// shaderIntegerDotProduct struct_body << "\t\t\t" << structInfo->shaderIntegerDotProduct << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderIntegerDotProductFeatures"); out << "\t\t" << "VkPhysicalDeviceShaderIntegerDotProductFeatures " << variable_name << " {" << std::endl; @@ -9412,69 +9412,69 @@ std::string GenerateStruct_VkPhysicalDeviceShaderIntegerDotProductFeatures(std:: std::string GenerateStruct_VkPhysicalDeviceShaderIntegerDotProductProperties(std::ostream &out, const VkPhysicalDeviceShaderIntegerDotProductProperties* structInfo, Decoded_VkPhysicalDeviceShaderIntegerDotProductProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* integerDotProduct8BitUnsignedAccelerated */ +// integerDotProduct8BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct8BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct8BitSignedAccelerated */ +// integerDotProduct8BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct8BitSignedAccelerated << "," << std::endl; -/* integerDotProduct8BitMixedSignednessAccelerated */ +// integerDotProduct8BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct8BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct4x8BitPackedUnsignedAccelerated */ +// integerDotProduct4x8BitPackedUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct4x8BitPackedUnsignedAccelerated << "," << std::endl; -/* integerDotProduct4x8BitPackedSignedAccelerated */ +// integerDotProduct4x8BitPackedSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct4x8BitPackedSignedAccelerated << "," << std::endl; -/* integerDotProduct4x8BitPackedMixedSignednessAccelerated */ +// integerDotProduct4x8BitPackedMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct4x8BitPackedMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct16BitUnsignedAccelerated */ +// integerDotProduct16BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct16BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct16BitSignedAccelerated */ +// integerDotProduct16BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct16BitSignedAccelerated << "," << std::endl; -/* integerDotProduct16BitMixedSignednessAccelerated */ +// integerDotProduct16BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct16BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct32BitUnsignedAccelerated */ +// integerDotProduct32BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct32BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct32BitSignedAccelerated */ +// integerDotProduct32BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct32BitSignedAccelerated << "," << std::endl; -/* integerDotProduct32BitMixedSignednessAccelerated */ +// integerDotProduct32BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct32BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct64BitUnsignedAccelerated */ +// integerDotProduct64BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct64BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct64BitSignedAccelerated */ +// integerDotProduct64BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct64BitSignedAccelerated << "," << std::endl; -/* integerDotProduct64BitMixedSignednessAccelerated */ +// integerDotProduct64BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct64BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating8BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating8BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating8BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating8BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating8BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating8BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated */ +// integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating16BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating16BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating16BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating16BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating16BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating16BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating32BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating32BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating32BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating32BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating32BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating32BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating64BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating64BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating64BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating64BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating64BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating64BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderIntegerDotProductProperties"); out << "\t\t" << "VkPhysicalDeviceShaderIntegerDotProductProperties " << variable_name << " {" << std::endl; @@ -9487,11 +9487,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderIntegerDotProductProperties(std std::string GenerateStruct_VkPhysicalDeviceShaderTerminateInvocationFeatures(std::ostream &out, const VkPhysicalDeviceShaderTerminateInvocationFeatures* structInfo, Decoded_VkPhysicalDeviceShaderTerminateInvocationFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderTerminateInvocation */ +// shaderTerminateInvocation struct_body << "\t\t\t" << structInfo->shaderTerminateInvocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderTerminateInvocationFeatures"); out << "\t\t" << "VkPhysicalDeviceShaderTerminateInvocationFeatures " << variable_name << " {" << std::endl; @@ -9504,13 +9504,13 @@ std::string GenerateStruct_VkPhysicalDeviceShaderTerminateInvocationFeatures(std std::string GenerateStruct_VkPhysicalDeviceSubgroupSizeControlFeatures(std::ostream &out, const VkPhysicalDeviceSubgroupSizeControlFeatures* structInfo, Decoded_VkPhysicalDeviceSubgroupSizeControlFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* subgroupSizeControl */ +// subgroupSizeControl struct_body << "\t\t\t" << structInfo->subgroupSizeControl << "," << std::endl; -/* computeFullSubgroups */ +// computeFullSubgroups struct_body << "\t\t\t" << structInfo->computeFullSubgroups << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSubgroupSizeControlFeatures"); out << "\t\t" << "VkPhysicalDeviceSubgroupSizeControlFeatures " << variable_name << " {" << std::endl; @@ -9523,17 +9523,17 @@ std::string GenerateStruct_VkPhysicalDeviceSubgroupSizeControlFeatures(std::ostr std::string GenerateStruct_VkPhysicalDeviceSubgroupSizeControlProperties(std::ostream &out, const VkPhysicalDeviceSubgroupSizeControlProperties* structInfo, Decoded_VkPhysicalDeviceSubgroupSizeControlProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minSubgroupSize */ +// minSubgroupSize struct_body << "\t\t\t" << structInfo->minSubgroupSize << "," << std::endl; -/* maxSubgroupSize */ +// maxSubgroupSize struct_body << "\t\t\t" << structInfo->maxSubgroupSize << "," << std::endl; -/* maxComputeWorkgroupSubgroups */ +// maxComputeWorkgroupSubgroups struct_body << "\t\t\t" << structInfo->maxComputeWorkgroupSubgroups << "," << std::endl; -/* requiredSubgroupSizeStages */ +// requiredSubgroupSizeStages struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->requiredSubgroupSizeStages << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSubgroupSizeControlProperties"); out << "\t\t" << "VkPhysicalDeviceSubgroupSizeControlProperties " << variable_name << " {" << std::endl; @@ -9546,11 +9546,11 @@ std::string GenerateStruct_VkPhysicalDeviceSubgroupSizeControlProperties(std::os std::string GenerateStruct_VkPhysicalDeviceSynchronization2Features(std::ostream &out, const VkPhysicalDeviceSynchronization2Features* structInfo, Decoded_VkPhysicalDeviceSynchronization2Features* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* synchronization2 */ +// synchronization2 struct_body << "\t\t\t" << structInfo->synchronization2 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSynchronization2Features"); out << "\t\t" << "VkPhysicalDeviceSynchronization2Features " << variable_name << " {" << std::endl; @@ -9563,17 +9563,17 @@ std::string GenerateStruct_VkPhysicalDeviceSynchronization2Features(std::ostream std::string GenerateStruct_VkPhysicalDeviceTexelBufferAlignmentProperties(std::ostream &out, const VkPhysicalDeviceTexelBufferAlignmentProperties* structInfo, Decoded_VkPhysicalDeviceTexelBufferAlignmentProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* storageTexelBufferOffsetAlignmentBytes */ +// storageTexelBufferOffsetAlignmentBytes struct_body << "\t\t\t" << structInfo->storageTexelBufferOffsetAlignmentBytes << "UL" << "," << std::endl; -/* storageTexelBufferOffsetSingleTexelAlignment */ +// storageTexelBufferOffsetSingleTexelAlignment struct_body << "\t\t\t" << structInfo->storageTexelBufferOffsetSingleTexelAlignment << "," << std::endl; -/* uniformTexelBufferOffsetAlignmentBytes */ +// uniformTexelBufferOffsetAlignmentBytes struct_body << "\t\t\t" << structInfo->uniformTexelBufferOffsetAlignmentBytes << "UL" << "," << std::endl; -/* uniformTexelBufferOffsetSingleTexelAlignment */ +// uniformTexelBufferOffsetSingleTexelAlignment struct_body << "\t\t\t" << structInfo->uniformTexelBufferOffsetSingleTexelAlignment << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTexelBufferAlignmentProperties"); out << "\t\t" << "VkPhysicalDeviceTexelBufferAlignmentProperties " << variable_name << " {" << std::endl; @@ -9586,11 +9586,11 @@ std::string GenerateStruct_VkPhysicalDeviceTexelBufferAlignmentProperties(std::o std::string GenerateStruct_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(std::ostream &out, const VkPhysicalDeviceTextureCompressionASTCHDRFeatures* structInfo, Decoded_VkPhysicalDeviceTextureCompressionASTCHDRFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* textureCompressionASTC_HDR */ +// textureCompressionASTC_HDR struct_body << "\t\t\t" << structInfo->textureCompressionASTC_HDR << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTextureCompressionASTCHDRFeatures"); out << "\t\t" << "VkPhysicalDeviceTextureCompressionASTCHDRFeatures " << variable_name << " {" << std::endl; @@ -9603,19 +9603,19 @@ std::string GenerateStruct_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(std std::string GenerateStruct_VkPhysicalDeviceToolProperties(std::ostream &out, const VkPhysicalDeviceToolProperties* structInfo, Decoded_VkPhysicalDeviceToolProperties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->name) << "," << std::endl; -/* version */ +// version struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->version) << "," << std::endl; -/* purposes */ +// purposes struct_body << "\t\t\t" << "VkToolPurposeFlags(" << structInfo->purposes << ")" << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << "," << std::endl; -/* layer */ +// layer struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->layer) << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceToolProperties"); out << "\t\t" << "VkPhysicalDeviceToolProperties " << variable_name << " {" << std::endl; @@ -9628,39 +9628,39 @@ std::string GenerateStruct_VkPhysicalDeviceToolProperties(std::ostream &out, con std::string GenerateStruct_VkPhysicalDeviceVulkan13Features(std::ostream &out, const VkPhysicalDeviceVulkan13Features* structInfo, Decoded_VkPhysicalDeviceVulkan13Features* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* robustImageAccess */ +// robustImageAccess struct_body << "\t\t\t" << structInfo->robustImageAccess << "," << std::endl; -/* inlineUniformBlock */ +// inlineUniformBlock struct_body << "\t\t\t" << structInfo->inlineUniformBlock << "," << std::endl; -/* descriptorBindingInlineUniformBlockUpdateAfterBind */ +// descriptorBindingInlineUniformBlockUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingInlineUniformBlockUpdateAfterBind << "," << std::endl; -/* pipelineCreationCacheControl */ +// pipelineCreationCacheControl struct_body << "\t\t\t" << structInfo->pipelineCreationCacheControl << "," << std::endl; -/* privateData */ +// privateData struct_body << "\t\t\t" << structInfo->privateData << "," << std::endl; -/* shaderDemoteToHelperInvocation */ +// shaderDemoteToHelperInvocation struct_body << "\t\t\t" << structInfo->shaderDemoteToHelperInvocation << "," << std::endl; -/* shaderTerminateInvocation */ +// shaderTerminateInvocation struct_body << "\t\t\t" << structInfo->shaderTerminateInvocation << "," << std::endl; -/* subgroupSizeControl */ +// subgroupSizeControl struct_body << "\t\t\t" << structInfo->subgroupSizeControl << "," << std::endl; -/* computeFullSubgroups */ +// computeFullSubgroups struct_body << "\t\t\t" << structInfo->computeFullSubgroups << "," << std::endl; -/* synchronization2 */ +// synchronization2 struct_body << "\t\t\t" << structInfo->synchronization2 << "," << std::endl; -/* textureCompressionASTC_HDR */ +// textureCompressionASTC_HDR struct_body << "\t\t\t" << structInfo->textureCompressionASTC_HDR << "," << std::endl; -/* shaderZeroInitializeWorkgroupMemory */ +// shaderZeroInitializeWorkgroupMemory struct_body << "\t\t\t" << structInfo->shaderZeroInitializeWorkgroupMemory << "," << std::endl; -/* dynamicRendering */ +// dynamicRendering struct_body << "\t\t\t" << structInfo->dynamicRendering << "," << std::endl; -/* shaderIntegerDotProduct */ +// shaderIntegerDotProduct struct_body << "\t\t\t" << structInfo->shaderIntegerDotProduct << "," << std::endl; -/* maintenance4 */ +// maintenance4 struct_body << "\t\t\t" << structInfo->maintenance4 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVulkan13Features"); out << "\t\t" << "VkPhysicalDeviceVulkan13Features " << variable_name << " {" << std::endl; @@ -9673,99 +9673,99 @@ std::string GenerateStruct_VkPhysicalDeviceVulkan13Features(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceVulkan13Properties(std::ostream &out, const VkPhysicalDeviceVulkan13Properties* structInfo, Decoded_VkPhysicalDeviceVulkan13Properties* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minSubgroupSize */ +// minSubgroupSize struct_body << "\t\t\t" << structInfo->minSubgroupSize << "," << std::endl; -/* maxSubgroupSize */ +// maxSubgroupSize struct_body << "\t\t\t" << structInfo->maxSubgroupSize << "," << std::endl; -/* maxComputeWorkgroupSubgroups */ +// maxComputeWorkgroupSubgroups struct_body << "\t\t\t" << structInfo->maxComputeWorkgroupSubgroups << "," << std::endl; -/* requiredSubgroupSizeStages */ +// requiredSubgroupSizeStages struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->requiredSubgroupSizeStages << ")" << "," << std::endl; -/* maxInlineUniformBlockSize */ +// maxInlineUniformBlockSize struct_body << "\t\t\t" << structInfo->maxInlineUniformBlockSize << "," << std::endl; -/* maxPerStageDescriptorInlineUniformBlocks */ +// maxPerStageDescriptorInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorInlineUniformBlocks << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks */ +// maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks << "," << std::endl; -/* maxDescriptorSetInlineUniformBlocks */ +// maxDescriptorSetInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxDescriptorSetInlineUniformBlocks << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindInlineUniformBlocks */ +// maxDescriptorSetUpdateAfterBindInlineUniformBlocks struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindInlineUniformBlocks << "," << std::endl; -/* maxInlineUniformTotalSize */ +// maxInlineUniformTotalSize struct_body << "\t\t\t" << structInfo->maxInlineUniformTotalSize << "," << std::endl; -/* integerDotProduct8BitUnsignedAccelerated */ +// integerDotProduct8BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct8BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct8BitSignedAccelerated */ +// integerDotProduct8BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct8BitSignedAccelerated << "," << std::endl; -/* integerDotProduct8BitMixedSignednessAccelerated */ +// integerDotProduct8BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct8BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct4x8BitPackedUnsignedAccelerated */ +// integerDotProduct4x8BitPackedUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct4x8BitPackedUnsignedAccelerated << "," << std::endl; -/* integerDotProduct4x8BitPackedSignedAccelerated */ +// integerDotProduct4x8BitPackedSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct4x8BitPackedSignedAccelerated << "," << std::endl; -/* integerDotProduct4x8BitPackedMixedSignednessAccelerated */ +// integerDotProduct4x8BitPackedMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct4x8BitPackedMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct16BitUnsignedAccelerated */ +// integerDotProduct16BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct16BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct16BitSignedAccelerated */ +// integerDotProduct16BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct16BitSignedAccelerated << "," << std::endl; -/* integerDotProduct16BitMixedSignednessAccelerated */ +// integerDotProduct16BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct16BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct32BitUnsignedAccelerated */ +// integerDotProduct32BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct32BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct32BitSignedAccelerated */ +// integerDotProduct32BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct32BitSignedAccelerated << "," << std::endl; -/* integerDotProduct32BitMixedSignednessAccelerated */ +// integerDotProduct32BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct32BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProduct64BitUnsignedAccelerated */ +// integerDotProduct64BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct64BitUnsignedAccelerated << "," << std::endl; -/* integerDotProduct64BitSignedAccelerated */ +// integerDotProduct64BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct64BitSignedAccelerated << "," << std::endl; -/* integerDotProduct64BitMixedSignednessAccelerated */ +// integerDotProduct64BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProduct64BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating8BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating8BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating8BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating8BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating8BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating8BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated */ +// integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating16BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating16BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating16BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating16BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating16BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating16BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating32BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating32BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating32BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating32BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating32BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating32BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating64BitUnsignedAccelerated */ +// integerDotProductAccumulatingSaturating64BitUnsignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating64BitUnsignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating64BitSignedAccelerated */ +// integerDotProductAccumulatingSaturating64BitSignedAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating64BitSignedAccelerated << "," << std::endl; -/* integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated */ +// integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated struct_body << "\t\t\t" << structInfo->integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated << "," << std::endl; -/* storageTexelBufferOffsetAlignmentBytes */ +// storageTexelBufferOffsetAlignmentBytes struct_body << "\t\t\t" << structInfo->storageTexelBufferOffsetAlignmentBytes << "UL" << "," << std::endl; -/* storageTexelBufferOffsetSingleTexelAlignment */ +// storageTexelBufferOffsetSingleTexelAlignment struct_body << "\t\t\t" << structInfo->storageTexelBufferOffsetSingleTexelAlignment << "," << std::endl; -/* uniformTexelBufferOffsetAlignmentBytes */ +// uniformTexelBufferOffsetAlignmentBytes struct_body << "\t\t\t" << structInfo->uniformTexelBufferOffsetAlignmentBytes << "UL" << "," << std::endl; -/* uniformTexelBufferOffsetSingleTexelAlignment */ +// uniformTexelBufferOffsetSingleTexelAlignment struct_body << "\t\t\t" << structInfo->uniformTexelBufferOffsetSingleTexelAlignment << "," << std::endl; -/* maxBufferSize */ +// maxBufferSize struct_body << "\t\t\t" << structInfo->maxBufferSize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVulkan13Properties"); out << "\t\t" << "VkPhysicalDeviceVulkan13Properties " << variable_name << " {" << std::endl; @@ -9778,11 +9778,11 @@ std::string GenerateStruct_VkPhysicalDeviceVulkan13Properties(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures(std::ostream &out, const VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures* structInfo, Decoded_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderZeroInitializeWorkgroupMemory */ +// shaderZeroInitializeWorkgroupMemory struct_body << "\t\t\t" << structInfo->shaderZeroInitializeWorkgroupMemory << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceZeroInitializeWorkgroupMemoryFeatures"); out << "\t\t" << "VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures " << variable_name << " {" << std::endl; @@ -9794,9 +9794,9 @@ std::string GenerateStruct_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures std::string GenerateStruct_VkPipelineCreationFeedback(std::ostream &out, const VkPipelineCreationFeedback* structInfo, Decoded_VkPipelineCreationFeedback* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* flags */ +// flags struct_body << "\t" << "VkPipelineCreationFeedbackFlags(" << structInfo->flags << ")" << "," << std::endl; -/* duration */ +// duration struct_body << "\t\t\t" << structInfo->duration << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCreationFeedback"); out << "\t\t" << "VkPipelineCreationFeedback " << variable_name << " {" << std::endl; @@ -9825,15 +9825,15 @@ std::string GenerateStruct_VkPipelineCreationFeedbackCreateInfo(std::ostream &ou } out << "\t\t" << "VkPipelineCreationFeedback " << ppipeline_stage_creation_feedbacks_array << "[] = {" << ppipeline_stage_creation_feedbacks_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pPipelineCreationFeedback */ +// pPipelineCreationFeedback out << "\t\t" << "// TODO: Support pPipelineCreationFeedback (output?) argument." << std::endl; -/* pipelineStageCreationFeedbackCount */ +// pipelineStageCreationFeedbackCount struct_body << "\t\t\t" << structInfo->pipelineStageCreationFeedbackCount << "," << std::endl; -/* pPipelineStageCreationFeedbacks */ +// pPipelineStageCreationFeedbacks struct_body << "\t\t\t" << ppipeline_stage_creation_feedbacks_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCreationFeedbackCreateInfo"); out << "\t\t" << "VkPipelineCreationFeedbackCreateInfo " << variable_name << " {" << std::endl; @@ -9855,19 +9855,19 @@ std::string GenerateStruct_VkPipelineRenderingCreateInfo(std::ostream &out, cons pcolor_attachment_formats_array = "pColorAttachmentFormats_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkFormat " << pcolor_attachment_formats_array << "[] = {" << pcolor_attachment_formats_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* viewMask */ +// viewMask struct_body << "\t\t\t" << structInfo->viewMask << "," << std::endl; -/* colorAttachmentCount */ +// colorAttachmentCount struct_body << "\t\t\t" << structInfo->colorAttachmentCount << "," << std::endl; -/* pColorAttachmentFormats */ +// pColorAttachmentFormats struct_body << "\t\t\t" << pcolor_attachment_formats_array << "," << std::endl; -/* depthAttachmentFormat */ +// depthAttachmentFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->depthAttachmentFormat << ")" << "," << std::endl; -/* stencilAttachmentFormat */ +// stencilAttachmentFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->stencilAttachmentFormat << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRenderingCreateInfo"); out << "\t\t" << "VkPipelineRenderingCreateInfo " << variable_name << " {" << std::endl; @@ -9880,11 +9880,11 @@ std::string GenerateStruct_VkPipelineRenderingCreateInfo(std::ostream &out, cons std::string GenerateStruct_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(std::ostream &out, const VkPipelineShaderStageRequiredSubgroupSizeCreateInfo* structInfo, Decoded_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* requiredSubgroupSize */ +// requiredSubgroupSize struct_body << "\t\t\t" << structInfo->requiredSubgroupSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineShaderStageRequiredSubgroupSizeCreateInfo"); out << "\t\t" << "VkPipelineShaderStageRequiredSubgroupSizeCreateInfo " << variable_name << " {" << std::endl; @@ -9897,11 +9897,11 @@ std::string GenerateStruct_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(s std::string GenerateStruct_VkPrivateDataSlotCreateInfo(std::ostream &out, const VkPrivateDataSlotCreateInfo* structInfo, Decoded_VkPrivateDataSlotCreateInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPrivateDataSlotCreateFlags(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "privateDataSlotCreateInfo"); out << "\t\t" << "VkPrivateDataSlotCreateInfo " << variable_name << " {" << std::endl; @@ -9918,25 +9918,25 @@ std::string GenerateStruct_VkRenderingAttachmentInfo(std::ostream &out, const Vk &structInfo->clearValue.color, metaInfo->clearValue->color, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageView */ +// imageView struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->imageView) << "," << std::endl; -/* imageLayout */ +// imageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->imageLayout << ")" << "," << std::endl; -/* resolveMode */ +// resolveMode struct_body << "\t\t\t" << "VkResolveModeFlagBits(" << structInfo->resolveMode << ")" << "," << std::endl; -/* resolveImageView */ +// resolveImageView struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->resolveImageView) << "," << std::endl; -/* resolveImageLayout */ +// resolveImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->resolveImageLayout << ")" << "," << std::endl; -/* loadOp */ +// loadOp struct_body << "\t\t\t" << "VkAttachmentLoadOp(" << structInfo->loadOp << ")" << "," << std::endl; -/* storeOp */ +// storeOp struct_body << "\t\t\t" << "VkAttachmentStoreOp(" << structInfo->storeOp << ")" << "," << std::endl; -/* clearValue */ +// clearValue struct_body << "\t\t\t" << color_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderingAttachmentInfo"); out << "\t\t" << "VkRenderingAttachmentInfo " << variable_name << " {" << std::endl; @@ -9985,25 +9985,25 @@ std::string GenerateStruct_VkRenderingInfo(std::ostream &out, const VkRenderingI consumer); pstencil_attachment_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkRenderingFlags(" << structInfo->flags << ")" << "," << std::endl; -/* renderArea */ +// renderArea struct_body << "\t\t\t" << render_area_info_var << "," << std::endl; -/* layerCount */ +// layerCount struct_body << "\t\t\t" << structInfo->layerCount << "," << std::endl; -/* viewMask */ +// viewMask struct_body << "\t\t\t" << structInfo->viewMask << "," << std::endl; -/* colorAttachmentCount */ +// colorAttachmentCount struct_body << "\t\t\t" << structInfo->colorAttachmentCount << "," << std::endl; -/* pColorAttachments */ +// pColorAttachments struct_body << "\t\t\t" << pcolor_attachments_array << "," << std::endl; -/* pDepthAttachment */ +// pDepthAttachment struct_body << "\t\t\t" << pdepth_attachment_struct << "," << std::endl; -/* pStencilAttachment */ +// pStencilAttachment struct_body << "\t\t\t" << pstencil_attachment_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderingInfo"); out << "\t\t" << "VkRenderingInfo " << variable_name << " {" << std::endl; @@ -10032,21 +10032,21 @@ std::string GenerateStruct_VkResolveImageInfo2(std::ostream &out, const VkResolv } out << "\t\t" << "VkImageResolve2 " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcImage */ +// srcImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcImage) << "," << std::endl; -/* srcImageLayout */ +// srcImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->srcImageLayout << ")" << "," << std::endl; -/* dstImage */ +// dstImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstImage) << "," << std::endl; -/* dstImageLayout */ +// dstImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->dstImageLayout << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "resolveImageInfo2"); out << "\t\t" << "VkResolveImageInfo2 " << variable_name << " {" << std::endl; @@ -10059,17 +10059,17 @@ std::string GenerateStruct_VkResolveImageInfo2(std::ostream &out, const VkResolv std::string GenerateStruct_VkSemaphoreSubmitInfo(std::ostream &out, const VkSemaphoreSubmitInfo* structInfo, Decoded_VkSemaphoreSubmitInfo* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* value */ +// value struct_body << "\t\t\t" << structInfo->value << "UL" << "," << std::endl; -/* stageMask */ +// stageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->stageMask << ")" << "," << std::endl; -/* deviceIndex */ +// deviceIndex struct_body << "\t\t\t" << structInfo->deviceIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreSubmitInfo"); out << "\t\t" << "VkSemaphoreSubmitInfo " << variable_name << " {" << std::endl; @@ -10130,23 +10130,23 @@ std::string GenerateStruct_VkSubmitInfo2(std::ostream &out, const VkSubmitInfo2* } out << "\t\t" << "VkSemaphoreSubmitInfo " << psignal_semaphore_infos_array << "[] = {" << psignal_semaphore_infos_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSubmitFlags(" << structInfo->flags << ")" << "," << std::endl; -/* waitSemaphoreInfoCount */ +// waitSemaphoreInfoCount struct_body << "\t\t\t" << structInfo->waitSemaphoreInfoCount << "," << std::endl; -/* pWaitSemaphoreInfos */ +// pWaitSemaphoreInfos struct_body << "\t\t\t" << pwait_semaphore_infos_array << "," << std::endl; -/* commandBufferInfoCount */ +// commandBufferInfoCount struct_body << "\t\t\t" << structInfo->commandBufferInfoCount << "," << std::endl; -/* pCommandBufferInfos */ +// pCommandBufferInfos struct_body << "\t\t\t" << pcommand_buffer_infos_array << "," << std::endl; -/* signalSemaphoreInfoCount */ +// signalSemaphoreInfoCount struct_body << "\t\t\t" << structInfo->signalSemaphoreInfoCount << "," << std::endl; -/* pSignalSemaphoreInfos */ +// pSignalSemaphoreInfos struct_body << "\t\t\t" << psignal_semaphore_infos_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "submitInfo2"); out << "\t\t" << "VkSubmitInfo2 " << variable_name << " {" << std::endl; @@ -10168,13 +10168,13 @@ std::string GenerateStruct_VkWriteDescriptorSetInlineUniformBlock(std::ostream & pdata_array = "pData_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << pdata_array << "[] = {" << pdata_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dataSize */ +// dataSize struct_body << "\t\t\t" << structInfo->dataSize << "," << std::endl; -/* pData */ +// pData struct_body << "\t\t\t" << pdata_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "writeDescriptorSetInlineUniformBlock"); out << "\t\t" << "VkWriteDescriptorSetInlineUniformBlock " << variable_name << " {" << std::endl; @@ -10198,25 +10198,25 @@ std::string GenerateStruct_VkSurfaceCapabilitiesKHR(std::ostream &out, const VkS &structInfo->maxImageExtent, metaInfo->maxImageExtent, consumer); -/* minImageCount */ +// minImageCount struct_body << "\t" << structInfo->minImageCount << "," << std::endl; -/* maxImageCount */ +// maxImageCount struct_body << "\t\t\t" << structInfo->maxImageCount << "," << std::endl; -/* currentExtent */ +// currentExtent struct_body << "\t\t\t" << current_extent_info_var << "," << std::endl; -/* minImageExtent */ +// minImageExtent struct_body << "\t\t\t" << min_image_extent_info_var << "," << std::endl; -/* maxImageExtent */ +// maxImageExtent struct_body << "\t\t\t" << max_image_extent_info_var << "," << std::endl; -/* maxImageArrayLayers */ +// maxImageArrayLayers struct_body << "\t\t\t" << structInfo->maxImageArrayLayers << "," << std::endl; -/* supportedTransforms */ +// supportedTransforms struct_body << "\t\t\t" << "VkSurfaceTransformFlagsKHR(" << structInfo->supportedTransforms << ")" << "," << std::endl; -/* currentTransform */ +// currentTransform struct_body << "\t\t\t" << "VkSurfaceTransformFlagBitsKHR(" << structInfo->currentTransform << ")" << "," << std::endl; -/* supportedCompositeAlpha */ +// supportedCompositeAlpha struct_body << "\t\t\t" << "VkCompositeAlphaFlagsKHR(" << structInfo->supportedCompositeAlpha << ")" << "," << std::endl; -/* supportedUsageFlags */ +// supportedUsageFlags struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->supportedUsageFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceCapabilitiesKHR"); out << "\t\t" << "VkSurfaceCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -10228,9 +10228,9 @@ std::string GenerateStruct_VkSurfaceCapabilitiesKHR(std::ostream &out, const VkS std::string GenerateStruct_VkSurfaceFormatKHR(std::ostream &out, const VkSurfaceFormatKHR* structInfo, Decoded_VkSurfaceFormatKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* format */ +// format struct_body << "\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* colorSpace */ +// colorSpace struct_body << "\t\t\t" << "VkColorSpaceKHR(" << structInfo->colorSpace << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceFormatKHR"); out << "\t\t" << "VkSurfaceFormatKHR " << variable_name << " {" << std::endl; @@ -10243,19 +10243,19 @@ std::string GenerateStruct_VkSurfaceFormatKHR(std::ostream &out, const VkSurface std::string GenerateStruct_VkAcquireNextImageInfoKHR(std::ostream &out, const VkAcquireNextImageInfoKHR* structInfo, Decoded_VkAcquireNextImageInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchain */ +// swapchain struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->swapchain) << "," << std::endl; -/* timeout */ +// timeout struct_body << "\t\t\t" << structInfo->timeout << "UL" << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* fence */ +// fence struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->fence) << "," << std::endl; -/* deviceMask */ +// deviceMask struct_body << "\t\t\t" << structInfo->deviceMask << ","; std::string variable_name = consumer.AddStruct(struct_body, "acquireNextImageInfoKHR"); out << "\t\t" << "VkAcquireNextImageInfoKHR " << variable_name << " {" << std::endl; @@ -10268,13 +10268,13 @@ std::string GenerateStruct_VkAcquireNextImageInfoKHR(std::ostream &out, const Vk std::string GenerateStruct_VkBindImageMemorySwapchainInfoKHR(std::ostream &out, const VkBindImageMemorySwapchainInfoKHR* structInfo, Decoded_VkBindImageMemorySwapchainInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchain */ +// swapchain struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->swapchain) << "," << std::endl; -/* imageIndex */ +// imageIndex struct_body << "\t\t\t" << structInfo->imageIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindImageMemorySwapchainInfoKHR"); out << "\t\t" << "VkBindImageMemorySwapchainInfoKHR " << variable_name << " {" << std::endl; @@ -10287,13 +10287,13 @@ std::string GenerateStruct_VkBindImageMemorySwapchainInfoKHR(std::ostream &out, std::string GenerateStruct_VkDeviceGroupPresentCapabilitiesKHR(std::ostream &out, const VkDeviceGroupPresentCapabilitiesKHR* structInfo, Decoded_VkDeviceGroupPresentCapabilitiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentMask */ +// presentMask struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->presentMask[0]), VK_MAX_DEVICE_GROUP_SIZE) << "," << std::endl; -/* modes */ +// modes struct_body << "\t\t\t" << "VkDeviceGroupPresentModeFlagsKHR(" << structInfo->modes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupPresentCapabilitiesKHR"); out << "\t\t" << "VkDeviceGroupPresentCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -10311,15 +10311,15 @@ std::string GenerateStruct_VkDeviceGroupPresentInfoKHR(std::ostream &out, const pdevice_masks_array = "pDeviceMasks_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pdevice_masks_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pDeviceMasks, structInfo->swapchainCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchainCount */ +// swapchainCount struct_body << "\t\t\t" << structInfo->swapchainCount << "," << std::endl; -/* pDeviceMasks */ +// pDeviceMasks struct_body << "\t\t\t" << pdevice_masks_array << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkDeviceGroupPresentModeFlagBitsKHR(" << structInfo->mode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupPresentInfoKHR"); out << "\t\t" << "VkDeviceGroupPresentInfoKHR " << variable_name << " {" << std::endl; @@ -10332,11 +10332,11 @@ std::string GenerateStruct_VkDeviceGroupPresentInfoKHR(std::ostream &out, const std::string GenerateStruct_VkDeviceGroupSwapchainCreateInfoKHR(std::ostream &out, const VkDeviceGroupSwapchainCreateInfoKHR* structInfo, Decoded_VkDeviceGroupSwapchainCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* modes */ +// modes struct_body << "\t\t\t" << "VkDeviceGroupPresentModeFlagsKHR(" << structInfo->modes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceGroupSwapchainCreateInfoKHR"); out << "\t\t" << "VkDeviceGroupSwapchainCreateInfoKHR " << variable_name << " {" << std::endl; @@ -10349,11 +10349,11 @@ std::string GenerateStruct_VkDeviceGroupSwapchainCreateInfoKHR(std::ostream &out std::string GenerateStruct_VkImageSwapchainCreateInfoKHR(std::ostream &out, const VkImageSwapchainCreateInfoKHR* structInfo, Decoded_VkImageSwapchainCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchain */ +// swapchain struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->swapchain) << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageSwapchainCreateInfoKHR"); out << "\t\t" << "VkImageSwapchainCreateInfoKHR " << variable_name << " {" << std::endl; @@ -10375,41 +10375,41 @@ std::string GenerateStruct_VkSwapchainCreateInfoKHR(std::ostream &out, const VkS pqueue_family_indices_array = "pQueueFamilyIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pqueue_family_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pQueueFamilyIndices, structInfo->queueFamilyIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSwapchainCreateFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* surface */ +// surface struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->surface) << "," << std::endl; -/* minImageCount */ +// minImageCount struct_body << "\t\t\t" << structInfo->minImageCount << "," << std::endl; -/* imageFormat */ +// imageFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->imageFormat << ")" << "," << std::endl; -/* imageColorSpace */ +// imageColorSpace struct_body << "\t\t\t" << "VkColorSpaceKHR(" << structInfo->imageColorSpace << ")" << "," << std::endl; -/* imageExtent */ +// imageExtent struct_body << "\t\t\t" << image_extent_info_var << "," << std::endl; -/* imageArrayLayers */ +// imageArrayLayers struct_body << "\t\t\t" << structInfo->imageArrayLayers << "," << std::endl; -/* imageUsage */ +// imageUsage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->imageUsage << ")" << "," << std::endl; -/* imageSharingMode */ +// imageSharingMode struct_body << "\t\t\t" << "VkSharingMode(" << structInfo->imageSharingMode << ")" << "," << std::endl; -/* queueFamilyIndexCount */ +// queueFamilyIndexCount struct_body << "\t\t\t" << structInfo->queueFamilyIndexCount << "," << std::endl; -/* pQueueFamilyIndices */ +// pQueueFamilyIndices struct_body << "\t\t\t" << pqueue_family_indices_array << "," << std::endl; -/* preTransform */ +// preTransform struct_body << "\t\t\t" << "VkSurfaceTransformFlagBitsKHR(" << structInfo->preTransform << ")" << "," << std::endl; -/* compositeAlpha */ +// compositeAlpha struct_body << "\t\t\t" << "VkCompositeAlphaFlagBitsKHR(" << structInfo->compositeAlpha << ")" << "," << std::endl; -/* presentMode */ +// presentMode struct_body << "\t\t\t" << "VkPresentModeKHR(" << structInfo->presentMode << ")" << "," << std::endl; -/* clipped */ +// clipped struct_body << "\t\t\t" << structInfo->clipped << "," << std::endl; -/* oldSwapchain */ +// oldSwapchain struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->oldSwapchain) << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainCreateInfoKHR"); out << "\t\t" << "VkSwapchainCreateInfoKHR " << variable_name << " {" << std::endl; @@ -10426,13 +10426,13 @@ std::string GenerateStruct_VkDisplayModeCreateInfoKHR(std::ostream &out, const V &structInfo->parameters, metaInfo->parameters, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDisplayModeCreateFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* parameters */ +// parameters struct_body << "\t\t\t" << parameters_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayModeCreateInfoKHR"); out << "\t\t" << "VkDisplayModeCreateInfoKHR " << variable_name << " {" << std::endl; @@ -10448,9 +10448,9 @@ std::string GenerateStruct_VkDisplayModeParametersKHR(std::ostream &out, const V &structInfo->visibleRegion, metaInfo->visibleRegion, consumer); -/* visibleRegion */ +// visibleRegion struct_body << "\t" << visible_region_info_var << "," << std::endl; -/* refreshRate */ +// refreshRate struct_body << "\t\t\t" << structInfo->refreshRate << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayModeParametersKHR"); out << "\t\t" << "VkDisplayModeParametersKHR " << variable_name << " {" << std::endl; @@ -10466,9 +10466,9 @@ std::string GenerateStruct_VkDisplayModePropertiesKHR(std::ostream &out, const V &structInfo->parameters, metaInfo->parameters, consumer); -/* displayMode */ +// displayMode struct_body << "\t" << consumer.GetHandle(metaInfo->displayMode) << "," << std::endl; -/* parameters */ +// parameters struct_body << "\t\t\t" << parameters_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayModePropertiesKHR"); out << "\t\t" << "VkDisplayModePropertiesKHR " << variable_name << " {" << std::endl; @@ -10512,23 +10512,23 @@ std::string GenerateStruct_VkDisplayPlaneCapabilitiesKHR(std::ostream &out, cons &structInfo->maxDstExtent, metaInfo->maxDstExtent, consumer); -/* supportedAlpha */ +// supportedAlpha struct_body << "\t" << "VkDisplayPlaneAlphaFlagsKHR(" << structInfo->supportedAlpha << ")" << "," << std::endl; -/* minSrcPosition */ +// minSrcPosition struct_body << "\t\t\t" << min_src_position_info_var << "," << std::endl; -/* maxSrcPosition */ +// maxSrcPosition struct_body << "\t\t\t" << max_src_position_info_var << "," << std::endl; -/* minSrcExtent */ +// minSrcExtent struct_body << "\t\t\t" << min_src_extent_info_var << "," << std::endl; -/* maxSrcExtent */ +// maxSrcExtent struct_body << "\t\t\t" << max_src_extent_info_var << "," << std::endl; -/* minDstPosition */ +// minDstPosition struct_body << "\t\t\t" << min_dst_position_info_var << "," << std::endl; -/* maxDstPosition */ +// maxDstPosition struct_body << "\t\t\t" << max_dst_position_info_var << "," << std::endl; -/* minDstExtent */ +// minDstExtent struct_body << "\t\t\t" << min_dst_extent_info_var << "," << std::endl; -/* maxDstExtent */ +// maxDstExtent struct_body << "\t\t\t" << max_dst_extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPlaneCapabilitiesKHR"); out << "\t\t" << "VkDisplayPlaneCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -10540,9 +10540,9 @@ std::string GenerateStruct_VkDisplayPlaneCapabilitiesKHR(std::ostream &out, cons std::string GenerateStruct_VkDisplayPlanePropertiesKHR(std::ostream &out, const VkDisplayPlanePropertiesKHR* structInfo, Decoded_VkDisplayPlanePropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* currentDisplay */ +// currentDisplay struct_body << "\t" << consumer.GetHandle(metaInfo->currentDisplay) << "," << std::endl; -/* currentStackIndex */ +// currentStackIndex struct_body << "\t\t\t" << structInfo->currentStackIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPlanePropertiesKHR"); out << "\t\t" << "VkDisplayPlanePropertiesKHR " << variable_name << " {" << std::endl; @@ -10562,19 +10562,19 @@ std::string GenerateStruct_VkDisplayPropertiesKHR(std::ostream &out, const VkDis &structInfo->physicalResolution, metaInfo->physicalResolution, consumer); -/* display */ +// display struct_body << "\t" << consumer.GetHandle(metaInfo->display) << "," << std::endl; -/* displayName */ +// displayName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->displayName) << "," << std::endl; -/* physicalDimensions */ +// physicalDimensions struct_body << "\t\t\t" << physical_dimensions_info_var << "," << std::endl; -/* physicalResolution */ +// physicalResolution struct_body << "\t\t\t" << physical_resolution_info_var << "," << std::endl; -/* supportedTransforms */ +// supportedTransforms struct_body << "\t\t\t" << "VkSurfaceTransformFlagsKHR(" << structInfo->supportedTransforms << ")" << "," << std::endl; -/* planeReorderPossible */ +// planeReorderPossible struct_body << "\t\t\t" << structInfo->planeReorderPossible << "," << std::endl; -/* persistentContent */ +// persistentContent struct_body << "\t\t\t" << structInfo->persistentContent << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPropertiesKHR"); out << "\t\t" << "VkDisplayPropertiesKHR " << variable_name << " {" << std::endl; @@ -10591,25 +10591,25 @@ std::string GenerateStruct_VkDisplaySurfaceCreateInfoKHR(std::ostream &out, cons &structInfo->imageExtent, metaInfo->imageExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDisplaySurfaceCreateFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* displayMode */ +// displayMode struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->displayMode) << "," << std::endl; -/* planeIndex */ +// planeIndex struct_body << "\t\t\t" << structInfo->planeIndex << "," << std::endl; -/* planeStackIndex */ +// planeStackIndex struct_body << "\t\t\t" << structInfo->planeStackIndex << "," << std::endl; -/* transform */ +// transform struct_body << "\t\t\t" << "VkSurfaceTransformFlagBitsKHR(" << structInfo->transform << ")" << "," << std::endl; -/* globalAlpha */ +// globalAlpha struct_body << "\t\t\t" << structInfo->globalAlpha << "," << std::endl; -/* alphaMode */ +// alphaMode struct_body << "\t\t\t" << "VkDisplayPlaneAlphaFlagBitsKHR(" << structInfo->alphaMode << ")" << "," << std::endl; -/* imageExtent */ +// imageExtent struct_body << "\t\t\t" << image_extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displaySurfaceCreateInfoKHR"); out << "\t\t" << "VkDisplaySurfaceCreateInfoKHR " << variable_name << " {" << std::endl; @@ -10630,15 +10630,15 @@ std::string GenerateStruct_VkDisplayPresentInfoKHR(std::ostream &out, const VkDi &structInfo->dstRect, metaInfo->dstRect, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcRect */ +// srcRect struct_body << "\t\t\t" << src_rect_info_var << "," << std::endl; -/* dstRect */ +// dstRect struct_body << "\t\t\t" << dst_rect_info_var << "," << std::endl; -/* persistent */ +// persistent struct_body << "\t\t\t" << structInfo->persistent << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPresentInfoKHR"); out << "\t\t" << "VkDisplayPresentInfoKHR " << variable_name << " {" << std::endl; @@ -10691,17 +10691,17 @@ std::string GenerateStruct_VkWin32SurfaceCreateInfoKHR(std::ostream &out, const std::string GenerateStruct_VkBindVideoSessionMemoryInfoKHR(std::ostream &out, const VkBindVideoSessionMemoryInfoKHR* structInfo, Decoded_VkBindVideoSessionMemoryInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryBindIndex */ +// memoryBindIndex struct_body << "\t\t\t" << structInfo->memoryBindIndex << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* memoryOffset */ +// memoryOffset struct_body << "\t\t\t" << structInfo->memoryOffset << "UL" << "," << std::endl; -/* memorySize */ +// memorySize struct_body << "\t\t\t" << structInfo->memorySize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindVideoSessionMemoryInfoKHR"); out << "\t\t" << "VkBindVideoSessionMemoryInfoKHR " << variable_name << " {" << std::endl; @@ -10714,11 +10714,11 @@ std::string GenerateStruct_VkBindVideoSessionMemoryInfoKHR(std::ostream &out, co std::string GenerateStruct_VkPhysicalDeviceVideoFormatInfoKHR(std::ostream &out, const VkPhysicalDeviceVideoFormatInfoKHR* structInfo, Decoded_VkPhysicalDeviceVideoFormatInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageUsage */ +// imageUsage struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->imageUsage << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVideoFormatInfoKHR"); out << "\t\t" << "VkPhysicalDeviceVideoFormatInfoKHR " << variable_name << " {" << std::endl; @@ -10731,11 +10731,11 @@ std::string GenerateStruct_VkPhysicalDeviceVideoFormatInfoKHR(std::ostream &out, std::string GenerateStruct_VkQueueFamilyQueryResultStatusPropertiesKHR(std::ostream &out, const VkQueueFamilyQueryResultStatusPropertiesKHR* structInfo, Decoded_VkQueueFamilyQueryResultStatusPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* queryResultStatusSupport */ +// queryResultStatusSupport struct_body << "\t\t\t" << structInfo->queryResultStatusSupport << ","; std::string variable_name = consumer.AddStruct(struct_body, "queueFamilyQueryResultStatusPropertiesKHR"); out << "\t\t" << "VkQueueFamilyQueryResultStatusPropertiesKHR " << variable_name << " {" << std::endl; @@ -10748,11 +10748,11 @@ std::string GenerateStruct_VkQueueFamilyQueryResultStatusPropertiesKHR(std::ostr std::string GenerateStruct_VkQueueFamilyVideoPropertiesKHR(std::ostream &out, const VkQueueFamilyVideoPropertiesKHR* structInfo, Decoded_VkQueueFamilyVideoPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* videoCodecOperations */ +// videoCodecOperations struct_body << "\t\t\t" << "VkVideoCodecOperationFlagsKHR(" << structInfo->videoCodecOperations << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "queueFamilyVideoPropertiesKHR"); out << "\t\t" << "VkQueueFamilyVideoPropertiesKHR " << variable_name << " {" << std::endl; @@ -10781,19 +10781,19 @@ std::string GenerateStruct_VkVideoBeginCodingInfoKHR(std::ostream &out, const Vk } out << "\t\t" << "VkVideoReferenceSlotInfoKHR " << preference_slots_array << "[] = {" << preference_slots_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoBeginCodingFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* videoSession */ +// videoSession struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->videoSession) << "," << std::endl; -/* videoSessionParameters */ +// videoSessionParameters struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->videoSessionParameters) << "," << std::endl; -/* referenceSlotCount */ +// referenceSlotCount struct_body << "\t\t\t" << structInfo->referenceSlotCount << "," << std::endl; -/* pReferenceSlots */ +// pReferenceSlots struct_body << "\t\t\t" << preference_slots_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoBeginCodingInfoKHR"); out << "\t\t" << "VkVideoBeginCodingInfoKHR " << variable_name << " {" << std::endl; @@ -10822,27 +10822,27 @@ std::string GenerateStruct_VkVideoCapabilitiesKHR(std::ostream &out, const VkVid &structInfo->stdHeaderVersion, metaInfo->stdHeaderVersion, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoCapabilityFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* minBitstreamBufferOffsetAlignment */ +// minBitstreamBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->minBitstreamBufferOffsetAlignment << "UL" << "," << std::endl; -/* minBitstreamBufferSizeAlignment */ +// minBitstreamBufferSizeAlignment struct_body << "\t\t\t" << structInfo->minBitstreamBufferSizeAlignment << "UL" << "," << std::endl; -/* pictureAccessGranularity */ +// pictureAccessGranularity struct_body << "\t\t\t" << picture_access_granularity_info_var << "," << std::endl; -/* minCodedExtent */ +// minCodedExtent struct_body << "\t\t\t" << min_coded_extent_info_var << "," << std::endl; -/* maxCodedExtent */ +// maxCodedExtent struct_body << "\t\t\t" << max_coded_extent_info_var << "," << std::endl; -/* maxDpbSlots */ +// maxDpbSlots struct_body << "\t\t\t" << structInfo->maxDpbSlots << "," << std::endl; -/* maxActiveReferencePictures */ +// maxActiveReferencePictures struct_body << "\t\t\t" << structInfo->maxActiveReferencePictures << "," << std::endl; -/* stdHeaderVersion */ +// stdHeaderVersion struct_body << "\t\t\t" << std_header_version_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoCapabilitiesKHR"); out << "\t\t" << "VkVideoCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -10855,11 +10855,11 @@ std::string GenerateStruct_VkVideoCapabilitiesKHR(std::ostream &out, const VkVid std::string GenerateStruct_VkVideoCodingControlInfoKHR(std::ostream &out, const VkVideoCodingControlInfoKHR* structInfo, Decoded_VkVideoCodingControlInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoCodingControlFlagsKHR(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoCodingControlInfoKHR"); out << "\t\t" << "VkVideoCodingControlInfoKHR " << variable_name << " {" << std::endl; @@ -10872,11 +10872,11 @@ std::string GenerateStruct_VkVideoCodingControlInfoKHR(std::ostream &out, const std::string GenerateStruct_VkVideoEndCodingInfoKHR(std::ostream &out, const VkVideoEndCodingInfoKHR* structInfo, Decoded_VkVideoEndCodingInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEndCodingFlagsKHR(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEndCodingInfoKHR"); out << "\t\t" << "VkVideoEndCodingInfoKHR " << variable_name << " {" << std::endl; @@ -10893,21 +10893,21 @@ std::string GenerateStruct_VkVideoFormatPropertiesKHR(std::ostream &out, const V &structInfo->componentMapping, metaInfo->componentMapping, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* componentMapping */ +// componentMapping struct_body << "\t\t\t" << component_mapping_info_var << "," << std::endl; -/* imageCreateFlags */ +// imageCreateFlags struct_body << "\t\t\t" << "VkImageCreateFlags(" << structInfo->imageCreateFlags << ")" << "," << std::endl; -/* imageType */ +// imageType struct_body << "\t\t\t" << "VkImageType(" << structInfo->imageType << ")" << "," << std::endl; -/* imageTiling */ +// imageTiling struct_body << "\t\t\t" << "VkImageTiling(" << structInfo->imageTiling << ")" << "," << std::endl; -/* imageUsageFlags */ +// imageUsageFlags struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->imageUsageFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoFormatPropertiesKHR"); out << "\t\t" << "VkVideoFormatPropertiesKHR " << variable_name << " {" << std::endl; @@ -10928,17 +10928,17 @@ std::string GenerateStruct_VkVideoPictureResourceInfoKHR(std::ostream &out, cons &structInfo->codedExtent, metaInfo->codedExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* codedOffset */ +// codedOffset struct_body << "\t\t\t" << coded_offset_info_var << "," << std::endl; -/* codedExtent */ +// codedExtent struct_body << "\t\t\t" << coded_extent_info_var << "," << std::endl; -/* baseArrayLayer */ +// baseArrayLayer struct_body << "\t\t\t" << structInfo->baseArrayLayer << "," << std::endl; -/* imageViewBinding */ +// imageViewBinding struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->imageViewBinding) << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoPictureResourceInfoKHR"); out << "\t\t" << "VkVideoPictureResourceInfoKHR " << variable_name << " {" << std::endl; @@ -10951,17 +10951,17 @@ std::string GenerateStruct_VkVideoPictureResourceInfoKHR(std::ostream &out, cons std::string GenerateStruct_VkVideoProfileInfoKHR(std::ostream &out, const VkVideoProfileInfoKHR* structInfo, Decoded_VkVideoProfileInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* videoCodecOperation */ +// videoCodecOperation struct_body << "\t\t\t" << "VkVideoCodecOperationFlagBitsKHR(" << structInfo->videoCodecOperation << ")" << "," << std::endl; -/* chromaSubsampling */ +// chromaSubsampling struct_body << "\t\t\t" << "VkVideoChromaSubsamplingFlagsKHR(" << structInfo->chromaSubsampling << ")" << "," << std::endl; -/* lumaBitDepth */ +// lumaBitDepth struct_body << "\t\t\t" << "VkVideoComponentBitDepthFlagsKHR(" << structInfo->lumaBitDepth << ")" << "," << std::endl; -/* chromaBitDepth */ +// chromaBitDepth struct_body << "\t\t\t" << "VkVideoComponentBitDepthFlagsKHR(" << structInfo->chromaBitDepth << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoProfileInfoKHR"); out << "\t\t" << "VkVideoProfileInfoKHR " << variable_name << " {" << std::endl; @@ -10990,13 +10990,13 @@ std::string GenerateStruct_VkVideoProfileListInfoKHR(std::ostream &out, const Vk } out << "\t\t" << "VkVideoProfileInfoKHR " << pprofiles_array << "[] = {" << pprofiles_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* profileCount */ +// profileCount struct_body << "\t\t\t" << structInfo->profileCount << "," << std::endl; -/* pProfiles */ +// pProfiles struct_body << "\t\t\t" << pprofiles_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoProfileListInfoKHR"); out << "\t\t" << "VkVideoProfileListInfoKHR " << variable_name << " {" << std::endl; @@ -11017,13 +11017,13 @@ std::string GenerateStruct_VkVideoReferenceSlotInfoKHR(std::ostream &out, const consumer); ppicture_resource_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* slotIndex */ +// slotIndex struct_body << "\t\t\t" << structInfo->slotIndex << "," << std::endl; -/* pPictureResource */ +// pPictureResource struct_body << "\t\t\t" << ppicture_resource_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoReferenceSlotInfoKHR"); out << "\t\t" << "VkVideoReferenceSlotInfoKHR " << variable_name << " {" << std::endl; @@ -11056,27 +11056,27 @@ std::string GenerateStruct_VkVideoSessionCreateInfoKHR(std::ostream &out, const consumer); pstd_header_version_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* queueFamilyIndex */ +// queueFamilyIndex struct_body << "\t\t\t" << structInfo->queueFamilyIndex << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoSessionCreateFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* pVideoProfile */ +// pVideoProfile struct_body << "\t\t\t" << pvideo_profile_struct << "," << std::endl; -/* pictureFormat */ +// pictureFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->pictureFormat << ")" << "," << std::endl; -/* maxCodedExtent */ +// maxCodedExtent struct_body << "\t\t\t" << max_coded_extent_info_var << "," << std::endl; -/* referencePictureFormat */ +// referencePictureFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->referencePictureFormat << ")" << "," << std::endl; -/* maxDpbSlots */ +// maxDpbSlots struct_body << "\t\t\t" << structInfo->maxDpbSlots << "," << std::endl; -/* maxActiveReferencePictures */ +// maxActiveReferencePictures struct_body << "\t\t\t" << structInfo->maxActiveReferencePictures << "," << std::endl; -/* pStdHeaderVersion */ +// pStdHeaderVersion struct_body << "\t\t\t" << pstd_header_version_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoSessionCreateInfoKHR"); out << "\t\t" << "VkVideoSessionCreateInfoKHR " << variable_name << " {" << std::endl; @@ -11093,13 +11093,13 @@ std::string GenerateStruct_VkVideoSessionMemoryRequirementsKHR(std::ostream &out &structInfo->memoryRequirements, metaInfo->memoryRequirements, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryBindIndex */ +// memoryBindIndex struct_body << "\t\t\t" << structInfo->memoryBindIndex << "," << std::endl; -/* memoryRequirements */ +// memoryRequirements struct_body << "\t\t\t" << memory_requirements_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoSessionMemoryRequirementsKHR"); out << "\t\t" << "VkVideoSessionMemoryRequirementsKHR " << variable_name << " {" << std::endl; @@ -11112,15 +11112,15 @@ std::string GenerateStruct_VkVideoSessionMemoryRequirementsKHR(std::ostream &out std::string GenerateStruct_VkVideoSessionParametersCreateInfoKHR(std::ostream &out, const VkVideoSessionParametersCreateInfoKHR* structInfo, Decoded_VkVideoSessionParametersCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoSessionParametersCreateFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* videoSessionParametersTemplate */ +// videoSessionParametersTemplate struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->videoSessionParametersTemplate) << "," << std::endl; -/* videoSession */ +// videoSession struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->videoSession) << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoSessionParametersCreateInfoKHR"); out << "\t\t" << "VkVideoSessionParametersCreateInfoKHR " << variable_name << " {" << std::endl; @@ -11133,11 +11133,11 @@ std::string GenerateStruct_VkVideoSessionParametersCreateInfoKHR(std::ostream &o std::string GenerateStruct_VkVideoSessionParametersUpdateInfoKHR(std::ostream &out, const VkVideoSessionParametersUpdateInfoKHR* structInfo, Decoded_VkVideoSessionParametersUpdateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* updateSequenceCount */ +// updateSequenceCount struct_body << "\t\t\t" << structInfo->updateSequenceCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoSessionParametersUpdateInfoKHR"); out << "\t\t" << "VkVideoSessionParametersUpdateInfoKHR " << variable_name << " {" << std::endl; @@ -11150,11 +11150,11 @@ std::string GenerateStruct_VkVideoSessionParametersUpdateInfoKHR(std::ostream &o std::string GenerateStruct_VkVideoDecodeCapabilitiesKHR(std::ostream &out, const VkVideoDecodeCapabilitiesKHR* structInfo, Decoded_VkVideoDecodeCapabilitiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoDecodeCapabilityFlagsKHR(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeCapabilitiesKHR"); out << "\t\t" << "VkVideoDecodeCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -11195,25 +11195,25 @@ std::string GenerateStruct_VkVideoDecodeInfoKHR(std::ostream &out, const VkVideo } out << "\t\t" << "VkVideoReferenceSlotInfoKHR " << preference_slots_array << "[] = {" << preference_slots_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoDecodeFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* srcBuffer */ +// srcBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcBuffer) << "," << std::endl; -/* srcBufferOffset */ +// srcBufferOffset struct_body << "\t\t\t" << structInfo->srcBufferOffset << "UL" << "," << std::endl; -/* srcBufferRange */ +// srcBufferRange struct_body << "\t\t\t" << structInfo->srcBufferRange << "UL" << "," << std::endl; -/* dstPictureResource */ +// dstPictureResource struct_body << "\t\t\t" << dst_picture_resource_info_var << "," << std::endl; -/* pSetupReferenceSlot */ +// pSetupReferenceSlot struct_body << "\t\t\t" << psetup_reference_slot_struct << "," << std::endl; -/* referenceSlotCount */ +// referenceSlotCount struct_body << "\t\t\t" << structInfo->referenceSlotCount << "," << std::endl; -/* pReferenceSlots */ +// pReferenceSlots struct_body << "\t\t\t" << preference_slots_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeInfoKHR"); out << "\t\t" << "VkVideoDecodeInfoKHR " << variable_name << " {" << std::endl; @@ -11226,11 +11226,11 @@ std::string GenerateStruct_VkVideoDecodeInfoKHR(std::ostream &out, const VkVideo std::string GenerateStruct_VkVideoDecodeUsageInfoKHR(std::ostream &out, const VkVideoDecodeUsageInfoKHR* structInfo, Decoded_VkVideoDecodeUsageInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* videoUsageHints */ +// videoUsageHints struct_body << "\t\t\t" << "VkVideoDecodeUsageFlagsKHR(" << structInfo->videoUsageHints << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeUsageInfoKHR"); out << "\t\t" << "VkVideoDecodeUsageInfoKHR " << variable_name << " {" << std::endl; @@ -11247,13 +11247,13 @@ std::string GenerateStruct_VkVideoDecodeH264CapabilitiesKHR(std::ostream &out, c &structInfo->fieldOffsetGranularity, metaInfo->fieldOffsetGranularity, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxLevelIdc */ +// maxLevelIdc struct_body << "\t\t\t" << "StdVideoH264LevelIdc(" << structInfo->maxLevelIdc << ")" << "," << std::endl; -/* fieldOffsetGranularity */ +// fieldOffsetGranularity struct_body << "\t\t\t" << field_offset_granularity_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH264CapabilitiesKHR"); out << "\t\t" << "VkVideoDecodeH264CapabilitiesKHR " << variable_name << " {" << std::endl; @@ -11274,11 +11274,11 @@ std::string GenerateStruct_VkVideoDecodeH264DpbSlotInfoKHR(std::ostream &out, co consumer); pstd_reference_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pStdReferenceInfo */ +// pStdReferenceInfo struct_body << "\t\t\t" << pstd_reference_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH264DpbSlotInfoKHR"); out << "\t\t" << "VkVideoDecodeH264DpbSlotInfoKHR " << variable_name << " {" << std::endl; @@ -11304,15 +11304,15 @@ std::string GenerateStruct_VkVideoDecodeH264PictureInfoKHR(std::ostream &out, co pslice_offsets_array = "pSliceOffsets_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pslice_offsets_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pSliceOffsets, structInfo->sliceCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pStdPictureInfo */ +// pStdPictureInfo struct_body << "\t\t\t" << pstd_picture_info_struct << "," << std::endl; -/* sliceCount */ +// sliceCount struct_body << "\t\t\t" << structInfo->sliceCount << "," << std::endl; -/* pSliceOffsets */ +// pSliceOffsets struct_body << "\t\t\t" << pslice_offsets_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH264PictureInfoKHR"); out << "\t\t" << "VkVideoDecodeH264PictureInfoKHR " << variable_name << " {" << std::endl; @@ -11325,13 +11325,13 @@ std::string GenerateStruct_VkVideoDecodeH264PictureInfoKHR(std::ostream &out, co std::string GenerateStruct_VkVideoDecodeH264ProfileInfoKHR(std::ostream &out, const VkVideoDecodeH264ProfileInfoKHR* structInfo, Decoded_VkVideoDecodeH264ProfileInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdProfileIdc */ +// stdProfileIdc struct_body << "\t\t\t" << "StdVideoH264ProfileIdc(" << structInfo->stdProfileIdc << ")" << "," << std::endl; -/* pictureLayout */ +// pictureLayout struct_body << "\t\t\t" << "VkVideoDecodeH264PictureLayoutFlagBitsKHR(" << structInfo->pictureLayout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH264ProfileInfoKHR"); out << "\t\t" << "VkVideoDecodeH264ProfileInfoKHR " << variable_name << " {" << std::endl; @@ -11376,17 +11376,17 @@ std::string GenerateStruct_VkVideoDecodeH264SessionParametersAddInfoKHR(std::ost } out << "\t\t" << "StdVideoH264PictureParameterSet " << pstd_pp_ss_array << "[] = {" << pstd_pp_ss_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdSPSCount */ +// stdSPSCount struct_body << "\t\t\t" << structInfo->stdSPSCount << "," << std::endl; -/* pStdSPSs */ +// pStdSPSs struct_body << "\t\t\t" << pstd_s_pss_array << "," << std::endl; -/* stdPPSCount */ +// stdPPSCount struct_body << "\t\t\t" << structInfo->stdPPSCount << "," << std::endl; -/* pStdPPSs */ +// pStdPPSs struct_body << "\t\t\t" << pstd_pp_ss_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH264SessionParametersAddInfoKHR"); out << "\t\t" << "VkVideoDecodeH264SessionParametersAddInfoKHR " << variable_name << " {" << std::endl; @@ -11407,15 +11407,15 @@ std::string GenerateStruct_VkVideoDecodeH264SessionParametersCreateInfoKHR(std:: consumer); pparameters_add_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxStdSPSCount */ +// maxStdSPSCount struct_body << "\t\t\t" << structInfo->maxStdSPSCount << "," << std::endl; -/* maxStdPPSCount */ +// maxStdPPSCount struct_body << "\t\t\t" << structInfo->maxStdPPSCount << "," << std::endl; -/* pParametersAddInfo */ +// pParametersAddInfo struct_body << "\t\t\t" << pparameters_add_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH264SessionParametersCreateInfoKHR"); out << "\t\t" << "VkVideoDecodeH264SessionParametersCreateInfoKHR " << variable_name << " {" << std::endl; @@ -11437,15 +11437,15 @@ std::string GenerateStruct_VkAttachmentSampleCountInfoAMD(std::ostream &out, con pcolor_attachment_samples_array = "pColorAttachmentSamples_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkSampleCountFlagBits " << pcolor_attachment_samples_array << "[] = {" << pcolor_attachment_samples_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* colorAttachmentCount */ +// colorAttachmentCount struct_body << "\t\t\t" << structInfo->colorAttachmentCount << "," << std::endl; -/* pColorAttachmentSamples */ +// pColorAttachmentSamples struct_body << "\t\t\t" << pcolor_attachment_samples_array << "," << std::endl; -/* depthStencilAttachmentSamples */ +// depthStencilAttachmentSamples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->depthStencilAttachmentSamples << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentSampleCountInfoAMD"); out << "\t\t" << "VkAttachmentSampleCountInfoAMD " << variable_name << " {" << std::endl; @@ -11458,13 +11458,13 @@ std::string GenerateStruct_VkAttachmentSampleCountInfoAMD(std::ostream &out, con std::string GenerateStruct_VkMultiviewPerViewAttributesInfoNVX(std::ostream &out, const VkMultiviewPerViewAttributesInfoNVX* structInfo, Decoded_VkMultiviewPerViewAttributesInfoNVX* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* perViewAttributes */ +// perViewAttributes struct_body << "\t\t\t" << structInfo->perViewAttributes << "," << std::endl; -/* perViewAttributesPositionXOnly */ +// perViewAttributesPositionXOnly struct_body << "\t\t\t" << structInfo->perViewAttributesPositionXOnly << ","; std::string variable_name = consumer.AddStruct(struct_body, "multiviewPerViewAttributesInfoNVX"); out << "\t\t" << "VkMultiviewPerViewAttributesInfoNVX " << variable_name << " {" << std::endl; @@ -11477,13 +11477,13 @@ std::string GenerateStruct_VkMultiviewPerViewAttributesInfoNVX(std::ostream &out std::string GenerateStruct_VkRenderingFragmentDensityMapAttachmentInfoEXT(std::ostream &out, const VkRenderingFragmentDensityMapAttachmentInfoEXT* structInfo, Decoded_VkRenderingFragmentDensityMapAttachmentInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageView */ +// imageView struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->imageView) << "," << std::endl; -/* imageLayout */ +// imageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->imageLayout << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderingFragmentDensityMapAttachmentInfoEXT"); out << "\t\t" << "VkRenderingFragmentDensityMapAttachmentInfoEXT " << variable_name << " {" << std::endl; @@ -11500,15 +11500,15 @@ std::string GenerateStruct_VkRenderingFragmentShadingRateAttachmentInfoKHR(std:: &structInfo->shadingRateAttachmentTexelSize, metaInfo->shadingRateAttachmentTexelSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageView */ +// imageView struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->imageView) << "," << std::endl; -/* imageLayout */ +// imageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->imageLayout << ")" << "," << std::endl; -/* shadingRateAttachmentTexelSize */ +// shadingRateAttachmentTexelSize struct_body << "\t\t\t" << shading_rate_attachment_texel_size_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderingFragmentShadingRateAttachmentInfoKHR"); out << "\t\t" << "VkRenderingFragmentShadingRateAttachmentInfoKHR " << variable_name << " {" << std::endl; @@ -11521,15 +11521,15 @@ std::string GenerateStruct_VkRenderingFragmentShadingRateAttachmentInfoKHR(std:: std::string GenerateStruct_VkExportMemoryWin32HandleInfoKHR(std::ostream &out, const VkExportMemoryWin32HandleInfoKHR* structInfo, Decoded_VkExportMemoryWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pAttributes */ +// pAttributes struct_body << "\t\t\t" << structInfo->pAttributes << "," << std::endl; -/* dwAccess */ +// dwAccess struct_body << "\t\t\t" << structInfo->dwAccess << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << structInfo->name << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportMemoryWin32HandleInfoKHR"); out << "\t\t" << "VkExportMemoryWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -11542,15 +11542,15 @@ std::string GenerateStruct_VkExportMemoryWin32HandleInfoKHR(std::ostream &out, c std::string GenerateStruct_VkImportMemoryWin32HandleInfoKHR(std::ostream &out, const VkImportMemoryWin32HandleInfoKHR* structInfo, Decoded_VkImportMemoryWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* handle */ +// handle struct_body << "\t\t\t" << structInfo->handle << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << structInfo->name << ","; std::string variable_name = consumer.AddStruct(struct_body, "importMemoryWin32HandleInfoKHR"); out << "\t\t" << "VkImportMemoryWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -11563,13 +11563,13 @@ std::string GenerateStruct_VkImportMemoryWin32HandleInfoKHR(std::ostream &out, c std::string GenerateStruct_VkMemoryGetWin32HandleInfoKHR(std::ostream &out, const VkMemoryGetWin32HandleInfoKHR* structInfo, Decoded_VkMemoryGetWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryGetWin32HandleInfoKHR"); out << "\t\t" << "VkMemoryGetWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -11582,11 +11582,11 @@ std::string GenerateStruct_VkMemoryGetWin32HandleInfoKHR(std::ostream &out, cons std::string GenerateStruct_VkMemoryWin32HandlePropertiesKHR(std::ostream &out, const VkMemoryWin32HandlePropertiesKHR* structInfo, Decoded_VkMemoryWin32HandlePropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryTypeBits */ +// memoryTypeBits struct_body << "\t\t\t" << structInfo->memoryTypeBits << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryWin32HandlePropertiesKHR"); out << "\t\t" << "VkMemoryWin32HandlePropertiesKHR " << variable_name << " {" << std::endl; @@ -11599,13 +11599,13 @@ std::string GenerateStruct_VkMemoryWin32HandlePropertiesKHR(std::ostream &out, c std::string GenerateStruct_VkImportMemoryFdInfoKHR(std::ostream &out, const VkImportMemoryFdInfoKHR* structInfo, Decoded_VkImportMemoryFdInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* fd */ +// fd struct_body << "\t\t\t" << structInfo->fd << ","; std::string variable_name = consumer.AddStruct(struct_body, "importMemoryFdInfoKHR"); out << "\t\t" << "VkImportMemoryFdInfoKHR " << variable_name << " {" << std::endl; @@ -11618,11 +11618,11 @@ std::string GenerateStruct_VkImportMemoryFdInfoKHR(std::ostream &out, const VkIm std::string GenerateStruct_VkMemoryFdPropertiesKHR(std::ostream &out, const VkMemoryFdPropertiesKHR* structInfo, Decoded_VkMemoryFdPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryTypeBits */ +// memoryTypeBits struct_body << "\t\t\t" << structInfo->memoryTypeBits << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryFdPropertiesKHR"); out << "\t\t" << "VkMemoryFdPropertiesKHR " << variable_name << " {" << std::endl; @@ -11635,13 +11635,13 @@ std::string GenerateStruct_VkMemoryFdPropertiesKHR(std::ostream &out, const VkMe std::string GenerateStruct_VkMemoryGetFdInfoKHR(std::ostream &out, const VkMemoryGetFdInfoKHR* structInfo, Decoded_VkMemoryGetFdInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryGetFdInfoKHR"); out << "\t\t" << "VkMemoryGetFdInfoKHR " << variable_name << " {" << std::endl; @@ -11709,23 +11709,23 @@ std::string GenerateStruct_VkWin32KeyedMutexAcquireReleaseInfoKHR(std::ostream & out << "\t\t" << "uint64_t " << prelease_keys_array << "[] = {" << prelease_keys_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* acquireCount */ +// acquireCount struct_body << "\t\t\t" << structInfo->acquireCount << "," << std::endl; -/* pAcquireSyncs */ +// pAcquireSyncs struct_body << "\t\t\t" << pacquire_syncs_array << "," << std::endl; -/* pAcquireKeys */ +// pAcquireKeys struct_body << "\t\t\t" << "{ *" << pacquire_keys_array << " }" << "," << std::endl; -/* pAcquireTimeouts */ +// pAcquireTimeouts struct_body << "\t\t\t" << pacquire_timeouts_array << "," << std::endl; -/* releaseCount */ +// releaseCount struct_body << "\t\t\t" << structInfo->releaseCount << "," << std::endl; -/* pReleaseSyncs */ +// pReleaseSyncs struct_body << "\t\t\t" << prelease_syncs_array << "," << std::endl; -/* pReleaseKeys */ +// pReleaseKeys struct_body << "\t\t\t" << "{ *" << prelease_keys_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "win32KeyedMutexAcquireReleaseInfoKHR"); out << "\t\t" << "VkWin32KeyedMutexAcquireReleaseInfoKHR " << variable_name << " {" << std::endl; @@ -11762,17 +11762,17 @@ std::string GenerateStruct_VkD3D12FenceSubmitInfoKHR(std::ostream &out, const Vk out << "\t\t" << "uint64_t " << psignal_semaphore_values_array << "[] = {" << psignal_semaphore_values_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* waitSemaphoreValuesCount */ +// waitSemaphoreValuesCount struct_body << "\t\t\t" << structInfo->waitSemaphoreValuesCount << "," << std::endl; -/* pWaitSemaphoreValues */ +// pWaitSemaphoreValues struct_body << "\t\t\t" << "{ *" << pwait_semaphore_values_array << " }" << "," << std::endl; -/* signalSemaphoreValuesCount */ +// signalSemaphoreValuesCount struct_body << "\t\t\t" << structInfo->signalSemaphoreValuesCount << "," << std::endl; -/* pSignalSemaphoreValues */ +// pSignalSemaphoreValues struct_body << "\t\t\t" << "{ *" << psignal_semaphore_values_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "d3D12FenceSubmitInfoKHR"); out << "\t\t" << "VkD3D12FenceSubmitInfoKHR " << variable_name << " {" << std::endl; @@ -11785,15 +11785,15 @@ std::string GenerateStruct_VkD3D12FenceSubmitInfoKHR(std::ostream &out, const Vk std::string GenerateStruct_VkExportSemaphoreWin32HandleInfoKHR(std::ostream &out, const VkExportSemaphoreWin32HandleInfoKHR* structInfo, Decoded_VkExportSemaphoreWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pAttributes */ +// pAttributes struct_body << "\t\t\t" << structInfo->pAttributes << "," << std::endl; -/* dwAccess */ +// dwAccess struct_body << "\t\t\t" << structInfo->dwAccess << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << structInfo->name << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportSemaphoreWin32HandleInfoKHR"); out << "\t\t" << "VkExportSemaphoreWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -11806,19 +11806,19 @@ std::string GenerateStruct_VkExportSemaphoreWin32HandleInfoKHR(std::ostream &out std::string GenerateStruct_VkImportSemaphoreWin32HandleInfoKHR(std::ostream &out, const VkImportSemaphoreWin32HandleInfoKHR* structInfo, Decoded_VkImportSemaphoreWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSemaphoreImportFlags(" << structInfo->flags << ")" << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* handle */ +// handle struct_body << "\t\t\t" << structInfo->handle << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << structInfo->name << ","; std::string variable_name = consumer.AddStruct(struct_body, "importSemaphoreWin32HandleInfoKHR"); out << "\t\t" << "VkImportSemaphoreWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -11831,13 +11831,13 @@ std::string GenerateStruct_VkImportSemaphoreWin32HandleInfoKHR(std::ostream &out std::string GenerateStruct_VkSemaphoreGetWin32HandleInfoKHR(std::ostream &out, const VkSemaphoreGetWin32HandleInfoKHR* structInfo, Decoded_VkSemaphoreGetWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreGetWin32HandleInfoKHR"); out << "\t\t" << "VkSemaphoreGetWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -11850,17 +11850,17 @@ std::string GenerateStruct_VkSemaphoreGetWin32HandleInfoKHR(std::ostream &out, c std::string GenerateStruct_VkImportSemaphoreFdInfoKHR(std::ostream &out, const VkImportSemaphoreFdInfoKHR* structInfo, Decoded_VkImportSemaphoreFdInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSemaphoreImportFlags(" << structInfo->flags << ")" << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* fd */ +// fd struct_body << "\t\t\t" << structInfo->fd << ","; std::string variable_name = consumer.AddStruct(struct_body, "importSemaphoreFdInfoKHR"); out << "\t\t" << "VkImportSemaphoreFdInfoKHR " << variable_name << " {" << std::endl; @@ -11873,13 +11873,13 @@ std::string GenerateStruct_VkImportSemaphoreFdInfoKHR(std::ostream &out, const V std::string GenerateStruct_VkSemaphoreGetFdInfoKHR(std::ostream &out, const VkSemaphoreGetFdInfoKHR* structInfo, Decoded_VkSemaphoreGetFdInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreGetFdInfoKHR"); out << "\t\t" << "VkSemaphoreGetFdInfoKHR " << variable_name << " {" << std::endl; @@ -11892,11 +11892,11 @@ std::string GenerateStruct_VkSemaphoreGetFdInfoKHR(std::ostream &out, const VkSe std::string GenerateStruct_VkPhysicalDevicePushDescriptorPropertiesKHR(std::ostream &out, const VkPhysicalDevicePushDescriptorPropertiesKHR* structInfo, Decoded_VkPhysicalDevicePushDescriptorPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxPushDescriptors */ +// maxPushDescriptors struct_body << "\t\t\t" << structInfo->maxPushDescriptors << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePushDescriptorPropertiesKHR"); out << "\t\t" << "VkPhysicalDevicePushDescriptorPropertiesKHR " << variable_name << " {" << std::endl; @@ -11924,9 +11924,9 @@ std::string GenerateStruct_VkPresentRegionKHR(std::ostream &out, const VkPresent } out << "\t\t" << "VkRectLayerKHR " << prectangles_array << "[] = {" << prectangles_names << "};" << std::endl; } -/* rectangleCount */ +// rectangleCount struct_body << "\t" << structInfo->rectangleCount << "," << std::endl; -/* pRectangles */ +// pRectangles struct_body << "\t\t\t" << prectangles_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "presentRegionKHR"); out << "\t\t" << "VkPresentRegionKHR " << variable_name << " {" << std::endl; @@ -11955,13 +11955,13 @@ std::string GenerateStruct_VkPresentRegionsKHR(std::ostream &out, const VkPresen } out << "\t\t" << "VkPresentRegionKHR " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchainCount */ +// swapchainCount struct_body << "\t\t\t" << structInfo->swapchainCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "presentRegionsKHR"); out << "\t\t" << "VkPresentRegionsKHR " << variable_name << " {" << std::endl; @@ -11981,11 +11981,11 @@ std::string GenerateStruct_VkRectLayerKHR(std::ostream &out, const VkRectLayerKH &structInfo->extent, metaInfo->extent, consumer); -/* offset */ +// offset struct_body << "\t" << offset_info_var << "," << std::endl; -/* extent */ +// extent struct_body << "\t\t\t" << extent_info_var << "," << std::endl; -/* layer */ +// layer struct_body << "\t\t\t" << structInfo->layer << ","; std::string variable_name = consumer.AddStruct(struct_body, "rectLayerKHR"); out << "\t\t" << "VkRectLayerKHR " << variable_name << " {" << std::endl; @@ -11998,11 +11998,11 @@ std::string GenerateStruct_VkRectLayerKHR(std::ostream &out, const VkRectLayerKH std::string GenerateStruct_VkSharedPresentSurfaceCapabilitiesKHR(std::ostream &out, const VkSharedPresentSurfaceCapabilitiesKHR* structInfo, Decoded_VkSharedPresentSurfaceCapabilitiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* sharedPresentSupportedUsageFlags */ +// sharedPresentSupportedUsageFlags struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->sharedPresentSupportedUsageFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "sharedPresentSurfaceCapabilitiesKHR"); out << "\t\t" << "VkSharedPresentSurfaceCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -12015,15 +12015,15 @@ std::string GenerateStruct_VkSharedPresentSurfaceCapabilitiesKHR(std::ostream &o std::string GenerateStruct_VkExportFenceWin32HandleInfoKHR(std::ostream &out, const VkExportFenceWin32HandleInfoKHR* structInfo, Decoded_VkExportFenceWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pAttributes */ +// pAttributes struct_body << "\t\t\t" << structInfo->pAttributes << "," << std::endl; -/* dwAccess */ +// dwAccess struct_body << "\t\t\t" << structInfo->dwAccess << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << structInfo->name << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportFenceWin32HandleInfoKHR"); out << "\t\t" << "VkExportFenceWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -12036,13 +12036,13 @@ std::string GenerateStruct_VkExportFenceWin32HandleInfoKHR(std::ostream &out, co std::string GenerateStruct_VkFenceGetWin32HandleInfoKHR(std::ostream &out, const VkFenceGetWin32HandleInfoKHR* structInfo, Decoded_VkFenceGetWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fence */ +// fence struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->fence) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "fenceGetWin32HandleInfoKHR"); out << "\t\t" << "VkFenceGetWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -12055,19 +12055,19 @@ std::string GenerateStruct_VkFenceGetWin32HandleInfoKHR(std::ostream &out, const std::string GenerateStruct_VkImportFenceWin32HandleInfoKHR(std::ostream &out, const VkImportFenceWin32HandleInfoKHR* structInfo, Decoded_VkImportFenceWin32HandleInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fence */ +// fence struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->fence) << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkFenceImportFlags(" << structInfo->flags << ")" << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* handle */ +// handle struct_body << "\t\t\t" << structInfo->handle << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << structInfo->name << ","; std::string variable_name = consumer.AddStruct(struct_body, "importFenceWin32HandleInfoKHR"); out << "\t\t" << "VkImportFenceWin32HandleInfoKHR " << variable_name << " {" << std::endl; @@ -12080,13 +12080,13 @@ std::string GenerateStruct_VkImportFenceWin32HandleInfoKHR(std::ostream &out, co std::string GenerateStruct_VkFenceGetFdInfoKHR(std::ostream &out, const VkFenceGetFdInfoKHR* structInfo, Decoded_VkFenceGetFdInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fence */ +// fence struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->fence) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "fenceGetFdInfoKHR"); out << "\t\t" << "VkFenceGetFdInfoKHR " << variable_name << " {" << std::endl; @@ -12099,17 +12099,17 @@ std::string GenerateStruct_VkFenceGetFdInfoKHR(std::ostream &out, const VkFenceG std::string GenerateStruct_VkImportFenceFdInfoKHR(std::ostream &out, const VkImportFenceFdInfoKHR* structInfo, Decoded_VkImportFenceFdInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fence */ +// fence struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->fence) << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkFenceImportFlags(" << structInfo->flags << ")" << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalFenceHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* fd */ +// fd struct_body << "\t\t\t" << structInfo->fd << ","; std::string variable_name = consumer.AddStruct(struct_body, "importFenceFdInfoKHR"); out << "\t\t" << "VkImportFenceFdInfoKHR " << variable_name << " {" << std::endl; @@ -12122,13 +12122,13 @@ std::string GenerateStruct_VkImportFenceFdInfoKHR(std::ostream &out, const VkImp std::string GenerateStruct_VkAcquireProfilingLockInfoKHR(std::ostream &out, const VkAcquireProfilingLockInfoKHR* structInfo, Decoded_VkAcquireProfilingLockInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkAcquireProfilingLockFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* timeout */ +// timeout struct_body << "\t\t\t" << structInfo->timeout << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "acquireProfilingLockInfoKHR"); out << "\t\t" << "VkAcquireProfilingLockInfoKHR " << variable_name << " {" << std::endl; @@ -12141,17 +12141,17 @@ std::string GenerateStruct_VkAcquireProfilingLockInfoKHR(std::ostream &out, cons std::string GenerateStruct_VkPerformanceCounterDescriptionKHR(std::ostream &out, const VkPerformanceCounterDescriptionKHR* structInfo, Decoded_VkPerformanceCounterDescriptionKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPerformanceCounterDescriptionFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->name) << "," << std::endl; -/* category */ +// category struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->category) << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceCounterDescriptionKHR"); out << "\t\t" << "VkPerformanceCounterDescriptionKHR " << variable_name << " {" << std::endl; @@ -12164,17 +12164,17 @@ std::string GenerateStruct_VkPerformanceCounterDescriptionKHR(std::ostream &out, std::string GenerateStruct_VkPerformanceCounterKHR(std::ostream &out, const VkPerformanceCounterKHR* structInfo, Decoded_VkPerformanceCounterKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* unit */ +// unit struct_body << "\t\t\t" << "VkPerformanceCounterUnitKHR(" << structInfo->unit << ")" << "," << std::endl; -/* scope */ +// scope struct_body << "\t\t\t" << "VkPerformanceCounterScopeKHR(" << structInfo->scope << ")" << "," << std::endl; -/* storage */ +// storage struct_body << "\t\t\t" << "VkPerformanceCounterStorageKHR(" << structInfo->storage << ")" << "," << std::endl; -/* uuid */ +// uuid struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->uuid[0]), VK_UUID_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceCounterKHR"); out << "\t\t" << "VkPerformanceCounterKHR " << variable_name << " {" << std::endl; @@ -12187,11 +12187,11 @@ std::string GenerateStruct_VkPerformanceCounterKHR(std::ostream &out, const VkPe std::string GenerateStruct_VkPerformanceQuerySubmitInfoKHR(std::ostream &out, const VkPerformanceQuerySubmitInfoKHR* structInfo, Decoded_VkPerformanceQuerySubmitInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* counterPassIndex */ +// counterPassIndex struct_body << "\t\t\t" << structInfo->counterPassIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceQuerySubmitInfoKHR"); out << "\t\t" << "VkPerformanceQuerySubmitInfoKHR " << variable_name << " {" << std::endl; @@ -12204,13 +12204,13 @@ std::string GenerateStruct_VkPerformanceQuerySubmitInfoKHR(std::ostream &out, co std::string GenerateStruct_VkPhysicalDevicePerformanceQueryFeaturesKHR(std::ostream &out, const VkPhysicalDevicePerformanceQueryFeaturesKHR* structInfo, Decoded_VkPhysicalDevicePerformanceQueryFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* performanceCounterQueryPools */ +// performanceCounterQueryPools struct_body << "\t\t\t" << structInfo->performanceCounterQueryPools << "," << std::endl; -/* performanceCounterMultipleQueryPools */ +// performanceCounterMultipleQueryPools struct_body << "\t\t\t" << structInfo->performanceCounterMultipleQueryPools << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePerformanceQueryFeaturesKHR"); out << "\t\t" << "VkPhysicalDevicePerformanceQueryFeaturesKHR " << variable_name << " {" << std::endl; @@ -12223,11 +12223,11 @@ std::string GenerateStruct_VkPhysicalDevicePerformanceQueryFeaturesKHR(std::ostr std::string GenerateStruct_VkPhysicalDevicePerformanceQueryPropertiesKHR(std::ostream &out, const VkPhysicalDevicePerformanceQueryPropertiesKHR* structInfo, Decoded_VkPhysicalDevicePerformanceQueryPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* allowCommandBufferQueryCopies */ +// allowCommandBufferQueryCopies struct_body << "\t\t\t" << structInfo->allowCommandBufferQueryCopies << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePerformanceQueryPropertiesKHR"); out << "\t\t" << "VkPhysicalDevicePerformanceQueryPropertiesKHR " << variable_name << " {" << std::endl; @@ -12245,15 +12245,15 @@ std::string GenerateStruct_VkQueryPoolPerformanceCreateInfoKHR(std::ostream &out pcounter_indices_array = "pCounterIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pcounter_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pCounterIndices, structInfo->counterIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* queueFamilyIndex */ +// queueFamilyIndex struct_body << "\t\t\t" << structInfo->queueFamilyIndex << "," << std::endl; -/* counterIndexCount */ +// counterIndexCount struct_body << "\t\t\t" << structInfo->counterIndexCount << "," << std::endl; -/* pCounterIndices */ +// pCounterIndices struct_body << "\t\t\t" << pcounter_indices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "queryPoolPerformanceCreateInfoKHR"); out << "\t\t" << "VkQueryPoolPerformanceCreateInfoKHR " << variable_name << " {" << std::endl; @@ -12266,11 +12266,11 @@ std::string GenerateStruct_VkQueryPoolPerformanceCreateInfoKHR(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceSurfaceInfo2KHR(std::ostream &out, const VkPhysicalDeviceSurfaceInfo2KHR* structInfo, Decoded_VkPhysicalDeviceSurfaceInfo2KHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* surface */ +// surface struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->surface) << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSurfaceInfo2KHR"); out << "\t\t" << "VkPhysicalDeviceSurfaceInfo2KHR " << variable_name << " {" << std::endl; @@ -12287,11 +12287,11 @@ std::string GenerateStruct_VkSurfaceCapabilities2KHR(std::ostream &out, const Vk &structInfo->surfaceCapabilities, metaInfo->surfaceCapabilities, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* surfaceCapabilities */ +// surfaceCapabilities struct_body << "\t\t\t" << surface_capabilities_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceCapabilities2KHR"); out << "\t\t" << "VkSurfaceCapabilities2KHR " << variable_name << " {" << std::endl; @@ -12308,11 +12308,11 @@ std::string GenerateStruct_VkSurfaceFormat2KHR(std::ostream &out, const VkSurfac &structInfo->surfaceFormat, metaInfo->surfaceFormat, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* surfaceFormat */ +// surfaceFormat struct_body << "\t\t\t" << surface_format_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceFormat2KHR"); out << "\t\t" << "VkSurfaceFormat2KHR " << variable_name << " {" << std::endl; @@ -12329,11 +12329,11 @@ std::string GenerateStruct_VkDisplayModeProperties2KHR(std::ostream &out, const &structInfo->displayModeProperties, metaInfo->displayModeProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* displayModeProperties */ +// displayModeProperties struct_body << "\t\t\t" << display_mode_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayModeProperties2KHR"); out << "\t\t" << "VkDisplayModeProperties2KHR " << variable_name << " {" << std::endl; @@ -12350,11 +12350,11 @@ std::string GenerateStruct_VkDisplayPlaneCapabilities2KHR(std::ostream &out, con &structInfo->capabilities, metaInfo->capabilities, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* capabilities */ +// capabilities struct_body << "\t\t\t" << capabilities_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPlaneCapabilities2KHR"); out << "\t\t" << "VkDisplayPlaneCapabilities2KHR " << variable_name << " {" << std::endl; @@ -12367,13 +12367,13 @@ std::string GenerateStruct_VkDisplayPlaneCapabilities2KHR(std::ostream &out, con std::string GenerateStruct_VkDisplayPlaneInfo2KHR(std::ostream &out, const VkDisplayPlaneInfo2KHR* structInfo, Decoded_VkDisplayPlaneInfo2KHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->mode) << "," << std::endl; -/* planeIndex */ +// planeIndex struct_body << "\t\t\t" << structInfo->planeIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPlaneInfo2KHR"); out << "\t\t" << "VkDisplayPlaneInfo2KHR " << variable_name << " {" << std::endl; @@ -12390,11 +12390,11 @@ std::string GenerateStruct_VkDisplayPlaneProperties2KHR(std::ostream &out, const &structInfo->displayPlaneProperties, metaInfo->displayPlaneProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* displayPlaneProperties */ +// displayPlaneProperties struct_body << "\t\t\t" << display_plane_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPlaneProperties2KHR"); out << "\t\t" << "VkDisplayPlaneProperties2KHR " << variable_name << " {" << std::endl; @@ -12411,11 +12411,11 @@ std::string GenerateStruct_VkDisplayProperties2KHR(std::ostream &out, const VkDi &structInfo->displayProperties, metaInfo->displayProperties, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* displayProperties */ +// displayProperties struct_body << "\t\t\t" << display_properties_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayProperties2KHR"); out << "\t\t" << "VkDisplayProperties2KHR " << variable_name << " {" << std::endl; @@ -12428,39 +12428,39 @@ std::string GenerateStruct_VkDisplayProperties2KHR(std::ostream &out, const VkDi std::string GenerateStruct_VkPhysicalDevicePortabilitySubsetFeaturesKHR(std::ostream &out, const VkPhysicalDevicePortabilitySubsetFeaturesKHR* structInfo, Decoded_VkPhysicalDevicePortabilitySubsetFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* constantAlphaColorBlendFactors */ +// constantAlphaColorBlendFactors struct_body << "\t\t\t" << structInfo->constantAlphaColorBlendFactors << "," << std::endl; -/* events */ +// events struct_body << "\t\t\t" << structInfo->events << "," << std::endl; -/* imageViewFormatReinterpretation */ +// imageViewFormatReinterpretation struct_body << "\t\t\t" << structInfo->imageViewFormatReinterpretation << "," << std::endl; -/* imageViewFormatSwizzle */ +// imageViewFormatSwizzle struct_body << "\t\t\t" << structInfo->imageViewFormatSwizzle << "," << std::endl; -/* imageView2DOn3DImage */ +// imageView2DOn3DImage struct_body << "\t\t\t" << structInfo->imageView2DOn3DImage << "," << std::endl; -/* multisampleArrayImage */ +// multisampleArrayImage struct_body << "\t\t\t" << structInfo->multisampleArrayImage << "," << std::endl; -/* mutableComparisonSamplers */ +// mutableComparisonSamplers struct_body << "\t\t\t" << structInfo->mutableComparisonSamplers << "," << std::endl; -/* pointPolygons */ +// pointPolygons struct_body << "\t\t\t" << structInfo->pointPolygons << "," << std::endl; -/* samplerMipLodBias */ +// samplerMipLodBias struct_body << "\t\t\t" << structInfo->samplerMipLodBias << "," << std::endl; -/* separateStencilMaskRef */ +// separateStencilMaskRef struct_body << "\t\t\t" << structInfo->separateStencilMaskRef << "," << std::endl; -/* shaderSampleRateInterpolationFunctions */ +// shaderSampleRateInterpolationFunctions struct_body << "\t\t\t" << structInfo->shaderSampleRateInterpolationFunctions << "," << std::endl; -/* tessellationIsolines */ +// tessellationIsolines struct_body << "\t\t\t" << structInfo->tessellationIsolines << "," << std::endl; -/* tessellationPointMode */ +// tessellationPointMode struct_body << "\t\t\t" << structInfo->tessellationPointMode << "," << std::endl; -/* triangleFans */ +// triangleFans struct_body << "\t\t\t" << structInfo->triangleFans << "," << std::endl; -/* vertexAttributeAccessBeyondStride */ +// vertexAttributeAccessBeyondStride struct_body << "\t\t\t" << structInfo->vertexAttributeAccessBeyondStride << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePortabilitySubsetFeaturesKHR"); out << "\t\t" << "VkPhysicalDevicePortabilitySubsetFeaturesKHR " << variable_name << " {" << std::endl; @@ -12473,11 +12473,11 @@ std::string GenerateStruct_VkPhysicalDevicePortabilitySubsetFeaturesKHR(std::ost std::string GenerateStruct_VkPhysicalDevicePortabilitySubsetPropertiesKHR(std::ostream &out, const VkPhysicalDevicePortabilitySubsetPropertiesKHR* structInfo, Decoded_VkPhysicalDevicePortabilitySubsetPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minVertexInputBindingStrideAlignment */ +// minVertexInputBindingStrideAlignment struct_body << "\t\t\t" << structInfo->minVertexInputBindingStrideAlignment << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePortabilitySubsetPropertiesKHR"); out << "\t\t" << "VkPhysicalDevicePortabilitySubsetPropertiesKHR " << variable_name << " {" << std::endl; @@ -12490,13 +12490,13 @@ std::string GenerateStruct_VkPhysicalDevicePortabilitySubsetPropertiesKHR(std::o std::string GenerateStruct_VkPhysicalDeviceShaderClockFeaturesKHR(std::ostream &out, const VkPhysicalDeviceShaderClockFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceShaderClockFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderSubgroupClock */ +// shaderSubgroupClock struct_body << "\t\t\t" << structInfo->shaderSubgroupClock << "," << std::endl; -/* shaderDeviceClock */ +// shaderDeviceClock struct_body << "\t\t\t" << structInfo->shaderDeviceClock << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderClockFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceShaderClockFeaturesKHR " << variable_name << " {" << std::endl; @@ -12509,11 +12509,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderClockFeaturesKHR(std::ostream & std::string GenerateStruct_VkVideoDecodeH265CapabilitiesKHR(std::ostream &out, const VkVideoDecodeH265CapabilitiesKHR* structInfo, Decoded_VkVideoDecodeH265CapabilitiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxLevelIdc */ +// maxLevelIdc struct_body << "\t\t\t" << "StdVideoH265LevelIdc(" << structInfo->maxLevelIdc << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH265CapabilitiesKHR"); out << "\t\t" << "VkVideoDecodeH265CapabilitiesKHR " << variable_name << " {" << std::endl; @@ -12534,11 +12534,11 @@ std::string GenerateStruct_VkVideoDecodeH265DpbSlotInfoKHR(std::ostream &out, co consumer); pstd_reference_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pStdReferenceInfo */ +// pStdReferenceInfo struct_body << "\t\t\t" << pstd_reference_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH265DpbSlotInfoKHR"); out << "\t\t" << "VkVideoDecodeH265DpbSlotInfoKHR " << variable_name << " {" << std::endl; @@ -12564,15 +12564,15 @@ std::string GenerateStruct_VkVideoDecodeH265PictureInfoKHR(std::ostream &out, co pslice_segment_offsets_array = "pSliceSegmentOffsets_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pslice_segment_offsets_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pSliceSegmentOffsets, structInfo->sliceSegmentCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pStdPictureInfo */ +// pStdPictureInfo struct_body << "\t\t\t" << pstd_picture_info_struct << "," << std::endl; -/* sliceSegmentCount */ +// sliceSegmentCount struct_body << "\t\t\t" << structInfo->sliceSegmentCount << "," << std::endl; -/* pSliceSegmentOffsets */ +// pSliceSegmentOffsets struct_body << "\t\t\t" << pslice_segment_offsets_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH265PictureInfoKHR"); out << "\t\t" << "VkVideoDecodeH265PictureInfoKHR " << variable_name << " {" << std::endl; @@ -12585,11 +12585,11 @@ std::string GenerateStruct_VkVideoDecodeH265PictureInfoKHR(std::ostream &out, co std::string GenerateStruct_VkVideoDecodeH265ProfileInfoKHR(std::ostream &out, const VkVideoDecodeH265ProfileInfoKHR* structInfo, Decoded_VkVideoDecodeH265ProfileInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdProfileIdc */ +// stdProfileIdc struct_body << "\t\t\t" << "StdVideoH265ProfileIdc(" << structInfo->stdProfileIdc << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH265ProfileInfoKHR"); out << "\t\t" << "VkVideoDecodeH265ProfileInfoKHR " << variable_name << " {" << std::endl; @@ -12650,21 +12650,21 @@ std::string GenerateStruct_VkVideoDecodeH265SessionParametersAddInfoKHR(std::ost } out << "\t\t" << "StdVideoH265PictureParameterSet " << pstd_pp_ss_array << "[] = {" << pstd_pp_ss_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdVPSCount */ +// stdVPSCount struct_body << "\t\t\t" << structInfo->stdVPSCount << "," << std::endl; -/* pStdVPSs */ +// pStdVPSs struct_body << "\t\t\t" << pstd_v_pss_array << "," << std::endl; -/* stdSPSCount */ +// stdSPSCount struct_body << "\t\t\t" << structInfo->stdSPSCount << "," << std::endl; -/* pStdSPSs */ +// pStdSPSs struct_body << "\t\t\t" << pstd_s_pss_array << "," << std::endl; -/* stdPPSCount */ +// stdPPSCount struct_body << "\t\t\t" << structInfo->stdPPSCount << "," << std::endl; -/* pStdPPSs */ +// pStdPPSs struct_body << "\t\t\t" << pstd_pp_ss_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH265SessionParametersAddInfoKHR"); out << "\t\t" << "VkVideoDecodeH265SessionParametersAddInfoKHR " << variable_name << " {" << std::endl; @@ -12685,17 +12685,17 @@ std::string GenerateStruct_VkVideoDecodeH265SessionParametersCreateInfoKHR(std:: consumer); pparameters_add_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxStdVPSCount */ +// maxStdVPSCount struct_body << "\t\t\t" << structInfo->maxStdVPSCount << "," << std::endl; -/* maxStdSPSCount */ +// maxStdSPSCount struct_body << "\t\t\t" << structInfo->maxStdSPSCount << "," << std::endl; -/* maxStdPPSCount */ +// maxStdPPSCount struct_body << "\t\t\t" << structInfo->maxStdPPSCount << "," << std::endl; -/* pParametersAddInfo */ +// pParametersAddInfo struct_body << "\t\t\t" << pparameters_add_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoDecodeH265SessionParametersCreateInfoKHR"); out << "\t\t" << "VkVideoDecodeH265SessionParametersCreateInfoKHR " << variable_name << " {" << std::endl; @@ -12708,11 +12708,11 @@ std::string GenerateStruct_VkVideoDecodeH265SessionParametersCreateInfoKHR(std:: std::string GenerateStruct_VkDeviceQueueGlobalPriorityCreateInfoKHR(std::ostream &out, const VkDeviceQueueGlobalPriorityCreateInfoKHR* structInfo, Decoded_VkDeviceQueueGlobalPriorityCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* globalPriority */ +// globalPriority struct_body << "\t\t\t" << "VkQueueGlobalPriorityKHR(" << structInfo->globalPriority << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceQueueGlobalPriorityCreateInfoKHR"); out << "\t\t" << "VkDeviceQueueGlobalPriorityCreateInfoKHR " << variable_name << " {" << std::endl; @@ -12725,11 +12725,11 @@ std::string GenerateStruct_VkDeviceQueueGlobalPriorityCreateInfoKHR(std::ostream std::string GenerateStruct_VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR(std::ostream &out, const VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* globalPriorityQuery */ +// globalPriorityQuery struct_body << "\t\t\t" << structInfo->globalPriorityQuery << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceGlobalPriorityQueryFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR " << variable_name << " {" << std::endl; @@ -12742,13 +12742,13 @@ std::string GenerateStruct_VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR(std::o std::string GenerateStruct_VkQueueFamilyGlobalPriorityPropertiesKHR(std::ostream &out, const VkQueueFamilyGlobalPriorityPropertiesKHR* structInfo, Decoded_VkQueueFamilyGlobalPriorityPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* priorityCount */ +// priorityCount struct_body << "\t\t\t" << structInfo->priorityCount << "," << std::endl; -/* priorities */ +// priorities struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->priorities[0]), VK_MAX_GLOBAL_PRIORITY_SIZE_KHR) << ","; std::string variable_name = consumer.AddStruct(struct_body, "queueFamilyGlobalPriorityPropertiesKHR"); out << "\t\t" << "VkQueueFamilyGlobalPriorityPropertiesKHR " << variable_name << " {" << std::endl; @@ -12773,13 +12773,13 @@ std::string GenerateStruct_VkFragmentShadingRateAttachmentInfoKHR(std::ostream & &structInfo->shadingRateAttachmentTexelSize, metaInfo->shadingRateAttachmentTexelSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pFragmentShadingRateAttachment */ +// pFragmentShadingRateAttachment struct_body << "\t\t\t" << pfragment_shading_rate_attachment_struct << "," << std::endl; -/* shadingRateAttachmentTexelSize */ +// shadingRateAttachmentTexelSize struct_body << "\t\t\t" << shading_rate_attachment_texel_size_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "fragmentShadingRateAttachmentInfoKHR"); out << "\t\t" << "VkFragmentShadingRateAttachmentInfoKHR " << variable_name << " {" << std::endl; @@ -12792,15 +12792,15 @@ std::string GenerateStruct_VkFragmentShadingRateAttachmentInfoKHR(std::ostream & std::string GenerateStruct_VkPhysicalDeviceFragmentShadingRateFeaturesKHR(std::ostream &out, const VkPhysicalDeviceFragmentShadingRateFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceFragmentShadingRateFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineFragmentShadingRate */ +// pipelineFragmentShadingRate struct_body << "\t\t\t" << structInfo->pipelineFragmentShadingRate << "," << std::endl; -/* primitiveFragmentShadingRate */ +// primitiveFragmentShadingRate struct_body << "\t\t\t" << structInfo->primitiveFragmentShadingRate << "," << std::endl; -/* attachmentFragmentShadingRate */ +// attachmentFragmentShadingRate struct_body << "\t\t\t" << structInfo->attachmentFragmentShadingRate << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShadingRateFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceFragmentShadingRateFeaturesKHR " << variable_name << " {" << std::endl; @@ -12817,13 +12817,13 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentShadingRateKHR(std::ostream & &structInfo->fragmentSize, metaInfo->fragmentSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* sampleCounts */ +// sampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->sampleCounts << ")" << "," << std::endl; -/* fragmentSize */ +// fragmentSize struct_body << "\t\t\t" << fragment_size_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShadingRateKHR"); out << "\t\t" << "VkPhysicalDeviceFragmentShadingRateKHR " << variable_name << " {" << std::endl; @@ -12848,43 +12848,43 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentShadingRatePropertiesKHR(std: &structInfo->maxFragmentSize, metaInfo->maxFragmentSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minFragmentShadingRateAttachmentTexelSize */ +// minFragmentShadingRateAttachmentTexelSize struct_body << "\t\t\t" << min_fragment_shading_rate_attachment_texel_size_info_var << "," << std::endl; -/* maxFragmentShadingRateAttachmentTexelSize */ +// maxFragmentShadingRateAttachmentTexelSize struct_body << "\t\t\t" << max_fragment_shading_rate_attachment_texel_size_info_var << "," << std::endl; -/* maxFragmentShadingRateAttachmentTexelSizeAspectRatio */ +// maxFragmentShadingRateAttachmentTexelSizeAspectRatio struct_body << "\t\t\t" << structInfo->maxFragmentShadingRateAttachmentTexelSizeAspectRatio << "," << std::endl; -/* primitiveFragmentShadingRateWithMultipleViewports */ +// primitiveFragmentShadingRateWithMultipleViewports struct_body << "\t\t\t" << structInfo->primitiveFragmentShadingRateWithMultipleViewports << "," << std::endl; -/* layeredShadingRateAttachments */ +// layeredShadingRateAttachments struct_body << "\t\t\t" << structInfo->layeredShadingRateAttachments << "," << std::endl; -/* fragmentShadingRateNonTrivialCombinerOps */ +// fragmentShadingRateNonTrivialCombinerOps struct_body << "\t\t\t" << structInfo->fragmentShadingRateNonTrivialCombinerOps << "," << std::endl; -/* maxFragmentSize */ +// maxFragmentSize struct_body << "\t\t\t" << max_fragment_size_info_var << "," << std::endl; -/* maxFragmentSizeAspectRatio */ +// maxFragmentSizeAspectRatio struct_body << "\t\t\t" << structInfo->maxFragmentSizeAspectRatio << "," << std::endl; -/* maxFragmentShadingRateCoverageSamples */ +// maxFragmentShadingRateCoverageSamples struct_body << "\t\t\t" << structInfo->maxFragmentShadingRateCoverageSamples << "," << std::endl; -/* maxFragmentShadingRateRasterizationSamples */ +// maxFragmentShadingRateRasterizationSamples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->maxFragmentShadingRateRasterizationSamples << ")" << "," << std::endl; -/* fragmentShadingRateWithShaderDepthStencilWrites */ +// fragmentShadingRateWithShaderDepthStencilWrites struct_body << "\t\t\t" << structInfo->fragmentShadingRateWithShaderDepthStencilWrites << "," << std::endl; -/* fragmentShadingRateWithSampleMask */ +// fragmentShadingRateWithSampleMask struct_body << "\t\t\t" << structInfo->fragmentShadingRateWithSampleMask << "," << std::endl; -/* fragmentShadingRateWithShaderSampleMask */ +// fragmentShadingRateWithShaderSampleMask struct_body << "\t\t\t" << structInfo->fragmentShadingRateWithShaderSampleMask << "," << std::endl; -/* fragmentShadingRateWithConservativeRasterization */ +// fragmentShadingRateWithConservativeRasterization struct_body << "\t\t\t" << structInfo->fragmentShadingRateWithConservativeRasterization << "," << std::endl; -/* fragmentShadingRateWithFragmentShaderInterlock */ +// fragmentShadingRateWithFragmentShaderInterlock struct_body << "\t\t\t" << structInfo->fragmentShadingRateWithFragmentShaderInterlock << "," << std::endl; -/* fragmentShadingRateWithCustomSampleLocations */ +// fragmentShadingRateWithCustomSampleLocations struct_body << "\t\t\t" << structInfo->fragmentShadingRateWithCustomSampleLocations << "," << std::endl; -/* fragmentShadingRateStrictMultiplyCombiner */ +// fragmentShadingRateStrictMultiplyCombiner struct_body << "\t\t\t" << structInfo->fragmentShadingRateStrictMultiplyCombiner << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShadingRatePropertiesKHR"); out << "\t\t" << "VkPhysicalDeviceFragmentShadingRatePropertiesKHR " << variable_name << " {" << std::endl; @@ -12901,13 +12901,13 @@ std::string GenerateStruct_VkPipelineFragmentShadingRateStateCreateInfoKHR(std:: &structInfo->fragmentSize, metaInfo->fragmentSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentSize */ +// fragmentSize struct_body << "\t\t\t" << fragment_size_info_var << "," << std::endl; -/* combinerOps */ +// combinerOps struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->combinerOps[0]), 2) << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineFragmentShadingRateStateCreateInfoKHR"); out << "\t\t" << "VkPipelineFragmentShadingRateStateCreateInfoKHR " << variable_name << " {" << std::endl; @@ -12920,11 +12920,11 @@ std::string GenerateStruct_VkPipelineFragmentShadingRateStateCreateInfoKHR(std:: std::string GenerateStruct_VkSurfaceProtectedCapabilitiesKHR(std::ostream &out, const VkSurfaceProtectedCapabilitiesKHR* structInfo, Decoded_VkSurfaceProtectedCapabilitiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* supportsProtected */ +// supportsProtected struct_body << "\t\t\t" << structInfo->supportsProtected << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceProtectedCapabilitiesKHR"); out << "\t\t" << "VkSurfaceProtectedCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -12937,11 +12937,11 @@ std::string GenerateStruct_VkSurfaceProtectedCapabilitiesKHR(std::ostream &out, std::string GenerateStruct_VkPhysicalDevicePresentWaitFeaturesKHR(std::ostream &out, const VkPhysicalDevicePresentWaitFeaturesKHR* structInfo, Decoded_VkPhysicalDevicePresentWaitFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentWait */ +// presentWait struct_body << "\t\t\t" << structInfo->presentWait << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePresentWaitFeaturesKHR"); out << "\t\t" << "VkPhysicalDevicePresentWaitFeaturesKHR " << variable_name << " {" << std::endl; @@ -12954,11 +12954,11 @@ std::string GenerateStruct_VkPhysicalDevicePresentWaitFeaturesKHR(std::ostream & std::string GenerateStruct_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(std::ostream &out, const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* structInfo, Decoded_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineExecutableInfo */ +// pipelineExecutableInfo struct_body << "\t\t\t" << structInfo->pipelineExecutableInfo << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePipelineExecutablePropertiesFeaturesKHR"); out << "\t\t" << "VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR " << variable_name << " {" << std::endl; @@ -12971,13 +12971,13 @@ std::string GenerateStruct_VkPhysicalDevicePipelineExecutablePropertiesFeaturesK std::string GenerateStruct_VkPipelineExecutableInfoKHR(std::ostream &out, const VkPipelineExecutableInfoKHR* structInfo, Decoded_VkPipelineExecutableInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipeline */ +// pipeline struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pipeline) << "," << std::endl; -/* executableIndex */ +// executableIndex struct_body << "\t\t\t" << structInfo->executableIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineExecutableInfoKHR"); out << "\t\t" << "VkPipelineExecutableInfoKHR " << variable_name << " {" << std::endl; @@ -12990,19 +12990,19 @@ std::string GenerateStruct_VkPipelineExecutableInfoKHR(std::ostream &out, const std::string GenerateStruct_VkPipelineExecutableInternalRepresentationKHR(std::ostream &out, const VkPipelineExecutableInternalRepresentationKHR* structInfo, Decoded_VkPipelineExecutableInternalRepresentationKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->name) << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << "," << std::endl; -/* isText */ +// isText struct_body << "\t\t\t" << structInfo->isText << "," << std::endl; -/* dataSize */ +// dataSize struct_body << "\t\t\t" << structInfo->dataSize << "," << std::endl; -/* pData */ +// pData out << "\t\t" << "// TODO: Support pData (output with array length value?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "pipelineExecutableInternalRepresentationKHR"); out << "\t\t" << "VkPipelineExecutableInternalRepresentationKHR " << variable_name << " {" << std::endl; @@ -13015,17 +13015,17 @@ std::string GenerateStruct_VkPipelineExecutableInternalRepresentationKHR(std::os std::string GenerateStruct_VkPipelineExecutablePropertiesKHR(std::ostream &out, const VkPipelineExecutablePropertiesKHR* structInfo, Decoded_VkPipelineExecutablePropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stages */ +// stages struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->stages << ")" << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->name) << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << "," << std::endl; -/* subgroupSize */ +// subgroupSize struct_body << "\t\t\t" << structInfo->subgroupSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineExecutablePropertiesKHR"); out << "\t\t" << "VkPipelineExecutablePropertiesKHR " << variable_name << " {" << std::endl; @@ -13038,17 +13038,17 @@ std::string GenerateStruct_VkPipelineExecutablePropertiesKHR(std::ostream &out, std::string GenerateStruct_VkPipelineExecutableStatisticKHR(std::ostream &out, const VkPipelineExecutableStatisticKHR* structInfo, Decoded_VkPipelineExecutableStatisticKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* name */ +// name struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->name) << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkPipelineExecutableStatisticFormatKHR(" << structInfo->format << ")" << "," << std::endl; -/* value */ +// value struct_body << "\t\t\t" << structInfo->value.b32 << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineExecutableStatisticKHR"); out << "\t\t" << "VkPipelineExecutableStatisticKHR " << variable_name << " {" << std::endl; @@ -13061,11 +13061,11 @@ std::string GenerateStruct_VkPipelineExecutableStatisticKHR(std::ostream &out, c std::string GenerateStruct_VkPipelineInfoKHR(std::ostream &out, const VkPipelineInfoKHR* structInfo, Decoded_VkPipelineInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipeline */ +// pipeline struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pipeline) << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineInfoKHR"); out << "\t\t" << "VkPipelineInfoKHR " << variable_name << " {" << std::endl; @@ -13078,17 +13078,17 @@ std::string GenerateStruct_VkPipelineInfoKHR(std::ostream &out, const VkPipeline std::string GenerateStruct_VkMemoryMapInfoKHR(std::ostream &out, const VkMemoryMapInfoKHR* structInfo, Decoded_VkMemoryMapInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkMemoryMapFlags(" << structInfo->flags << ")" << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryMapInfoKHR"); out << "\t\t" << "VkMemoryMapInfoKHR " << variable_name << " {" << std::endl; @@ -13101,13 +13101,13 @@ std::string GenerateStruct_VkMemoryMapInfoKHR(std::ostream &out, const VkMemoryM std::string GenerateStruct_VkMemoryUnmapInfoKHR(std::ostream &out, const VkMemoryUnmapInfoKHR* structInfo, Decoded_VkMemoryUnmapInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkMemoryUnmapFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryUnmapInfoKHR"); out << "\t\t" << "VkMemoryUnmapInfoKHR " << variable_name << " {" << std::endl; @@ -13133,13 +13133,13 @@ std::string GenerateStruct_VkPipelineLibraryCreateInfoKHR(std::ostream &out, con out << "\t\t" << "VkPipeline " << plibraries_array << "[] = {" << plibraries_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* libraryCount */ +// libraryCount struct_body << "\t\t\t" << structInfo->libraryCount << "," << std::endl; -/* pLibraries */ +// pLibraries struct_body << "\t\t\t" << plibraries_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineLibraryCreateInfoKHR"); out << "\t\t" << "VkPipelineLibraryCreateInfoKHR " << variable_name << " {" << std::endl; @@ -13152,11 +13152,11 @@ std::string GenerateStruct_VkPipelineLibraryCreateInfoKHR(std::ostream &out, con std::string GenerateStruct_VkPhysicalDevicePresentIdFeaturesKHR(std::ostream &out, const VkPhysicalDevicePresentIdFeaturesKHR* structInfo, Decoded_VkPhysicalDevicePresentIdFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentId */ +// presentId struct_body << "\t\t\t" << structInfo->presentId << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePresentIdFeaturesKHR"); out << "\t\t" << "VkPhysicalDevicePresentIdFeaturesKHR " << variable_name << " {" << std::endl; @@ -13181,13 +13181,13 @@ std::string GenerateStruct_VkPresentIdKHR(std::ostream &out, const VkPresentIdKH out << "\t\t" << "uint64_t " << ppresent_ids_array << "[] = {" << ppresent_ids_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchainCount */ +// swapchainCount struct_body << "\t\t\t" << structInfo->swapchainCount << "," << std::endl; -/* pPresentIds */ +// pPresentIds struct_body << "\t\t\t" << "{ *" << ppresent_ids_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "presentIdKHR"); out << "\t\t" << "VkPresentIdKHR " << variable_name << " {" << std::endl; @@ -13208,13 +13208,13 @@ std::string GenerateStruct_VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR(std::o consumer); pvideo_profile_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pVideoProfile */ +// pVideoProfile struct_body << "\t\t\t" << pvideo_profile_struct << "," << std::endl; -/* qualityLevel */ +// qualityLevel struct_body << "\t\t\t" << structInfo->qualityLevel << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVideoEncodeQualityLevelInfoKHR"); out << "\t\t" << "VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR " << variable_name << " {" << std::endl; @@ -13227,11 +13227,11 @@ std::string GenerateStruct_VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR(std::o std::string GenerateStruct_VkQueryPoolVideoEncodeFeedbackCreateInfoKHR(std::ostream &out, const VkQueryPoolVideoEncodeFeedbackCreateInfoKHR* structInfo, Decoded_VkQueryPoolVideoEncodeFeedbackCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* encodeFeedbackFlags */ +// encodeFeedbackFlags struct_body << "\t\t\t" << "VkVideoEncodeFeedbackFlagsKHR(" << structInfo->encodeFeedbackFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "queryPoolVideoEncodeFeedbackCreateInfoKHR"); out << "\t\t" << "VkQueryPoolVideoEncodeFeedbackCreateInfoKHR " << variable_name << " {" << std::endl; @@ -13248,23 +13248,23 @@ std::string GenerateStruct_VkVideoEncodeCapabilitiesKHR(std::ostream &out, const &structInfo->encodeInputPictureGranularity, metaInfo->encodeInputPictureGranularity, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEncodeCapabilityFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* rateControlModes */ +// rateControlModes struct_body << "\t\t\t" << "VkVideoEncodeRateControlModeFlagsKHR(" << structInfo->rateControlModes << ")" << "," << std::endl; -/* maxRateControlLayers */ +// maxRateControlLayers struct_body << "\t\t\t" << structInfo->maxRateControlLayers << "," << std::endl; -/* maxBitrate */ +// maxBitrate struct_body << "\t\t\t" << structInfo->maxBitrate << "UL" << "," << std::endl; -/* maxQualityLevels */ +// maxQualityLevels struct_body << "\t\t\t" << structInfo->maxQualityLevels << "," << std::endl; -/* encodeInputPictureGranularity */ +// encodeInputPictureGranularity struct_body << "\t\t\t" << encode_input_picture_granularity_info_var << "," << std::endl; -/* supportedEncodeFeedbackFlags */ +// supportedEncodeFeedbackFlags struct_body << "\t\t\t" << "VkVideoEncodeFeedbackFlagsKHR(" << structInfo->supportedEncodeFeedbackFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeCapabilitiesKHR"); out << "\t\t" << "VkVideoEncodeCapabilitiesKHR " << variable_name << " {" << std::endl; @@ -13305,27 +13305,27 @@ std::string GenerateStruct_VkVideoEncodeInfoKHR(std::ostream &out, const VkVideo } out << "\t\t" << "VkVideoReferenceSlotInfoKHR " << preference_slots_array << "[] = {" << preference_slots_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEncodeFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* dstBuffer */ +// dstBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstBuffer) << "," << std::endl; -/* dstBufferOffset */ +// dstBufferOffset struct_body << "\t\t\t" << structInfo->dstBufferOffset << "UL" << "," << std::endl; -/* dstBufferRange */ +// dstBufferRange struct_body << "\t\t\t" << structInfo->dstBufferRange << "UL" << "," << std::endl; -/* srcPictureResource */ +// srcPictureResource struct_body << "\t\t\t" << src_picture_resource_info_var << "," << std::endl; -/* pSetupReferenceSlot */ +// pSetupReferenceSlot struct_body << "\t\t\t" << psetup_reference_slot_struct << "," << std::endl; -/* referenceSlotCount */ +// referenceSlotCount struct_body << "\t\t\t" << structInfo->referenceSlotCount << "," << std::endl; -/* pReferenceSlots */ +// pReferenceSlots struct_body << "\t\t\t" << preference_slots_array << "," << std::endl; -/* precedingExternallyEncodedBytes */ +// precedingExternallyEncodedBytes struct_body << "\t\t\t" << structInfo->precedingExternallyEncodedBytes << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeInfoKHR"); out << "\t\t" << "VkVideoEncodeInfoKHR " << variable_name << " {" << std::endl; @@ -13338,11 +13338,11 @@ std::string GenerateStruct_VkVideoEncodeInfoKHR(std::ostream &out, const VkVideo std::string GenerateStruct_VkVideoEncodeQualityLevelInfoKHR(std::ostream &out, const VkVideoEncodeQualityLevelInfoKHR* structInfo, Decoded_VkVideoEncodeQualityLevelInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* qualityLevel */ +// qualityLevel struct_body << "\t\t\t" << structInfo->qualityLevel << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeQualityLevelInfoKHR"); out << "\t\t" << "VkVideoEncodeQualityLevelInfoKHR " << variable_name << " {" << std::endl; @@ -13355,13 +13355,13 @@ std::string GenerateStruct_VkVideoEncodeQualityLevelInfoKHR(std::ostream &out, c std::string GenerateStruct_VkVideoEncodeQualityLevelPropertiesKHR(std::ostream &out, const VkVideoEncodeQualityLevelPropertiesKHR* structInfo, Decoded_VkVideoEncodeQualityLevelPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* preferredRateControlMode */ +// preferredRateControlMode struct_body << "\t\t\t" << "VkVideoEncodeRateControlModeFlagBitsKHR(" << structInfo->preferredRateControlMode << ")" << "," << std::endl; -/* preferredRateControlLayerCount */ +// preferredRateControlLayerCount struct_body << "\t\t\t" << structInfo->preferredRateControlLayerCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeQualityLevelPropertiesKHR"); out << "\t\t" << "VkVideoEncodeQualityLevelPropertiesKHR " << variable_name << " {" << std::endl; @@ -13390,21 +13390,21 @@ std::string GenerateStruct_VkVideoEncodeRateControlInfoKHR(std::ostream &out, co } out << "\t\t" << "VkVideoEncodeRateControlLayerInfoKHR " << players_array << "[] = {" << players_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEncodeRateControlFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* rateControlMode */ +// rateControlMode struct_body << "\t\t\t" << "VkVideoEncodeRateControlModeFlagBitsKHR(" << structInfo->rateControlMode << ")" << "," << std::endl; -/* layerCount */ +// layerCount struct_body << "\t\t\t" << structInfo->layerCount << "," << std::endl; -/* pLayers */ +// pLayers struct_body << "\t\t\t" << players_array << "," << std::endl; -/* virtualBufferSizeInMs */ +// virtualBufferSizeInMs struct_body << "\t\t\t" << structInfo->virtualBufferSizeInMs << "," << std::endl; -/* initialVirtualBufferSizeInMs */ +// initialVirtualBufferSizeInMs struct_body << "\t\t\t" << structInfo->initialVirtualBufferSizeInMs << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeRateControlInfoKHR"); out << "\t\t" << "VkVideoEncodeRateControlInfoKHR " << variable_name << " {" << std::endl; @@ -13417,17 +13417,17 @@ std::string GenerateStruct_VkVideoEncodeRateControlInfoKHR(std::ostream &out, co std::string GenerateStruct_VkVideoEncodeRateControlLayerInfoKHR(std::ostream &out, const VkVideoEncodeRateControlLayerInfoKHR* structInfo, Decoded_VkVideoEncodeRateControlLayerInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* averageBitrate */ +// averageBitrate struct_body << "\t\t\t" << structInfo->averageBitrate << "UL" << "," << std::endl; -/* maxBitrate */ +// maxBitrate struct_body << "\t\t\t" << structInfo->maxBitrate << "UL" << "," << std::endl; -/* frameRateNumerator */ +// frameRateNumerator struct_body << "\t\t\t" << structInfo->frameRateNumerator << "," << std::endl; -/* frameRateDenominator */ +// frameRateDenominator struct_body << "\t\t\t" << structInfo->frameRateDenominator << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeRateControlLayerInfoKHR"); out << "\t\t" << "VkVideoEncodeRateControlLayerInfoKHR " << variable_name << " {" << std::endl; @@ -13440,11 +13440,11 @@ std::string GenerateStruct_VkVideoEncodeRateControlLayerInfoKHR(std::ostream &ou std::string GenerateStruct_VkVideoEncodeSessionParametersFeedbackInfoKHR(std::ostream &out, const VkVideoEncodeSessionParametersFeedbackInfoKHR* structInfo, Decoded_VkVideoEncodeSessionParametersFeedbackInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* hasOverrides */ +// hasOverrides struct_body << "\t\t\t" << structInfo->hasOverrides << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeSessionParametersFeedbackInfoKHR"); out << "\t\t" << "VkVideoEncodeSessionParametersFeedbackInfoKHR " << variable_name << " {" << std::endl; @@ -13457,11 +13457,11 @@ std::string GenerateStruct_VkVideoEncodeSessionParametersFeedbackInfoKHR(std::os std::string GenerateStruct_VkVideoEncodeSessionParametersGetInfoKHR(std::ostream &out, const VkVideoEncodeSessionParametersGetInfoKHR* structInfo, Decoded_VkVideoEncodeSessionParametersGetInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* videoSessionParameters */ +// videoSessionParameters struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->videoSessionParameters) << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeSessionParametersGetInfoKHR"); out << "\t\t" << "VkVideoEncodeSessionParametersGetInfoKHR " << variable_name << " {" << std::endl; @@ -13474,15 +13474,15 @@ std::string GenerateStruct_VkVideoEncodeSessionParametersGetInfoKHR(std::ostream std::string GenerateStruct_VkVideoEncodeUsageInfoKHR(std::ostream &out, const VkVideoEncodeUsageInfoKHR* structInfo, Decoded_VkVideoEncodeUsageInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* videoUsageHints */ +// videoUsageHints struct_body << "\t\t\t" << "VkVideoEncodeUsageFlagsKHR(" << structInfo->videoUsageHints << ")" << "," << std::endl; -/* videoContentHints */ +// videoContentHints struct_body << "\t\t\t" << "VkVideoEncodeContentFlagsKHR(" << structInfo->videoContentHints << ")" << "," << std::endl; -/* tuningMode */ +// tuningMode struct_body << "\t\t\t" << "VkVideoEncodeTuningModeKHR(" << structInfo->tuningMode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeUsageInfoKHR"); out << "\t\t" << "VkVideoEncodeUsageInfoKHR " << variable_name << " {" << std::endl; @@ -13495,13 +13495,13 @@ std::string GenerateStruct_VkVideoEncodeUsageInfoKHR(std::ostream &out, const Vk std::string GenerateStruct_VkCheckpointData2NV(std::ostream &out, const VkCheckpointData2NV* structInfo, Decoded_VkCheckpointData2NV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stage */ +// stage struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->stage << ")" << "," << std::endl; -/* pCheckpointMarker */ +// pCheckpointMarker out << "\t\t" << "// TODO: Support pCheckpointMarker (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "checkpointData2NV"); out << "\t\t" << "VkCheckpointData2NV " << variable_name << " {" << std::endl; @@ -13514,11 +13514,11 @@ std::string GenerateStruct_VkCheckpointData2NV(std::ostream &out, const VkCheckp std::string GenerateStruct_VkQueueFamilyCheckpointProperties2NV(std::ostream &out, const VkQueueFamilyCheckpointProperties2NV* structInfo, Decoded_VkQueueFamilyCheckpointProperties2NV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* checkpointExecutionStageMask */ +// checkpointExecutionStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags2(" << structInfo->checkpointExecutionStageMask << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "queueFamilyCheckpointProperties2NV"); out << "\t\t" << "VkQueueFamilyCheckpointProperties2NV " << variable_name << " {" << std::endl; @@ -13531,11 +13531,11 @@ std::string GenerateStruct_VkQueueFamilyCheckpointProperties2NV(std::ostream &ou std::string GenerateStruct_VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR(std::ostream &out, const VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentShaderBarycentric */ +// fragmentShaderBarycentric struct_body << "\t\t\t" << structInfo->fragmentShaderBarycentric << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShaderBarycentricFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR " << variable_name << " {" << std::endl; @@ -13548,11 +13548,11 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR( std::string GenerateStruct_VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR(std::ostream &out, const VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR* structInfo, Decoded_VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* triStripVertexOrderIndependentOfProvokingVertex */ +// triStripVertexOrderIndependentOfProvokingVertex struct_body << "\t\t\t" << structInfo->triStripVertexOrderIndependentOfProvokingVertex << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShaderBarycentricPropertiesKHR"); out << "\t\t" << "VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR " << variable_name << " {" << std::endl; @@ -13565,11 +13565,11 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentShaderBarycentricPropertiesKH std::string GenerateStruct_VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR(std::ostream &out, const VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderSubgroupUniformControlFlow */ +// shaderSubgroupUniformControlFlow struct_body << "\t\t\t" << structInfo->shaderSubgroupUniformControlFlow << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR " << variable_name << " {" << std::endl; @@ -13582,17 +13582,17 @@ std::string GenerateStruct_VkPhysicalDeviceShaderSubgroupUniformControlFlowFeatu std::string GenerateStruct_VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR(std::ostream &out, const VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* workgroupMemoryExplicitLayout */ +// workgroupMemoryExplicitLayout struct_body << "\t\t\t" << structInfo->workgroupMemoryExplicitLayout << "," << std::endl; -/* workgroupMemoryExplicitLayoutScalarBlockLayout */ +// workgroupMemoryExplicitLayoutScalarBlockLayout struct_body << "\t\t\t" << structInfo->workgroupMemoryExplicitLayoutScalarBlockLayout << "," << std::endl; -/* workgroupMemoryExplicitLayout8BitAccess */ +// workgroupMemoryExplicitLayout8BitAccess struct_body << "\t\t\t" << structInfo->workgroupMemoryExplicitLayout8BitAccess << "," << std::endl; -/* workgroupMemoryExplicitLayout16BitAccess */ +// workgroupMemoryExplicitLayout16BitAccess struct_body << "\t\t\t" << structInfo->workgroupMemoryExplicitLayout16BitAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR " << variable_name << " {" << std::endl; @@ -13605,13 +13605,13 @@ std::string GenerateStruct_VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeatures std::string GenerateStruct_VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR(std::ostream &out, const VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR* structInfo, Decoded_VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rayTracingMaintenance1 */ +// rayTracingMaintenance1 struct_body << "\t\t\t" << structInfo->rayTracingMaintenance1 << "," << std::endl; -/* rayTracingPipelineTraceRaysIndirect2 */ +// rayTracingPipelineTraceRaysIndirect2 struct_body << "\t\t\t" << structInfo->rayTracingPipelineTraceRaysIndirect2 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingMaintenance1FeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR " << variable_name << " {" << std::endl; @@ -13623,33 +13623,33 @@ std::string GenerateStruct_VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR(std std::string GenerateStruct_VkTraceRaysIndirectCommand2KHR(std::ostream &out, const VkTraceRaysIndirectCommand2KHR* structInfo, Decoded_VkTraceRaysIndirectCommand2KHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* raygenShaderRecordAddress */ +// raygenShaderRecordAddress struct_body << "\t" << structInfo->raygenShaderRecordAddress << "UL" << "," << std::endl; -/* raygenShaderRecordSize */ +// raygenShaderRecordSize struct_body << "\t\t\t" << structInfo->raygenShaderRecordSize << "UL" << "," << std::endl; -/* missShaderBindingTableAddress */ +// missShaderBindingTableAddress struct_body << "\t\t\t" << structInfo->missShaderBindingTableAddress << "UL" << "," << std::endl; -/* missShaderBindingTableSize */ +// missShaderBindingTableSize struct_body << "\t\t\t" << structInfo->missShaderBindingTableSize << "UL" << "," << std::endl; -/* missShaderBindingTableStride */ +// missShaderBindingTableStride struct_body << "\t\t\t" << structInfo->missShaderBindingTableStride << "UL" << "," << std::endl; -/* hitShaderBindingTableAddress */ +// hitShaderBindingTableAddress struct_body << "\t\t\t" << structInfo->hitShaderBindingTableAddress << "UL" << "," << std::endl; -/* hitShaderBindingTableSize */ +// hitShaderBindingTableSize struct_body << "\t\t\t" << structInfo->hitShaderBindingTableSize << "UL" << "," << std::endl; -/* hitShaderBindingTableStride */ +// hitShaderBindingTableStride struct_body << "\t\t\t" << structInfo->hitShaderBindingTableStride << "UL" << "," << std::endl; -/* callableShaderBindingTableAddress */ +// callableShaderBindingTableAddress struct_body << "\t\t\t" << structInfo->callableShaderBindingTableAddress << "UL" << "," << std::endl; -/* callableShaderBindingTableSize */ +// callableShaderBindingTableSize struct_body << "\t\t\t" << structInfo->callableShaderBindingTableSize << "UL" << "," << std::endl; -/* callableShaderBindingTableStride */ +// callableShaderBindingTableStride struct_body << "\t\t\t" << structInfo->callableShaderBindingTableStride << "UL" << "," << std::endl; -/* width */ +// width struct_body << "\t\t\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << "," << std::endl; -/* depth */ +// depth struct_body << "\t\t\t" << structInfo->depth << ","; std::string variable_name = consumer.AddStruct(struct_body, "traceRaysIndirectCommand2KHR"); out << "\t\t" << "VkTraceRaysIndirectCommand2KHR " << variable_name << " {" << std::endl; @@ -13662,11 +13662,11 @@ std::string GenerateStruct_VkTraceRaysIndirectCommand2KHR(std::ostream &out, con std::string GenerateStruct_VkBufferUsageFlags2CreateInfoKHR(std::ostream &out, const VkBufferUsageFlags2CreateInfoKHR* structInfo, Decoded_VkBufferUsageFlags2CreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkBufferUsageFlags2KHR(" << structInfo->usage << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferUsageFlags2CreateInfoKHR"); out << "\t\t" << "VkBufferUsageFlags2CreateInfoKHR " << variable_name << " {" << std::endl; @@ -13695,13 +13695,13 @@ std::string GenerateStruct_VkDeviceImageSubresourceInfoKHR(std::ostream &out, co consumer); psubresource_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pCreateInfo */ +// pCreateInfo struct_body << "\t\t\t" << pcreate_info_struct << "," << std::endl; -/* pSubresource */ +// pSubresource struct_body << "\t\t\t" << psubresource_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceImageSubresourceInfoKHR"); out << "\t\t" << "VkDeviceImageSubresourceInfoKHR " << variable_name << " {" << std::endl; @@ -13718,11 +13718,11 @@ std::string GenerateStruct_VkImageSubresource2KHR(std::ostream &out, const VkIma &structInfo->imageSubresource, metaInfo->imageSubresource, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageSubresource */ +// imageSubresource struct_body << "\t\t\t" << image_subresource_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageSubresource2KHR"); out << "\t\t" << "VkImageSubresource2KHR " << variable_name << " {" << std::endl; @@ -13735,11 +13735,11 @@ std::string GenerateStruct_VkImageSubresource2KHR(std::ostream &out, const VkIma std::string GenerateStruct_VkPhysicalDeviceMaintenance5FeaturesKHR(std::ostream &out, const VkPhysicalDeviceMaintenance5FeaturesKHR* structInfo, Decoded_VkPhysicalDeviceMaintenance5FeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maintenance5 */ +// maintenance5 struct_body << "\t\t\t" << structInfo->maintenance5 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMaintenance5FeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceMaintenance5FeaturesKHR " << variable_name << " {" << std::endl; @@ -13752,21 +13752,21 @@ std::string GenerateStruct_VkPhysicalDeviceMaintenance5FeaturesKHR(std::ostream std::string GenerateStruct_VkPhysicalDeviceMaintenance5PropertiesKHR(std::ostream &out, const VkPhysicalDeviceMaintenance5PropertiesKHR* structInfo, Decoded_VkPhysicalDeviceMaintenance5PropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* earlyFragmentMultisampleCoverageAfterSampleCounting */ +// earlyFragmentMultisampleCoverageAfterSampleCounting struct_body << "\t\t\t" << structInfo->earlyFragmentMultisampleCoverageAfterSampleCounting << "," << std::endl; -/* earlyFragmentSampleMaskTestBeforeSampleCounting */ +// earlyFragmentSampleMaskTestBeforeSampleCounting struct_body << "\t\t\t" << structInfo->earlyFragmentSampleMaskTestBeforeSampleCounting << "," << std::endl; -/* depthStencilSwizzleOneSupport */ +// depthStencilSwizzleOneSupport struct_body << "\t\t\t" << structInfo->depthStencilSwizzleOneSupport << "," << std::endl; -/* polygonModePointSize */ +// polygonModePointSize struct_body << "\t\t\t" << structInfo->polygonModePointSize << "," << std::endl; -/* nonStrictSinglePixelWideLinesUseParallelogram */ +// nonStrictSinglePixelWideLinesUseParallelogram struct_body << "\t\t\t" << structInfo->nonStrictSinglePixelWideLinesUseParallelogram << "," << std::endl; -/* nonStrictWideLinesUseParallelogram */ +// nonStrictWideLinesUseParallelogram struct_body << "\t\t\t" << structInfo->nonStrictWideLinesUseParallelogram << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMaintenance5PropertiesKHR"); out << "\t\t" << "VkPhysicalDeviceMaintenance5PropertiesKHR " << variable_name << " {" << std::endl; @@ -13779,11 +13779,11 @@ std::string GenerateStruct_VkPhysicalDeviceMaintenance5PropertiesKHR(std::ostrea std::string GenerateStruct_VkPipelineCreateFlags2CreateInfoKHR(std::ostream &out, const VkPipelineCreateFlags2CreateInfoKHR* structInfo, Decoded_VkPipelineCreateFlags2CreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCreateFlags2KHR(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCreateFlags2CreateInfoKHR"); out << "\t\t" << "VkPipelineCreateFlags2CreateInfoKHR " << variable_name << " {" << std::endl; @@ -13805,19 +13805,19 @@ std::string GenerateStruct_VkRenderingAreaInfoKHR(std::ostream &out, const VkRen pcolor_attachment_formats_array = "pColorAttachmentFormats_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkFormat " << pcolor_attachment_formats_array << "[] = {" << pcolor_attachment_formats_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* viewMask */ +// viewMask struct_body << "\t\t\t" << structInfo->viewMask << "," << std::endl; -/* colorAttachmentCount */ +// colorAttachmentCount struct_body << "\t\t\t" << structInfo->colorAttachmentCount << "," << std::endl; -/* pColorAttachmentFormats */ +// pColorAttachmentFormats struct_body << "\t\t\t" << pcolor_attachment_formats_array << "," << std::endl; -/* depthAttachmentFormat */ +// depthAttachmentFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->depthAttachmentFormat << ")" << "," << std::endl; -/* stencilAttachmentFormat */ +// stencilAttachmentFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->stencilAttachmentFormat << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderingAreaInfoKHR"); out << "\t\t" << "VkRenderingAreaInfoKHR " << variable_name << " {" << std::endl; @@ -13834,11 +13834,11 @@ std::string GenerateStruct_VkSubresourceLayout2KHR(std::ostream &out, const VkSu &structInfo->subresourceLayout, metaInfo->subresourceLayout, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* subresourceLayout */ +// subresourceLayout struct_body << "\t\t\t" << subresource_layout_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "subresourceLayout2KHR"); out << "\t\t" << "VkSubresourceLayout2KHR " << variable_name << " {" << std::endl; @@ -13851,11 +13851,11 @@ std::string GenerateStruct_VkSubresourceLayout2KHR(std::ostream &out, const VkSu std::string GenerateStruct_VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR(std::ostream &out, const VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rayTracingPositionFetch */ +// rayTracingPositionFetch struct_body << "\t\t\t" << structInfo->rayTracingPositionFetch << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingPositionFetchFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR " << variable_name << " {" << std::endl; @@ -13868,27 +13868,27 @@ std::string GenerateStruct_VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR(st std::string GenerateStruct_VkCooperativeMatrixPropertiesKHR(std::ostream &out, const VkCooperativeMatrixPropertiesKHR* structInfo, Decoded_VkCooperativeMatrixPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* MSize */ +// MSize struct_body << "\t\t\t" << structInfo->MSize << "," << std::endl; -/* NSize */ +// NSize struct_body << "\t\t\t" << structInfo->NSize << "," << std::endl; -/* KSize */ +// KSize struct_body << "\t\t\t" << structInfo->KSize << "," << std::endl; -/* AType */ +// AType struct_body << "\t\t\t" << "VkComponentTypeKHR(" << structInfo->AType << ")" << "," << std::endl; -/* BType */ +// BType struct_body << "\t\t\t" << "VkComponentTypeKHR(" << structInfo->BType << ")" << "," << std::endl; -/* CType */ +// CType struct_body << "\t\t\t" << "VkComponentTypeKHR(" << structInfo->CType << ")" << "," << std::endl; -/* ResultType */ +// ResultType struct_body << "\t\t\t" << "VkComponentTypeKHR(" << structInfo->ResultType << ")" << "," << std::endl; -/* saturatingAccumulation */ +// saturatingAccumulation struct_body << "\t\t\t" << structInfo->saturatingAccumulation << "," << std::endl; -/* scope */ +// scope struct_body << "\t\t\t" << "VkScopeKHR(" << structInfo->scope << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "cooperativeMatrixPropertiesKHR"); out << "\t\t" << "VkCooperativeMatrixPropertiesKHR " << variable_name << " {" << std::endl; @@ -13901,13 +13901,13 @@ std::string GenerateStruct_VkCooperativeMatrixPropertiesKHR(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixFeaturesKHR(std::ostream &out, const VkPhysicalDeviceCooperativeMatrixFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceCooperativeMatrixFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cooperativeMatrix */ +// cooperativeMatrix struct_body << "\t\t\t" << structInfo->cooperativeMatrix << "," << std::endl; -/* cooperativeMatrixRobustBufferAccess */ +// cooperativeMatrixRobustBufferAccess struct_body << "\t\t\t" << structInfo->cooperativeMatrixRobustBufferAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCooperativeMatrixFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceCooperativeMatrixFeaturesKHR " << variable_name << " {" << std::endl; @@ -13920,11 +13920,11 @@ std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixFeaturesKHR(std::ost std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixPropertiesKHR(std::ostream &out, const VkPhysicalDeviceCooperativeMatrixPropertiesKHR* structInfo, Decoded_VkPhysicalDeviceCooperativeMatrixPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cooperativeMatrixSupportedStages */ +// cooperativeMatrixSupportedStages struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->cooperativeMatrixSupportedStages << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCooperativeMatrixPropertiesKHR"); out << "\t\t" << "VkPhysicalDeviceCooperativeMatrixPropertiesKHR " << variable_name << " {" << std::endl; @@ -13937,15 +13937,15 @@ std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixPropertiesKHR(std::o std::string GenerateStruct_VkDebugReportCallbackCreateInfoEXT(std::ostream &out, const VkDebugReportCallbackCreateInfoEXT* structInfo, Decoded_VkDebugReportCallbackCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDebugReportFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* pfnCallback */ +// pfnCallback struct_body << "\t\t\t" << structInfo->pfnCallback << "," << std::endl; -/* pUserData */ +// pUserData out << "\t\t" << "// TODO: Support pUserData (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "debugReportCallbackCreateInfoEXT"); out << "\t\t" << "VkDebugReportCallbackCreateInfoEXT " << variable_name << " {" << std::endl; @@ -13958,11 +13958,11 @@ std::string GenerateStruct_VkDebugReportCallbackCreateInfoEXT(std::ostream &out, std::string GenerateStruct_VkPipelineRasterizationStateRasterizationOrderAMD(std::ostream &out, const VkPipelineRasterizationStateRasterizationOrderAMD* structInfo, Decoded_VkPipelineRasterizationStateRasterizationOrderAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rasterizationOrder */ +// rasterizationOrder struct_body << "\t\t\t" << "VkRasterizationOrderAMD(" << structInfo->rasterizationOrder << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRasterizationStateRasterizationOrderAMD"); out << "\t\t" << "VkPipelineRasterizationStateRasterizationOrderAMD " << variable_name << " {" << std::endl; @@ -13975,13 +13975,13 @@ std::string GenerateStruct_VkPipelineRasterizationStateRasterizationOrderAMD(std std::string GenerateStruct_VkDebugMarkerMarkerInfoEXT(std::ostream &out, const VkDebugMarkerMarkerInfoEXT* structInfo, Decoded_VkDebugMarkerMarkerInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pMarkerName */ +// pMarkerName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pMarkerName) << "," << std::endl; -/* color */ +// color struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->color[0]), 4) << ","; std::string variable_name = consumer.AddStruct(struct_body, "debugMarkerMarkerInfoEXT"); out << "\t\t" << "VkDebugMarkerMarkerInfoEXT " << variable_name << " {" << std::endl; @@ -13994,15 +13994,15 @@ std::string GenerateStruct_VkDebugMarkerMarkerInfoEXT(std::ostream &out, const V std::string GenerateStruct_VkDebugMarkerObjectNameInfoEXT(std::ostream &out, const VkDebugMarkerObjectNameInfoEXT* structInfo, Decoded_VkDebugMarkerObjectNameInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* objectType */ +// objectType struct_body << "\t\t\t" << "VkDebugReportObjectTypeEXT(" << structInfo->objectType << ")" << "," << std::endl; -/* object */ +// object struct_body << "\t\t\t" << structInfo->object << "UL" << "," << std::endl; -/* pObjectName */ +// pObjectName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pObjectName) << ","; std::string variable_name = consumer.AddStruct(struct_body, "debugMarkerObjectNameInfoEXT"); out << "\t\t" << "VkDebugMarkerObjectNameInfoEXT " << variable_name << " {" << std::endl; @@ -14024,19 +14024,19 @@ std::string GenerateStruct_VkDebugMarkerObjectTagInfoEXT(std::ostream &out, cons ptag_array = "pTag_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << ptag_array << "[] = {" << ptag_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* objectType */ +// objectType struct_body << "\t\t\t" << "VkDebugReportObjectTypeEXT(" << structInfo->objectType << ")" << "," << std::endl; -/* object */ +// object struct_body << "\t\t\t" << structInfo->object << "UL" << "," << std::endl; -/* tagName */ +// tagName struct_body << "\t\t\t" << structInfo->tagName << "UL" << "," << std::endl; -/* tagSize */ +// tagSize struct_body << "\t\t\t" << structInfo->tagSize << "," << std::endl; -/* pTag */ +// pTag struct_body << "\t\t\t" << ptag_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "debugMarkerObjectTagInfoEXT"); out << "\t\t" << "VkDebugMarkerObjectTagInfoEXT " << variable_name << " {" << std::endl; @@ -14049,11 +14049,11 @@ std::string GenerateStruct_VkDebugMarkerObjectTagInfoEXT(std::ostream &out, cons std::string GenerateStruct_VkDedicatedAllocationBufferCreateInfoNV(std::ostream &out, const VkDedicatedAllocationBufferCreateInfoNV* structInfo, Decoded_VkDedicatedAllocationBufferCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dedicatedAllocation */ +// dedicatedAllocation struct_body << "\t\t\t" << structInfo->dedicatedAllocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "dedicatedAllocationBufferCreateInfoNV"); out << "\t\t" << "VkDedicatedAllocationBufferCreateInfoNV " << variable_name << " {" << std::endl; @@ -14066,11 +14066,11 @@ std::string GenerateStruct_VkDedicatedAllocationBufferCreateInfoNV(std::ostream std::string GenerateStruct_VkDedicatedAllocationImageCreateInfoNV(std::ostream &out, const VkDedicatedAllocationImageCreateInfoNV* structInfo, Decoded_VkDedicatedAllocationImageCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dedicatedAllocation */ +// dedicatedAllocation struct_body << "\t\t\t" << structInfo->dedicatedAllocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "dedicatedAllocationImageCreateInfoNV"); out << "\t\t" << "VkDedicatedAllocationImageCreateInfoNV " << variable_name << " {" << std::endl; @@ -14083,13 +14083,13 @@ std::string GenerateStruct_VkDedicatedAllocationImageCreateInfoNV(std::ostream & std::string GenerateStruct_VkDedicatedAllocationMemoryAllocateInfoNV(std::ostream &out, const VkDedicatedAllocationMemoryAllocateInfoNV* structInfo, Decoded_VkDedicatedAllocationMemoryAllocateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << ","; std::string variable_name = consumer.AddStruct(struct_body, "dedicatedAllocationMemoryAllocateInfoNV"); out << "\t\t" << "VkDedicatedAllocationMemoryAllocateInfoNV " << variable_name << " {" << std::endl; @@ -14102,13 +14102,13 @@ std::string GenerateStruct_VkDedicatedAllocationMemoryAllocateInfoNV(std::ostrea std::string GenerateStruct_VkPhysicalDeviceTransformFeedbackFeaturesEXT(std::ostream &out, const VkPhysicalDeviceTransformFeedbackFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceTransformFeedbackFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* transformFeedback */ +// transformFeedback struct_body << "\t\t\t" << structInfo->transformFeedback << "," << std::endl; -/* geometryStreams */ +// geometryStreams struct_body << "\t\t\t" << structInfo->geometryStreams << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTransformFeedbackFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceTransformFeedbackFeaturesEXT " << variable_name << " {" << std::endl; @@ -14121,29 +14121,29 @@ std::string GenerateStruct_VkPhysicalDeviceTransformFeedbackFeaturesEXT(std::ost std::string GenerateStruct_VkPhysicalDeviceTransformFeedbackPropertiesEXT(std::ostream &out, const VkPhysicalDeviceTransformFeedbackPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceTransformFeedbackPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxTransformFeedbackStreams */ +// maxTransformFeedbackStreams struct_body << "\t\t\t" << structInfo->maxTransformFeedbackStreams << "," << std::endl; -/* maxTransformFeedbackBuffers */ +// maxTransformFeedbackBuffers struct_body << "\t\t\t" << structInfo->maxTransformFeedbackBuffers << "," << std::endl; -/* maxTransformFeedbackBufferSize */ +// maxTransformFeedbackBufferSize struct_body << "\t\t\t" << structInfo->maxTransformFeedbackBufferSize << "UL" << "," << std::endl; -/* maxTransformFeedbackStreamDataSize */ +// maxTransformFeedbackStreamDataSize struct_body << "\t\t\t" << structInfo->maxTransformFeedbackStreamDataSize << "," << std::endl; -/* maxTransformFeedbackBufferDataSize */ +// maxTransformFeedbackBufferDataSize struct_body << "\t\t\t" << structInfo->maxTransformFeedbackBufferDataSize << "," << std::endl; -/* maxTransformFeedbackBufferDataStride */ +// maxTransformFeedbackBufferDataStride struct_body << "\t\t\t" << structInfo->maxTransformFeedbackBufferDataStride << "," << std::endl; -/* transformFeedbackQueries */ +// transformFeedbackQueries struct_body << "\t\t\t" << structInfo->transformFeedbackQueries << "," << std::endl; -/* transformFeedbackStreamsLinesTriangles */ +// transformFeedbackStreamsLinesTriangles struct_body << "\t\t\t" << structInfo->transformFeedbackStreamsLinesTriangles << "," << std::endl; -/* transformFeedbackRasterizationStreamSelect */ +// transformFeedbackRasterizationStreamSelect struct_body << "\t\t\t" << structInfo->transformFeedbackRasterizationStreamSelect << "," << std::endl; -/* transformFeedbackDraw */ +// transformFeedbackDraw struct_body << "\t\t\t" << structInfo->transformFeedbackDraw << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTransformFeedbackPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceTransformFeedbackPropertiesEXT " << variable_name << " {" << std::endl; @@ -14156,13 +14156,13 @@ std::string GenerateStruct_VkPhysicalDeviceTransformFeedbackPropertiesEXT(std::o std::string GenerateStruct_VkPipelineRasterizationStateStreamCreateInfoEXT(std::ostream &out, const VkPipelineRasterizationStateStreamCreateInfoEXT* structInfo, Decoded_VkPipelineRasterizationStateStreamCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineRasterizationStateStreamCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* rasterizationStream */ +// rasterizationStream struct_body << "\t\t\t" << structInfo->rasterizationStream << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRasterizationStateStreamCreateInfoEXT"); out << "\t\t" << "VkPipelineRasterizationStateStreamCreateInfoEXT " << variable_name << " {" << std::endl; @@ -14175,13 +14175,13 @@ std::string GenerateStruct_VkPipelineRasterizationStateStreamCreateInfoEXT(std:: std::string GenerateStruct_VkImageViewAddressPropertiesNVX(std::ostream &out, const VkImageViewAddressPropertiesNVX* structInfo, Decoded_VkImageViewAddressPropertiesNVX* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceAddress */ +// deviceAddress struct_body << "\t\t\t" << structInfo->deviceAddress << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewAddressPropertiesNVX"); out << "\t\t" << "VkImageViewAddressPropertiesNVX " << variable_name << " {" << std::endl; @@ -14194,15 +14194,15 @@ std::string GenerateStruct_VkImageViewAddressPropertiesNVX(std::ostream &out, co std::string GenerateStruct_VkImageViewHandleInfoNVX(std::ostream &out, const VkImageViewHandleInfoNVX* structInfo, Decoded_VkImageViewHandleInfoNVX* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageView */ +// imageView struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->imageView) << "," << std::endl; -/* descriptorType */ +// descriptorType struct_body << "\t\t\t" << "VkDescriptorType(" << structInfo->descriptorType << ")" << "," << std::endl; -/* sampler */ +// sampler struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->sampler) << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewHandleInfoNVX"); out << "\t\t" << "VkImageViewHandleInfoNVX " << variable_name << " {" << std::endl; @@ -14215,35 +14215,35 @@ std::string GenerateStruct_VkImageViewHandleInfoNVX(std::ostream &out, const VkI std::string GenerateStruct_VkVideoEncodeH264CapabilitiesEXT(std::ostream &out, const VkVideoEncodeH264CapabilitiesEXT* structInfo, Decoded_VkVideoEncodeH264CapabilitiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEncodeH264CapabilityFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* maxLevelIdc */ +// maxLevelIdc struct_body << "\t\t\t" << "StdVideoH264LevelIdc(" << structInfo->maxLevelIdc << ")" << "," << std::endl; -/* maxSliceCount */ +// maxSliceCount struct_body << "\t\t\t" << structInfo->maxSliceCount << "," << std::endl; -/* maxPPictureL0ReferenceCount */ +// maxPPictureL0ReferenceCount struct_body << "\t\t\t" << structInfo->maxPPictureL0ReferenceCount << "," << std::endl; -/* maxBPictureL0ReferenceCount */ +// maxBPictureL0ReferenceCount struct_body << "\t\t\t" << structInfo->maxBPictureL0ReferenceCount << "," << std::endl; -/* maxL1ReferenceCount */ +// maxL1ReferenceCount struct_body << "\t\t\t" << structInfo->maxL1ReferenceCount << "," << std::endl; -/* maxTemporalLayerCount */ +// maxTemporalLayerCount struct_body << "\t\t\t" << structInfo->maxTemporalLayerCount << "," << std::endl; -/* expectDyadicTemporalLayerPattern */ +// expectDyadicTemporalLayerPattern struct_body << "\t\t\t" << structInfo->expectDyadicTemporalLayerPattern << "," << std::endl; -/* minQp */ +// minQp struct_body << "\t\t\t" << structInfo->minQp << "," << std::endl; -/* maxQp */ +// maxQp struct_body << "\t\t\t" << structInfo->maxQp << "," << std::endl; -/* prefersGopRemainingFrames */ +// prefersGopRemainingFrames struct_body << "\t\t\t" << structInfo->prefersGopRemainingFrames << "," << std::endl; -/* requiresGopRemainingFrames */ +// requiresGopRemainingFrames struct_body << "\t\t\t" << structInfo->requiresGopRemainingFrames << "," << std::endl; -/* stdSyntaxFlags */ +// stdSyntaxFlags struct_body << "\t\t\t" << "VkVideoEncodeH264StdFlagsEXT(" << structInfo->stdSyntaxFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264CapabilitiesEXT"); out << "\t\t" << "VkVideoEncodeH264CapabilitiesEXT " << variable_name << " {" << std::endl; @@ -14264,11 +14264,11 @@ std::string GenerateStruct_VkVideoEncodeH264DpbSlotInfoEXT(std::ostream &out, co consumer); pstd_reference_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pStdReferenceInfo */ +// pStdReferenceInfo struct_body << "\t\t\t" << pstd_reference_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264DpbSlotInfoEXT"); out << "\t\t" << "VkVideoEncodeH264DpbSlotInfoEXT " << variable_name << " {" << std::endl; @@ -14280,11 +14280,11 @@ std::string GenerateStruct_VkVideoEncodeH264DpbSlotInfoEXT(std::ostream &out, co std::string GenerateStruct_VkVideoEncodeH264FrameSizeEXT(std::ostream &out, const VkVideoEncodeH264FrameSizeEXT* structInfo, Decoded_VkVideoEncodeH264FrameSizeEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* frameISize */ +// frameISize struct_body << "\t" << structInfo->frameISize << "," << std::endl; -/* framePSize */ +// framePSize struct_body << "\t\t\t" << structInfo->framePSize << "," << std::endl; -/* frameBSize */ +// frameBSize struct_body << "\t\t\t" << structInfo->frameBSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264FrameSizeEXT"); out << "\t\t" << "VkVideoEncodeH264FrameSizeEXT " << variable_name << " {" << std::endl; @@ -14297,17 +14297,17 @@ std::string GenerateStruct_VkVideoEncodeH264FrameSizeEXT(std::ostream &out, cons std::string GenerateStruct_VkVideoEncodeH264GopRemainingFrameInfoEXT(std::ostream &out, const VkVideoEncodeH264GopRemainingFrameInfoEXT* structInfo, Decoded_VkVideoEncodeH264GopRemainingFrameInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* useGopRemainingFrames */ +// useGopRemainingFrames struct_body << "\t\t\t" << structInfo->useGopRemainingFrames << "," << std::endl; -/* gopRemainingI */ +// gopRemainingI struct_body << "\t\t\t" << structInfo->gopRemainingI << "," << std::endl; -/* gopRemainingP */ +// gopRemainingP struct_body << "\t\t\t" << structInfo->gopRemainingP << "," << std::endl; -/* gopRemainingB */ +// gopRemainingB struct_body << "\t\t\t" << structInfo->gopRemainingB << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264GopRemainingFrameInfoEXT"); out << "\t\t" << "VkVideoEncodeH264GopRemainingFrameInfoEXT " << variable_name << " {" << std::endl; @@ -14328,13 +14328,13 @@ std::string GenerateStruct_VkVideoEncodeH264NaluSliceInfoEXT(std::ostream &out, consumer); pstd_slice_header_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* constantQp */ +// constantQp struct_body << "\t\t\t" << structInfo->constantQp << "," << std::endl; -/* pStdSliceHeader */ +// pStdSliceHeader struct_body << "\t\t\t" << pstd_slice_header_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264NaluSliceInfoEXT"); out << "\t\t" << "VkVideoEncodeH264NaluSliceInfoEXT " << variable_name << " {" << std::endl; @@ -14371,17 +14371,17 @@ std::string GenerateStruct_VkVideoEncodeH264PictureInfoEXT(std::ostream &out, co consumer); pstd_picture_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* naluSliceEntryCount */ +// naluSliceEntryCount struct_body << "\t\t\t" << structInfo->naluSliceEntryCount << "," << std::endl; -/* pNaluSliceEntries */ +// pNaluSliceEntries struct_body << "\t\t\t" << pnalu_slice_entries_array << "," << std::endl; -/* pStdPictureInfo */ +// pStdPictureInfo struct_body << "\t\t\t" << pstd_picture_info_struct << "," << std::endl; -/* generatePrefixNalu */ +// generatePrefixNalu struct_body << "\t\t\t" << structInfo->generatePrefixNalu << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264PictureInfoEXT"); out << "\t\t" << "VkVideoEncodeH264PictureInfoEXT " << variable_name << " {" << std::endl; @@ -14394,11 +14394,11 @@ std::string GenerateStruct_VkVideoEncodeH264PictureInfoEXT(std::ostream &out, co std::string GenerateStruct_VkVideoEncodeH264ProfileInfoEXT(std::ostream &out, const VkVideoEncodeH264ProfileInfoEXT* structInfo, Decoded_VkVideoEncodeH264ProfileInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdProfileIdc */ +// stdProfileIdc struct_body << "\t\t\t" << "StdVideoH264ProfileIdc(" << structInfo->stdProfileIdc << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264ProfileInfoEXT"); out << "\t\t" << "VkVideoEncodeH264ProfileInfoEXT " << variable_name << " {" << std::endl; @@ -14410,11 +14410,11 @@ std::string GenerateStruct_VkVideoEncodeH264ProfileInfoEXT(std::ostream &out, co std::string GenerateStruct_VkVideoEncodeH264QpEXT(std::ostream &out, const VkVideoEncodeH264QpEXT* structInfo, Decoded_VkVideoEncodeH264QpEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* qpI */ +// qpI struct_body << "\t" << structInfo->qpI << "," << std::endl; -/* qpP */ +// qpP struct_body << "\t\t\t" << structInfo->qpP << "," << std::endl; -/* qpB */ +// qpB struct_body << "\t\t\t" << structInfo->qpB << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264QpEXT"); out << "\t\t" << "VkVideoEncodeH264QpEXT " << variable_name << " {" << std::endl; @@ -14431,27 +14431,27 @@ std::string GenerateStruct_VkVideoEncodeH264QualityLevelPropertiesEXT(std::ostre &structInfo->preferredConstantQp, metaInfo->preferredConstantQp, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* preferredRateControlFlags */ +// preferredRateControlFlags struct_body << "\t\t\t" << "VkVideoEncodeH264RateControlFlagsEXT(" << structInfo->preferredRateControlFlags << ")" << "," << std::endl; -/* preferredGopFrameCount */ +// preferredGopFrameCount struct_body << "\t\t\t" << structInfo->preferredGopFrameCount << "," << std::endl; -/* preferredIdrPeriod */ +// preferredIdrPeriod struct_body << "\t\t\t" << structInfo->preferredIdrPeriod << "," << std::endl; -/* preferredConsecutiveBFrameCount */ +// preferredConsecutiveBFrameCount struct_body << "\t\t\t" << structInfo->preferredConsecutiveBFrameCount << "," << std::endl; -/* preferredTemporalLayerCount */ +// preferredTemporalLayerCount struct_body << "\t\t\t" << structInfo->preferredTemporalLayerCount << "," << std::endl; -/* preferredConstantQp */ +// preferredConstantQp struct_body << "\t\t\t" << preferred_constant_qp_info_var << "," << std::endl; -/* preferredMaxL0ReferenceCount */ +// preferredMaxL0ReferenceCount struct_body << "\t\t\t" << structInfo->preferredMaxL0ReferenceCount << "," << std::endl; -/* preferredMaxL1ReferenceCount */ +// preferredMaxL1ReferenceCount struct_body << "\t\t\t" << structInfo->preferredMaxL1ReferenceCount << "," << std::endl; -/* preferredStdEntropyCodingModeFlag */ +// preferredStdEntropyCodingModeFlag struct_body << "\t\t\t" << structInfo->preferredStdEntropyCodingModeFlag << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264QualityLevelPropertiesEXT"); out << "\t\t" << "VkVideoEncodeH264QualityLevelPropertiesEXT " << variable_name << " {" << std::endl; @@ -14464,19 +14464,19 @@ std::string GenerateStruct_VkVideoEncodeH264QualityLevelPropertiesEXT(std::ostre std::string GenerateStruct_VkVideoEncodeH264RateControlInfoEXT(std::ostream &out, const VkVideoEncodeH264RateControlInfoEXT* structInfo, Decoded_VkVideoEncodeH264RateControlInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEncodeH264RateControlFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* gopFrameCount */ +// gopFrameCount struct_body << "\t\t\t" << structInfo->gopFrameCount << "," << std::endl; -/* idrPeriod */ +// idrPeriod struct_body << "\t\t\t" << structInfo->idrPeriod << "," << std::endl; -/* consecutiveBFrameCount */ +// consecutiveBFrameCount struct_body << "\t\t\t" << structInfo->consecutiveBFrameCount << "," << std::endl; -/* temporalLayerCount */ +// temporalLayerCount struct_body << "\t\t\t" << structInfo->temporalLayerCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264RateControlInfoEXT"); out << "\t\t" << "VkVideoEncodeH264RateControlInfoEXT " << variable_name << " {" << std::endl; @@ -14501,21 +14501,21 @@ std::string GenerateStruct_VkVideoEncodeH264RateControlLayerInfoEXT(std::ostream &structInfo->maxFrameSize, metaInfo->maxFrameSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* useMinQp */ +// useMinQp struct_body << "\t\t\t" << structInfo->useMinQp << "," << std::endl; -/* minQp */ +// minQp struct_body << "\t\t\t" << min_qp_info_var << "," << std::endl; -/* useMaxQp */ +// useMaxQp struct_body << "\t\t\t" << structInfo->useMaxQp << "," << std::endl; -/* maxQp */ +// maxQp struct_body << "\t\t\t" << max_qp_info_var << "," << std::endl; -/* useMaxFrameSize */ +// useMaxFrameSize struct_body << "\t\t\t" << structInfo->useMaxFrameSize << "," << std::endl; -/* maxFrameSize */ +// maxFrameSize struct_body << "\t\t\t" << max_frame_size_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264RateControlLayerInfoEXT"); out << "\t\t" << "VkVideoEncodeH264RateControlLayerInfoEXT " << variable_name << " {" << std::endl; @@ -14528,13 +14528,13 @@ std::string GenerateStruct_VkVideoEncodeH264RateControlLayerInfoEXT(std::ostream std::string GenerateStruct_VkVideoEncodeH264SessionCreateInfoEXT(std::ostream &out, const VkVideoEncodeH264SessionCreateInfoEXT* structInfo, Decoded_VkVideoEncodeH264SessionCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* useMaxLevelIdc */ +// useMaxLevelIdc struct_body << "\t\t\t" << structInfo->useMaxLevelIdc << "," << std::endl; -/* maxLevelIdc */ +// maxLevelIdc struct_body << "\t\t\t" << "StdVideoH264LevelIdc(" << structInfo->maxLevelIdc << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264SessionCreateInfoEXT"); out << "\t\t" << "VkVideoEncodeH264SessionCreateInfoEXT " << variable_name << " {" << std::endl; @@ -14579,17 +14579,17 @@ std::string GenerateStruct_VkVideoEncodeH264SessionParametersAddInfoEXT(std::ost } out << "\t\t" << "StdVideoH264PictureParameterSet " << pstd_pp_ss_array << "[] = {" << pstd_pp_ss_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdSPSCount */ +// stdSPSCount struct_body << "\t\t\t" << structInfo->stdSPSCount << "," << std::endl; -/* pStdSPSs */ +// pStdSPSs struct_body << "\t\t\t" << pstd_s_pss_array << "," << std::endl; -/* stdPPSCount */ +// stdPPSCount struct_body << "\t\t\t" << structInfo->stdPPSCount << "," << std::endl; -/* pStdPPSs */ +// pStdPPSs struct_body << "\t\t\t" << pstd_pp_ss_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264SessionParametersAddInfoEXT"); out << "\t\t" << "VkVideoEncodeH264SessionParametersAddInfoEXT " << variable_name << " {" << std::endl; @@ -14610,15 +14610,15 @@ std::string GenerateStruct_VkVideoEncodeH264SessionParametersCreateInfoEXT(std:: consumer); pparameters_add_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxStdSPSCount */ +// maxStdSPSCount struct_body << "\t\t\t" << structInfo->maxStdSPSCount << "," << std::endl; -/* maxStdPPSCount */ +// maxStdPPSCount struct_body << "\t\t\t" << structInfo->maxStdPPSCount << "," << std::endl; -/* pParametersAddInfo */ +// pParametersAddInfo struct_body << "\t\t\t" << pparameters_add_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264SessionParametersCreateInfoEXT"); out << "\t\t" << "VkVideoEncodeH264SessionParametersCreateInfoEXT " << variable_name << " {" << std::endl; @@ -14631,13 +14631,13 @@ std::string GenerateStruct_VkVideoEncodeH264SessionParametersCreateInfoEXT(std:: std::string GenerateStruct_VkVideoEncodeH264SessionParametersFeedbackInfoEXT(std::ostream &out, const VkVideoEncodeH264SessionParametersFeedbackInfoEXT* structInfo, Decoded_VkVideoEncodeH264SessionParametersFeedbackInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* hasStdSPSOverrides */ +// hasStdSPSOverrides struct_body << "\t\t\t" << structInfo->hasStdSPSOverrides << "," << std::endl; -/* hasStdPPSOverrides */ +// hasStdPPSOverrides struct_body << "\t\t\t" << structInfo->hasStdPPSOverrides << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264SessionParametersFeedbackInfoEXT"); out << "\t\t" << "VkVideoEncodeH264SessionParametersFeedbackInfoEXT " << variable_name << " {" << std::endl; @@ -14650,17 +14650,17 @@ std::string GenerateStruct_VkVideoEncodeH264SessionParametersFeedbackInfoEXT(std std::string GenerateStruct_VkVideoEncodeH264SessionParametersGetInfoEXT(std::ostream &out, const VkVideoEncodeH264SessionParametersGetInfoEXT* structInfo, Decoded_VkVideoEncodeH264SessionParametersGetInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* writeStdSPS */ +// writeStdSPS struct_body << "\t\t\t" << structInfo->writeStdSPS << "," << std::endl; -/* writeStdPPS */ +// writeStdPPS struct_body << "\t\t\t" << structInfo->writeStdPPS << "," << std::endl; -/* stdSPSId */ +// stdSPSId struct_body << "\t\t\t" << structInfo->stdSPSId << "," << std::endl; -/* stdPPSId */ +// stdPPSId struct_body << "\t\t\t" << structInfo->stdPPSId << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH264SessionParametersGetInfoEXT"); out << "\t\t" << "VkVideoEncodeH264SessionParametersGetInfoEXT " << variable_name << " {" << std::endl; @@ -14677,41 +14677,41 @@ std::string GenerateStruct_VkVideoEncodeH265CapabilitiesEXT(std::ostream &out, c &structInfo->maxTiles, metaInfo->maxTiles, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEncodeH265CapabilityFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* maxLevelIdc */ +// maxLevelIdc struct_body << "\t\t\t" << "StdVideoH265LevelIdc(" << structInfo->maxLevelIdc << ")" << "," << std::endl; -/* maxSliceSegmentCount */ +// maxSliceSegmentCount struct_body << "\t\t\t" << structInfo->maxSliceSegmentCount << "," << std::endl; -/* maxTiles */ +// maxTiles struct_body << "\t\t\t" << max_tiles_info_var << "," << std::endl; -/* ctbSizes */ +// ctbSizes struct_body << "\t\t\t" << "VkVideoEncodeH265CtbSizeFlagsEXT(" << structInfo->ctbSizes << ")" << "," << std::endl; -/* transformBlockSizes */ +// transformBlockSizes struct_body << "\t\t\t" << "VkVideoEncodeH265TransformBlockSizeFlagsEXT(" << structInfo->transformBlockSizes << ")" << "," << std::endl; -/* maxPPictureL0ReferenceCount */ +// maxPPictureL0ReferenceCount struct_body << "\t\t\t" << structInfo->maxPPictureL0ReferenceCount << "," << std::endl; -/* maxBPictureL0ReferenceCount */ +// maxBPictureL0ReferenceCount struct_body << "\t\t\t" << structInfo->maxBPictureL0ReferenceCount << "," << std::endl; -/* maxL1ReferenceCount */ +// maxL1ReferenceCount struct_body << "\t\t\t" << structInfo->maxL1ReferenceCount << "," << std::endl; -/* maxSubLayerCount */ +// maxSubLayerCount struct_body << "\t\t\t" << structInfo->maxSubLayerCount << "," << std::endl; -/* expectDyadicTemporalSubLayerPattern */ +// expectDyadicTemporalSubLayerPattern struct_body << "\t\t\t" << structInfo->expectDyadicTemporalSubLayerPattern << "," << std::endl; -/* minQp */ +// minQp struct_body << "\t\t\t" << structInfo->minQp << "," << std::endl; -/* maxQp */ +// maxQp struct_body << "\t\t\t" << structInfo->maxQp << "," << std::endl; -/* prefersGopRemainingFrames */ +// prefersGopRemainingFrames struct_body << "\t\t\t" << structInfo->prefersGopRemainingFrames << "," << std::endl; -/* requiresGopRemainingFrames */ +// requiresGopRemainingFrames struct_body << "\t\t\t" << structInfo->requiresGopRemainingFrames << "," << std::endl; -/* stdSyntaxFlags */ +// stdSyntaxFlags struct_body << "\t\t\t" << "VkVideoEncodeH265StdFlagsEXT(" << structInfo->stdSyntaxFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265CapabilitiesEXT"); out << "\t\t" << "VkVideoEncodeH265CapabilitiesEXT " << variable_name << " {" << std::endl; @@ -14732,11 +14732,11 @@ std::string GenerateStruct_VkVideoEncodeH265DpbSlotInfoEXT(std::ostream &out, co consumer); pstd_reference_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pStdReferenceInfo */ +// pStdReferenceInfo struct_body << "\t\t\t" << pstd_reference_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265DpbSlotInfoEXT"); out << "\t\t" << "VkVideoEncodeH265DpbSlotInfoEXT " << variable_name << " {" << std::endl; @@ -14748,11 +14748,11 @@ std::string GenerateStruct_VkVideoEncodeH265DpbSlotInfoEXT(std::ostream &out, co std::string GenerateStruct_VkVideoEncodeH265FrameSizeEXT(std::ostream &out, const VkVideoEncodeH265FrameSizeEXT* structInfo, Decoded_VkVideoEncodeH265FrameSizeEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* frameISize */ +// frameISize struct_body << "\t" << structInfo->frameISize << "," << std::endl; -/* framePSize */ +// framePSize struct_body << "\t\t\t" << structInfo->framePSize << "," << std::endl; -/* frameBSize */ +// frameBSize struct_body << "\t\t\t" << structInfo->frameBSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265FrameSizeEXT"); out << "\t\t" << "VkVideoEncodeH265FrameSizeEXT " << variable_name << " {" << std::endl; @@ -14765,17 +14765,17 @@ std::string GenerateStruct_VkVideoEncodeH265FrameSizeEXT(std::ostream &out, cons std::string GenerateStruct_VkVideoEncodeH265GopRemainingFrameInfoEXT(std::ostream &out, const VkVideoEncodeH265GopRemainingFrameInfoEXT* structInfo, Decoded_VkVideoEncodeH265GopRemainingFrameInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* useGopRemainingFrames */ +// useGopRemainingFrames struct_body << "\t\t\t" << structInfo->useGopRemainingFrames << "," << std::endl; -/* gopRemainingI */ +// gopRemainingI struct_body << "\t\t\t" << structInfo->gopRemainingI << "," << std::endl; -/* gopRemainingP */ +// gopRemainingP struct_body << "\t\t\t" << structInfo->gopRemainingP << "," << std::endl; -/* gopRemainingB */ +// gopRemainingB struct_body << "\t\t\t" << structInfo->gopRemainingB << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265GopRemainingFrameInfoEXT"); out << "\t\t" << "VkVideoEncodeH265GopRemainingFrameInfoEXT " << variable_name << " {" << std::endl; @@ -14796,13 +14796,13 @@ std::string GenerateStruct_VkVideoEncodeH265NaluSliceSegmentInfoEXT(std::ostream consumer); pstd_slice_segment_header_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* constantQp */ +// constantQp struct_body << "\t\t\t" << structInfo->constantQp << "," << std::endl; -/* pStdSliceSegmentHeader */ +// pStdSliceSegmentHeader struct_body << "\t\t\t" << pstd_slice_segment_header_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265NaluSliceSegmentInfoEXT"); out << "\t\t" << "VkVideoEncodeH265NaluSliceSegmentInfoEXT " << variable_name << " {" << std::endl; @@ -14839,15 +14839,15 @@ std::string GenerateStruct_VkVideoEncodeH265PictureInfoEXT(std::ostream &out, co consumer); pstd_picture_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* naluSliceSegmentEntryCount */ +// naluSliceSegmentEntryCount struct_body << "\t\t\t" << structInfo->naluSliceSegmentEntryCount << "," << std::endl; -/* pNaluSliceSegmentEntries */ +// pNaluSliceSegmentEntries struct_body << "\t\t\t" << pnalu_slice_segment_entries_array << "," << std::endl; -/* pStdPictureInfo */ +// pStdPictureInfo struct_body << "\t\t\t" << pstd_picture_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265PictureInfoEXT"); out << "\t\t" << "VkVideoEncodeH265PictureInfoEXT " << variable_name << " {" << std::endl; @@ -14860,11 +14860,11 @@ std::string GenerateStruct_VkVideoEncodeH265PictureInfoEXT(std::ostream &out, co std::string GenerateStruct_VkVideoEncodeH265ProfileInfoEXT(std::ostream &out, const VkVideoEncodeH265ProfileInfoEXT* structInfo, Decoded_VkVideoEncodeH265ProfileInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdProfileIdc */ +// stdProfileIdc struct_body << "\t\t\t" << "StdVideoH265ProfileIdc(" << structInfo->stdProfileIdc << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265ProfileInfoEXT"); out << "\t\t" << "VkVideoEncodeH265ProfileInfoEXT " << variable_name << " {" << std::endl; @@ -14876,11 +14876,11 @@ std::string GenerateStruct_VkVideoEncodeH265ProfileInfoEXT(std::ostream &out, co std::string GenerateStruct_VkVideoEncodeH265QpEXT(std::ostream &out, const VkVideoEncodeH265QpEXT* structInfo, Decoded_VkVideoEncodeH265QpEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* qpI */ +// qpI struct_body << "\t" << structInfo->qpI << "," << std::endl; -/* qpP */ +// qpP struct_body << "\t\t\t" << structInfo->qpP << "," << std::endl; -/* qpB */ +// qpB struct_body << "\t\t\t" << structInfo->qpB << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265QpEXT"); out << "\t\t" << "VkVideoEncodeH265QpEXT " << variable_name << " {" << std::endl; @@ -14897,25 +14897,25 @@ std::string GenerateStruct_VkVideoEncodeH265QualityLevelPropertiesEXT(std::ostre &structInfo->preferredConstantQp, metaInfo->preferredConstantQp, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* preferredRateControlFlags */ +// preferredRateControlFlags struct_body << "\t\t\t" << "VkVideoEncodeH265RateControlFlagsEXT(" << structInfo->preferredRateControlFlags << ")" << "," << std::endl; -/* preferredGopFrameCount */ +// preferredGopFrameCount struct_body << "\t\t\t" << structInfo->preferredGopFrameCount << "," << std::endl; -/* preferredIdrPeriod */ +// preferredIdrPeriod struct_body << "\t\t\t" << structInfo->preferredIdrPeriod << "," << std::endl; -/* preferredConsecutiveBFrameCount */ +// preferredConsecutiveBFrameCount struct_body << "\t\t\t" << structInfo->preferredConsecutiveBFrameCount << "," << std::endl; -/* preferredSubLayerCount */ +// preferredSubLayerCount struct_body << "\t\t\t" << structInfo->preferredSubLayerCount << "," << std::endl; -/* preferredConstantQp */ +// preferredConstantQp struct_body << "\t\t\t" << preferred_constant_qp_info_var << "," << std::endl; -/* preferredMaxL0ReferenceCount */ +// preferredMaxL0ReferenceCount struct_body << "\t\t\t" << structInfo->preferredMaxL0ReferenceCount << "," << std::endl; -/* preferredMaxL1ReferenceCount */ +// preferredMaxL1ReferenceCount struct_body << "\t\t\t" << structInfo->preferredMaxL1ReferenceCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265QualityLevelPropertiesEXT"); out << "\t\t" << "VkVideoEncodeH265QualityLevelPropertiesEXT " << variable_name << " {" << std::endl; @@ -14928,19 +14928,19 @@ std::string GenerateStruct_VkVideoEncodeH265QualityLevelPropertiesEXT(std::ostre std::string GenerateStruct_VkVideoEncodeH265RateControlInfoEXT(std::ostream &out, const VkVideoEncodeH265RateControlInfoEXT* structInfo, Decoded_VkVideoEncodeH265RateControlInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkVideoEncodeH265RateControlFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* gopFrameCount */ +// gopFrameCount struct_body << "\t\t\t" << structInfo->gopFrameCount << "," << std::endl; -/* idrPeriod */ +// idrPeriod struct_body << "\t\t\t" << structInfo->idrPeriod << "," << std::endl; -/* consecutiveBFrameCount */ +// consecutiveBFrameCount struct_body << "\t\t\t" << structInfo->consecutiveBFrameCount << "," << std::endl; -/* subLayerCount */ +// subLayerCount struct_body << "\t\t\t" << structInfo->subLayerCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265RateControlInfoEXT"); out << "\t\t" << "VkVideoEncodeH265RateControlInfoEXT " << variable_name << " {" << std::endl; @@ -14965,21 +14965,21 @@ std::string GenerateStruct_VkVideoEncodeH265RateControlLayerInfoEXT(std::ostream &structInfo->maxFrameSize, metaInfo->maxFrameSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* useMinQp */ +// useMinQp struct_body << "\t\t\t" << structInfo->useMinQp << "," << std::endl; -/* minQp */ +// minQp struct_body << "\t\t\t" << min_qp_info_var << "," << std::endl; -/* useMaxQp */ +// useMaxQp struct_body << "\t\t\t" << structInfo->useMaxQp << "," << std::endl; -/* maxQp */ +// maxQp struct_body << "\t\t\t" << max_qp_info_var << "," << std::endl; -/* useMaxFrameSize */ +// useMaxFrameSize struct_body << "\t\t\t" << structInfo->useMaxFrameSize << "," << std::endl; -/* maxFrameSize */ +// maxFrameSize struct_body << "\t\t\t" << max_frame_size_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265RateControlLayerInfoEXT"); out << "\t\t" << "VkVideoEncodeH265RateControlLayerInfoEXT " << variable_name << " {" << std::endl; @@ -14992,13 +14992,13 @@ std::string GenerateStruct_VkVideoEncodeH265RateControlLayerInfoEXT(std::ostream std::string GenerateStruct_VkVideoEncodeH265SessionCreateInfoEXT(std::ostream &out, const VkVideoEncodeH265SessionCreateInfoEXT* structInfo, Decoded_VkVideoEncodeH265SessionCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* useMaxLevelIdc */ +// useMaxLevelIdc struct_body << "\t\t\t" << structInfo->useMaxLevelIdc << "," << std::endl; -/* maxLevelIdc */ +// maxLevelIdc struct_body << "\t\t\t" << "StdVideoH265LevelIdc(" << structInfo->maxLevelIdc << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265SessionCreateInfoEXT"); out << "\t\t" << "VkVideoEncodeH265SessionCreateInfoEXT " << variable_name << " {" << std::endl; @@ -15059,21 +15059,21 @@ std::string GenerateStruct_VkVideoEncodeH265SessionParametersAddInfoEXT(std::ost } out << "\t\t" << "StdVideoH265PictureParameterSet " << pstd_pp_ss_array << "[] = {" << pstd_pp_ss_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stdVPSCount */ +// stdVPSCount struct_body << "\t\t\t" << structInfo->stdVPSCount << "," << std::endl; -/* pStdVPSs */ +// pStdVPSs struct_body << "\t\t\t" << pstd_v_pss_array << "," << std::endl; -/* stdSPSCount */ +// stdSPSCount struct_body << "\t\t\t" << structInfo->stdSPSCount << "," << std::endl; -/* pStdSPSs */ +// pStdSPSs struct_body << "\t\t\t" << pstd_s_pss_array << "," << std::endl; -/* stdPPSCount */ +// stdPPSCount struct_body << "\t\t\t" << structInfo->stdPPSCount << "," << std::endl; -/* pStdPPSs */ +// pStdPPSs struct_body << "\t\t\t" << pstd_pp_ss_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265SessionParametersAddInfoEXT"); out << "\t\t" << "VkVideoEncodeH265SessionParametersAddInfoEXT " << variable_name << " {" << std::endl; @@ -15094,17 +15094,17 @@ std::string GenerateStruct_VkVideoEncodeH265SessionParametersCreateInfoEXT(std:: consumer); pparameters_add_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxStdVPSCount */ +// maxStdVPSCount struct_body << "\t\t\t" << structInfo->maxStdVPSCount << "," << std::endl; -/* maxStdSPSCount */ +// maxStdSPSCount struct_body << "\t\t\t" << structInfo->maxStdSPSCount << "," << std::endl; -/* maxStdPPSCount */ +// maxStdPPSCount struct_body << "\t\t\t" << structInfo->maxStdPPSCount << "," << std::endl; -/* pParametersAddInfo */ +// pParametersAddInfo struct_body << "\t\t\t" << pparameters_add_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265SessionParametersCreateInfoEXT"); out << "\t\t" << "VkVideoEncodeH265SessionParametersCreateInfoEXT " << variable_name << " {" << std::endl; @@ -15117,15 +15117,15 @@ std::string GenerateStruct_VkVideoEncodeH265SessionParametersCreateInfoEXT(std:: std::string GenerateStruct_VkVideoEncodeH265SessionParametersFeedbackInfoEXT(std::ostream &out, const VkVideoEncodeH265SessionParametersFeedbackInfoEXT* structInfo, Decoded_VkVideoEncodeH265SessionParametersFeedbackInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* hasStdVPSOverrides */ +// hasStdVPSOverrides struct_body << "\t\t\t" << structInfo->hasStdVPSOverrides << "," << std::endl; -/* hasStdSPSOverrides */ +// hasStdSPSOverrides struct_body << "\t\t\t" << structInfo->hasStdSPSOverrides << "," << std::endl; -/* hasStdPPSOverrides */ +// hasStdPPSOverrides struct_body << "\t\t\t" << structInfo->hasStdPPSOverrides << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265SessionParametersFeedbackInfoEXT"); out << "\t\t" << "VkVideoEncodeH265SessionParametersFeedbackInfoEXT " << variable_name << " {" << std::endl; @@ -15138,21 +15138,21 @@ std::string GenerateStruct_VkVideoEncodeH265SessionParametersFeedbackInfoEXT(std std::string GenerateStruct_VkVideoEncodeH265SessionParametersGetInfoEXT(std::ostream &out, const VkVideoEncodeH265SessionParametersGetInfoEXT* structInfo, Decoded_VkVideoEncodeH265SessionParametersGetInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* writeStdVPS */ +// writeStdVPS struct_body << "\t\t\t" << structInfo->writeStdVPS << "," << std::endl; -/* writeStdSPS */ +// writeStdSPS struct_body << "\t\t\t" << structInfo->writeStdSPS << "," << std::endl; -/* writeStdPPS */ +// writeStdPPS struct_body << "\t\t\t" << structInfo->writeStdPPS << "," << std::endl; -/* stdVPSId */ +// stdVPSId struct_body << "\t\t\t" << structInfo->stdVPSId << "," << std::endl; -/* stdSPSId */ +// stdSPSId struct_body << "\t\t\t" << structInfo->stdSPSId << "," << std::endl; -/* stdPPSId */ +// stdPPSId struct_body << "\t\t\t" << structInfo->stdPPSId << ","; std::string variable_name = consumer.AddStruct(struct_body, "videoEncodeH265SessionParametersGetInfoEXT"); out << "\t\t" << "VkVideoEncodeH265SessionParametersGetInfoEXT " << variable_name << " {" << std::endl; @@ -15165,11 +15165,11 @@ std::string GenerateStruct_VkVideoEncodeH265SessionParametersGetInfoEXT(std::ost std::string GenerateStruct_VkTextureLODGatherFormatPropertiesAMD(std::ostream &out, const VkTextureLODGatherFormatPropertiesAMD* structInfo, Decoded_VkTextureLODGatherFormatPropertiesAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* supportsTextureGatherLODBiasAMD */ +// supportsTextureGatherLODBiasAMD struct_body << "\t\t\t" << structInfo->supportsTextureGatherLODBiasAMD << ","; std::string variable_name = consumer.AddStruct(struct_body, "textureLODGatherFormatPropertiesAMD"); out << "\t\t" << "VkTextureLODGatherFormatPropertiesAMD " << variable_name << " {" << std::endl; @@ -15181,15 +15181,15 @@ std::string GenerateStruct_VkTextureLODGatherFormatPropertiesAMD(std::ostream &o std::string GenerateStruct_VkShaderResourceUsageAMD(std::ostream &out, const VkShaderResourceUsageAMD* structInfo, Decoded_VkShaderResourceUsageAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* numUsedVgprs */ +// numUsedVgprs struct_body << "\t" << structInfo->numUsedVgprs << "," << std::endl; -/* numUsedSgprs */ +// numUsedSgprs struct_body << "\t\t\t" << structInfo->numUsedSgprs << "," << std::endl; -/* ldsSizePerLocalWorkGroup */ +// ldsSizePerLocalWorkGroup struct_body << "\t\t\t" << structInfo->ldsSizePerLocalWorkGroup << "," << std::endl; -/* ldsUsageSizeInBytes */ +// ldsUsageSizeInBytes struct_body << "\t\t\t" << structInfo->ldsUsageSizeInBytes << "," << std::endl; -/* scratchMemUsageInBytes */ +// scratchMemUsageInBytes struct_body << "\t\t\t" << structInfo->scratchMemUsageInBytes << ","; std::string variable_name = consumer.AddStruct(struct_body, "shaderResourceUsageAMD"); out << "\t\t" << "VkShaderResourceUsageAMD " << variable_name << " {" << std::endl; @@ -15205,19 +15205,19 @@ std::string GenerateStruct_VkShaderStatisticsInfoAMD(std::ostream &out, const Vk &structInfo->resourceUsage, metaInfo->resourceUsage, consumer); -/* shaderStageMask */ +// shaderStageMask struct_body << "\t" << "VkShaderStageFlags(" << structInfo->shaderStageMask << ")" << "," << std::endl; -/* resourceUsage */ +// resourceUsage struct_body << "\t\t\t" << resource_usage_info_var << "," << std::endl; -/* numPhysicalVgprs */ +// numPhysicalVgprs struct_body << "\t\t\t" << structInfo->numPhysicalVgprs << "," << std::endl; -/* numPhysicalSgprs */ +// numPhysicalSgprs struct_body << "\t\t\t" << structInfo->numPhysicalSgprs << "," << std::endl; -/* numAvailableVgprs */ +// numAvailableVgprs struct_body << "\t\t\t" << structInfo->numAvailableVgprs << "," << std::endl; -/* numAvailableSgprs */ +// numAvailableSgprs struct_body << "\t\t\t" << structInfo->numAvailableSgprs << "," << std::endl; -/* computeWorkGroupSize */ +// computeWorkGroupSize struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->computeWorkGroupSize[0]), 3) << ","; std::string variable_name = consumer.AddStruct(struct_body, "shaderStatisticsInfoAMD"); out << "\t\t" << "VkShaderStatisticsInfoAMD " << variable_name << " {" << std::endl; @@ -15230,13 +15230,13 @@ std::string GenerateStruct_VkShaderStatisticsInfoAMD(std::ostream &out, const Vk std::string GenerateStruct_VkStreamDescriptorSurfaceCreateInfoGGP(std::ostream &out, const VkStreamDescriptorSurfaceCreateInfoGGP* structInfo, Decoded_VkStreamDescriptorSurfaceCreateInfoGGP* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkStreamDescriptorSurfaceCreateFlagsGGP(" << structInfo->flags << ")" << "," << std::endl; -/* streamDescriptor */ +// streamDescriptor struct_body << "\t\t\t" << structInfo->streamDescriptor << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "streamDescriptorSurfaceCreateInfoGGP"); out << "\t\t" << "VkStreamDescriptorSurfaceCreateInfoGGP " << variable_name << " {" << std::endl; @@ -15249,11 +15249,11 @@ std::string GenerateStruct_VkStreamDescriptorSurfaceCreateInfoGGP(std::ostream & std::string GenerateStruct_VkPhysicalDeviceCornerSampledImageFeaturesNV(std::ostream &out, const VkPhysicalDeviceCornerSampledImageFeaturesNV* structInfo, Decoded_VkPhysicalDeviceCornerSampledImageFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cornerSampledImage */ +// cornerSampledImage struct_body << "\t\t\t" << structInfo->cornerSampledImage << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCornerSampledImageFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceCornerSampledImageFeaturesNV " << variable_name << " {" << std::endl; @@ -15269,13 +15269,13 @@ std::string GenerateStruct_VkExternalImageFormatPropertiesNV(std::ostream &out, &structInfo->imageFormatProperties, metaInfo->imageFormatProperties, consumer); -/* imageFormatProperties */ +// imageFormatProperties struct_body << "\t" << image_format_properties_info_var << "," << std::endl; -/* externalMemoryFeatures */ +// externalMemoryFeatures struct_body << "\t\t\t" << "VkExternalMemoryFeatureFlagsNV(" << structInfo->externalMemoryFeatures << ")" << "," << std::endl; -/* exportFromImportedHandleTypes */ +// exportFromImportedHandleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagsNV(" << structInfo->exportFromImportedHandleTypes << ")" << "," << std::endl; -/* compatibleHandleTypes */ +// compatibleHandleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagsNV(" << structInfo->compatibleHandleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalImageFormatPropertiesNV"); out << "\t\t" << "VkExternalImageFormatPropertiesNV " << variable_name << " {" << std::endl; @@ -15288,11 +15288,11 @@ std::string GenerateStruct_VkExternalImageFormatPropertiesNV(std::ostream &out, std::string GenerateStruct_VkExportMemoryAllocateInfoNV(std::ostream &out, const VkExportMemoryAllocateInfoNV* structInfo, Decoded_VkExportMemoryAllocateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleTypes */ +// handleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagsNV(" << structInfo->handleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportMemoryAllocateInfoNV"); out << "\t\t" << "VkExportMemoryAllocateInfoNV " << variable_name << " {" << std::endl; @@ -15305,11 +15305,11 @@ std::string GenerateStruct_VkExportMemoryAllocateInfoNV(std::ostream &out, const std::string GenerateStruct_VkExternalMemoryImageCreateInfoNV(std::ostream &out, const VkExternalMemoryImageCreateInfoNV* structInfo, Decoded_VkExternalMemoryImageCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleTypes */ +// handleTypes struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagsNV(" << structInfo->handleTypes << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalMemoryImageCreateInfoNV"); out << "\t\t" << "VkExternalMemoryImageCreateInfoNV " << variable_name << " {" << std::endl; @@ -15322,13 +15322,13 @@ std::string GenerateStruct_VkExternalMemoryImageCreateInfoNV(std::ostream &out, std::string GenerateStruct_VkExportMemoryWin32HandleInfoNV(std::ostream &out, const VkExportMemoryWin32HandleInfoNV* structInfo, Decoded_VkExportMemoryWin32HandleInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pAttributes */ +// pAttributes struct_body << "\t\t\t" << structInfo->pAttributes << "," << std::endl; -/* dwAccess */ +// dwAccess struct_body << "\t\t\t" << structInfo->dwAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "exportMemoryWin32HandleInfoNV"); out << "\t\t" << "VkExportMemoryWin32HandleInfoNV " << variable_name << " {" << std::endl; @@ -15341,13 +15341,13 @@ std::string GenerateStruct_VkExportMemoryWin32HandleInfoNV(std::ostream &out, co std::string GenerateStruct_VkImportMemoryWin32HandleInfoNV(std::ostream &out, const VkImportMemoryWin32HandleInfoNV* structInfo, Decoded_VkImportMemoryWin32HandleInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagsNV(" << structInfo->handleType << ")" << "," << std::endl; -/* handle */ +// handle struct_body << "\t\t\t" << structInfo->handle << ","; std::string variable_name = consumer.AddStruct(struct_body, "importMemoryWin32HandleInfoNV"); out << "\t\t" << "VkImportMemoryWin32HandleInfoNV " << variable_name << " {" << std::endl; @@ -15415,23 +15415,23 @@ std::string GenerateStruct_VkWin32KeyedMutexAcquireReleaseInfoNV(std::ostream &o out << "\t\t" << "uint64_t " << prelease_keys_array << "[] = {" << prelease_keys_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* acquireCount */ +// acquireCount struct_body << "\t\t\t" << structInfo->acquireCount << "," << std::endl; -/* pAcquireSyncs */ +// pAcquireSyncs struct_body << "\t\t\t" << pacquire_syncs_array << "," << std::endl; -/* pAcquireKeys */ +// pAcquireKeys struct_body << "\t\t\t" << "{ *" << pacquire_keys_array << " }" << "," << std::endl; -/* pAcquireTimeoutMilliseconds */ +// pAcquireTimeoutMilliseconds struct_body << "\t\t\t" << pacquire_timeout_milliseconds_array << "," << std::endl; -/* releaseCount */ +// releaseCount struct_body << "\t\t\t" << structInfo->releaseCount << "," << std::endl; -/* pReleaseSyncs */ +// pReleaseSyncs struct_body << "\t\t\t" << prelease_syncs_array << "," << std::endl; -/* pReleaseKeys */ +// pReleaseKeys struct_body << "\t\t\t" << "{ *" << prelease_keys_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "win32KeyedMutexAcquireReleaseInfoNV"); out << "\t\t" << "VkWin32KeyedMutexAcquireReleaseInfoNV " << variable_name << " {" << std::endl; @@ -15453,13 +15453,13 @@ std::string GenerateStruct_VkValidationFlagsEXT(std::ostream &out, const VkValid pdisabled_validation_checks_array = "pDisabledValidationChecks_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkValidationCheckEXT " << pdisabled_validation_checks_array << "[] = {" << pdisabled_validation_checks_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* disabledValidationCheckCount */ +// disabledValidationCheckCount struct_body << "\t\t\t" << structInfo->disabledValidationCheckCount << "," << std::endl; -/* pDisabledValidationChecks */ +// pDisabledValidationChecks struct_body << "\t\t\t" << pdisabled_validation_checks_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "validationFlagsEXT"); out << "\t\t" << "VkValidationFlagsEXT " << variable_name << " {" << std::endl; @@ -15472,13 +15472,13 @@ std::string GenerateStruct_VkValidationFlagsEXT(std::ostream &out, const VkValid std::string GenerateStruct_VkViSurfaceCreateInfoNN(std::ostream &out, const VkViSurfaceCreateInfoNN* structInfo, Decoded_VkViSurfaceCreateInfoNN* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkViSurfaceCreateFlagsNN(" << structInfo->flags << ")" << "," << std::endl; -/* window */ +// window out << "\t\t" << "// TODO: Support window (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "viSurfaceCreateInfoNN"); out << "\t\t" << "VkViSurfaceCreateInfoNN " << variable_name << " {" << std::endl; @@ -15491,11 +15491,11 @@ std::string GenerateStruct_VkViSurfaceCreateInfoNN(std::ostream &out, const VkVi std::string GenerateStruct_VkImageViewASTCDecodeModeEXT(std::ostream &out, const VkImageViewASTCDecodeModeEXT* structInfo, Decoded_VkImageViewASTCDecodeModeEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* decodeMode */ +// decodeMode struct_body << "\t\t\t" << "VkFormat(" << structInfo->decodeMode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewASTCDecodeModeEXT"); out << "\t\t" << "VkImageViewASTCDecodeModeEXT " << variable_name << " {" << std::endl; @@ -15508,11 +15508,11 @@ std::string GenerateStruct_VkImageViewASTCDecodeModeEXT(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceASTCDecodeFeaturesEXT(std::ostream &out, const VkPhysicalDeviceASTCDecodeFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceASTCDecodeFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* decodeModeSharedExponent */ +// decodeModeSharedExponent struct_body << "\t\t\t" << structInfo->decodeModeSharedExponent << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceASTCDecodeFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceASTCDecodeFeaturesEXT " << variable_name << " {" << std::endl; @@ -15525,11 +15525,11 @@ std::string GenerateStruct_VkPhysicalDeviceASTCDecodeFeaturesEXT(std::ostream &o std::string GenerateStruct_VkPhysicalDevicePipelineRobustnessFeaturesEXT(std::ostream &out, const VkPhysicalDevicePipelineRobustnessFeaturesEXT* structInfo, Decoded_VkPhysicalDevicePipelineRobustnessFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineRobustness */ +// pipelineRobustness struct_body << "\t\t\t" << structInfo->pipelineRobustness << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePipelineRobustnessFeaturesEXT"); out << "\t\t" << "VkPhysicalDevicePipelineRobustnessFeaturesEXT " << variable_name << " {" << std::endl; @@ -15542,17 +15542,17 @@ std::string GenerateStruct_VkPhysicalDevicePipelineRobustnessFeaturesEXT(std::os std::string GenerateStruct_VkPhysicalDevicePipelineRobustnessPropertiesEXT(std::ostream &out, const VkPhysicalDevicePipelineRobustnessPropertiesEXT* structInfo, Decoded_VkPhysicalDevicePipelineRobustnessPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* defaultRobustnessStorageBuffers */ +// defaultRobustnessStorageBuffers struct_body << "\t\t\t" << "VkPipelineRobustnessBufferBehaviorEXT(" << structInfo->defaultRobustnessStorageBuffers << ")" << "," << std::endl; -/* defaultRobustnessUniformBuffers */ +// defaultRobustnessUniformBuffers struct_body << "\t\t\t" << "VkPipelineRobustnessBufferBehaviorEXT(" << structInfo->defaultRobustnessUniformBuffers << ")" << "," << std::endl; -/* defaultRobustnessVertexInputs */ +// defaultRobustnessVertexInputs struct_body << "\t\t\t" << "VkPipelineRobustnessBufferBehaviorEXT(" << structInfo->defaultRobustnessVertexInputs << ")" << "," << std::endl; -/* defaultRobustnessImages */ +// defaultRobustnessImages struct_body << "\t\t\t" << "VkPipelineRobustnessImageBehaviorEXT(" << structInfo->defaultRobustnessImages << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePipelineRobustnessPropertiesEXT"); out << "\t\t" << "VkPhysicalDevicePipelineRobustnessPropertiesEXT " << variable_name << " {" << std::endl; @@ -15565,17 +15565,17 @@ std::string GenerateStruct_VkPhysicalDevicePipelineRobustnessPropertiesEXT(std:: std::string GenerateStruct_VkPipelineRobustnessCreateInfoEXT(std::ostream &out, const VkPipelineRobustnessCreateInfoEXT* structInfo, Decoded_VkPipelineRobustnessCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* storageBuffers */ +// storageBuffers struct_body << "\t\t\t" << "VkPipelineRobustnessBufferBehaviorEXT(" << structInfo->storageBuffers << ")" << "," << std::endl; -/* uniformBuffers */ +// uniformBuffers struct_body << "\t\t\t" << "VkPipelineRobustnessBufferBehaviorEXT(" << structInfo->uniformBuffers << ")" << "," << std::endl; -/* vertexInputs */ +// vertexInputs struct_body << "\t\t\t" << "VkPipelineRobustnessBufferBehaviorEXT(" << structInfo->vertexInputs << ")" << "," << std::endl; -/* images */ +// images struct_body << "\t\t\t" << "VkPipelineRobustnessImageBehaviorEXT(" << structInfo->images << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRobustnessCreateInfoEXT"); out << "\t\t" << "VkPipelineRobustnessCreateInfoEXT " << variable_name << " {" << std::endl; @@ -15588,11 +15588,11 @@ std::string GenerateStruct_VkPipelineRobustnessCreateInfoEXT(std::ostream &out, std::string GenerateStruct_VkCommandBufferInheritanceConditionalRenderingInfoEXT(std::ostream &out, const VkCommandBufferInheritanceConditionalRenderingInfoEXT* structInfo, Decoded_VkCommandBufferInheritanceConditionalRenderingInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* conditionalRenderingEnable */ +// conditionalRenderingEnable struct_body << "\t\t\t" << structInfo->conditionalRenderingEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferInheritanceConditionalRenderingInfoEXT"); out << "\t\t" << "VkCommandBufferInheritanceConditionalRenderingInfoEXT " << variable_name << " {" << std::endl; @@ -15605,15 +15605,15 @@ std::string GenerateStruct_VkCommandBufferInheritanceConditionalRenderingInfoEXT std::string GenerateStruct_VkConditionalRenderingBeginInfoEXT(std::ostream &out, const VkConditionalRenderingBeginInfoEXT* structInfo, Decoded_VkConditionalRenderingBeginInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkConditionalRenderingFlagsEXT(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "conditionalRenderingBeginInfoEXT"); out << "\t\t" << "VkConditionalRenderingBeginInfoEXT " << variable_name << " {" << std::endl; @@ -15626,13 +15626,13 @@ std::string GenerateStruct_VkConditionalRenderingBeginInfoEXT(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceConditionalRenderingFeaturesEXT(std::ostream &out, const VkPhysicalDeviceConditionalRenderingFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceConditionalRenderingFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* conditionalRendering */ +// conditionalRendering struct_body << "\t\t\t" << structInfo->conditionalRendering << "," << std::endl; -/* inheritedConditionalRendering */ +// inheritedConditionalRendering struct_body << "\t\t\t" << structInfo->inheritedConditionalRendering << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceConditionalRenderingFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceConditionalRenderingFeaturesEXT " << variable_name << " {" << std::endl; @@ -15661,15 +15661,15 @@ std::string GenerateStruct_VkPipelineViewportWScalingStateCreateInfoNV(std::ostr } out << "\t\t" << "VkViewportWScalingNV " << pviewport_w_scalings_array << "[] = {" << pviewport_w_scalings_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* viewportWScalingEnable */ +// viewportWScalingEnable struct_body << "\t\t\t" << structInfo->viewportWScalingEnable << "," << std::endl; -/* viewportCount */ +// viewportCount struct_body << "\t\t\t" << structInfo->viewportCount << "," << std::endl; -/* pViewportWScalings */ +// pViewportWScalings struct_body << "\t\t\t" << pviewport_w_scalings_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineViewportWScalingStateCreateInfoNV"); out << "\t\t" << "VkPipelineViewportWScalingStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -15681,9 +15681,9 @@ std::string GenerateStruct_VkPipelineViewportWScalingStateCreateInfoNV(std::ostr std::string GenerateStruct_VkViewportWScalingNV(std::ostream &out, const VkViewportWScalingNV* structInfo, Decoded_VkViewportWScalingNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* xcoeff */ +// xcoeff struct_body << "\t" << structInfo->xcoeff << "," << std::endl; -/* ycoeff */ +// ycoeff struct_body << "\t\t\t" << structInfo->ycoeff << ","; std::string variable_name = consumer.AddStruct(struct_body, "viewportWScalingNV"); out << "\t\t" << "VkViewportWScalingNV " << variable_name << " {" << std::endl; @@ -15708,31 +15708,31 @@ std::string GenerateStruct_VkSurfaceCapabilities2EXT(std::ostream &out, const Vk &structInfo->maxImageExtent, metaInfo->maxImageExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minImageCount */ +// minImageCount struct_body << "\t\t\t" << structInfo->minImageCount << "," << std::endl; -/* maxImageCount */ +// maxImageCount struct_body << "\t\t\t" << structInfo->maxImageCount << "," << std::endl; -/* currentExtent */ +// currentExtent struct_body << "\t\t\t" << current_extent_info_var << "," << std::endl; -/* minImageExtent */ +// minImageExtent struct_body << "\t\t\t" << min_image_extent_info_var << "," << std::endl; -/* maxImageExtent */ +// maxImageExtent struct_body << "\t\t\t" << max_image_extent_info_var << "," << std::endl; -/* maxImageArrayLayers */ +// maxImageArrayLayers struct_body << "\t\t\t" << structInfo->maxImageArrayLayers << "," << std::endl; -/* supportedTransforms */ +// supportedTransforms struct_body << "\t\t\t" << "VkSurfaceTransformFlagsKHR(" << structInfo->supportedTransforms << ")" << "," << std::endl; -/* currentTransform */ +// currentTransform struct_body << "\t\t\t" << "VkSurfaceTransformFlagBitsKHR(" << structInfo->currentTransform << ")" << "," << std::endl; -/* supportedCompositeAlpha */ +// supportedCompositeAlpha struct_body << "\t\t\t" << "VkCompositeAlphaFlagsKHR(" << structInfo->supportedCompositeAlpha << ")" << "," << std::endl; -/* supportedUsageFlags */ +// supportedUsageFlags struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->supportedUsageFlags << ")" << "," << std::endl; -/* supportedSurfaceCounters */ +// supportedSurfaceCounters struct_body << "\t\t\t" << "VkSurfaceCounterFlagsEXT(" << structInfo->supportedSurfaceCounters << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceCapabilities2EXT"); out << "\t\t" << "VkSurfaceCapabilities2EXT " << variable_name << " {" << std::endl; @@ -15745,11 +15745,11 @@ std::string GenerateStruct_VkSurfaceCapabilities2EXT(std::ostream &out, const Vk std::string GenerateStruct_VkDeviceEventInfoEXT(std::ostream &out, const VkDeviceEventInfoEXT* structInfo, Decoded_VkDeviceEventInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceEvent */ +// deviceEvent struct_body << "\t\t\t" << "VkDeviceEventTypeEXT(" << structInfo->deviceEvent << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceEventInfoEXT"); out << "\t\t" << "VkDeviceEventInfoEXT " << variable_name << " {" << std::endl; @@ -15762,11 +15762,11 @@ std::string GenerateStruct_VkDeviceEventInfoEXT(std::ostream &out, const VkDevic std::string GenerateStruct_VkDisplayEventInfoEXT(std::ostream &out, const VkDisplayEventInfoEXT* structInfo, Decoded_VkDisplayEventInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* displayEvent */ +// displayEvent struct_body << "\t\t\t" << "VkDisplayEventTypeEXT(" << structInfo->displayEvent << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayEventInfoEXT"); out << "\t\t" << "VkDisplayEventInfoEXT " << variable_name << " {" << std::endl; @@ -15779,11 +15779,11 @@ std::string GenerateStruct_VkDisplayEventInfoEXT(std::ostream &out, const VkDisp std::string GenerateStruct_VkDisplayPowerInfoEXT(std::ostream &out, const VkDisplayPowerInfoEXT* structInfo, Decoded_VkDisplayPowerInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* powerState */ +// powerState struct_body << "\t\t\t" << "VkDisplayPowerStateEXT(" << structInfo->powerState << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayPowerInfoEXT"); out << "\t\t" << "VkDisplayPowerInfoEXT " << variable_name << " {" << std::endl; @@ -15796,11 +15796,11 @@ std::string GenerateStruct_VkDisplayPowerInfoEXT(std::ostream &out, const VkDisp std::string GenerateStruct_VkSwapchainCounterCreateInfoEXT(std::ostream &out, const VkSwapchainCounterCreateInfoEXT* structInfo, Decoded_VkSwapchainCounterCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* surfaceCounters */ +// surfaceCounters struct_body << "\t\t\t" << "VkSurfaceCounterFlagsEXT(" << structInfo->surfaceCounters << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainCounterCreateInfoEXT"); out << "\t\t" << "VkSwapchainCounterCreateInfoEXT " << variable_name << " {" << std::endl; @@ -15812,15 +15812,15 @@ std::string GenerateStruct_VkSwapchainCounterCreateInfoEXT(std::ostream &out, co std::string GenerateStruct_VkPastPresentationTimingGOOGLE(std::ostream &out, const VkPastPresentationTimingGOOGLE* structInfo, Decoded_VkPastPresentationTimingGOOGLE* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* presentID */ +// presentID struct_body << "\t" << structInfo->presentID << "," << std::endl; -/* desiredPresentTime */ +// desiredPresentTime struct_body << "\t\t\t" << structInfo->desiredPresentTime << "UL" << "," << std::endl; -/* actualPresentTime */ +// actualPresentTime struct_body << "\t\t\t" << structInfo->actualPresentTime << "UL" << "," << std::endl; -/* earliestPresentTime */ +// earliestPresentTime struct_body << "\t\t\t" << structInfo->earliestPresentTime << "UL" << "," << std::endl; -/* presentMargin */ +// presentMargin struct_body << "\t\t\t" << structInfo->presentMargin << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pastPresentationTimingGOOGLE"); out << "\t\t" << "VkPastPresentationTimingGOOGLE " << variable_name << " {" << std::endl; @@ -15832,9 +15832,9 @@ std::string GenerateStruct_VkPastPresentationTimingGOOGLE(std::ostream &out, con std::string GenerateStruct_VkPresentTimeGOOGLE(std::ostream &out, const VkPresentTimeGOOGLE* structInfo, Decoded_VkPresentTimeGOOGLE* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* presentID */ +// presentID struct_body << "\t" << structInfo->presentID << "," << std::endl; -/* desiredPresentTime */ +// desiredPresentTime struct_body << "\t\t\t" << structInfo->desiredPresentTime << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "presentTimeGOOGLE"); out << "\t\t" << "VkPresentTimeGOOGLE " << variable_name << " {" << std::endl; @@ -15863,13 +15863,13 @@ std::string GenerateStruct_VkPresentTimesInfoGOOGLE(std::ostream &out, const VkP } out << "\t\t" << "VkPresentTimeGOOGLE " << ptimes_array << "[] = {" << ptimes_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchainCount */ +// swapchainCount struct_body << "\t\t\t" << structInfo->swapchainCount << "," << std::endl; -/* pTimes */ +// pTimes struct_body << "\t\t\t" << ptimes_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "presentTimesInfoGOOGLE"); out << "\t\t" << "VkPresentTimesInfoGOOGLE " << variable_name << " {" << std::endl; @@ -15881,7 +15881,7 @@ std::string GenerateStruct_VkPresentTimesInfoGOOGLE(std::ostream &out, const VkP std::string GenerateStruct_VkRefreshCycleDurationGOOGLE(std::ostream &out, const VkRefreshCycleDurationGOOGLE* structInfo, Decoded_VkRefreshCycleDurationGOOGLE* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* refreshDuration */ +// refreshDuration struct_body << "\t" << structInfo->refreshDuration << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "refreshCycleDurationGOOGLE"); out << "\t\t" << "VkRefreshCycleDurationGOOGLE " << variable_name << " {" << std::endl; @@ -15894,11 +15894,11 @@ std::string GenerateStruct_VkRefreshCycleDurationGOOGLE(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(std::ostream &out, const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* structInfo, Decoded_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* perViewPositionAllComponents */ +// perViewPositionAllComponents struct_body << "\t\t\t" << structInfo->perViewPositionAllComponents << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultiviewPerViewAttributesPropertiesNVX"); out << "\t\t" << "VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX " << variable_name << " {" << std::endl; @@ -15927,15 +15927,15 @@ std::string GenerateStruct_VkPipelineViewportSwizzleStateCreateInfoNV(std::ostre } out << "\t\t" << "VkViewportSwizzleNV " << pviewport_swizzles_array << "[] = {" << pviewport_swizzles_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineViewportSwizzleStateCreateFlagsNV(" << structInfo->flags << ")" << "," << std::endl; -/* viewportCount */ +// viewportCount struct_body << "\t\t\t" << structInfo->viewportCount << "," << std::endl; -/* pViewportSwizzles */ +// pViewportSwizzles struct_body << "\t\t\t" << pviewport_swizzles_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineViewportSwizzleStateCreateInfoNV"); out << "\t\t" << "VkPipelineViewportSwizzleStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -15947,13 +15947,13 @@ std::string GenerateStruct_VkPipelineViewportSwizzleStateCreateInfoNV(std::ostre std::string GenerateStruct_VkViewportSwizzleNV(std::ostream &out, const VkViewportSwizzleNV* structInfo, Decoded_VkViewportSwizzleNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* x */ +// x struct_body << "\t" << "VkViewportCoordinateSwizzleNV(" << structInfo->x << ")" << "," << std::endl; -/* y */ +// y struct_body << "\t\t\t" << "VkViewportCoordinateSwizzleNV(" << structInfo->y << ")" << "," << std::endl; -/* z */ +// z struct_body << "\t\t\t" << "VkViewportCoordinateSwizzleNV(" << structInfo->z << ")" << "," << std::endl; -/* w */ +// w struct_body << "\t\t\t" << "VkViewportCoordinateSwizzleNV(" << structInfo->w << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "viewportSwizzleNV"); out << "\t\t" << "VkViewportSwizzleNV " << variable_name << " {" << std::endl; @@ -15966,11 +15966,11 @@ std::string GenerateStruct_VkViewportSwizzleNV(std::ostream &out, const VkViewpo std::string GenerateStruct_VkPhysicalDeviceDiscardRectanglePropertiesEXT(std::ostream &out, const VkPhysicalDeviceDiscardRectanglePropertiesEXT* structInfo, Decoded_VkPhysicalDeviceDiscardRectanglePropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxDiscardRectangles */ +// maxDiscardRectangles struct_body << "\t\t\t" << structInfo->maxDiscardRectangles << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDiscardRectanglePropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceDiscardRectanglePropertiesEXT " << variable_name << " {" << std::endl; @@ -15988,17 +15988,17 @@ std::string GenerateStruct_VkPipelineDiscardRectangleStateCreateInfoEXT(std::ost pdiscard_rectangles_array = "pDiscardRectangles_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkRect2D " << pdiscard_rectangles_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pDiscardRectangles, structInfo->discardRectangleCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineDiscardRectangleStateCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* discardRectangleMode */ +// discardRectangleMode struct_body << "\t\t\t" << "VkDiscardRectangleModeEXT(" << structInfo->discardRectangleMode << ")" << "," << std::endl; -/* discardRectangleCount */ +// discardRectangleCount struct_body << "\t\t\t" << structInfo->discardRectangleCount << "," << std::endl; -/* pDiscardRectangles */ +// pDiscardRectangles struct_body << "\t\t\t" << pdiscard_rectangles_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineDiscardRectangleStateCreateInfoEXT"); out << "\t\t" << "VkPipelineDiscardRectangleStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -16011,27 +16011,27 @@ std::string GenerateStruct_VkPipelineDiscardRectangleStateCreateInfoEXT(std::ost std::string GenerateStruct_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(std::ostream &out, const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceConservativeRasterizationPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* primitiveOverestimationSize */ +// primitiveOverestimationSize struct_body << "\t\t\t" << structInfo->primitiveOverestimationSize << "," << std::endl; -/* maxExtraPrimitiveOverestimationSize */ +// maxExtraPrimitiveOverestimationSize struct_body << "\t\t\t" << structInfo->maxExtraPrimitiveOverestimationSize << "," << std::endl; -/* extraPrimitiveOverestimationSizeGranularity */ +// extraPrimitiveOverestimationSizeGranularity struct_body << "\t\t\t" << structInfo->extraPrimitiveOverestimationSizeGranularity << "," << std::endl; -/* primitiveUnderestimation */ +// primitiveUnderestimation struct_body << "\t\t\t" << structInfo->primitiveUnderestimation << "," << std::endl; -/* conservativePointAndLineRasterization */ +// conservativePointAndLineRasterization struct_body << "\t\t\t" << structInfo->conservativePointAndLineRasterization << "," << std::endl; -/* degenerateTrianglesRasterized */ +// degenerateTrianglesRasterized struct_body << "\t\t\t" << structInfo->degenerateTrianglesRasterized << "," << std::endl; -/* degenerateLinesRasterized */ +// degenerateLinesRasterized struct_body << "\t\t\t" << structInfo->degenerateLinesRasterized << "," << std::endl; -/* fullyCoveredFragmentShaderInputVariable */ +// fullyCoveredFragmentShaderInputVariable struct_body << "\t\t\t" << structInfo->fullyCoveredFragmentShaderInputVariable << "," << std::endl; -/* conservativeRasterizationPostDepthCoverage */ +// conservativeRasterizationPostDepthCoverage struct_body << "\t\t\t" << structInfo->conservativeRasterizationPostDepthCoverage << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceConservativeRasterizationPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceConservativeRasterizationPropertiesEXT " << variable_name << " {" << std::endl; @@ -16044,15 +16044,15 @@ std::string GenerateStruct_VkPhysicalDeviceConservativeRasterizationPropertiesEX std::string GenerateStruct_VkPipelineRasterizationConservativeStateCreateInfoEXT(std::ostream &out, const VkPipelineRasterizationConservativeStateCreateInfoEXT* structInfo, Decoded_VkPipelineRasterizationConservativeStateCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineRasterizationConservativeStateCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* conservativeRasterizationMode */ +// conservativeRasterizationMode struct_body << "\t\t\t" << "VkConservativeRasterizationModeEXT(" << structInfo->conservativeRasterizationMode << ")" << "," << std::endl; -/* extraPrimitiveOverestimationSize */ +// extraPrimitiveOverestimationSize struct_body << "\t\t\t" << structInfo->extraPrimitiveOverestimationSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRasterizationConservativeStateCreateInfoEXT"); out << "\t\t" << "VkPipelineRasterizationConservativeStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -16065,11 +16065,11 @@ std::string GenerateStruct_VkPipelineRasterizationConservativeStateCreateInfoEXT std::string GenerateStruct_VkPhysicalDeviceDepthClipEnableFeaturesEXT(std::ostream &out, const VkPhysicalDeviceDepthClipEnableFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceDepthClipEnableFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* depthClipEnable */ +// depthClipEnable struct_body << "\t\t\t" << structInfo->depthClipEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDepthClipEnableFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceDepthClipEnableFeaturesEXT " << variable_name << " {" << std::endl; @@ -16082,13 +16082,13 @@ std::string GenerateStruct_VkPhysicalDeviceDepthClipEnableFeaturesEXT(std::ostre std::string GenerateStruct_VkPipelineRasterizationDepthClipStateCreateInfoEXT(std::ostream &out, const VkPipelineRasterizationDepthClipStateCreateInfoEXT* structInfo, Decoded_VkPipelineRasterizationDepthClipStateCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineRasterizationDepthClipStateCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* depthClipEnable */ +// depthClipEnable struct_body << "\t\t\t" << structInfo->depthClipEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRasterizationDepthClipStateCreateInfoEXT"); out << "\t\t" << "VkPipelineRasterizationDepthClipStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -16117,25 +16117,25 @@ std::string GenerateStruct_VkHdrMetadataEXT(std::ostream &out, const VkHdrMetada &structInfo->whitePoint, metaInfo->whitePoint, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* displayPrimaryRed */ +// displayPrimaryRed struct_body << "\t\t\t" << display_primary_red_info_var << "," << std::endl; -/* displayPrimaryGreen */ +// displayPrimaryGreen struct_body << "\t\t\t" << display_primary_green_info_var << "," << std::endl; -/* displayPrimaryBlue */ +// displayPrimaryBlue struct_body << "\t\t\t" << display_primary_blue_info_var << "," << std::endl; -/* whitePoint */ +// whitePoint struct_body << "\t\t\t" << white_point_info_var << "," << std::endl; -/* maxLuminance */ +// maxLuminance struct_body << "\t\t\t" << structInfo->maxLuminance << "," << std::endl; -/* minLuminance */ +// minLuminance struct_body << "\t\t\t" << structInfo->minLuminance << "," << std::endl; -/* maxContentLightLevel */ +// maxContentLightLevel struct_body << "\t\t\t" << structInfo->maxContentLightLevel << "," << std::endl; -/* maxFrameAverageLightLevel */ +// maxFrameAverageLightLevel struct_body << "\t\t\t" << structInfo->maxFrameAverageLightLevel << ","; std::string variable_name = consumer.AddStruct(struct_body, "hdrMetadataEXT"); out << "\t\t" << "VkHdrMetadataEXT " << variable_name << " {" << std::endl; @@ -16147,9 +16147,9 @@ std::string GenerateStruct_VkHdrMetadataEXT(std::ostream &out, const VkHdrMetada std::string GenerateStruct_VkXYColorEXT(std::ostream &out, const VkXYColorEXT* structInfo, Decoded_VkXYColorEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* x */ +// x struct_body << "\t" << structInfo->x << "," << std::endl; -/* y */ +// y struct_body << "\t\t\t" << structInfo->y << ","; std::string variable_name = consumer.AddStruct(struct_body, "xYColorEXT"); out << "\t\t" << "VkXYColorEXT " << variable_name << " {" << std::endl; @@ -16162,13 +16162,13 @@ std::string GenerateStruct_VkXYColorEXT(std::ostream &out, const VkXYColorEXT* s std::string GenerateStruct_VkIOSSurfaceCreateInfoMVK(std::ostream &out, const VkIOSSurfaceCreateInfoMVK* structInfo, Decoded_VkIOSSurfaceCreateInfoMVK* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkIOSSurfaceCreateFlagsMVK(" << structInfo->flags << ")" << "," << std::endl; -/* pView */ +// pView struct_body << "\t\t\t" << structInfo->pView << ","; std::string variable_name = consumer.AddStruct(struct_body, "iOSSurfaceCreateInfoMVK"); out << "\t\t" << "VkIOSSurfaceCreateInfoMVK " << variable_name << " {" << std::endl; @@ -16181,13 +16181,13 @@ std::string GenerateStruct_VkIOSSurfaceCreateInfoMVK(std::ostream &out, const Vk std::string GenerateStruct_VkMacOSSurfaceCreateInfoMVK(std::ostream &out, const VkMacOSSurfaceCreateInfoMVK* structInfo, Decoded_VkMacOSSurfaceCreateInfoMVK* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkMacOSSurfaceCreateFlagsMVK(" << structInfo->flags << ")" << "," << std::endl; -/* pView */ +// pView struct_body << "\t\t\t" << structInfo->pView << ","; std::string variable_name = consumer.AddStruct(struct_body, "macOSSurfaceCreateInfoMVK"); out << "\t\t" << "VkMacOSSurfaceCreateInfoMVK " << variable_name << " {" << std::endl; @@ -16200,13 +16200,13 @@ std::string GenerateStruct_VkMacOSSurfaceCreateInfoMVK(std::ostream &out, const std::string GenerateStruct_VkDebugUtilsLabelEXT(std::ostream &out, const VkDebugUtilsLabelEXT* structInfo, Decoded_VkDebugUtilsLabelEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pLabelName */ +// pLabelName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pLabelName) << "," << std::endl; -/* color */ +// color struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->color[0]), 4) << ","; std::string variable_name = consumer.AddStruct(struct_body, "debugUtilsLabelEXT"); out << "\t\t" << "VkDebugUtilsLabelEXT " << variable_name << " {" << std::endl; @@ -16267,29 +16267,29 @@ std::string GenerateStruct_VkDebugUtilsMessengerCallbackDataEXT(std::ostream &ou } out << "\t\t" << "VkDebugUtilsObjectNameInfoEXT " << pobjects_array << "[] = {" << pobjects_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDebugUtilsMessengerCallbackDataFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* pMessageIdName */ +// pMessageIdName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pMessageIdName) << "," << std::endl; -/* messageIdNumber */ +// messageIdNumber struct_body << "\t\t\t" << structInfo->messageIdNumber << "," << std::endl; -/* pMessage */ +// pMessage struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pMessage) << "," << std::endl; -/* queueLabelCount */ +// queueLabelCount struct_body << "\t\t\t" << structInfo->queueLabelCount << "," << std::endl; -/* pQueueLabels */ +// pQueueLabels struct_body << "\t\t\t" << pqueue_labels_array << "," << std::endl; -/* cmdBufLabelCount */ +// cmdBufLabelCount struct_body << "\t\t\t" << structInfo->cmdBufLabelCount << "," << std::endl; -/* pCmdBufLabels */ +// pCmdBufLabels struct_body << "\t\t\t" << pcmd_buf_labels_array << "," << std::endl; -/* objectCount */ +// objectCount struct_body << "\t\t\t" << structInfo->objectCount << "," << std::endl; -/* pObjects */ +// pObjects struct_body << "\t\t\t" << pobjects_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "debugUtilsMessengerCallbackDataEXT"); out << "\t\t" << "VkDebugUtilsMessengerCallbackDataEXT " << variable_name << " {" << std::endl; @@ -16302,15 +16302,15 @@ std::string GenerateStruct_VkDebugUtilsMessengerCallbackDataEXT(std::ostream &ou std::string GenerateStruct_VkDebugUtilsObjectNameInfoEXT(std::ostream &out, const VkDebugUtilsObjectNameInfoEXT* structInfo, Decoded_VkDebugUtilsObjectNameInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* objectType */ +// objectType struct_body << "\t\t\t" << "VkObjectType(" << structInfo->objectType << ")" << "," << std::endl; -/* objectHandle */ +// objectHandle struct_body << "\t\t\t" << structInfo->objectHandle << "UL" << "," << std::endl; -/* pObjectName */ +// pObjectName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pObjectName) << ","; std::string variable_name = consumer.AddStruct(struct_body, "debugUtilsObjectNameInfoEXT"); out << "\t\t" << "VkDebugUtilsObjectNameInfoEXT " << variable_name << " {" << std::endl; @@ -16332,19 +16332,19 @@ std::string GenerateStruct_VkDebugUtilsObjectTagInfoEXT(std::ostream &out, const ptag_array = "pTag_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << ptag_array << "[] = {" << ptag_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* objectType */ +// objectType struct_body << "\t\t\t" << "VkObjectType(" << structInfo->objectType << ")" << "," << std::endl; -/* objectHandle */ +// objectHandle struct_body << "\t\t\t" << structInfo->objectHandle << "UL" << "," << std::endl; -/* tagName */ +// tagName struct_body << "\t\t\t" << structInfo->tagName << "UL" << "," << std::endl; -/* tagSize */ +// tagSize struct_body << "\t\t\t" << structInfo->tagSize << "," << std::endl; -/* pTag */ +// pTag struct_body << "\t\t\t" << ptag_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "debugUtilsObjectTagInfoEXT"); out << "\t\t" << "VkDebugUtilsObjectTagInfoEXT " << variable_name << " {" << std::endl; @@ -16361,25 +16361,25 @@ std::string GenerateStruct_VkAndroidHardwareBufferFormatProperties2ANDROID(std:: &structInfo->samplerYcbcrConversionComponents, metaInfo->samplerYcbcrConversionComponents, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* externalFormat */ +// externalFormat struct_body << "\t\t\t" << structInfo->externalFormat << "UL" << "," << std::endl; -/* formatFeatures */ +// formatFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags2(" << structInfo->formatFeatures << ")" << "," << std::endl; -/* samplerYcbcrConversionComponents */ +// samplerYcbcrConversionComponents struct_body << "\t\t\t" << sampler_ycbcr_conversion_components_info_var << "," << std::endl; -/* suggestedYcbcrModel */ +// suggestedYcbcrModel struct_body << "\t\t\t" << "VkSamplerYcbcrModelConversion(" << structInfo->suggestedYcbcrModel << ")" << "," << std::endl; -/* suggestedYcbcrRange */ +// suggestedYcbcrRange struct_body << "\t\t\t" << "VkSamplerYcbcrRange(" << structInfo->suggestedYcbcrRange << ")" << "," << std::endl; -/* suggestedXChromaOffset */ +// suggestedXChromaOffset struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->suggestedXChromaOffset << ")" << "," << std::endl; -/* suggestedYChromaOffset */ +// suggestedYChromaOffset struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->suggestedYChromaOffset << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "androidHardwareBufferFormatProperties2ANDROID"); out << "\t\t" << "VkAndroidHardwareBufferFormatProperties2ANDROID " << variable_name << " {" << std::endl; @@ -16396,25 +16396,25 @@ std::string GenerateStruct_VkAndroidHardwareBufferFormatPropertiesANDROID(std::o &structInfo->samplerYcbcrConversionComponents, metaInfo->samplerYcbcrConversionComponents, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* externalFormat */ +// externalFormat struct_body << "\t\t\t" << structInfo->externalFormat << "UL" << "," << std::endl; -/* formatFeatures */ +// formatFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags(" << structInfo->formatFeatures << ")" << "," << std::endl; -/* samplerYcbcrConversionComponents */ +// samplerYcbcrConversionComponents struct_body << "\t\t\t" << sampler_ycbcr_conversion_components_info_var << "," << std::endl; -/* suggestedYcbcrModel */ +// suggestedYcbcrModel struct_body << "\t\t\t" << "VkSamplerYcbcrModelConversion(" << structInfo->suggestedYcbcrModel << ")" << "," << std::endl; -/* suggestedYcbcrRange */ +// suggestedYcbcrRange struct_body << "\t\t\t" << "VkSamplerYcbcrRange(" << structInfo->suggestedYcbcrRange << ")" << "," << std::endl; -/* suggestedXChromaOffset */ +// suggestedXChromaOffset struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->suggestedXChromaOffset << ")" << "," << std::endl; -/* suggestedYChromaOffset */ +// suggestedYChromaOffset struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->suggestedYChromaOffset << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "androidHardwareBufferFormatPropertiesANDROID"); out << "\t\t" << "VkAndroidHardwareBufferFormatPropertiesANDROID " << variable_name << " {" << std::endl; @@ -16427,13 +16427,13 @@ std::string GenerateStruct_VkAndroidHardwareBufferFormatPropertiesANDROID(std::o std::string GenerateStruct_VkAndroidHardwareBufferPropertiesANDROID(std::ostream &out, const VkAndroidHardwareBufferPropertiesANDROID* structInfo, Decoded_VkAndroidHardwareBufferPropertiesANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* allocationSize */ +// allocationSize struct_body << "\t\t\t" << structInfo->allocationSize << "UL" << "," << std::endl; -/* memoryTypeBits */ +// memoryTypeBits struct_body << "\t\t\t" << structInfo->memoryTypeBits << ","; std::string variable_name = consumer.AddStruct(struct_body, "androidHardwareBufferPropertiesANDROID"); out << "\t\t" << "VkAndroidHardwareBufferPropertiesANDROID " << variable_name << " {" << std::endl; @@ -16446,11 +16446,11 @@ std::string GenerateStruct_VkAndroidHardwareBufferPropertiesANDROID(std::ostream std::string GenerateStruct_VkAndroidHardwareBufferUsageANDROID(std::ostream &out, const VkAndroidHardwareBufferUsageANDROID* structInfo, Decoded_VkAndroidHardwareBufferUsageANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* androidHardwareBufferUsage */ +// androidHardwareBufferUsage struct_body << "\t\t\t" << structInfo->androidHardwareBufferUsage << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "androidHardwareBufferUsageANDROID"); out << "\t\t" << "VkAndroidHardwareBufferUsageANDROID " << variable_name << " {" << std::endl; @@ -16463,11 +16463,11 @@ std::string GenerateStruct_VkAndroidHardwareBufferUsageANDROID(std::ostream &out std::string GenerateStruct_VkExternalFormatANDROID(std::ostream &out, const VkExternalFormatANDROID* structInfo, Decoded_VkExternalFormatANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* externalFormat */ +// externalFormat struct_body << "\t\t\t" << structInfo->externalFormat << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalFormatANDROID"); out << "\t\t" << "VkExternalFormatANDROID " << variable_name << " {" << std::endl; @@ -16480,11 +16480,11 @@ std::string GenerateStruct_VkExternalFormatANDROID(std::ostream &out, const VkEx std::string GenerateStruct_VkImportAndroidHardwareBufferInfoANDROID(std::ostream &out, const VkImportAndroidHardwareBufferInfoANDROID* structInfo, Decoded_VkImportAndroidHardwareBufferInfoANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << structInfo->buffer << ","; std::string variable_name = consumer.AddStruct(struct_body, "importAndroidHardwareBufferInfoANDROID"); out << "\t\t" << "VkImportAndroidHardwareBufferInfoANDROID " << variable_name << " {" << std::endl; @@ -16497,11 +16497,11 @@ std::string GenerateStruct_VkImportAndroidHardwareBufferInfoANDROID(std::ostream std::string GenerateStruct_VkMemoryGetAndroidHardwareBufferInfoANDROID(std::ostream &out, const VkMemoryGetAndroidHardwareBufferInfoANDROID* structInfo, Decoded_VkMemoryGetAndroidHardwareBufferInfoANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryGetAndroidHardwareBufferInfoANDROID"); out << "\t\t" << "VkMemoryGetAndroidHardwareBufferInfoANDROID " << variable_name << " {" << std::endl; @@ -16517,9 +16517,9 @@ std::string GenerateStruct_VkAttachmentSampleLocationsEXT(std::ostream &out, con &structInfo->sampleLocationsInfo, metaInfo->sampleLocationsInfo, consumer); -/* attachmentIndex */ +// attachmentIndex struct_body << "\t" << structInfo->attachmentIndex << "," << std::endl; -/* sampleLocationsInfo */ +// sampleLocationsInfo struct_body << "\t\t\t" << sample_locations_info_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "attachmentSampleLocationsEXT"); out << "\t\t" << "VkAttachmentSampleLocationsEXT " << variable_name << " {" << std::endl; @@ -16536,11 +16536,11 @@ std::string GenerateStruct_VkMultisamplePropertiesEXT(std::ostream &out, const V &structInfo->maxSampleLocationGridSize, metaInfo->maxSampleLocationGridSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxSampleLocationGridSize */ +// maxSampleLocationGridSize struct_body << "\t\t\t" << max_sample_location_grid_size_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "multisamplePropertiesEXT"); out << "\t\t" << "VkMultisamplePropertiesEXT " << variable_name << " {" << std::endl; @@ -16557,19 +16557,19 @@ std::string GenerateStruct_VkPhysicalDeviceSampleLocationsPropertiesEXT(std::ost &structInfo->maxSampleLocationGridSize, metaInfo->maxSampleLocationGridSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* sampleLocationSampleCounts */ +// sampleLocationSampleCounts struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->sampleLocationSampleCounts << ")" << "," << std::endl; -/* maxSampleLocationGridSize */ +// maxSampleLocationGridSize struct_body << "\t\t\t" << max_sample_location_grid_size_info_var << "," << std::endl; -/* sampleLocationCoordinateRange */ +// sampleLocationCoordinateRange struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->sampleLocationCoordinateRange[0]), 2) << "," << std::endl; -/* sampleLocationSubPixelBits */ +// sampleLocationSubPixelBits struct_body << "\t\t\t" << structInfo->sampleLocationSubPixelBits << "," << std::endl; -/* variableSampleLocations */ +// variableSampleLocations struct_body << "\t\t\t" << structInfo->variableSampleLocations << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSampleLocationsPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceSampleLocationsPropertiesEXT " << variable_name << " {" << std::endl; @@ -16586,13 +16586,13 @@ std::string GenerateStruct_VkPipelineSampleLocationsStateCreateInfoEXT(std::ostr &structInfo->sampleLocationsInfo, metaInfo->sampleLocationsInfo, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* sampleLocationsEnable */ +// sampleLocationsEnable struct_body << "\t\t\t" << structInfo->sampleLocationsEnable << "," << std::endl; -/* sampleLocationsInfo */ +// sampleLocationsInfo struct_body << "\t\t\t" << sample_locations_info_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineSampleLocationsStateCreateInfoEXT"); out << "\t\t" << "VkPipelineSampleLocationsStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -16637,17 +16637,17 @@ std::string GenerateStruct_VkRenderPassSampleLocationsBeginInfoEXT(std::ostream } out << "\t\t" << "VkSubpassSampleLocationsEXT " << ppost_subpass_sample_locations_array << "[] = {" << ppost_subpass_sample_locations_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* attachmentInitialSampleLocationsCount */ +// attachmentInitialSampleLocationsCount struct_body << "\t\t\t" << structInfo->attachmentInitialSampleLocationsCount << "," << std::endl; -/* pAttachmentInitialSampleLocations */ +// pAttachmentInitialSampleLocations struct_body << "\t\t\t" << pattachment_initial_sample_locations_array << "," << std::endl; -/* postSubpassSampleLocationsCount */ +// postSubpassSampleLocationsCount struct_body << "\t\t\t" << structInfo->postSubpassSampleLocationsCount << "," << std::endl; -/* pPostSubpassSampleLocations */ +// pPostSubpassSampleLocations struct_body << "\t\t\t" << ppost_subpass_sample_locations_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassSampleLocationsBeginInfoEXT"); out << "\t\t" << "VkRenderPassSampleLocationsBeginInfoEXT " << variable_name << " {" << std::endl; @@ -16659,9 +16659,9 @@ std::string GenerateStruct_VkRenderPassSampleLocationsBeginInfoEXT(std::ostream std::string GenerateStruct_VkSampleLocationEXT(std::ostream &out, const VkSampleLocationEXT* structInfo, Decoded_VkSampleLocationEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* x */ +// x struct_body << "\t" << structInfo->x << "," << std::endl; -/* y */ +// y struct_body << "\t\t\t" << structInfo->y << ","; std::string variable_name = consumer.AddStruct(struct_body, "sampleLocationEXT"); out << "\t\t" << "VkSampleLocationEXT " << variable_name << " {" << std::endl; @@ -16694,17 +16694,17 @@ std::string GenerateStruct_VkSampleLocationsInfoEXT(std::ostream &out, const VkS } out << "\t\t" << "VkSampleLocationEXT " << psample_locations_array << "[] = {" << psample_locations_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* sampleLocationsPerPixel */ +// sampleLocationsPerPixel struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->sampleLocationsPerPixel << ")" << "," << std::endl; -/* sampleLocationGridSize */ +// sampleLocationGridSize struct_body << "\t\t\t" << sample_location_grid_size_info_var << "," << std::endl; -/* sampleLocationsCount */ +// sampleLocationsCount struct_body << "\t\t\t" << structInfo->sampleLocationsCount << "," << std::endl; -/* pSampleLocations */ +// pSampleLocations struct_body << "\t\t\t" << psample_locations_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "sampleLocationsInfoEXT"); out << "\t\t" << "VkSampleLocationsInfoEXT " << variable_name << " {" << std::endl; @@ -16720,9 +16720,9 @@ std::string GenerateStruct_VkSubpassSampleLocationsEXT(std::ostream &out, const &structInfo->sampleLocationsInfo, metaInfo->sampleLocationsInfo, consumer); -/* subpassIndex */ +// subpassIndex struct_body << "\t" << structInfo->subpassIndex << "," << std::endl; -/* sampleLocationsInfo */ +// sampleLocationsInfo struct_body << "\t\t\t" << sample_locations_info_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassSampleLocationsEXT"); out << "\t\t" << "VkSubpassSampleLocationsEXT " << variable_name << " {" << std::endl; @@ -16735,11 +16735,11 @@ std::string GenerateStruct_VkSubpassSampleLocationsEXT(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(std::ostream &out, const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* advancedBlendCoherentOperations */ +// advancedBlendCoherentOperations struct_body << "\t\t\t" << structInfo->advancedBlendCoherentOperations << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceBlendOperationAdvancedFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT " << variable_name << " {" << std::endl; @@ -16752,21 +16752,21 @@ std::string GenerateStruct_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(std std::string GenerateStruct_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(std::ostream &out, const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* advancedBlendMaxColorAttachments */ +// advancedBlendMaxColorAttachments struct_body << "\t\t\t" << structInfo->advancedBlendMaxColorAttachments << "," << std::endl; -/* advancedBlendIndependentBlend */ +// advancedBlendIndependentBlend struct_body << "\t\t\t" << structInfo->advancedBlendIndependentBlend << "," << std::endl; -/* advancedBlendNonPremultipliedSrcColor */ +// advancedBlendNonPremultipliedSrcColor struct_body << "\t\t\t" << structInfo->advancedBlendNonPremultipliedSrcColor << "," << std::endl; -/* advancedBlendNonPremultipliedDstColor */ +// advancedBlendNonPremultipliedDstColor struct_body << "\t\t\t" << structInfo->advancedBlendNonPremultipliedDstColor << "," << std::endl; -/* advancedBlendCorrelatedOverlap */ +// advancedBlendCorrelatedOverlap struct_body << "\t\t\t" << structInfo->advancedBlendCorrelatedOverlap << "," << std::endl; -/* advancedBlendAllOperations */ +// advancedBlendAllOperations struct_body << "\t\t\t" << structInfo->advancedBlendAllOperations << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceBlendOperationAdvancedPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT " << variable_name << " {" << std::endl; @@ -16779,15 +16779,15 @@ std::string GenerateStruct_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(s std::string GenerateStruct_VkPipelineColorBlendAdvancedStateCreateInfoEXT(std::ostream &out, const VkPipelineColorBlendAdvancedStateCreateInfoEXT* structInfo, Decoded_VkPipelineColorBlendAdvancedStateCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* srcPremultiplied */ +// srcPremultiplied struct_body << "\t\t\t" << structInfo->srcPremultiplied << "," << std::endl; -/* dstPremultiplied */ +// dstPremultiplied struct_body << "\t\t\t" << structInfo->dstPremultiplied << "," << std::endl; -/* blendOverlap */ +// blendOverlap struct_body << "\t\t\t" << "VkBlendOverlapEXT(" << structInfo->blendOverlap << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineColorBlendAdvancedStateCreateInfoEXT"); out << "\t\t" << "VkPipelineColorBlendAdvancedStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -16800,15 +16800,15 @@ std::string GenerateStruct_VkPipelineColorBlendAdvancedStateCreateInfoEXT(std::o std::string GenerateStruct_VkPipelineCoverageToColorStateCreateInfoNV(std::ostream &out, const VkPipelineCoverageToColorStateCreateInfoNV* structInfo, Decoded_VkPipelineCoverageToColorStateCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCoverageToColorStateCreateFlagsNV(" << structInfo->flags << ")" << "," << std::endl; -/* coverageToColorEnable */ +// coverageToColorEnable struct_body << "\t\t\t" << structInfo->coverageToColorEnable << "," << std::endl; -/* coverageToColorLocation */ +// coverageToColorLocation struct_body << "\t\t\t" << structInfo->coverageToColorLocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCoverageToColorStateCreateInfoNV"); out << "\t\t" << "VkPipelineCoverageToColorStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -16826,19 +16826,19 @@ std::string GenerateStruct_VkPipelineCoverageModulationStateCreateInfoNV(std::os pcoverage_modulation_table_array = "pCoverageModulationTable_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "float " << pcoverage_modulation_table_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pCoverageModulationTable, structInfo->coverageModulationTableCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCoverageModulationStateCreateFlagsNV(" << structInfo->flags << ")" << "," << std::endl; -/* coverageModulationMode */ +// coverageModulationMode struct_body << "\t\t\t" << "VkCoverageModulationModeNV(" << structInfo->coverageModulationMode << ")" << "," << std::endl; -/* coverageModulationTableEnable */ +// coverageModulationTableEnable struct_body << "\t\t\t" << structInfo->coverageModulationTableEnable << "," << std::endl; -/* coverageModulationTableCount */ +// coverageModulationTableCount struct_body << "\t\t\t" << structInfo->coverageModulationTableCount << "," << std::endl; -/* pCoverageModulationTable */ +// pCoverageModulationTable struct_body << "\t\t\t" << pcoverage_modulation_table_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCoverageModulationStateCreateInfoNV"); out << "\t\t" << "VkPipelineCoverageModulationStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -16851,11 +16851,11 @@ std::string GenerateStruct_VkPipelineCoverageModulationStateCreateInfoNV(std::os std::string GenerateStruct_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(std::ostream &out, const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* structInfo, Decoded_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderSMBuiltins */ +// shaderSMBuiltins struct_body << "\t\t\t" << structInfo->shaderSMBuiltins << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderSMBuiltinsFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceShaderSMBuiltinsFeaturesNV " << variable_name << " {" << std::endl; @@ -16868,13 +16868,13 @@ std::string GenerateStruct_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(std::ostre std::string GenerateStruct_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(std::ostream &out, const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* structInfo, Decoded_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderSMCount */ +// shaderSMCount struct_body << "\t\t\t" << structInfo->shaderSMCount << "," << std::endl; -/* shaderWarpsPerSM */ +// shaderWarpsPerSM struct_body << "\t\t\t" << structInfo->shaderWarpsPerSM << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderSMBuiltinsPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceShaderSMBuiltinsPropertiesNV " << variable_name << " {" << std::endl; @@ -16886,11 +16886,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(std::ost std::string GenerateStruct_VkDrmFormatModifierProperties2EXT(std::ostream &out, const VkDrmFormatModifierProperties2EXT* structInfo, Decoded_VkDrmFormatModifierProperties2EXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* drmFormatModifier */ +// drmFormatModifier struct_body << "\t" << structInfo->drmFormatModifier << "UL" << "," << std::endl; -/* drmFormatModifierPlaneCount */ +// drmFormatModifierPlaneCount struct_body << "\t\t\t" << structInfo->drmFormatModifierPlaneCount << "," << std::endl; -/* drmFormatModifierTilingFeatures */ +// drmFormatModifierTilingFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags2(" << structInfo->drmFormatModifierTilingFeatures << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "drmFormatModifierProperties2EXT"); out << "\t\t" << "VkDrmFormatModifierProperties2EXT " << variable_name << " {" << std::endl; @@ -16902,11 +16902,11 @@ std::string GenerateStruct_VkDrmFormatModifierProperties2EXT(std::ostream &out, std::string GenerateStruct_VkDrmFormatModifierPropertiesEXT(std::ostream &out, const VkDrmFormatModifierPropertiesEXT* structInfo, Decoded_VkDrmFormatModifierPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* drmFormatModifier */ +// drmFormatModifier struct_body << "\t" << structInfo->drmFormatModifier << "UL" << "," << std::endl; -/* drmFormatModifierPlaneCount */ +// drmFormatModifierPlaneCount struct_body << "\t\t\t" << structInfo->drmFormatModifierPlaneCount << "," << std::endl; -/* drmFormatModifierTilingFeatures */ +// drmFormatModifierTilingFeatures struct_body << "\t\t\t" << "VkFormatFeatureFlags(" << structInfo->drmFormatModifierTilingFeatures << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "drmFormatModifierPropertiesEXT"); out << "\t\t" << "VkDrmFormatModifierPropertiesEXT " << variable_name << " {" << std::endl; @@ -16935,13 +16935,13 @@ std::string GenerateStruct_VkDrmFormatModifierPropertiesList2EXT(std::ostream &o } out << "\t\t" << "VkDrmFormatModifierProperties2EXT " << pdrm_format_modifier_properties_array << "[] = {" << pdrm_format_modifier_properties_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* drmFormatModifierCount */ +// drmFormatModifierCount struct_body << "\t\t\t" << structInfo->drmFormatModifierCount << "," << std::endl; -/* pDrmFormatModifierProperties */ +// pDrmFormatModifierProperties struct_body << "\t\t\t" << pdrm_format_modifier_properties_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "drmFormatModifierPropertiesList2EXT"); out << "\t\t" << "VkDrmFormatModifierPropertiesList2EXT " << variable_name << " {" << std::endl; @@ -16970,13 +16970,13 @@ std::string GenerateStruct_VkDrmFormatModifierPropertiesListEXT(std::ostream &ou } out << "\t\t" << "VkDrmFormatModifierPropertiesEXT " << pdrm_format_modifier_properties_array << "[] = {" << pdrm_format_modifier_properties_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* drmFormatModifierCount */ +// drmFormatModifierCount struct_body << "\t\t\t" << structInfo->drmFormatModifierCount << "," << std::endl; -/* pDrmFormatModifierProperties */ +// pDrmFormatModifierProperties struct_body << "\t\t\t" << pdrm_format_modifier_properties_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "drmFormatModifierPropertiesListEXT"); out << "\t\t" << "VkDrmFormatModifierPropertiesListEXT " << variable_name << " {" << std::endl; @@ -17005,15 +17005,15 @@ std::string GenerateStruct_VkImageDrmFormatModifierExplicitCreateInfoEXT(std::os } out << "\t\t" << "VkSubresourceLayout " << pplane_layouts_array << "[] = {" << pplane_layouts_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* drmFormatModifier */ +// drmFormatModifier struct_body << "\t\t\t" << structInfo->drmFormatModifier << "UL" << "," << std::endl; -/* drmFormatModifierPlaneCount */ +// drmFormatModifierPlaneCount struct_body << "\t\t\t" << structInfo->drmFormatModifierPlaneCount << "," << std::endl; -/* pPlaneLayouts */ +// pPlaneLayouts struct_body << "\t\t\t" << pplane_layouts_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageDrmFormatModifierExplicitCreateInfoEXT"); out << "\t\t" << "VkImageDrmFormatModifierExplicitCreateInfoEXT " << variable_name << " {" << std::endl; @@ -17038,13 +17038,13 @@ std::string GenerateStruct_VkImageDrmFormatModifierListCreateInfoEXT(std::ostrea out << "\t\t" << "uint64_t " << pdrm_format_modifiers_array << "[] = {" << pdrm_format_modifiers_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* drmFormatModifierCount */ +// drmFormatModifierCount struct_body << "\t\t\t" << structInfo->drmFormatModifierCount << "," << std::endl; -/* pDrmFormatModifiers */ +// pDrmFormatModifiers struct_body << "\t\t\t" << "{ *" << pdrm_format_modifiers_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageDrmFormatModifierListCreateInfoEXT"); out << "\t\t" << "VkImageDrmFormatModifierListCreateInfoEXT " << variable_name << " {" << std::endl; @@ -17057,11 +17057,11 @@ std::string GenerateStruct_VkImageDrmFormatModifierListCreateInfoEXT(std::ostrea std::string GenerateStruct_VkImageDrmFormatModifierPropertiesEXT(std::ostream &out, const VkImageDrmFormatModifierPropertiesEXT* structInfo, Decoded_VkImageDrmFormatModifierPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* drmFormatModifier */ +// drmFormatModifier struct_body << "\t\t\t" << structInfo->drmFormatModifier << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageDrmFormatModifierPropertiesEXT"); out << "\t\t" << "VkImageDrmFormatModifierPropertiesEXT " << variable_name << " {" << std::endl; @@ -17079,17 +17079,17 @@ std::string GenerateStruct_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(std::os pqueue_family_indices_array = "pQueueFamilyIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pqueue_family_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pQueueFamilyIndices, structInfo->queueFamilyIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* drmFormatModifier */ +// drmFormatModifier struct_body << "\t\t\t" << structInfo->drmFormatModifier << "UL" << "," << std::endl; -/* sharingMode */ +// sharingMode struct_body << "\t\t\t" << "VkSharingMode(" << structInfo->sharingMode << ")" << "," << std::endl; -/* queueFamilyIndexCount */ +// queueFamilyIndexCount struct_body << "\t\t\t" << structInfo->queueFamilyIndexCount << "," << std::endl; -/* pQueueFamilyIndices */ +// pQueueFamilyIndices struct_body << "\t\t\t" << pqueue_family_indices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageDrmFormatModifierInfoEXT"); out << "\t\t" << "VkPhysicalDeviceImageDrmFormatModifierInfoEXT " << variable_name << " {" << std::endl; @@ -17102,11 +17102,11 @@ std::string GenerateStruct_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(std::os std::string GenerateStruct_VkShaderModuleValidationCacheCreateInfoEXT(std::ostream &out, const VkShaderModuleValidationCacheCreateInfoEXT* structInfo, Decoded_VkShaderModuleValidationCacheCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* validationCache */ +// validationCache struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->validationCache) << ","; std::string variable_name = consumer.AddStruct(struct_body, "shaderModuleValidationCacheCreateInfoEXT"); out << "\t\t" << "VkShaderModuleValidationCacheCreateInfoEXT " << variable_name << " {" << std::endl; @@ -17128,15 +17128,15 @@ std::string GenerateStruct_VkValidationCacheCreateInfoEXT(std::ostream &out, con pinitial_data_array = "pInitialData_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << pinitial_data_array << "[] = {" << pinitial_data_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkValidationCacheCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* initialDataSize */ +// initialDataSize struct_body << "\t\t\t" << structInfo->initialDataSize << "," << std::endl; -/* pInitialData */ +// pInitialData struct_body << "\t\t\t" << pinitial_data_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "validationCacheCreateInfoEXT"); out << "\t\t" << "VkValidationCacheCreateInfoEXT " << variable_name << " {" << std::endl; @@ -17148,11 +17148,11 @@ std::string GenerateStruct_VkValidationCacheCreateInfoEXT(std::ostream &out, con std::string GenerateStruct_VkCoarseSampleLocationNV(std::ostream &out, const VkCoarseSampleLocationNV* structInfo, Decoded_VkCoarseSampleLocationNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* pixelX */ +// pixelX struct_body << "\t" << structInfo->pixelX << "," << std::endl; -/* pixelY */ +// pixelY struct_body << "\t\t\t" << structInfo->pixelY << "," << std::endl; -/* sample */ +// sample struct_body << "\t\t\t" << structInfo->sample << ","; std::string variable_name = consumer.AddStruct(struct_body, "coarseSampleLocationNV"); out << "\t\t" << "VkCoarseSampleLocationNV " << variable_name << " {" << std::endl; @@ -17180,13 +17180,13 @@ std::string GenerateStruct_VkCoarseSampleOrderCustomNV(std::ostream &out, const } out << "\t\t" << "VkCoarseSampleLocationNV " << psample_locations_array << "[] = {" << psample_locations_names << "};" << std::endl; } -/* shadingRate */ +// shadingRate struct_body << "\t" << "VkShadingRatePaletteEntryNV(" << structInfo->shadingRate << ")" << "," << std::endl; -/* sampleCount */ +// sampleCount struct_body << "\t\t\t" << structInfo->sampleCount << "," << std::endl; -/* sampleLocationCount */ +// sampleLocationCount struct_body << "\t\t\t" << structInfo->sampleLocationCount << "," << std::endl; -/* pSampleLocations */ +// pSampleLocations struct_body << "\t\t\t" << psample_locations_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "coarseSampleOrderCustomNV"); out << "\t\t" << "VkCoarseSampleOrderCustomNV " << variable_name << " {" << std::endl; @@ -17199,13 +17199,13 @@ std::string GenerateStruct_VkCoarseSampleOrderCustomNV(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceShadingRateImageFeaturesNV(std::ostream &out, const VkPhysicalDeviceShadingRateImageFeaturesNV* structInfo, Decoded_VkPhysicalDeviceShadingRateImageFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shadingRateImage */ +// shadingRateImage struct_body << "\t\t\t" << structInfo->shadingRateImage << "," << std::endl; -/* shadingRateCoarseSampleOrder */ +// shadingRateCoarseSampleOrder struct_body << "\t\t\t" << structInfo->shadingRateCoarseSampleOrder << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShadingRateImageFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceShadingRateImageFeaturesNV " << variable_name << " {" << std::endl; @@ -17222,15 +17222,15 @@ std::string GenerateStruct_VkPhysicalDeviceShadingRateImagePropertiesNV(std::ost &structInfo->shadingRateTexelSize, metaInfo->shadingRateTexelSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shadingRateTexelSize */ +// shadingRateTexelSize struct_body << "\t\t\t" << shading_rate_texel_size_info_var << "," << std::endl; -/* shadingRatePaletteSize */ +// shadingRatePaletteSize struct_body << "\t\t\t" << structInfo->shadingRatePaletteSize << "," << std::endl; -/* shadingRateMaxCoarseSamples */ +// shadingRateMaxCoarseSamples struct_body << "\t\t\t" << structInfo->shadingRateMaxCoarseSamples << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShadingRateImagePropertiesNV"); out << "\t\t" << "VkPhysicalDeviceShadingRateImagePropertiesNV " << variable_name << " {" << std::endl; @@ -17259,15 +17259,15 @@ std::string GenerateStruct_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV( } out << "\t\t" << "VkCoarseSampleOrderCustomNV " << pcustom_sample_orders_array << "[] = {" << pcustom_sample_orders_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* sampleOrderType */ +// sampleOrderType struct_body << "\t\t\t" << "VkCoarseSampleOrderTypeNV(" << structInfo->sampleOrderType << ")" << "," << std::endl; -/* customSampleOrderCount */ +// customSampleOrderCount struct_body << "\t\t\t" << structInfo->customSampleOrderCount << "," << std::endl; -/* pCustomSampleOrders */ +// pCustomSampleOrders struct_body << "\t\t\t" << pcustom_sample_orders_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineViewportCoarseSampleOrderStateCreateInfoNV"); out << "\t\t" << "VkPipelineViewportCoarseSampleOrderStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -17296,15 +17296,15 @@ std::string GenerateStruct_VkPipelineViewportShadingRateImageStateCreateInfoNV(s } out << "\t\t" << "VkShadingRatePaletteNV " << pshading_rate_palettes_array << "[] = {" << pshading_rate_palettes_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shadingRateImageEnable */ +// shadingRateImageEnable struct_body << "\t\t\t" << structInfo->shadingRateImageEnable << "," << std::endl; -/* viewportCount */ +// viewportCount struct_body << "\t\t\t" << structInfo->viewportCount << "," << std::endl; -/* pShadingRatePalettes */ +// pShadingRatePalettes struct_body << "\t\t\t" << pshading_rate_palettes_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineViewportShadingRateImageStateCreateInfoNV"); out << "\t\t" << "VkPipelineViewportShadingRateImageStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -17325,9 +17325,9 @@ std::string GenerateStruct_VkShadingRatePaletteNV(std::ostream &out, const VkSha pshading_rate_palette_entries_array = "pShadingRatePaletteEntries_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkShadingRatePaletteEntryNV " << pshading_rate_palette_entries_array << "[] = {" << pshading_rate_palette_entries_values << "};" << std::endl; } -/* shadingRatePaletteEntryCount */ +// shadingRatePaletteEntryCount struct_body << "\t" << structInfo->shadingRatePaletteEntryCount << "," << std::endl; -/* pShadingRatePaletteEntries */ +// pShadingRatePaletteEntries struct_body << "\t\t\t" << pshading_rate_palette_entries_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "shadingRatePaletteNV"); out << "\t\t" << "VkShadingRatePaletteNV " << variable_name << " {" << std::endl; @@ -17339,17 +17339,17 @@ std::string GenerateStruct_VkShadingRatePaletteNV(std::ostream &out, const VkSha std::string GenerateStruct_VkAabbPositionsKHR(std::ostream &out, const VkAabbPositionsKHR* structInfo, Decoded_VkAabbPositionsKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* minX */ +// minX struct_body << "\t" << structInfo->minX << "," << std::endl; -/* minY */ +// minY struct_body << "\t\t\t" << structInfo->minY << "," << std::endl; -/* minZ */ +// minZ struct_body << "\t\t\t" << structInfo->minZ << "," << std::endl; -/* maxX */ +// maxX struct_body << "\t\t\t" << structInfo->maxX << "," << std::endl; -/* maxY */ +// maxY struct_body << "\t\t\t" << structInfo->maxY << "," << std::endl; -/* maxZ */ +// maxZ struct_body << "\t\t\t" << structInfo->maxZ << ","; std::string variable_name = consumer.AddStruct(struct_body, "aabbPositionsKHR"); out << "\t\t" << "VkAabbPositionsKHR " << variable_name << " {" << std::endl; @@ -17366,13 +17366,13 @@ std::string GenerateStruct_VkAccelerationStructureCreateInfoNV(std::ostream &out &structInfo->info, metaInfo->info, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* compactedSize */ +// compactedSize struct_body << "\t\t\t" << structInfo->compactedSize << "UL" << "," << std::endl; -/* info */ +// info struct_body << "\t\t\t" << info_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureCreateInfoNV"); out << "\t\t" << "VkAccelerationStructureCreateInfoNV " << variable_name << " {" << std::endl; @@ -17401,19 +17401,19 @@ std::string GenerateStruct_VkAccelerationStructureInfoNV(std::ostream &out, cons } out << "\t\t" << "VkGeometryNV " << pgeometries_array << "[] = {" << pgeometries_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkAccelerationStructureTypeNV(" << structInfo->type << ")" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkBuildAccelerationStructureFlagsNV(" << structInfo->flags << ")" << "," << std::endl; -/* instanceCount */ +// instanceCount struct_body << "\t\t\t" << structInfo->instanceCount << "," << std::endl; -/* geometryCount */ +// geometryCount struct_body << "\t\t\t" << structInfo->geometryCount << "," << std::endl; -/* pGeometries */ +// pGeometries struct_body << "\t\t\t" << pgeometries_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureInfoNV"); out << "\t\t" << "VkAccelerationStructureInfoNV " << variable_name << " {" << std::endl; @@ -17429,17 +17429,17 @@ std::string GenerateStruct_VkAccelerationStructureInstanceKHR(std::ostream &out, &structInfo->transform, metaInfo->transform, consumer); -/* transform */ +// transform struct_body << "\t" << transform_info_var << "," << std::endl; -/* instanceCustomIndex */ +// instanceCustomIndex struct_body << "\t\t\t" << structInfo->instanceCustomIndex << "," << std::endl; -/* mask */ +// mask struct_body << "\t\t\t" << structInfo->mask << "," << std::endl; -/* instanceShaderBindingTableRecordOffset */ +// instanceShaderBindingTableRecordOffset struct_body << "\t\t\t" << structInfo->instanceShaderBindingTableRecordOffset << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkGeometryInstanceFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* accelerationStructureReference */ +// accelerationStructureReference struct_body << "\t\t\t" << structInfo->accelerationStructureReference << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureInstanceKHR"); out << "\t\t" << "VkAccelerationStructureInstanceKHR " << variable_name << " {" << std::endl; @@ -17452,13 +17452,13 @@ std::string GenerateStruct_VkAccelerationStructureInstanceKHR(std::ostream &out, std::string GenerateStruct_VkAccelerationStructureMemoryRequirementsInfoNV(std::ostream &out, const VkAccelerationStructureMemoryRequirementsInfoNV* structInfo, Decoded_VkAccelerationStructureMemoryRequirementsInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkAccelerationStructureMemoryRequirementsTypeNV(" << structInfo->type << ")" << "," << std::endl; -/* accelerationStructure */ +// accelerationStructure struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->accelerationStructure) << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureMemoryRequirementsInfoNV"); out << "\t\t" << "VkAccelerationStructureMemoryRequirementsInfoNV " << variable_name << " {" << std::endl; @@ -17476,19 +17476,19 @@ std::string GenerateStruct_VkBindAccelerationStructureMemoryInfoNV(std::ostream pdevice_indices_array = "pDeviceIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pdevice_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pDeviceIndices, structInfo->deviceIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* accelerationStructure */ +// accelerationStructure struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->accelerationStructure) << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* memoryOffset */ +// memoryOffset struct_body << "\t\t\t" << structInfo->memoryOffset << "UL" << "," << std::endl; -/* deviceIndexCount */ +// deviceIndexCount struct_body << "\t\t\t" << structInfo->deviceIndexCount << "," << std::endl; -/* pDeviceIndices */ +// pDeviceIndices struct_body << "\t\t\t" << pdevice_indices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindAccelerationStructureMemoryInfoNV"); out << "\t\t" << "VkBindAccelerationStructureMemoryInfoNV " << variable_name << " {" << std::endl; @@ -17501,17 +17501,17 @@ std::string GenerateStruct_VkBindAccelerationStructureMemoryInfoNV(std::ostream std::string GenerateStruct_VkGeometryAABBNV(std::ostream &out, const VkGeometryAABBNV* structInfo, Decoded_VkGeometryAABBNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* aabbData */ +// aabbData struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->aabbData) << "," << std::endl; -/* numAABBs */ +// numAABBs struct_body << "\t\t\t" << structInfo->numAABBs << "," << std::endl; -/* stride */ +// stride struct_body << "\t\t\t" << structInfo->stride << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "geometryAABBNV"); out << "\t\t" << "VkGeometryAABBNV " << variable_name << " {" << std::endl; @@ -17531,9 +17531,9 @@ std::string GenerateStruct_VkGeometryDataNV(std::ostream &out, const VkGeometryD &structInfo->aabbs, metaInfo->aabbs, consumer); -/* triangles */ +// triangles struct_body << "\t" << triangles_info_var << "," << std::endl; -/* aabbs */ +// aabbs struct_body << "\t\t\t" << aabbs_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "geometryDataNV"); out << "\t\t" << "VkGeometryDataNV " << variable_name << " {" << std::endl; @@ -17550,15 +17550,15 @@ std::string GenerateStruct_VkGeometryNV(std::ostream &out, const VkGeometryNV* s &structInfo->geometry, metaInfo->geometry, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* geometryType */ +// geometryType struct_body << "\t\t\t" << "VkGeometryTypeKHR(" << structInfo->geometryType << ")" << "," << std::endl; -/* geometry */ +// geometry struct_body << "\t\t\t" << geometry_info_var << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkGeometryFlagsKHR(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "geometryNV"); out << "\t\t" << "VkGeometryNV " << variable_name << " {" << std::endl; @@ -17571,31 +17571,31 @@ std::string GenerateStruct_VkGeometryNV(std::ostream &out, const VkGeometryNV* s std::string GenerateStruct_VkGeometryTrianglesNV(std::ostream &out, const VkGeometryTrianglesNV* structInfo, Decoded_VkGeometryTrianglesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* vertexData */ +// vertexData struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->vertexData) << "," << std::endl; -/* vertexOffset */ +// vertexOffset struct_body << "\t\t\t" << structInfo->vertexOffset << "UL" << "," << std::endl; -/* vertexCount */ +// vertexCount struct_body << "\t\t\t" << structInfo->vertexCount << "," << std::endl; -/* vertexStride */ +// vertexStride struct_body << "\t\t\t" << structInfo->vertexStride << "UL" << "," << std::endl; -/* vertexFormat */ +// vertexFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->vertexFormat << ")" << "," << std::endl; -/* indexData */ +// indexData struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->indexData) << "," << std::endl; -/* indexOffset */ +// indexOffset struct_body << "\t\t\t" << structInfo->indexOffset << "UL" << "," << std::endl; -/* indexCount */ +// indexCount struct_body << "\t\t\t" << structInfo->indexCount << "," << std::endl; -/* indexType */ +// indexType struct_body << "\t\t\t" << "VkIndexType(" << structInfo->indexType << ")" << "," << std::endl; -/* transformData */ +// transformData struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->transformData) << "," << std::endl; -/* transformOffset */ +// transformOffset struct_body << "\t\t\t" << structInfo->transformOffset << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "geometryTrianglesNV"); out << "\t\t" << "VkGeometryTrianglesNV " << variable_name << " {" << std::endl; @@ -17608,25 +17608,25 @@ std::string GenerateStruct_VkGeometryTrianglesNV(std::ostream &out, const VkGeom std::string GenerateStruct_VkPhysicalDeviceRayTracingPropertiesNV(std::ostream &out, const VkPhysicalDeviceRayTracingPropertiesNV* structInfo, Decoded_VkPhysicalDeviceRayTracingPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderGroupHandleSize */ +// shaderGroupHandleSize struct_body << "\t\t\t" << structInfo->shaderGroupHandleSize << "," << std::endl; -/* maxRecursionDepth */ +// maxRecursionDepth struct_body << "\t\t\t" << structInfo->maxRecursionDepth << "," << std::endl; -/* maxShaderGroupStride */ +// maxShaderGroupStride struct_body << "\t\t\t" << structInfo->maxShaderGroupStride << "," << std::endl; -/* shaderGroupBaseAlignment */ +// shaderGroupBaseAlignment struct_body << "\t\t\t" << structInfo->shaderGroupBaseAlignment << "," << std::endl; -/* maxGeometryCount */ +// maxGeometryCount struct_body << "\t\t\t" << structInfo->maxGeometryCount << "UL" << "," << std::endl; -/* maxInstanceCount */ +// maxInstanceCount struct_body << "\t\t\t" << structInfo->maxInstanceCount << "UL" << "," << std::endl; -/* maxTriangleCount */ +// maxTriangleCount struct_body << "\t\t\t" << structInfo->maxTriangleCount << "UL" << "," << std::endl; -/* maxDescriptorSetAccelerationStructures */ +// maxDescriptorSetAccelerationStructures struct_body << "\t\t\t" << structInfo->maxDescriptorSetAccelerationStructures << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceRayTracingPropertiesNV " << variable_name << " {" << std::endl; @@ -17671,27 +17671,27 @@ std::string GenerateStruct_VkRayTracingPipelineCreateInfoNV(std::ostream &out, c } out << "\t\t" << "VkRayTracingShaderGroupCreateInfoNV " << pgroups_array << "[] = {" << pgroups_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* stageCount */ +// stageCount struct_body << "\t\t\t" << structInfo->stageCount << "," << std::endl; -/* pStages */ +// pStages struct_body << "\t\t\t" << pstages_array << "," << std::endl; -/* groupCount */ +// groupCount struct_body << "\t\t\t" << structInfo->groupCount << "," << std::endl; -/* pGroups */ +// pGroups struct_body << "\t\t\t" << pgroups_array << "," << std::endl; -/* maxRecursionDepth */ +// maxRecursionDepth struct_body << "\t\t\t" << structInfo->maxRecursionDepth << "," << std::endl; -/* layout */ +// layout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->layout) << "," << std::endl; -/* basePipelineHandle */ +// basePipelineHandle struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->basePipelineHandle) << "," << std::endl; -/* basePipelineIndex */ +// basePipelineIndex struct_body << "\t\t\t" << structInfo->basePipelineIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "rayTracingPipelineCreateInfoNV"); out << "\t\t" << "VkRayTracingPipelineCreateInfoNV " << variable_name << " {" << std::endl; @@ -17704,19 +17704,19 @@ std::string GenerateStruct_VkRayTracingPipelineCreateInfoNV(std::ostream &out, c std::string GenerateStruct_VkRayTracingShaderGroupCreateInfoNV(std::ostream &out, const VkRayTracingShaderGroupCreateInfoNV* structInfo, Decoded_VkRayTracingShaderGroupCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkRayTracingShaderGroupTypeKHR(" << structInfo->type << ")" << "," << std::endl; -/* generalShader */ +// generalShader struct_body << "\t\t\t" << structInfo->generalShader << "," << std::endl; -/* closestHitShader */ +// closestHitShader struct_body << "\t\t\t" << structInfo->closestHitShader << "," << std::endl; -/* anyHitShader */ +// anyHitShader struct_body << "\t\t\t" << structInfo->anyHitShader << "," << std::endl; -/* intersectionShader */ +// intersectionShader struct_body << "\t\t\t" << structInfo->intersectionShader << ","; std::string variable_name = consumer.AddStruct(struct_body, "rayTracingShaderGroupCreateInfoNV"); out << "\t\t" << "VkRayTracingShaderGroupCreateInfoNV " << variable_name << " {" << std::endl; @@ -17728,7 +17728,7 @@ std::string GenerateStruct_VkRayTracingShaderGroupCreateInfoNV(std::ostream &out std::string GenerateStruct_VkTransformMatrixKHR(std::ostream &out, const VkTransformMatrixKHR* structInfo, Decoded_VkTransformMatrixKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* matrix */ +// matrix struct_body << "\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->matrix[0][0]), 3) << ","; std::string variable_name = consumer.AddStruct(struct_body, "transformMatrixKHR"); out << "\t\t" << "VkTransformMatrixKHR " << variable_name << " {" << std::endl; @@ -17754,13 +17754,13 @@ std::string GenerateStruct_VkWriteDescriptorSetAccelerationStructureNV(std::ostr out << "\t\t" << "VkAccelerationStructureNV " << pacceleration_structures_array << "[] = {" << pacceleration_structures_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* accelerationStructureCount */ +// accelerationStructureCount struct_body << "\t\t\t" << structInfo->accelerationStructureCount << "," << std::endl; -/* pAccelerationStructures */ +// pAccelerationStructures struct_body << "\t\t\t" << pacceleration_structures_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "writeDescriptorSetAccelerationStructureNV"); out << "\t\t" << "VkWriteDescriptorSetAccelerationStructureNV " << variable_name << " {" << std::endl; @@ -17773,11 +17773,11 @@ std::string GenerateStruct_VkWriteDescriptorSetAccelerationStructureNV(std::ostr std::string GenerateStruct_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(std::ostream &out, const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* structInfo, Decoded_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* representativeFragmentTest */ +// representativeFragmentTest struct_body << "\t\t\t" << structInfo->representativeFragmentTest << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRepresentativeFragmentTestFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV " << variable_name << " {" << std::endl; @@ -17790,11 +17790,11 @@ std::string GenerateStruct_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV( std::string GenerateStruct_VkPipelineRepresentativeFragmentTestStateCreateInfoNV(std::ostream &out, const VkPipelineRepresentativeFragmentTestStateCreateInfoNV* structInfo, Decoded_VkPipelineRepresentativeFragmentTestStateCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* representativeFragmentTestEnable */ +// representativeFragmentTestEnable struct_body << "\t\t\t" << structInfo->representativeFragmentTestEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRepresentativeFragmentTestStateCreateInfoNV"); out << "\t\t" << "VkPipelineRepresentativeFragmentTestStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -17807,13 +17807,13 @@ std::string GenerateStruct_VkPipelineRepresentativeFragmentTestStateCreateInfoNV std::string GenerateStruct_VkFilterCubicImageViewImageFormatPropertiesEXT(std::ostream &out, const VkFilterCubicImageViewImageFormatPropertiesEXT* structInfo, Decoded_VkFilterCubicImageViewImageFormatPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* filterCubic */ +// filterCubic struct_body << "\t\t\t" << structInfo->filterCubic << "," << std::endl; -/* filterCubicMinmax */ +// filterCubicMinmax struct_body << "\t\t\t" << structInfo->filterCubicMinmax << ","; std::string variable_name = consumer.AddStruct(struct_body, "filterCubicImageViewImageFormatPropertiesEXT"); out << "\t\t" << "VkFilterCubicImageViewImageFormatPropertiesEXT " << variable_name << " {" << std::endl; @@ -17826,11 +17826,11 @@ std::string GenerateStruct_VkFilterCubicImageViewImageFormatPropertiesEXT(std::o std::string GenerateStruct_VkPhysicalDeviceImageViewImageFormatInfoEXT(std::ostream &out, const VkPhysicalDeviceImageViewImageFormatInfoEXT* structInfo, Decoded_VkPhysicalDeviceImageViewImageFormatInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageViewType */ +// imageViewType struct_body << "\t\t\t" << "VkImageViewType(" << structInfo->imageViewType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageViewImageFormatInfoEXT"); out << "\t\t" << "VkPhysicalDeviceImageViewImageFormatInfoEXT " << variable_name << " {" << std::endl; @@ -17843,13 +17843,13 @@ std::string GenerateStruct_VkPhysicalDeviceImageViewImageFormatInfoEXT(std::ostr std::string GenerateStruct_VkImportMemoryHostPointerInfoEXT(std::ostream &out, const VkImportMemoryHostPointerInfoEXT* structInfo, Decoded_VkImportMemoryHostPointerInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* pHostPointer */ +// pHostPointer out << "\t\t" << "// TODO: Support pHostPointer (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "importMemoryHostPointerInfoEXT"); out << "\t\t" << "VkImportMemoryHostPointerInfoEXT " << variable_name << " {" << std::endl; @@ -17862,11 +17862,11 @@ std::string GenerateStruct_VkImportMemoryHostPointerInfoEXT(std::ostream &out, c std::string GenerateStruct_VkMemoryHostPointerPropertiesEXT(std::ostream &out, const VkMemoryHostPointerPropertiesEXT* structInfo, Decoded_VkMemoryHostPointerPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryTypeBits */ +// memoryTypeBits struct_body << "\t\t\t" << structInfo->memoryTypeBits << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryHostPointerPropertiesEXT"); out << "\t\t" << "VkMemoryHostPointerPropertiesEXT " << variable_name << " {" << std::endl; @@ -17879,11 +17879,11 @@ std::string GenerateStruct_VkMemoryHostPointerPropertiesEXT(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(std::ostream &out, const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceExternalMemoryHostPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minImportedHostPointerAlignment */ +// minImportedHostPointerAlignment struct_body << "\t\t\t" << structInfo->minImportedHostPointerAlignment << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalMemoryHostPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceExternalMemoryHostPropertiesEXT " << variable_name << " {" << std::endl; @@ -17896,11 +17896,11 @@ std::string GenerateStruct_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(std:: std::string GenerateStruct_VkPipelineCompilerControlCreateInfoAMD(std::ostream &out, const VkPipelineCompilerControlCreateInfoAMD* structInfo, Decoded_VkPipelineCompilerControlCreateInfoAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* compilerControlFlags */ +// compilerControlFlags struct_body << "\t\t\t" << "VkPipelineCompilerControlFlagsAMD(" << structInfo->compilerControlFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCompilerControlCreateInfoAMD"); out << "\t\t" << "VkPipelineCompilerControlCreateInfoAMD " << variable_name << " {" << std::endl; @@ -17913,11 +17913,11 @@ std::string GenerateStruct_VkPipelineCompilerControlCreateInfoAMD(std::ostream & std::string GenerateStruct_VkCalibratedTimestampInfoEXT(std::ostream &out, const VkCalibratedTimestampInfoEXT* structInfo, Decoded_VkCalibratedTimestampInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* timeDomain */ +// timeDomain struct_body << "\t\t\t" << "VkTimeDomainEXT(" << structInfo->timeDomain << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "calibratedTimestampInfoEXT"); out << "\t\t" << "VkCalibratedTimestampInfoEXT " << variable_name << " {" << std::endl; @@ -17930,37 +17930,37 @@ std::string GenerateStruct_VkCalibratedTimestampInfoEXT(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceShaderCorePropertiesAMD(std::ostream &out, const VkPhysicalDeviceShaderCorePropertiesAMD* structInfo, Decoded_VkPhysicalDeviceShaderCorePropertiesAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderEngineCount */ +// shaderEngineCount struct_body << "\t\t\t" << structInfo->shaderEngineCount << "," << std::endl; -/* shaderArraysPerEngineCount */ +// shaderArraysPerEngineCount struct_body << "\t\t\t" << structInfo->shaderArraysPerEngineCount << "," << std::endl; -/* computeUnitsPerShaderArray */ +// computeUnitsPerShaderArray struct_body << "\t\t\t" << structInfo->computeUnitsPerShaderArray << "," << std::endl; -/* simdPerComputeUnit */ +// simdPerComputeUnit struct_body << "\t\t\t" << structInfo->simdPerComputeUnit << "," << std::endl; -/* wavefrontsPerSimd */ +// wavefrontsPerSimd struct_body << "\t\t\t" << structInfo->wavefrontsPerSimd << "," << std::endl; -/* wavefrontSize */ +// wavefrontSize struct_body << "\t\t\t" << structInfo->wavefrontSize << "," << std::endl; -/* sgprsPerSimd */ +// sgprsPerSimd struct_body << "\t\t\t" << structInfo->sgprsPerSimd << "," << std::endl; -/* minSgprAllocation */ +// minSgprAllocation struct_body << "\t\t\t" << structInfo->minSgprAllocation << "," << std::endl; -/* maxSgprAllocation */ +// maxSgprAllocation struct_body << "\t\t\t" << structInfo->maxSgprAllocation << "," << std::endl; -/* sgprAllocationGranularity */ +// sgprAllocationGranularity struct_body << "\t\t\t" << structInfo->sgprAllocationGranularity << "," << std::endl; -/* vgprsPerSimd */ +// vgprsPerSimd struct_body << "\t\t\t" << structInfo->vgprsPerSimd << "," << std::endl; -/* minVgprAllocation */ +// minVgprAllocation struct_body << "\t\t\t" << structInfo->minVgprAllocation << "," << std::endl; -/* maxVgprAllocation */ +// maxVgprAllocation struct_body << "\t\t\t" << structInfo->maxVgprAllocation << "," << std::endl; -/* vgprAllocationGranularity */ +// vgprAllocationGranularity struct_body << "\t\t\t" << structInfo->vgprAllocationGranularity << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderCorePropertiesAMD"); out << "\t\t" << "VkPhysicalDeviceShaderCorePropertiesAMD " << variable_name << " {" << std::endl; @@ -17973,11 +17973,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderCorePropertiesAMD(std::ostream std::string GenerateStruct_VkDeviceMemoryOverallocationCreateInfoAMD(std::ostream &out, const VkDeviceMemoryOverallocationCreateInfoAMD* structInfo, Decoded_VkDeviceMemoryOverallocationCreateInfoAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* overallocationBehavior */ +// overallocationBehavior struct_body << "\t\t\t" << "VkMemoryOverallocationBehaviorAMD(" << structInfo->overallocationBehavior << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceMemoryOverallocationCreateInfoAMD"); out << "\t\t" << "VkDeviceMemoryOverallocationCreateInfoAMD " << variable_name << " {" << std::endl; @@ -17990,13 +17990,13 @@ std::string GenerateStruct_VkDeviceMemoryOverallocationCreateInfoAMD(std::ostrea std::string GenerateStruct_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(std::ostream &out, const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* vertexAttributeInstanceRateDivisor */ +// vertexAttributeInstanceRateDivisor struct_body << "\t\t\t" << structInfo->vertexAttributeInstanceRateDivisor << "," << std::endl; -/* vertexAttributeInstanceRateZeroDivisor */ +// vertexAttributeInstanceRateZeroDivisor struct_body << "\t\t\t" << structInfo->vertexAttributeInstanceRateZeroDivisor << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVertexAttributeDivisorFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT " << variable_name << " {" << std::endl; @@ -18009,11 +18009,11 @@ std::string GenerateStruct_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(std std::string GenerateStruct_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(std::ostream &out, const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxVertexAttribDivisor */ +// maxVertexAttribDivisor struct_body << "\t\t\t" << structInfo->maxVertexAttribDivisor << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVertexAttributeDivisorPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT " << variable_name << " {" << std::endl; @@ -18042,13 +18042,13 @@ std::string GenerateStruct_VkPipelineVertexInputDivisorStateCreateInfoEXT(std::o } out << "\t\t" << "VkVertexInputBindingDivisorDescriptionEXT " << pvertex_binding_divisors_array << "[] = {" << pvertex_binding_divisors_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* vertexBindingDivisorCount */ +// vertexBindingDivisorCount struct_body << "\t\t\t" << structInfo->vertexBindingDivisorCount << "," << std::endl; -/* pVertexBindingDivisors */ +// pVertexBindingDivisors struct_body << "\t\t\t" << pvertex_binding_divisors_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineVertexInputDivisorStateCreateInfoEXT"); out << "\t\t" << "VkPipelineVertexInputDivisorStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -18060,9 +18060,9 @@ std::string GenerateStruct_VkPipelineVertexInputDivisorStateCreateInfoEXT(std::o std::string GenerateStruct_VkVertexInputBindingDivisorDescriptionEXT(std::ostream &out, const VkVertexInputBindingDivisorDescriptionEXT* structInfo, Decoded_VkVertexInputBindingDivisorDescriptionEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* binding */ +// binding struct_body << "\t" << structInfo->binding << "," << std::endl; -/* divisor */ +// divisor struct_body << "\t\t\t" << structInfo->divisor << ","; std::string variable_name = consumer.AddStruct(struct_body, "vertexInputBindingDivisorDescriptionEXT"); out << "\t\t" << "VkVertexInputBindingDivisorDescriptionEXT " << variable_name << " {" << std::endl; @@ -18075,11 +18075,11 @@ std::string GenerateStruct_VkVertexInputBindingDivisorDescriptionEXT(std::ostrea std::string GenerateStruct_VkPresentFrameTokenGGP(std::ostream &out, const VkPresentFrameTokenGGP* structInfo, Decoded_VkPresentFrameTokenGGP* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* frameToken */ +// frameToken struct_body << "\t\t\t" << structInfo->frameToken << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "presentFrameTokenGGP"); out << "\t\t" << "VkPresentFrameTokenGGP " << variable_name << " {" << std::endl; @@ -18092,13 +18092,13 @@ std::string GenerateStruct_VkPresentFrameTokenGGP(std::ostream &out, const VkPre std::string GenerateStruct_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(std::ostream &out, const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* structInfo, Decoded_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* computeDerivativeGroupQuads */ +// computeDerivativeGroupQuads struct_body << "\t\t\t" << structInfo->computeDerivativeGroupQuads << "," << std::endl; -/* computeDerivativeGroupLinear */ +// computeDerivativeGroupLinear struct_body << "\t\t\t" << structInfo->computeDerivativeGroupLinear << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceComputeShaderDerivativesFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceComputeShaderDerivativesFeaturesNV " << variable_name << " {" << std::endl; @@ -18110,9 +18110,9 @@ std::string GenerateStruct_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(st std::string GenerateStruct_VkDrawMeshTasksIndirectCommandNV(std::ostream &out, const VkDrawMeshTasksIndirectCommandNV* structInfo, Decoded_VkDrawMeshTasksIndirectCommandNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* taskCount */ +// taskCount struct_body << "\t" << structInfo->taskCount << "," << std::endl; -/* firstTask */ +// firstTask struct_body << "\t\t\t" << structInfo->firstTask << ","; std::string variable_name = consumer.AddStruct(struct_body, "drawMeshTasksIndirectCommandNV"); out << "\t\t" << "VkDrawMeshTasksIndirectCommandNV " << variable_name << " {" << std::endl; @@ -18125,13 +18125,13 @@ std::string GenerateStruct_VkDrawMeshTasksIndirectCommandNV(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceMeshShaderFeaturesNV(std::ostream &out, const VkPhysicalDeviceMeshShaderFeaturesNV* structInfo, Decoded_VkPhysicalDeviceMeshShaderFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* taskShader */ +// taskShader struct_body << "\t\t\t" << structInfo->taskShader << "," << std::endl; -/* meshShader */ +// meshShader struct_body << "\t\t\t" << structInfo->meshShader << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMeshShaderFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceMeshShaderFeaturesNV " << variable_name << " {" << std::endl; @@ -18144,35 +18144,35 @@ std::string GenerateStruct_VkPhysicalDeviceMeshShaderFeaturesNV(std::ostream &ou std::string GenerateStruct_VkPhysicalDeviceMeshShaderPropertiesNV(std::ostream &out, const VkPhysicalDeviceMeshShaderPropertiesNV* structInfo, Decoded_VkPhysicalDeviceMeshShaderPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxDrawMeshTasksCount */ +// maxDrawMeshTasksCount struct_body << "\t\t\t" << structInfo->maxDrawMeshTasksCount << "," << std::endl; -/* maxTaskWorkGroupInvocations */ +// maxTaskWorkGroupInvocations struct_body << "\t\t\t" << structInfo->maxTaskWorkGroupInvocations << "," << std::endl; -/* maxTaskWorkGroupSize */ +// maxTaskWorkGroupSize struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxTaskWorkGroupSize[0]), 3) << "," << std::endl; -/* maxTaskTotalMemorySize */ +// maxTaskTotalMemorySize struct_body << "\t\t\t" << structInfo->maxTaskTotalMemorySize << "," << std::endl; -/* maxTaskOutputCount */ +// maxTaskOutputCount struct_body << "\t\t\t" << structInfo->maxTaskOutputCount << "," << std::endl; -/* maxMeshWorkGroupInvocations */ +// maxMeshWorkGroupInvocations struct_body << "\t\t\t" << structInfo->maxMeshWorkGroupInvocations << "," << std::endl; -/* maxMeshWorkGroupSize */ +// maxMeshWorkGroupSize struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxMeshWorkGroupSize[0]), 3) << "," << std::endl; -/* maxMeshTotalMemorySize */ +// maxMeshTotalMemorySize struct_body << "\t\t\t" << structInfo->maxMeshTotalMemorySize << "," << std::endl; -/* maxMeshOutputVertices */ +// maxMeshOutputVertices struct_body << "\t\t\t" << structInfo->maxMeshOutputVertices << "," << std::endl; -/* maxMeshOutputPrimitives */ +// maxMeshOutputPrimitives struct_body << "\t\t\t" << structInfo->maxMeshOutputPrimitives << "," << std::endl; -/* maxMeshMultiviewViewCount */ +// maxMeshMultiviewViewCount struct_body << "\t\t\t" << structInfo->maxMeshMultiviewViewCount << "," << std::endl; -/* meshOutputPerVertexGranularity */ +// meshOutputPerVertexGranularity struct_body << "\t\t\t" << structInfo->meshOutputPerVertexGranularity << "," << std::endl; -/* meshOutputPerPrimitiveGranularity */ +// meshOutputPerPrimitiveGranularity struct_body << "\t\t\t" << structInfo->meshOutputPerPrimitiveGranularity << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMeshShaderPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceMeshShaderPropertiesNV " << variable_name << " {" << std::endl; @@ -18185,11 +18185,11 @@ std::string GenerateStruct_VkPhysicalDeviceMeshShaderPropertiesNV(std::ostream & std::string GenerateStruct_VkPhysicalDeviceShaderImageFootprintFeaturesNV(std::ostream &out, const VkPhysicalDeviceShaderImageFootprintFeaturesNV* structInfo, Decoded_VkPhysicalDeviceShaderImageFootprintFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageFootprint */ +// imageFootprint struct_body << "\t\t\t" << structInfo->imageFootprint << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderImageFootprintFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceShaderImageFootprintFeaturesNV " << variable_name << " {" << std::endl; @@ -18202,11 +18202,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderImageFootprintFeaturesNV(std::o std::string GenerateStruct_VkPhysicalDeviceExclusiveScissorFeaturesNV(std::ostream &out, const VkPhysicalDeviceExclusiveScissorFeaturesNV* structInfo, Decoded_VkPhysicalDeviceExclusiveScissorFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* exclusiveScissor */ +// exclusiveScissor struct_body << "\t\t\t" << structInfo->exclusiveScissor << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExclusiveScissorFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceExclusiveScissorFeaturesNV " << variable_name << " {" << std::endl; @@ -18224,13 +18224,13 @@ std::string GenerateStruct_VkPipelineViewportExclusiveScissorStateCreateInfoNV(s pexclusive_scissors_array = "pExclusiveScissors_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkRect2D " << pexclusive_scissors_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pExclusiveScissors, structInfo->exclusiveScissorCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* exclusiveScissorCount */ +// exclusiveScissorCount struct_body << "\t\t\t" << structInfo->exclusiveScissorCount << "," << std::endl; -/* pExclusiveScissors */ +// pExclusiveScissors struct_body << "\t\t\t" << pexclusive_scissors_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineViewportExclusiveScissorStateCreateInfoNV"); out << "\t\t" << "VkPipelineViewportExclusiveScissorStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -18243,13 +18243,13 @@ std::string GenerateStruct_VkPipelineViewportExclusiveScissorStateCreateInfoNV(s std::string GenerateStruct_VkCheckpointDataNV(std::ostream &out, const VkCheckpointDataNV* structInfo, Decoded_VkCheckpointDataNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stage */ +// stage struct_body << "\t\t\t" << "VkPipelineStageFlagBits(" << structInfo->stage << ")" << "," << std::endl; -/* pCheckpointMarker */ +// pCheckpointMarker out << "\t\t" << "// TODO: Support pCheckpointMarker (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "checkpointDataNV"); out << "\t\t" << "VkCheckpointDataNV " << variable_name << " {" << std::endl; @@ -18262,11 +18262,11 @@ std::string GenerateStruct_VkCheckpointDataNV(std::ostream &out, const VkCheckpo std::string GenerateStruct_VkQueueFamilyCheckpointPropertiesNV(std::ostream &out, const VkQueueFamilyCheckpointPropertiesNV* structInfo, Decoded_VkQueueFamilyCheckpointPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* checkpointExecutionStageMask */ +// checkpointExecutionStageMask struct_body << "\t\t\t" << "VkPipelineStageFlags(" << structInfo->checkpointExecutionStageMask << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "queueFamilyCheckpointPropertiesNV"); out << "\t\t" << "VkQueueFamilyCheckpointPropertiesNV " << variable_name << " {" << std::endl; @@ -18279,11 +18279,11 @@ std::string GenerateStruct_VkQueueFamilyCheckpointPropertiesNV(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL(std::ostream &out, const VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* structInfo, Decoded_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderIntegerFunctions2 */ +// shaderIntegerFunctions2 struct_body << "\t\t\t" << structInfo->shaderIntegerFunctions2 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderIntegerFunctions2FeaturesINTEL"); out << "\t\t" << "VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL " << variable_name << " {" << std::endl; @@ -18296,11 +18296,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( std::string GenerateStruct_VkInitializePerformanceApiInfoINTEL(std::ostream &out, const VkInitializePerformanceApiInfoINTEL* structInfo, Decoded_VkInitializePerformanceApiInfoINTEL* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pUserData */ +// pUserData out << "\t\t" << "// TODO: Support pUserData (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "initializePerformanceApiInfoINTEL"); out << "\t\t" << "VkInitializePerformanceApiInfoINTEL " << variable_name << " {" << std::endl; @@ -18313,11 +18313,11 @@ std::string GenerateStruct_VkInitializePerformanceApiInfoINTEL(std::ostream &out std::string GenerateStruct_VkPerformanceConfigurationAcquireInfoINTEL(std::ostream &out, const VkPerformanceConfigurationAcquireInfoINTEL* structInfo, Decoded_VkPerformanceConfigurationAcquireInfoINTEL* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkPerformanceConfigurationTypeINTEL(" << structInfo->type << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceConfigurationAcquireInfoINTEL"); out << "\t\t" << "VkPerformanceConfigurationAcquireInfoINTEL " << variable_name << " {" << std::endl; @@ -18330,11 +18330,11 @@ std::string GenerateStruct_VkPerformanceConfigurationAcquireInfoINTEL(std::ostre std::string GenerateStruct_VkPerformanceMarkerInfoINTEL(std::ostream &out, const VkPerformanceMarkerInfoINTEL* structInfo, Decoded_VkPerformanceMarkerInfoINTEL* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* marker */ +// marker struct_body << "\t\t\t" << structInfo->marker << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceMarkerInfoINTEL"); out << "\t\t" << "VkPerformanceMarkerInfoINTEL " << variable_name << " {" << std::endl; @@ -18347,15 +18347,15 @@ std::string GenerateStruct_VkPerformanceMarkerInfoINTEL(std::ostream &out, const std::string GenerateStruct_VkPerformanceOverrideInfoINTEL(std::ostream &out, const VkPerformanceOverrideInfoINTEL* structInfo, Decoded_VkPerformanceOverrideInfoINTEL* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkPerformanceOverrideTypeINTEL(" << structInfo->type << ")" << "," << std::endl; -/* enable */ +// enable struct_body << "\t\t\t" << structInfo->enable << "," << std::endl; -/* parameter */ +// parameter struct_body << "\t\t\t" << structInfo->parameter << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceOverrideInfoINTEL"); out << "\t\t" << "VkPerformanceOverrideInfoINTEL " << variable_name << " {" << std::endl; @@ -18368,11 +18368,11 @@ std::string GenerateStruct_VkPerformanceOverrideInfoINTEL(std::ostream &out, con std::string GenerateStruct_VkPerformanceStreamMarkerInfoINTEL(std::ostream &out, const VkPerformanceStreamMarkerInfoINTEL* structInfo, Decoded_VkPerformanceStreamMarkerInfoINTEL* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* marker */ +// marker struct_body << "\t\t\t" << structInfo->marker << ","; std::string variable_name = consumer.AddStruct(struct_body, "performanceStreamMarkerInfoINTEL"); out << "\t\t" << "VkPerformanceStreamMarkerInfoINTEL " << variable_name << " {" << std::endl; @@ -18385,11 +18385,11 @@ std::string GenerateStruct_VkPerformanceStreamMarkerInfoINTEL(std::ostream &out, std::string GenerateStruct_VkQueryPoolPerformanceQueryCreateInfoINTEL(std::ostream &out, const VkQueryPoolPerformanceQueryCreateInfoINTEL* structInfo, Decoded_VkQueryPoolPerformanceQueryCreateInfoINTEL* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* performanceCountersSampling */ +// performanceCountersSampling struct_body << "\t\t\t" << "VkQueryPoolSamplingModeINTEL(" << structInfo->performanceCountersSampling << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "queryPoolPerformanceQueryCreateInfoINTEL"); out << "\t\t" << "VkQueryPoolPerformanceQueryCreateInfoINTEL " << variable_name << " {" << std::endl; @@ -18402,17 +18402,17 @@ std::string GenerateStruct_VkQueryPoolPerformanceQueryCreateInfoINTEL(std::ostre std::string GenerateStruct_VkPhysicalDevicePCIBusInfoPropertiesEXT(std::ostream &out, const VkPhysicalDevicePCIBusInfoPropertiesEXT* structInfo, Decoded_VkPhysicalDevicePCIBusInfoPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pciDomain */ +// pciDomain struct_body << "\t\t\t" << structInfo->pciDomain << "," << std::endl; -/* pciBus */ +// pciBus struct_body << "\t\t\t" << structInfo->pciBus << "," << std::endl; -/* pciDevice */ +// pciDevice struct_body << "\t\t\t" << structInfo->pciDevice << "," << std::endl; -/* pciFunction */ +// pciFunction struct_body << "\t\t\t" << structInfo->pciFunction << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePCIBusInfoPropertiesEXT"); out << "\t\t" << "VkPhysicalDevicePCIBusInfoPropertiesEXT " << variable_name << " {" << std::endl; @@ -18425,11 +18425,11 @@ std::string GenerateStruct_VkPhysicalDevicePCIBusInfoPropertiesEXT(std::ostream std::string GenerateStruct_VkDisplayNativeHdrSurfaceCapabilitiesAMD(std::ostream &out, const VkDisplayNativeHdrSurfaceCapabilitiesAMD* structInfo, Decoded_VkDisplayNativeHdrSurfaceCapabilitiesAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* localDimmingSupport */ +// localDimmingSupport struct_body << "\t\t\t" << structInfo->localDimmingSupport << ","; std::string variable_name = consumer.AddStruct(struct_body, "displayNativeHdrSurfaceCapabilitiesAMD"); out << "\t\t" << "VkDisplayNativeHdrSurfaceCapabilitiesAMD " << variable_name << " {" << std::endl; @@ -18442,11 +18442,11 @@ std::string GenerateStruct_VkDisplayNativeHdrSurfaceCapabilitiesAMD(std::ostream std::string GenerateStruct_VkSwapchainDisplayNativeHdrCreateInfoAMD(std::ostream &out, const VkSwapchainDisplayNativeHdrCreateInfoAMD* structInfo, Decoded_VkSwapchainDisplayNativeHdrCreateInfoAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* localDimmingEnable */ +// localDimmingEnable struct_body << "\t\t\t" << structInfo->localDimmingEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainDisplayNativeHdrCreateInfoAMD"); out << "\t\t" << "VkSwapchainDisplayNativeHdrCreateInfoAMD " << variable_name << " {" << std::endl; @@ -18459,13 +18459,13 @@ std::string GenerateStruct_VkSwapchainDisplayNativeHdrCreateInfoAMD(std::ostream std::string GenerateStruct_VkImagePipeSurfaceCreateInfoFUCHSIA(std::ostream &out, const VkImagePipeSurfaceCreateInfoFUCHSIA* structInfo, Decoded_VkImagePipeSurfaceCreateInfoFUCHSIA* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkImagePipeSurfaceCreateFlagsFUCHSIA(" << structInfo->flags << ")" << "," << std::endl; -/* imagePipeHandle */ +// imagePipeHandle struct_body << "\t\t\t" << structInfo->imagePipeHandle << ","; std::string variable_name = consumer.AddStruct(struct_body, "imagePipeSurfaceCreateInfoFUCHSIA"); out << "\t\t" << "VkImagePipeSurfaceCreateInfoFUCHSIA " << variable_name << " {" << std::endl; @@ -18486,15 +18486,15 @@ std::string GenerateStruct_VkMetalSurfaceCreateInfoEXT(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(std::ostream &out, const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceFragmentDensityMapFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentDensityMap */ +// fragmentDensityMap struct_body << "\t\t\t" << structInfo->fragmentDensityMap << "," << std::endl; -/* fragmentDensityMapDynamic */ +// fragmentDensityMapDynamic struct_body << "\t\t\t" << structInfo->fragmentDensityMapDynamic << "," << std::endl; -/* fragmentDensityMapNonSubsampledImages */ +// fragmentDensityMapNonSubsampledImages struct_body << "\t\t\t" << structInfo->fragmentDensityMapNonSubsampledImages << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentDensityMapFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceFragmentDensityMapFeaturesEXT " << variable_name << " {" << std::endl; @@ -18515,15 +18515,15 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(std:: &structInfo->maxFragmentDensityTexelSize, metaInfo->maxFragmentDensityTexelSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minFragmentDensityTexelSize */ +// minFragmentDensityTexelSize struct_body << "\t\t\t" << min_fragment_density_texel_size_info_var << "," << std::endl; -/* maxFragmentDensityTexelSize */ +// maxFragmentDensityTexelSize struct_body << "\t\t\t" << max_fragment_density_texel_size_info_var << "," << std::endl; -/* fragmentDensityInvocations */ +// fragmentDensityInvocations struct_body << "\t\t\t" << structInfo->fragmentDensityInvocations << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentDensityMapPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceFragmentDensityMapPropertiesEXT " << variable_name << " {" << std::endl; @@ -18540,11 +18540,11 @@ std::string GenerateStruct_VkRenderPassFragmentDensityMapCreateInfoEXT(std::ostr &structInfo->fragmentDensityMapAttachment, metaInfo->fragmentDensityMapAttachment, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentDensityMapAttachment */ +// fragmentDensityMapAttachment struct_body << "\t\t\t" << fragment_density_map_attachment_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassFragmentDensityMapCreateInfoEXT"); out << "\t\t" << "VkRenderPassFragmentDensityMapCreateInfoEXT " << variable_name << " {" << std::endl; @@ -18557,13 +18557,13 @@ std::string GenerateStruct_VkRenderPassFragmentDensityMapCreateInfoEXT(std::ostr std::string GenerateStruct_VkPhysicalDeviceShaderCoreProperties2AMD(std::ostream &out, const VkPhysicalDeviceShaderCoreProperties2AMD* structInfo, Decoded_VkPhysicalDeviceShaderCoreProperties2AMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderCoreFeatures */ +// shaderCoreFeatures struct_body << "\t\t\t" << "VkShaderCorePropertiesFlagsAMD(" << structInfo->shaderCoreFeatures << ")" << "," << std::endl; -/* activeComputeUnitCount */ +// activeComputeUnitCount struct_body << "\t\t\t" << structInfo->activeComputeUnitCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderCoreProperties2AMD"); out << "\t\t" << "VkPhysicalDeviceShaderCoreProperties2AMD " << variable_name << " {" << std::endl; @@ -18576,11 +18576,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderCoreProperties2AMD(std::ostream std::string GenerateStruct_VkPhysicalDeviceCoherentMemoryFeaturesAMD(std::ostream &out, const VkPhysicalDeviceCoherentMemoryFeaturesAMD* structInfo, Decoded_VkPhysicalDeviceCoherentMemoryFeaturesAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceCoherentMemory */ +// deviceCoherentMemory struct_body << "\t\t\t" << structInfo->deviceCoherentMemory << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCoherentMemoryFeaturesAMD"); out << "\t\t" << "VkPhysicalDeviceCoherentMemoryFeaturesAMD " << variable_name << " {" << std::endl; @@ -18593,13 +18593,13 @@ std::string GenerateStruct_VkPhysicalDeviceCoherentMemoryFeaturesAMD(std::ostrea std::string GenerateStruct_VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderImageInt64Atomics */ +// shaderImageInt64Atomics struct_body << "\t\t\t" << structInfo->shaderImageInt64Atomics << "," << std::endl; -/* sparseImageInt64Atomics */ +// sparseImageInt64Atomics struct_body << "\t\t\t" << structInfo->sparseImageInt64Atomics << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderImageAtomicInt64FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT " << variable_name << " {" << std::endl; @@ -18636,13 +18636,13 @@ std::string GenerateStruct_VkPhysicalDeviceMemoryBudgetPropertiesEXT(std::ostrea out << "\t\t" << "VkDeviceSize " << heap_usage_array << "[] = {" << heap_usage_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* heapBudget */ +// heapBudget struct_body << "\t\t\t" << "{ *" << heap_budget_array << " }" << "," << std::endl; -/* heapUsage */ +// heapUsage struct_body << "\t\t\t" << "{ *" << heap_usage_array << " }" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMemoryBudgetPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceMemoryBudgetPropertiesEXT " << variable_name << " {" << std::endl; @@ -18655,11 +18655,11 @@ std::string GenerateStruct_VkPhysicalDeviceMemoryBudgetPropertiesEXT(std::ostrea std::string GenerateStruct_VkMemoryPriorityAllocateInfoEXT(std::ostream &out, const VkMemoryPriorityAllocateInfoEXT* structInfo, Decoded_VkMemoryPriorityAllocateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* priority */ +// priority struct_body << "\t\t\t" << structInfo->priority << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryPriorityAllocateInfoEXT"); out << "\t\t" << "VkMemoryPriorityAllocateInfoEXT " << variable_name << " {" << std::endl; @@ -18672,11 +18672,11 @@ std::string GenerateStruct_VkMemoryPriorityAllocateInfoEXT(std::ostream &out, co std::string GenerateStruct_VkPhysicalDeviceMemoryPriorityFeaturesEXT(std::ostream &out, const VkPhysicalDeviceMemoryPriorityFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceMemoryPriorityFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryPriority */ +// memoryPriority struct_body << "\t\t\t" << structInfo->memoryPriority << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMemoryPriorityFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceMemoryPriorityFeaturesEXT " << variable_name << " {" << std::endl; @@ -18689,11 +18689,11 @@ std::string GenerateStruct_VkPhysicalDeviceMemoryPriorityFeaturesEXT(std::ostrea std::string GenerateStruct_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(std::ostream &out, const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* structInfo, Decoded_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dedicatedAllocationImageAliasing */ +// dedicatedAllocationImageAliasing struct_body << "\t\t\t" << structInfo->dedicatedAllocationImageAliasing << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDedicatedAllocationImageAliasingFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV " << variable_name << " {" << std::endl; @@ -18706,11 +18706,11 @@ std::string GenerateStruct_VkPhysicalDeviceDedicatedAllocationImageAliasingFeatu std::string GenerateStruct_VkBufferDeviceAddressCreateInfoEXT(std::ostream &out, const VkBufferDeviceAddressCreateInfoEXT* structInfo, Decoded_VkBufferDeviceAddressCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceAddress */ +// deviceAddress struct_body << "\t\t\t" << structInfo->deviceAddress << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bufferDeviceAddressCreateInfoEXT"); out << "\t\t" << "VkBufferDeviceAddressCreateInfoEXT " << variable_name << " {" << std::endl; @@ -18723,15 +18723,15 @@ std::string GenerateStruct_VkBufferDeviceAddressCreateInfoEXT(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(std::ostream &out, const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* bufferDeviceAddress */ +// bufferDeviceAddress struct_body << "\t\t\t" << structInfo->bufferDeviceAddress << "," << std::endl; -/* bufferDeviceAddressCaptureReplay */ +// bufferDeviceAddressCaptureReplay struct_body << "\t\t\t" << structInfo->bufferDeviceAddressCaptureReplay << "," << std::endl; -/* bufferDeviceAddressMultiDevice */ +// bufferDeviceAddressMultiDevice struct_body << "\t\t\t" << structInfo->bufferDeviceAddressMultiDevice << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceBufferDeviceAddressFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceBufferDeviceAddressFeaturesEXT " << variable_name << " {" << std::endl; @@ -18762,17 +18762,17 @@ std::string GenerateStruct_VkValidationFeaturesEXT(std::ostream &out, const VkVa pdisabled_validation_features_array = "pDisabledValidationFeatures_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkValidationFeatureDisableEXT " << pdisabled_validation_features_array << "[] = {" << pdisabled_validation_features_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* enabledValidationFeatureCount */ +// enabledValidationFeatureCount struct_body << "\t\t\t" << structInfo->enabledValidationFeatureCount << "," << std::endl; -/* pEnabledValidationFeatures */ +// pEnabledValidationFeatures struct_body << "\t\t\t" << penabled_validation_features_array << "," << std::endl; -/* disabledValidationFeatureCount */ +// disabledValidationFeatureCount struct_body << "\t\t\t" << structInfo->disabledValidationFeatureCount << "," << std::endl; -/* pDisabledValidationFeatures */ +// pDisabledValidationFeatures struct_body << "\t\t\t" << pdisabled_validation_features_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "validationFeaturesEXT"); out << "\t\t" << "VkValidationFeaturesEXT " << variable_name << " {" << std::endl; @@ -18785,25 +18785,25 @@ std::string GenerateStruct_VkValidationFeaturesEXT(std::ostream &out, const VkVa std::string GenerateStruct_VkCooperativeMatrixPropertiesNV(std::ostream &out, const VkCooperativeMatrixPropertiesNV* structInfo, Decoded_VkCooperativeMatrixPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* MSize */ +// MSize struct_body << "\t\t\t" << structInfo->MSize << "," << std::endl; -/* NSize */ +// NSize struct_body << "\t\t\t" << structInfo->NSize << "," << std::endl; -/* KSize */ +// KSize struct_body << "\t\t\t" << structInfo->KSize << "," << std::endl; -/* AType */ +// AType struct_body << "\t\t\t" << "VkComponentTypeNV(" << structInfo->AType << ")" << "," << std::endl; -/* BType */ +// BType struct_body << "\t\t\t" << "VkComponentTypeNV(" << structInfo->BType << ")" << "," << std::endl; -/* CType */ +// CType struct_body << "\t\t\t" << "VkComponentTypeNV(" << structInfo->CType << ")" << "," << std::endl; -/* DType */ +// DType struct_body << "\t\t\t" << "VkComponentTypeNV(" << structInfo->DType << ")" << "," << std::endl; -/* scope */ +// scope struct_body << "\t\t\t" << "VkScopeNV(" << structInfo->scope << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "cooperativeMatrixPropertiesNV"); out << "\t\t" << "VkCooperativeMatrixPropertiesNV " << variable_name << " {" << std::endl; @@ -18816,13 +18816,13 @@ std::string GenerateStruct_VkCooperativeMatrixPropertiesNV(std::ostream &out, co std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixFeaturesNV(std::ostream &out, const VkPhysicalDeviceCooperativeMatrixFeaturesNV* structInfo, Decoded_VkPhysicalDeviceCooperativeMatrixFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cooperativeMatrix */ +// cooperativeMatrix struct_body << "\t\t\t" << structInfo->cooperativeMatrix << "," << std::endl; -/* cooperativeMatrixRobustBufferAccess */ +// cooperativeMatrixRobustBufferAccess struct_body << "\t\t\t" << structInfo->cooperativeMatrixRobustBufferAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCooperativeMatrixFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceCooperativeMatrixFeaturesNV " << variable_name << " {" << std::endl; @@ -18835,11 +18835,11 @@ std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixFeaturesNV(std::ostr std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixPropertiesNV(std::ostream &out, const VkPhysicalDeviceCooperativeMatrixPropertiesNV* structInfo, Decoded_VkPhysicalDeviceCooperativeMatrixPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cooperativeMatrixSupportedStages */ +// cooperativeMatrixSupportedStages struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->cooperativeMatrixSupportedStages << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCooperativeMatrixPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceCooperativeMatrixPropertiesNV " << variable_name << " {" << std::endl; @@ -18852,17 +18852,17 @@ std::string GenerateStruct_VkPhysicalDeviceCooperativeMatrixPropertiesNV(std::os std::string GenerateStruct_VkFramebufferMixedSamplesCombinationNV(std::ostream &out, const VkFramebufferMixedSamplesCombinationNV* structInfo, Decoded_VkFramebufferMixedSamplesCombinationNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* coverageReductionMode */ +// coverageReductionMode struct_body << "\t\t\t" << "VkCoverageReductionModeNV(" << structInfo->coverageReductionMode << ")" << "," << std::endl; -/* rasterizationSamples */ +// rasterizationSamples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->rasterizationSamples << ")" << "," << std::endl; -/* depthStencilSamples */ +// depthStencilSamples struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->depthStencilSamples << ")" << "," << std::endl; -/* colorSamples */ +// colorSamples struct_body << "\t\t\t" << "VkSampleCountFlags(" << structInfo->colorSamples << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "framebufferMixedSamplesCombinationNV"); out << "\t\t" << "VkFramebufferMixedSamplesCombinationNV " << variable_name << " {" << std::endl; @@ -18875,11 +18875,11 @@ std::string GenerateStruct_VkFramebufferMixedSamplesCombinationNV(std::ostream & std::string GenerateStruct_VkPhysicalDeviceCoverageReductionModeFeaturesNV(std::ostream &out, const VkPhysicalDeviceCoverageReductionModeFeaturesNV* structInfo, Decoded_VkPhysicalDeviceCoverageReductionModeFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* coverageReductionMode */ +// coverageReductionMode struct_body << "\t\t\t" << structInfo->coverageReductionMode << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCoverageReductionModeFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceCoverageReductionModeFeaturesNV " << variable_name << " {" << std::endl; @@ -18892,13 +18892,13 @@ std::string GenerateStruct_VkPhysicalDeviceCoverageReductionModeFeaturesNV(std:: std::string GenerateStruct_VkPipelineCoverageReductionStateCreateInfoNV(std::ostream &out, const VkPipelineCoverageReductionStateCreateInfoNV* structInfo, Decoded_VkPipelineCoverageReductionStateCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCoverageReductionStateCreateFlagsNV(" << structInfo->flags << ")" << "," << std::endl; -/* coverageReductionMode */ +// coverageReductionMode struct_body << "\t\t\t" << "VkCoverageReductionModeNV(" << structInfo->coverageReductionMode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineCoverageReductionStateCreateInfoNV"); out << "\t\t" << "VkPipelineCoverageReductionStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -18911,15 +18911,15 @@ std::string GenerateStruct_VkPipelineCoverageReductionStateCreateInfoNV(std::ost std::string GenerateStruct_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(std::ostream &out, const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentShaderSampleInterlock */ +// fragmentShaderSampleInterlock struct_body << "\t\t\t" << structInfo->fragmentShaderSampleInterlock << "," << std::endl; -/* fragmentShaderPixelInterlock */ +// fragmentShaderPixelInterlock struct_body << "\t\t\t" << structInfo->fragmentShaderPixelInterlock << "," << std::endl; -/* fragmentShaderShadingRateInterlock */ +// fragmentShaderShadingRateInterlock struct_body << "\t\t\t" << structInfo->fragmentShaderShadingRateInterlock << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShaderInterlockFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT " << variable_name << " {" << std::endl; @@ -18932,11 +18932,11 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(st std::string GenerateStruct_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(std::ostream &out, const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* ycbcrImageArrays */ +// ycbcrImageArrays struct_body << "\t\t\t" << structInfo->ycbcrImageArrays << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceYcbcrImageArraysFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceYcbcrImageArraysFeaturesEXT " << variable_name << " {" << std::endl; @@ -18949,13 +18949,13 @@ std::string GenerateStruct_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(std::ostr std::string GenerateStruct_VkPhysicalDeviceProvokingVertexFeaturesEXT(std::ostream &out, const VkPhysicalDeviceProvokingVertexFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceProvokingVertexFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* provokingVertexLast */ +// provokingVertexLast struct_body << "\t\t\t" << structInfo->provokingVertexLast << "," << std::endl; -/* transformFeedbackPreservesProvokingVertex */ +// transformFeedbackPreservesProvokingVertex struct_body << "\t\t\t" << structInfo->transformFeedbackPreservesProvokingVertex << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceProvokingVertexFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceProvokingVertexFeaturesEXT " << variable_name << " {" << std::endl; @@ -18968,13 +18968,13 @@ std::string GenerateStruct_VkPhysicalDeviceProvokingVertexFeaturesEXT(std::ostre std::string GenerateStruct_VkPhysicalDeviceProvokingVertexPropertiesEXT(std::ostream &out, const VkPhysicalDeviceProvokingVertexPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceProvokingVertexPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* provokingVertexModePerPipeline */ +// provokingVertexModePerPipeline struct_body << "\t\t\t" << structInfo->provokingVertexModePerPipeline << "," << std::endl; -/* transformFeedbackPreservesTriangleFanProvokingVertex */ +// transformFeedbackPreservesTriangleFanProvokingVertex struct_body << "\t\t\t" << structInfo->transformFeedbackPreservesTriangleFanProvokingVertex << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceProvokingVertexPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceProvokingVertexPropertiesEXT " << variable_name << " {" << std::endl; @@ -18987,11 +18987,11 @@ std::string GenerateStruct_VkPhysicalDeviceProvokingVertexPropertiesEXT(std::ost std::string GenerateStruct_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT(std::ostream &out, const VkPipelineRasterizationProvokingVertexStateCreateInfoEXT* structInfo, Decoded_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* provokingVertexMode */ +// provokingVertexMode struct_body << "\t\t\t" << "VkProvokingVertexModeEXT(" << structInfo->provokingVertexMode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRasterizationProvokingVertexStateCreateInfoEXT"); out << "\t\t" << "VkPipelineRasterizationProvokingVertexStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -19004,11 +19004,11 @@ std::string GenerateStruct_VkPipelineRasterizationProvokingVertexStateCreateInfo std::string GenerateStruct_VkSurfaceCapabilitiesFullScreenExclusiveEXT(std::ostream &out, const VkSurfaceCapabilitiesFullScreenExclusiveEXT* structInfo, Decoded_VkSurfaceCapabilitiesFullScreenExclusiveEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fullScreenExclusiveSupported */ +// fullScreenExclusiveSupported struct_body << "\t\t\t" << structInfo->fullScreenExclusiveSupported << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceCapabilitiesFullScreenExclusiveEXT"); out << "\t\t" << "VkSurfaceCapabilitiesFullScreenExclusiveEXT " << variable_name << " {" << std::endl; @@ -19021,11 +19021,11 @@ std::string GenerateStruct_VkSurfaceCapabilitiesFullScreenExclusiveEXT(std::ostr std::string GenerateStruct_VkSurfaceFullScreenExclusiveInfoEXT(std::ostream &out, const VkSurfaceFullScreenExclusiveInfoEXT* structInfo, Decoded_VkSurfaceFullScreenExclusiveInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fullScreenExclusive */ +// fullScreenExclusive struct_body << "\t\t\t" << "VkFullScreenExclusiveEXT(" << structInfo->fullScreenExclusive << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceFullScreenExclusiveInfoEXT"); out << "\t\t" << "VkSurfaceFullScreenExclusiveInfoEXT " << variable_name << " {" << std::endl; @@ -19038,11 +19038,11 @@ std::string GenerateStruct_VkSurfaceFullScreenExclusiveInfoEXT(std::ostream &out std::string GenerateStruct_VkSurfaceFullScreenExclusiveWin32InfoEXT(std::ostream &out, const VkSurfaceFullScreenExclusiveWin32InfoEXT* structInfo, Decoded_VkSurfaceFullScreenExclusiveWin32InfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* hmonitor */ +// hmonitor struct_body << "\t\t\t" << structInfo->hmonitor << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceFullScreenExclusiveWin32InfoEXT"); out << "\t\t" << "VkSurfaceFullScreenExclusiveWin32InfoEXT " << variable_name << " {" << std::endl; @@ -19055,11 +19055,11 @@ std::string GenerateStruct_VkSurfaceFullScreenExclusiveWin32InfoEXT(std::ostream std::string GenerateStruct_VkHeadlessSurfaceCreateInfoEXT(std::ostream &out, const VkHeadlessSurfaceCreateInfoEXT* structInfo, Decoded_VkHeadlessSurfaceCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkHeadlessSurfaceCreateFlagsEXT(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "headlessSurfaceCreateInfoEXT"); out << "\t\t" << "VkHeadlessSurfaceCreateInfoEXT " << variable_name << " {" << std::endl; @@ -19072,21 +19072,21 @@ std::string GenerateStruct_VkHeadlessSurfaceCreateInfoEXT(std::ostream &out, con std::string GenerateStruct_VkPhysicalDeviceLineRasterizationFeaturesEXT(std::ostream &out, const VkPhysicalDeviceLineRasterizationFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceLineRasterizationFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rectangularLines */ +// rectangularLines struct_body << "\t\t\t" << structInfo->rectangularLines << "," << std::endl; -/* bresenhamLines */ +// bresenhamLines struct_body << "\t\t\t" << structInfo->bresenhamLines << "," << std::endl; -/* smoothLines */ +// smoothLines struct_body << "\t\t\t" << structInfo->smoothLines << "," << std::endl; -/* stippledRectangularLines */ +// stippledRectangularLines struct_body << "\t\t\t" << structInfo->stippledRectangularLines << "," << std::endl; -/* stippledBresenhamLines */ +// stippledBresenhamLines struct_body << "\t\t\t" << structInfo->stippledBresenhamLines << "," << std::endl; -/* stippledSmoothLines */ +// stippledSmoothLines struct_body << "\t\t\t" << structInfo->stippledSmoothLines << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLineRasterizationFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceLineRasterizationFeaturesEXT " << variable_name << " {" << std::endl; @@ -19099,11 +19099,11 @@ std::string GenerateStruct_VkPhysicalDeviceLineRasterizationFeaturesEXT(std::ost std::string GenerateStruct_VkPhysicalDeviceLineRasterizationPropertiesEXT(std::ostream &out, const VkPhysicalDeviceLineRasterizationPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceLineRasterizationPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* lineSubPixelPrecisionBits */ +// lineSubPixelPrecisionBits struct_body << "\t\t\t" << structInfo->lineSubPixelPrecisionBits << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLineRasterizationPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceLineRasterizationPropertiesEXT " << variable_name << " {" << std::endl; @@ -19116,17 +19116,17 @@ std::string GenerateStruct_VkPhysicalDeviceLineRasterizationPropertiesEXT(std::o std::string GenerateStruct_VkPipelineRasterizationLineStateCreateInfoEXT(std::ostream &out, const VkPipelineRasterizationLineStateCreateInfoEXT* structInfo, Decoded_VkPipelineRasterizationLineStateCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* lineRasterizationMode */ +// lineRasterizationMode struct_body << "\t\t\t" << "VkLineRasterizationModeEXT(" << structInfo->lineRasterizationMode << ")" << "," << std::endl; -/* stippledLineEnable */ +// stippledLineEnable struct_body << "\t\t\t" << structInfo->stippledLineEnable << "," << std::endl; -/* lineStippleFactor */ +// lineStippleFactor struct_body << "\t\t\t" << structInfo->lineStippleFactor << "," << std::endl; -/* lineStipplePattern */ +// lineStipplePattern struct_body << "\t\t\t" << structInfo->lineStipplePattern << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineRasterizationLineStateCreateInfoEXT"); out << "\t\t" << "VkPipelineRasterizationLineStateCreateInfoEXT " << variable_name << " {" << std::endl; @@ -19139,33 +19139,33 @@ std::string GenerateStruct_VkPipelineRasterizationLineStateCreateInfoEXT(std::os std::string GenerateStruct_VkPhysicalDeviceShaderAtomicFloatFeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderAtomicFloatFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderBufferFloat32Atomics */ +// shaderBufferFloat32Atomics struct_body << "\t\t\t" << structInfo->shaderBufferFloat32Atomics << "," << std::endl; -/* shaderBufferFloat32AtomicAdd */ +// shaderBufferFloat32AtomicAdd struct_body << "\t\t\t" << structInfo->shaderBufferFloat32AtomicAdd << "," << std::endl; -/* shaderBufferFloat64Atomics */ +// shaderBufferFloat64Atomics struct_body << "\t\t\t" << structInfo->shaderBufferFloat64Atomics << "," << std::endl; -/* shaderBufferFloat64AtomicAdd */ +// shaderBufferFloat64AtomicAdd struct_body << "\t\t\t" << structInfo->shaderBufferFloat64AtomicAdd << "," << std::endl; -/* shaderSharedFloat32Atomics */ +// shaderSharedFloat32Atomics struct_body << "\t\t\t" << structInfo->shaderSharedFloat32Atomics << "," << std::endl; -/* shaderSharedFloat32AtomicAdd */ +// shaderSharedFloat32AtomicAdd struct_body << "\t\t\t" << structInfo->shaderSharedFloat32AtomicAdd << "," << std::endl; -/* shaderSharedFloat64Atomics */ +// shaderSharedFloat64Atomics struct_body << "\t\t\t" << structInfo->shaderSharedFloat64Atomics << "," << std::endl; -/* shaderSharedFloat64AtomicAdd */ +// shaderSharedFloat64AtomicAdd struct_body << "\t\t\t" << structInfo->shaderSharedFloat64AtomicAdd << "," << std::endl; -/* shaderImageFloat32Atomics */ +// shaderImageFloat32Atomics struct_body << "\t\t\t" << structInfo->shaderImageFloat32Atomics << "," << std::endl; -/* shaderImageFloat32AtomicAdd */ +// shaderImageFloat32AtomicAdd struct_body << "\t\t\t" << structInfo->shaderImageFloat32AtomicAdd << "," << std::endl; -/* sparseImageFloat32Atomics */ +// sparseImageFloat32Atomics struct_body << "\t\t\t" << structInfo->sparseImageFloat32Atomics << "," << std::endl; -/* sparseImageFloat32AtomicAdd */ +// sparseImageFloat32AtomicAdd struct_body << "\t\t\t" << structInfo->sparseImageFloat32AtomicAdd << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderAtomicFloatFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderAtomicFloatFeaturesEXT " << variable_name << " {" << std::endl; @@ -19178,11 +19178,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderAtomicFloatFeaturesEXT(std::ost std::string GenerateStruct_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(std::ostream &out, const VkPhysicalDeviceIndexTypeUint8FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceIndexTypeUint8FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* indexTypeUint8 */ +// indexTypeUint8 struct_body << "\t\t\t" << structInfo->indexTypeUint8 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceIndexTypeUint8FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceIndexTypeUint8FeaturesEXT " << variable_name << " {" << std::endl; @@ -19195,11 +19195,11 @@ std::string GenerateStruct_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(std::ostrea std::string GenerateStruct_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(std::ostream &out, const VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* extendedDynamicState */ +// extendedDynamicState struct_body << "\t\t\t" << structInfo->extendedDynamicState << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExtendedDynamicStateFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceExtendedDynamicStateFeaturesEXT " << variable_name << " {" << std::endl; @@ -19228,23 +19228,23 @@ std::string GenerateStruct_VkCopyImageToImageInfoEXT(std::ostream &out, const Vk } out << "\t\t" << "VkImageCopy2 " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkHostImageCopyFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* srcImage */ +// srcImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcImage) << "," << std::endl; -/* srcImageLayout */ +// srcImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->srcImageLayout << ")" << "," << std::endl; -/* dstImage */ +// dstImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstImage) << "," << std::endl; -/* dstImageLayout */ +// dstImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->dstImageLayout << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyImageToImageInfoEXT"); out << "\t\t" << "VkCopyImageToImageInfoEXT " << variable_name << " {" << std::endl; @@ -19273,19 +19273,19 @@ std::string GenerateStruct_VkCopyImageToMemoryInfoEXT(std::ostream &out, const V } out << "\t\t" << "VkImageToMemoryCopyEXT " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkHostImageCopyFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* srcImage */ +// srcImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcImage) << "," << std::endl; -/* srcImageLayout */ +// srcImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->srcImageLayout << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyImageToMemoryInfoEXT"); out << "\t\t" << "VkCopyImageToMemoryInfoEXT " << variable_name << " {" << std::endl; @@ -19314,19 +19314,19 @@ std::string GenerateStruct_VkCopyMemoryToImageInfoEXT(std::ostream &out, const V } out << "\t\t" << "VkMemoryToImageCopyEXT " << pregions_array << "[] = {" << pregions_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkHostImageCopyFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* dstImage */ +// dstImage struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstImage) << "," << std::endl; -/* dstImageLayout */ +// dstImageLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->dstImageLayout << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyMemoryToImageInfoEXT"); out << "\t\t" << "VkCopyMemoryToImageInfoEXT " << variable_name << " {" << std::endl; @@ -19339,13 +19339,13 @@ std::string GenerateStruct_VkCopyMemoryToImageInfoEXT(std::ostream &out, const V std::string GenerateStruct_VkHostImageCopyDevicePerformanceQueryEXT(std::ostream &out, const VkHostImageCopyDevicePerformanceQueryEXT* structInfo, Decoded_VkHostImageCopyDevicePerformanceQueryEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* optimalDeviceAccess */ +// optimalDeviceAccess struct_body << "\t\t\t" << structInfo->optimalDeviceAccess << "," << std::endl; -/* identicalMemoryLayout */ +// identicalMemoryLayout struct_body << "\t\t\t" << structInfo->identicalMemoryLayout << ","; std::string variable_name = consumer.AddStruct(struct_body, "hostImageCopyDevicePerformanceQueryEXT"); out << "\t\t" << "VkHostImageCopyDevicePerformanceQueryEXT " << variable_name << " {" << std::endl; @@ -19362,17 +19362,17 @@ std::string GenerateStruct_VkHostImageLayoutTransitionInfoEXT(std::ostream &out, &structInfo->subresourceRange, metaInfo->subresourceRange, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* image */ +// image struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->image) << "," << std::endl; -/* oldLayout */ +// oldLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->oldLayout << ")" << "," << std::endl; -/* newLayout */ +// newLayout struct_body << "\t\t\t" << "VkImageLayout(" << structInfo->newLayout << ")" << "," << std::endl; -/* subresourceRange */ +// subresourceRange struct_body << "\t\t\t" << subresource_range_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "hostImageLayoutTransitionInfoEXT"); out << "\t\t" << "VkHostImageLayoutTransitionInfoEXT " << variable_name << " {" << std::endl; @@ -19397,21 +19397,21 @@ std::string GenerateStruct_VkImageToMemoryCopyEXT(std::ostream &out, const VkIma &structInfo->imageExtent, metaInfo->imageExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pHostPointer */ +// pHostPointer out << "\t\t" << "// TODO: Support pHostPointer (output?) argument." << std::endl; -/* memoryRowLength */ +// memoryRowLength struct_body << "\t\t\t" << structInfo->memoryRowLength << "," << std::endl; -/* memoryImageHeight */ +// memoryImageHeight struct_body << "\t\t\t" << structInfo->memoryImageHeight << "," << std::endl; -/* imageSubresource */ +// imageSubresource struct_body << "\t\t\t" << image_subresource_info_var << "," << std::endl; -/* imageOffset */ +// imageOffset struct_body << "\t\t\t" << image_offset_info_var << "," << std::endl; -/* imageExtent */ +// imageExtent struct_body << "\t\t\t" << image_extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageToMemoryCopyEXT"); out << "\t\t" << "VkImageToMemoryCopyEXT " << variable_name << " {" << std::endl; @@ -19436,21 +19436,21 @@ std::string GenerateStruct_VkMemoryToImageCopyEXT(std::ostream &out, const VkMem &structInfo->imageExtent, metaInfo->imageExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pHostPointer */ +// pHostPointer struct_body << "\t\t\t" << structInfo->pHostPointer << "," << std::endl; -/* memoryRowLength */ +// memoryRowLength struct_body << "\t\t\t" << structInfo->memoryRowLength << "," << std::endl; -/* memoryImageHeight */ +// memoryImageHeight struct_body << "\t\t\t" << structInfo->memoryImageHeight << "," << std::endl; -/* imageSubresource */ +// imageSubresource struct_body << "\t\t\t" << image_subresource_info_var << "," << std::endl; -/* imageOffset */ +// imageOffset struct_body << "\t\t\t" << image_offset_info_var << "," << std::endl; -/* imageExtent */ +// imageExtent struct_body << "\t\t\t" << image_extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryToImageCopyEXT"); out << "\t\t" << "VkMemoryToImageCopyEXT " << variable_name << " {" << std::endl; @@ -19463,11 +19463,11 @@ std::string GenerateStruct_VkMemoryToImageCopyEXT(std::ostream &out, const VkMem std::string GenerateStruct_VkPhysicalDeviceHostImageCopyFeaturesEXT(std::ostream &out, const VkPhysicalDeviceHostImageCopyFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceHostImageCopyFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* hostImageCopy */ +// hostImageCopy struct_body << "\t\t\t" << structInfo->hostImageCopy << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceHostImageCopyFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceHostImageCopyFeaturesEXT " << variable_name << " {" << std::endl; @@ -19498,21 +19498,21 @@ std::string GenerateStruct_VkPhysicalDeviceHostImageCopyPropertiesEXT(std::ostre pcopy_dst_layouts_array = "pCopyDstLayouts_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkImageLayout " << pcopy_dst_layouts_array << "[] = {" << pcopy_dst_layouts_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* copySrcLayoutCount */ +// copySrcLayoutCount struct_body << "\t\t\t" << structInfo->copySrcLayoutCount << "," << std::endl; -/* pCopySrcLayouts */ +// pCopySrcLayouts struct_body << "\t\t\t" << pcopy_src_layouts_array << "," << std::endl; -/* copyDstLayoutCount */ +// copyDstLayoutCount struct_body << "\t\t\t" << structInfo->copyDstLayoutCount << "," << std::endl; -/* pCopyDstLayouts */ +// pCopyDstLayouts struct_body << "\t\t\t" << pcopy_dst_layouts_array << "," << std::endl; -/* optimalTilingLayoutUUID */ +// optimalTilingLayoutUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->optimalTilingLayoutUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* identicalMemoryTypeRequirements */ +// identicalMemoryTypeRequirements struct_body << "\t\t\t" << structInfo->identicalMemoryTypeRequirements << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceHostImageCopyPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceHostImageCopyPropertiesEXT " << variable_name << " {" << std::endl; @@ -19525,11 +19525,11 @@ std::string GenerateStruct_VkPhysicalDeviceHostImageCopyPropertiesEXT(std::ostre std::string GenerateStruct_VkSubresourceHostMemcpySizeEXT(std::ostream &out, const VkSubresourceHostMemcpySizeEXT* structInfo, Decoded_VkSubresourceHostMemcpySizeEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "subresourceHostMemcpySizeEXT"); out << "\t\t" << "VkSubresourceHostMemcpySizeEXT " << variable_name << " {" << std::endl; @@ -19542,33 +19542,33 @@ std::string GenerateStruct_VkSubresourceHostMemcpySizeEXT(std::ostream &out, con std::string GenerateStruct_VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderBufferFloat16Atomics */ +// shaderBufferFloat16Atomics struct_body << "\t\t\t" << structInfo->shaderBufferFloat16Atomics << "," << std::endl; -/* shaderBufferFloat16AtomicAdd */ +// shaderBufferFloat16AtomicAdd struct_body << "\t\t\t" << structInfo->shaderBufferFloat16AtomicAdd << "," << std::endl; -/* shaderBufferFloat16AtomicMinMax */ +// shaderBufferFloat16AtomicMinMax struct_body << "\t\t\t" << structInfo->shaderBufferFloat16AtomicMinMax << "," << std::endl; -/* shaderBufferFloat32AtomicMinMax */ +// shaderBufferFloat32AtomicMinMax struct_body << "\t\t\t" << structInfo->shaderBufferFloat32AtomicMinMax << "," << std::endl; -/* shaderBufferFloat64AtomicMinMax */ +// shaderBufferFloat64AtomicMinMax struct_body << "\t\t\t" << structInfo->shaderBufferFloat64AtomicMinMax << "," << std::endl; -/* shaderSharedFloat16Atomics */ +// shaderSharedFloat16Atomics struct_body << "\t\t\t" << structInfo->shaderSharedFloat16Atomics << "," << std::endl; -/* shaderSharedFloat16AtomicAdd */ +// shaderSharedFloat16AtomicAdd struct_body << "\t\t\t" << structInfo->shaderSharedFloat16AtomicAdd << "," << std::endl; -/* shaderSharedFloat16AtomicMinMax */ +// shaderSharedFloat16AtomicMinMax struct_body << "\t\t\t" << structInfo->shaderSharedFloat16AtomicMinMax << "," << std::endl; -/* shaderSharedFloat32AtomicMinMax */ +// shaderSharedFloat32AtomicMinMax struct_body << "\t\t\t" << structInfo->shaderSharedFloat32AtomicMinMax << "," << std::endl; -/* shaderSharedFloat64AtomicMinMax */ +// shaderSharedFloat64AtomicMinMax struct_body << "\t\t\t" << structInfo->shaderSharedFloat64AtomicMinMax << "," << std::endl; -/* shaderImageFloat32AtomicMinMax */ +// shaderImageFloat32AtomicMinMax struct_body << "\t\t\t" << structInfo->shaderImageFloat32AtomicMinMax << "," << std::endl; -/* sparseImageFloat32AtomicMinMax */ +// sparseImageFloat32AtomicMinMax struct_body << "\t\t\t" << structInfo->sparseImageFloat32AtomicMinMax << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderAtomicFloat2FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT " << variable_name << " {" << std::endl; @@ -19590,13 +19590,13 @@ std::string GenerateStruct_VkSurfacePresentModeCompatibilityEXT(std::ostream &ou ppresent_modes_array = "pPresentModes_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkPresentModeKHR " << ppresent_modes_array << "[] = {" << ppresent_modes_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentModeCount */ +// presentModeCount struct_body << "\t\t\t" << structInfo->presentModeCount << "," << std::endl; -/* pPresentModes */ +// pPresentModes struct_body << "\t\t\t" << ppresent_modes_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfacePresentModeCompatibilityEXT"); out << "\t\t" << "VkSurfacePresentModeCompatibilityEXT " << variable_name << " {" << std::endl; @@ -19609,11 +19609,11 @@ std::string GenerateStruct_VkSurfacePresentModeCompatibilityEXT(std::ostream &ou std::string GenerateStruct_VkSurfacePresentModeEXT(std::ostream &out, const VkSurfacePresentModeEXT* structInfo, Decoded_VkSurfacePresentModeEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentMode */ +// presentMode struct_body << "\t\t\t" << "VkPresentModeKHR(" << structInfo->presentMode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfacePresentModeEXT"); out << "\t\t" << "VkSurfacePresentModeEXT " << variable_name << " {" << std::endl; @@ -19634,19 +19634,19 @@ std::string GenerateStruct_VkSurfacePresentScalingCapabilitiesEXT(std::ostream & &structInfo->maxScaledImageExtent, metaInfo->maxScaledImageExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* supportedPresentScaling */ +// supportedPresentScaling struct_body << "\t\t\t" << "VkPresentScalingFlagsEXT(" << structInfo->supportedPresentScaling << ")" << "," << std::endl; -/* supportedPresentGravityX */ +// supportedPresentGravityX struct_body << "\t\t\t" << "VkPresentGravityFlagsEXT(" << structInfo->supportedPresentGravityX << ")" << "," << std::endl; -/* supportedPresentGravityY */ +// supportedPresentGravityY struct_body << "\t\t\t" << "VkPresentGravityFlagsEXT(" << structInfo->supportedPresentGravityY << ")" << "," << std::endl; -/* minScaledImageExtent */ +// minScaledImageExtent struct_body << "\t\t\t" << min_scaled_image_extent_info_var << "," << std::endl; -/* maxScaledImageExtent */ +// maxScaledImageExtent struct_body << "\t\t\t" << max_scaled_image_extent_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfacePresentScalingCapabilitiesEXT"); out << "\t\t" << "VkSurfacePresentScalingCapabilitiesEXT " << variable_name << " {" << std::endl; @@ -19659,11 +19659,11 @@ std::string GenerateStruct_VkSurfacePresentScalingCapabilitiesEXT(std::ostream & std::string GenerateStruct_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT(std::ostream &out, const VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchainMaintenance1 */ +// swapchainMaintenance1 struct_body << "\t\t\t" << structInfo->swapchainMaintenance1 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSwapchainMaintenance1FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT " << variable_name << " {" << std::endl; @@ -19681,15 +19681,15 @@ std::string GenerateStruct_VkReleaseSwapchainImagesInfoEXT(std::ostream &out, co pimage_indices_array = "pImageIndices_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pimage_indices_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pImageIndices, structInfo->imageIndexCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchain */ +// swapchain struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->swapchain) << "," << std::endl; -/* imageIndexCount */ +// imageIndexCount struct_body << "\t\t\t" << structInfo->imageIndexCount << "," << std::endl; -/* pImageIndices */ +// pImageIndices struct_body << "\t\t\t" << pimage_indices_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "releaseSwapchainImagesInfoEXT"); out << "\t\t" << "VkReleaseSwapchainImagesInfoEXT " << variable_name << " {" << std::endl; @@ -19715,13 +19715,13 @@ std::string GenerateStruct_VkSwapchainPresentFenceInfoEXT(std::ostream &out, con out << "\t\t" << "VkFence " << pfences_array << "[] = {" << pfences_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchainCount */ +// swapchainCount struct_body << "\t\t\t" << structInfo->swapchainCount << "," << std::endl; -/* pFences */ +// pFences struct_body << "\t\t\t" << pfences_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainPresentFenceInfoEXT"); out << "\t\t" << "VkSwapchainPresentFenceInfoEXT " << variable_name << " {" << std::endl; @@ -19743,13 +19743,13 @@ std::string GenerateStruct_VkSwapchainPresentModeInfoEXT(std::ostream &out, cons ppresent_modes_array = "pPresentModes_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkPresentModeKHR " << ppresent_modes_array << "[] = {" << ppresent_modes_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* swapchainCount */ +// swapchainCount struct_body << "\t\t\t" << structInfo->swapchainCount << "," << std::endl; -/* pPresentModes */ +// pPresentModes struct_body << "\t\t\t" << ppresent_modes_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainPresentModeInfoEXT"); out << "\t\t" << "VkSwapchainPresentModeInfoEXT " << variable_name << " {" << std::endl; @@ -19771,13 +19771,13 @@ std::string GenerateStruct_VkSwapchainPresentModesCreateInfoEXT(std::ostream &ou ppresent_modes_array = "pPresentModes_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkPresentModeKHR " << ppresent_modes_array << "[] = {" << ppresent_modes_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentModeCount */ +// presentModeCount struct_body << "\t\t\t" << structInfo->presentModeCount << "," << std::endl; -/* pPresentModes */ +// pPresentModes struct_body << "\t\t\t" << ppresent_modes_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainPresentModesCreateInfoEXT"); out << "\t\t" << "VkSwapchainPresentModesCreateInfoEXT " << variable_name << " {" << std::endl; @@ -19790,15 +19790,15 @@ std::string GenerateStruct_VkSwapchainPresentModesCreateInfoEXT(std::ostream &ou std::string GenerateStruct_VkSwapchainPresentScalingCreateInfoEXT(std::ostream &out, const VkSwapchainPresentScalingCreateInfoEXT* structInfo, Decoded_VkSwapchainPresentScalingCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* scalingBehavior */ +// scalingBehavior struct_body << "\t\t\t" << "VkPresentScalingFlagsEXT(" << structInfo->scalingBehavior << ")" << "," << std::endl; -/* presentGravityX */ +// presentGravityX struct_body << "\t\t\t" << "VkPresentGravityFlagsEXT(" << structInfo->presentGravityX << ")" << "," << std::endl; -/* presentGravityY */ +// presentGravityY struct_body << "\t\t\t" << "VkPresentGravityFlagsEXT(" << structInfo->presentGravityY << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainPresentScalingCreateInfoEXT"); out << "\t\t" << "VkSwapchainPresentScalingCreateInfoEXT " << variable_name << " {" << std::endl; @@ -19810,11 +19810,11 @@ std::string GenerateStruct_VkSwapchainPresentScalingCreateInfoEXT(std::ostream & std::string GenerateStruct_VkBindIndexBufferIndirectCommandNV(std::ostream &out, const VkBindIndexBufferIndirectCommandNV* structInfo, Decoded_VkBindIndexBufferIndirectCommandNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* bufferAddress */ +// bufferAddress struct_body << "\t" << structInfo->bufferAddress << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "," << std::endl; -/* indexType */ +// indexType struct_body << "\t\t\t" << "VkIndexType(" << structInfo->indexType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindIndexBufferIndirectCommandNV"); out << "\t\t" << "VkBindIndexBufferIndirectCommandNV " << variable_name << " {" << std::endl; @@ -19826,7 +19826,7 @@ std::string GenerateStruct_VkBindIndexBufferIndirectCommandNV(std::ostream &out, std::string GenerateStruct_VkBindShaderGroupIndirectCommandNV(std::ostream &out, const VkBindShaderGroupIndirectCommandNV* structInfo, Decoded_VkBindShaderGroupIndirectCommandNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* groupIndex */ +// groupIndex struct_body << "\t" << structInfo->groupIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindShaderGroupIndirectCommandNV"); out << "\t\t" << "VkBindShaderGroupIndirectCommandNV " << variable_name << " {" << std::endl; @@ -19838,11 +19838,11 @@ std::string GenerateStruct_VkBindShaderGroupIndirectCommandNV(std::ostream &out, std::string GenerateStruct_VkBindVertexBufferIndirectCommandNV(std::ostream &out, const VkBindVertexBufferIndirectCommandNV* structInfo, Decoded_VkBindVertexBufferIndirectCommandNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* bufferAddress */ +// bufferAddress struct_body << "\t" << structInfo->bufferAddress << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "," << std::endl; -/* stride */ +// stride struct_body << "\t\t\t" << structInfo->stride << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindVertexBufferIndirectCommandNV"); out << "\t\t" << "VkBindVertexBufferIndirectCommandNV " << variable_name << " {" << std::endl; @@ -19871,35 +19871,35 @@ std::string GenerateStruct_VkGeneratedCommandsInfoNV(std::ostream &out, const Vk } out << "\t\t" << "VkIndirectCommandsStreamNV " << pstreams_array << "[] = {" << pstreams_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineBindPoint */ +// pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; -/* pipeline */ +// pipeline struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pipeline) << "," << std::endl; -/* indirectCommandsLayout */ +// indirectCommandsLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->indirectCommandsLayout) << "," << std::endl; -/* streamCount */ +// streamCount struct_body << "\t\t\t" << structInfo->streamCount << "," << std::endl; -/* pStreams */ +// pStreams struct_body << "\t\t\t" << pstreams_array << "," << std::endl; -/* sequencesCount */ +// sequencesCount struct_body << "\t\t\t" << structInfo->sequencesCount << "," << std::endl; -/* preprocessBuffer */ +// preprocessBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->preprocessBuffer) << "," << std::endl; -/* preprocessOffset */ +// preprocessOffset struct_body << "\t\t\t" << structInfo->preprocessOffset << "UL" << "," << std::endl; -/* preprocessSize */ +// preprocessSize struct_body << "\t\t\t" << structInfo->preprocessSize << "UL" << "," << std::endl; -/* sequencesCountBuffer */ +// sequencesCountBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->sequencesCountBuffer) << "," << std::endl; -/* sequencesCountOffset */ +// sequencesCountOffset struct_body << "\t\t\t" << structInfo->sequencesCountOffset << "UL" << "," << std::endl; -/* sequencesIndexBuffer */ +// sequencesIndexBuffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->sequencesIndexBuffer) << "," << std::endl; -/* sequencesIndexOffset */ +// sequencesIndexOffset struct_body << "\t\t\t" << structInfo->sequencesIndexOffset << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "generatedCommandsInfoNV"); out << "\t\t" << "VkGeneratedCommandsInfoNV " << variable_name << " {" << std::endl; @@ -19912,17 +19912,17 @@ std::string GenerateStruct_VkGeneratedCommandsInfoNV(std::ostream &out, const Vk std::string GenerateStruct_VkGeneratedCommandsMemoryRequirementsInfoNV(std::ostream &out, const VkGeneratedCommandsMemoryRequirementsInfoNV* structInfo, Decoded_VkGeneratedCommandsMemoryRequirementsInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineBindPoint */ +// pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; -/* pipeline */ +// pipeline struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pipeline) << "," << std::endl; -/* indirectCommandsLayout */ +// indirectCommandsLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->indirectCommandsLayout) << "," << std::endl; -/* maxSequencesCount */ +// maxSequencesCount struct_body << "\t\t\t" << structInfo->maxSequencesCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "generatedCommandsMemoryRequirementsInfoNV"); out << "\t\t" << "VkGeneratedCommandsMemoryRequirementsInfoNV " << variable_name << " {" << std::endl; @@ -19964,17 +19964,17 @@ std::string GenerateStruct_VkGraphicsPipelineShaderGroupsCreateInfoNV(std::ostre out << "\t\t" << "VkPipeline " << ppipelines_array << "[] = {" << ppipelines_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* groupCount */ +// groupCount struct_body << "\t\t\t" << structInfo->groupCount << "," << std::endl; -/* pGroups */ +// pGroups struct_body << "\t\t\t" << pgroups_array << "," << std::endl; -/* pipelineCount */ +// pipelineCount struct_body << "\t\t\t" << structInfo->pipelineCount << "," << std::endl; -/* pPipelines */ +// pPipelines struct_body << "\t\t\t" << ppipelines_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "graphicsPipelineShaderGroupsCreateInfoNV"); out << "\t\t" << "VkGraphicsPipelineShaderGroupsCreateInfoNV " << variable_name << " {" << std::endl; @@ -20019,17 +20019,17 @@ std::string GenerateStruct_VkGraphicsShaderGroupCreateInfoNV(std::ostream &out, consumer); ptessellation_state_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* stageCount */ +// stageCount struct_body << "\t\t\t" << structInfo->stageCount << "," << std::endl; -/* pStages */ +// pStages struct_body << "\t\t\t" << pstages_array << "," << std::endl; -/* pVertexInputState */ +// pVertexInputState struct_body << "\t\t\t" << pvertex_input_state_struct << "," << std::endl; -/* pTessellationState */ +// pTessellationState struct_body << "\t\t\t" << ptessellation_state_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "graphicsShaderGroupCreateInfoNV"); out << "\t\t" << "VkGraphicsShaderGroupCreateInfoNV " << variable_name << " {" << std::endl; @@ -20063,21 +20063,21 @@ std::string GenerateStruct_VkIndirectCommandsLayoutCreateInfoNV(std::ostream &ou pstream_strides_array = "pStreamStrides_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pstream_strides_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pStreamStrides, structInfo->streamCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkIndirectCommandsLayoutUsageFlagsNV(" << structInfo->flags << ")" << "," << std::endl; -/* pipelineBindPoint */ +// pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; -/* tokenCount */ +// tokenCount struct_body << "\t\t\t" << structInfo->tokenCount << "," << std::endl; -/* pTokens */ +// pTokens struct_body << "\t\t\t" << ptokens_array << "," << std::endl; -/* streamCount */ +// streamCount struct_body << "\t\t\t" << structInfo->streamCount << "," << std::endl; -/* pStreamStrides */ +// pStreamStrides struct_body << "\t\t\t" << pstream_strides_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "indirectCommandsLayoutCreateInfoNV"); out << "\t\t" << "VkIndirectCommandsLayoutCreateInfoNV " << variable_name << " {" << std::endl; @@ -20104,35 +20104,35 @@ std::string GenerateStruct_VkIndirectCommandsLayoutTokenNV(std::ostream &out, co pindex_type_values_array = "pIndexTypeValues_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint32_t " << pindex_type_values_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pIndexTypeValues, structInfo->indexTypeCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* tokenType */ +// tokenType struct_body << "\t\t\t" << "VkIndirectCommandsTokenTypeNV(" << structInfo->tokenType << ")" << "," << std::endl; -/* stream */ +// stream struct_body << "\t\t\t" << structInfo->stream << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "," << std::endl; -/* vertexBindingUnit */ +// vertexBindingUnit struct_body << "\t\t\t" << structInfo->vertexBindingUnit << "," << std::endl; -/* vertexDynamicStride */ +// vertexDynamicStride struct_body << "\t\t\t" << structInfo->vertexDynamicStride << "," << std::endl; -/* pushconstantPipelineLayout */ +// pushconstantPipelineLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pushconstantPipelineLayout) << "," << std::endl; -/* pushconstantShaderStageFlags */ +// pushconstantShaderStageFlags struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->pushconstantShaderStageFlags << ")" << "," << std::endl; -/* pushconstantOffset */ +// pushconstantOffset struct_body << "\t\t\t" << structInfo->pushconstantOffset << "," << std::endl; -/* pushconstantSize */ +// pushconstantSize struct_body << "\t\t\t" << structInfo->pushconstantSize << "," << std::endl; -/* indirectStateFlags */ +// indirectStateFlags struct_body << "\t\t\t" << "VkIndirectStateFlagsNV(" << structInfo->indirectStateFlags << ")" << "," << std::endl; -/* indexTypeCount */ +// indexTypeCount struct_body << "\t\t\t" << structInfo->indexTypeCount << "," << std::endl; -/* pIndexTypes */ +// pIndexTypes struct_body << "\t\t\t" << pindex_types_array << "," << std::endl; -/* pIndexTypeValues */ +// pIndexTypeValues struct_body << "\t\t\t" << pindex_type_values_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "indirectCommandsLayoutTokenNV"); out << "\t\t" << "VkIndirectCommandsLayoutTokenNV " << variable_name << " {" << std::endl; @@ -20144,9 +20144,9 @@ std::string GenerateStruct_VkIndirectCommandsLayoutTokenNV(std::ostream &out, co std::string GenerateStruct_VkIndirectCommandsStreamNV(std::ostream &out, const VkIndirectCommandsStreamNV* structInfo, Decoded_VkIndirectCommandsStreamNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* buffer */ +// buffer struct_body << "\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "indirectCommandsStreamNV"); out << "\t\t" << "VkIndirectCommandsStreamNV " << variable_name << " {" << std::endl; @@ -20159,11 +20159,11 @@ std::string GenerateStruct_VkIndirectCommandsStreamNV(std::ostream &out, const V std::string GenerateStruct_VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV(std::ostream &out, const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV* structInfo, Decoded_VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceGeneratedCommands */ +// deviceGeneratedCommands struct_body << "\t\t\t" << structInfo->deviceGeneratedCommands << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDeviceGeneratedCommandsFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV " << variable_name << " {" << std::endl; @@ -20176,27 +20176,27 @@ std::string GenerateStruct_VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV(std std::string GenerateStruct_VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV(std::ostream &out, const VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV* structInfo, Decoded_VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxGraphicsShaderGroupCount */ +// maxGraphicsShaderGroupCount struct_body << "\t\t\t" << structInfo->maxGraphicsShaderGroupCount << "," << std::endl; -/* maxIndirectSequenceCount */ +// maxIndirectSequenceCount struct_body << "\t\t\t" << structInfo->maxIndirectSequenceCount << "," << std::endl; -/* maxIndirectCommandsTokenCount */ +// maxIndirectCommandsTokenCount struct_body << "\t\t\t" << structInfo->maxIndirectCommandsTokenCount << "," << std::endl; -/* maxIndirectCommandsStreamCount */ +// maxIndirectCommandsStreamCount struct_body << "\t\t\t" << structInfo->maxIndirectCommandsStreamCount << "," << std::endl; -/* maxIndirectCommandsTokenOffset */ +// maxIndirectCommandsTokenOffset struct_body << "\t\t\t" << structInfo->maxIndirectCommandsTokenOffset << "," << std::endl; -/* maxIndirectCommandsStreamStride */ +// maxIndirectCommandsStreamStride struct_body << "\t\t\t" << structInfo->maxIndirectCommandsStreamStride << "," << std::endl; -/* minSequencesCountBufferOffsetAlignment */ +// minSequencesCountBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->minSequencesCountBufferOffsetAlignment << "," << std::endl; -/* minSequencesIndexBufferOffsetAlignment */ +// minSequencesIndexBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->minSequencesIndexBufferOffsetAlignment << "," << std::endl; -/* minIndirectCommandsBufferOffsetAlignment */ +// minIndirectCommandsBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->minIndirectCommandsBufferOffsetAlignment << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDeviceGeneratedCommandsPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV " << variable_name << " {" << std::endl; @@ -20208,7 +20208,7 @@ std::string GenerateStruct_VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV(s std::string GenerateStruct_VkSetStateFlagsIndirectCommandNV(std::ostream &out, const VkSetStateFlagsIndirectCommandNV* structInfo, Decoded_VkSetStateFlagsIndirectCommandNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* data */ +// data struct_body << "\t" << structInfo->data << ","; std::string variable_name = consumer.AddStruct(struct_body, "setStateFlagsIndirectCommandNV"); out << "\t\t" << "VkSetStateFlagsIndirectCommandNV " << variable_name << " {" << std::endl; @@ -20229,15 +20229,15 @@ std::string GenerateStruct_VkCommandBufferInheritanceViewportScissorInfoNV(std:: consumer); pviewport_depths_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* viewportScissor2D */ +// viewportScissor2D struct_body << "\t\t\t" << structInfo->viewportScissor2D << "," << std::endl; -/* viewportDepthCount */ +// viewportDepthCount struct_body << "\t\t\t" << structInfo->viewportDepthCount << "," << std::endl; -/* pViewportDepths */ +// pViewportDepths struct_body << "\t\t\t" << pviewport_depths_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferInheritanceViewportScissorInfoNV"); out << "\t\t" << "VkCommandBufferInheritanceViewportScissorInfoNV " << variable_name << " {" << std::endl; @@ -20250,11 +20250,11 @@ std::string GenerateStruct_VkCommandBufferInheritanceViewportScissorInfoNV(std:: std::string GenerateStruct_VkPhysicalDeviceInheritedViewportScissorFeaturesNV(std::ostream &out, const VkPhysicalDeviceInheritedViewportScissorFeaturesNV* structInfo, Decoded_VkPhysicalDeviceInheritedViewportScissorFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* inheritedViewportScissor2D */ +// inheritedViewportScissor2D struct_body << "\t\t\t" << structInfo->inheritedViewportScissor2D << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceInheritedViewportScissorFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceInheritedViewportScissorFeaturesNV " << variable_name << " {" << std::endl; @@ -20267,11 +20267,11 @@ std::string GenerateStruct_VkPhysicalDeviceInheritedViewportScissorFeaturesNV(st std::string GenerateStruct_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(std::ostream &out, const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* texelBufferAlignment */ +// texelBufferAlignment struct_body << "\t\t\t" << structInfo->texelBufferAlignment << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTexelBufferAlignmentFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT " << variable_name << " {" << std::endl; @@ -20288,13 +20288,13 @@ std::string GenerateStruct_VkCommandBufferInheritanceRenderPassTransformInfoQCOM &structInfo->renderArea, metaInfo->renderArea, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* transform */ +// transform struct_body << "\t\t\t" << "VkSurfaceTransformFlagBitsKHR(" << structInfo->transform << ")" << "," << std::endl; -/* renderArea */ +// renderArea struct_body << "\t\t\t" << render_area_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "commandBufferInheritanceRenderPassTransformInfoQCOM"); out << "\t\t" << "VkCommandBufferInheritanceRenderPassTransformInfoQCOM " << variable_name << " {" << std::endl; @@ -20307,11 +20307,11 @@ std::string GenerateStruct_VkCommandBufferInheritanceRenderPassTransformInfoQCOM std::string GenerateStruct_VkRenderPassTransformBeginInfoQCOM(std::ostream &out, const VkRenderPassTransformBeginInfoQCOM* structInfo, Decoded_VkRenderPassTransformBeginInfoQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* transform */ +// transform struct_body << "\t\t\t" << "VkSurfaceTransformFlagBitsKHR(" << structInfo->transform << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassTransformBeginInfoQCOM"); out << "\t\t" << "VkRenderPassTransformBeginInfoQCOM " << variable_name << " {" << std::endl; @@ -20324,15 +20324,15 @@ std::string GenerateStruct_VkRenderPassTransformBeginInfoQCOM(std::ostream &out, std::string GenerateStruct_VkDepthBiasInfoEXT(std::ostream &out, const VkDepthBiasInfoEXT* structInfo, Decoded_VkDepthBiasInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* depthBiasConstantFactor */ +// depthBiasConstantFactor struct_body << "\t\t\t" << structInfo->depthBiasConstantFactor << "," << std::endl; -/* depthBiasClamp */ +// depthBiasClamp struct_body << "\t\t\t" << structInfo->depthBiasClamp << "," << std::endl; -/* depthBiasSlopeFactor */ +// depthBiasSlopeFactor struct_body << "\t\t\t" << structInfo->depthBiasSlopeFactor << ","; std::string variable_name = consumer.AddStruct(struct_body, "depthBiasInfoEXT"); out << "\t\t" << "VkDepthBiasInfoEXT " << variable_name << " {" << std::endl; @@ -20345,13 +20345,13 @@ std::string GenerateStruct_VkDepthBiasInfoEXT(std::ostream &out, const VkDepthBi std::string GenerateStruct_VkDepthBiasRepresentationInfoEXT(std::ostream &out, const VkDepthBiasRepresentationInfoEXT* structInfo, Decoded_VkDepthBiasRepresentationInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* depthBiasRepresentation */ +// depthBiasRepresentation struct_body << "\t\t\t" << "VkDepthBiasRepresentationEXT(" << structInfo->depthBiasRepresentation << ")" << "," << std::endl; -/* depthBiasExact */ +// depthBiasExact struct_body << "\t\t\t" << structInfo->depthBiasExact << ","; std::string variable_name = consumer.AddStruct(struct_body, "depthBiasRepresentationInfoEXT"); out << "\t\t" << "VkDepthBiasRepresentationInfoEXT " << variable_name << " {" << std::endl; @@ -20364,17 +20364,17 @@ std::string GenerateStruct_VkDepthBiasRepresentationInfoEXT(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceDepthBiasControlFeaturesEXT(std::ostream &out, const VkPhysicalDeviceDepthBiasControlFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceDepthBiasControlFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* depthBiasControl */ +// depthBiasControl struct_body << "\t\t\t" << structInfo->depthBiasControl << "," << std::endl; -/* leastRepresentableValueForceUnormRepresentation */ +// leastRepresentableValueForceUnormRepresentation struct_body << "\t\t\t" << structInfo->leastRepresentableValueForceUnormRepresentation << "," << std::endl; -/* floatRepresentation */ +// floatRepresentation struct_body << "\t\t\t" << structInfo->floatRepresentation << "," << std::endl; -/* depthBiasExact */ +// depthBiasExact struct_body << "\t\t\t" << structInfo->depthBiasExact << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDepthBiasControlFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceDepthBiasControlFeaturesEXT " << variable_name << " {" << std::endl; @@ -20387,15 +20387,15 @@ std::string GenerateStruct_VkPhysicalDeviceDepthBiasControlFeaturesEXT(std::ostr std::string GenerateStruct_VkDeviceDeviceMemoryReportCreateInfoEXT(std::ostream &out, const VkDeviceDeviceMemoryReportCreateInfoEXT* structInfo, Decoded_VkDeviceDeviceMemoryReportCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDeviceMemoryReportFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* pfnUserCallback */ +// pfnUserCallback struct_body << "\t\t\t" << structInfo->pfnUserCallback << "," << std::endl; -/* pUserData */ +// pUserData out << "\t\t" << "// TODO: Support pUserData (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "deviceDeviceMemoryReportCreateInfoEXT"); out << "\t\t" << "VkDeviceDeviceMemoryReportCreateInfoEXT " << variable_name << " {" << std::endl; @@ -20408,23 +20408,23 @@ std::string GenerateStruct_VkDeviceDeviceMemoryReportCreateInfoEXT(std::ostream std::string GenerateStruct_VkDeviceMemoryReportCallbackDataEXT(std::ostream &out, const VkDeviceMemoryReportCallbackDataEXT* structInfo, Decoded_VkDeviceMemoryReportCallbackDataEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDeviceMemoryReportFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkDeviceMemoryReportEventTypeEXT(" << structInfo->type << ")" << "," << std::endl; -/* memoryObjectId */ +// memoryObjectId struct_body << "\t\t\t" << structInfo->memoryObjectId << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* objectType */ +// objectType struct_body << "\t\t\t" << "VkObjectType(" << structInfo->objectType << ")" << "," << std::endl; -/* objectHandle */ +// objectHandle struct_body << "\t\t\t" << structInfo->objectHandle << "UL" << "," << std::endl; -/* heapIndex */ +// heapIndex struct_body << "\t\t\t" << structInfo->heapIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceMemoryReportCallbackDataEXT"); out << "\t\t" << "VkDeviceMemoryReportCallbackDataEXT " << variable_name << " {" << std::endl; @@ -20437,11 +20437,11 @@ std::string GenerateStruct_VkDeviceMemoryReportCallbackDataEXT(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(std::ostream &out, const VkPhysicalDeviceDeviceMemoryReportFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceMemoryReport */ +// deviceMemoryReport struct_body << "\t\t\t" << structInfo->deviceMemoryReport << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDeviceMemoryReportFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceDeviceMemoryReportFeaturesEXT " << variable_name << " {" << std::endl; @@ -20454,15 +20454,15 @@ std::string GenerateStruct_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(std::os std::string GenerateStruct_VkPhysicalDeviceRobustness2FeaturesEXT(std::ostream &out, const VkPhysicalDeviceRobustness2FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceRobustness2FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* robustBufferAccess2 */ +// robustBufferAccess2 struct_body << "\t\t\t" << structInfo->robustBufferAccess2 << "," << std::endl; -/* robustImageAccess2 */ +// robustImageAccess2 struct_body << "\t\t\t" << structInfo->robustImageAccess2 << "," << std::endl; -/* nullDescriptor */ +// nullDescriptor struct_body << "\t\t\t" << structInfo->nullDescriptor << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRobustness2FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceRobustness2FeaturesEXT " << variable_name << " {" << std::endl; @@ -20475,13 +20475,13 @@ std::string GenerateStruct_VkPhysicalDeviceRobustness2FeaturesEXT(std::ostream & std::string GenerateStruct_VkPhysicalDeviceRobustness2PropertiesEXT(std::ostream &out, const VkPhysicalDeviceRobustness2PropertiesEXT* structInfo, Decoded_VkPhysicalDeviceRobustness2PropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* robustStorageBufferAccessSizeAlignment */ +// robustStorageBufferAccessSizeAlignment struct_body << "\t\t\t" << structInfo->robustStorageBufferAccessSizeAlignment << "UL" << "," << std::endl; -/* robustUniformBufferAccessSizeAlignment */ +// robustUniformBufferAccessSizeAlignment struct_body << "\t\t\t" << structInfo->robustUniformBufferAccessSizeAlignment << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRobustness2PropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceRobustness2PropertiesEXT " << variable_name << " {" << std::endl; @@ -20494,13 +20494,13 @@ std::string GenerateStruct_VkPhysicalDeviceRobustness2PropertiesEXT(std::ostream std::string GenerateStruct_VkPhysicalDeviceCustomBorderColorFeaturesEXT(std::ostream &out, const VkPhysicalDeviceCustomBorderColorFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceCustomBorderColorFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* customBorderColors */ +// customBorderColors struct_body << "\t\t\t" << structInfo->customBorderColors << "," << std::endl; -/* customBorderColorWithoutFormat */ +// customBorderColorWithoutFormat struct_body << "\t\t\t" << structInfo->customBorderColorWithoutFormat << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCustomBorderColorFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceCustomBorderColorFeaturesEXT " << variable_name << " {" << std::endl; @@ -20513,11 +20513,11 @@ std::string GenerateStruct_VkPhysicalDeviceCustomBorderColorFeaturesEXT(std::ost std::string GenerateStruct_VkPhysicalDeviceCustomBorderColorPropertiesEXT(std::ostream &out, const VkPhysicalDeviceCustomBorderColorPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceCustomBorderColorPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxCustomBorderColorSamplers */ +// maxCustomBorderColorSamplers struct_body << "\t\t\t" << structInfo->maxCustomBorderColorSamplers << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCustomBorderColorPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceCustomBorderColorPropertiesEXT " << variable_name << " {" << std::endl; @@ -20530,13 +20530,13 @@ std::string GenerateStruct_VkPhysicalDeviceCustomBorderColorPropertiesEXT(std::o std::string GenerateStruct_VkSamplerCustomBorderColorCreateInfoEXT(std::ostream &out, const VkSamplerCustomBorderColorCreateInfoEXT* structInfo, Decoded_VkSamplerCustomBorderColorCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* customBorderColor */ +// customBorderColor struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(structInfo->customBorderColor) << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerCustomBorderColorCreateInfoEXT"); out << "\t\t" << "VkSamplerCustomBorderColorCreateInfoEXT " << variable_name << " {" << std::endl; @@ -20549,11 +20549,11 @@ std::string GenerateStruct_VkSamplerCustomBorderColorCreateInfoEXT(std::ostream std::string GenerateStruct_VkPhysicalDevicePresentBarrierFeaturesNV(std::ostream &out, const VkPhysicalDevicePresentBarrierFeaturesNV* structInfo, Decoded_VkPhysicalDevicePresentBarrierFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentBarrier */ +// presentBarrier struct_body << "\t\t\t" << structInfo->presentBarrier << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePresentBarrierFeaturesNV"); out << "\t\t" << "VkPhysicalDevicePresentBarrierFeaturesNV " << variable_name << " {" << std::endl; @@ -20566,11 +20566,11 @@ std::string GenerateStruct_VkPhysicalDevicePresentBarrierFeaturesNV(std::ostream std::string GenerateStruct_VkSurfaceCapabilitiesPresentBarrierNV(std::ostream &out, const VkSurfaceCapabilitiesPresentBarrierNV* structInfo, Decoded_VkSurfaceCapabilitiesPresentBarrierNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentBarrierSupported */ +// presentBarrierSupported struct_body << "\t\t\t" << structInfo->presentBarrierSupported << ","; std::string variable_name = consumer.AddStruct(struct_body, "surfaceCapabilitiesPresentBarrierNV"); out << "\t\t" << "VkSurfaceCapabilitiesPresentBarrierNV " << variable_name << " {" << std::endl; @@ -20583,11 +20583,11 @@ std::string GenerateStruct_VkSurfaceCapabilitiesPresentBarrierNV(std::ostream &o std::string GenerateStruct_VkSwapchainPresentBarrierCreateInfoNV(std::ostream &out, const VkSwapchainPresentBarrierCreateInfoNV* structInfo, Decoded_VkSwapchainPresentBarrierCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* presentBarrierEnable */ +// presentBarrierEnable struct_body << "\t\t\t" << structInfo->presentBarrierEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "swapchainPresentBarrierCreateInfoNV"); out << "\t\t" << "VkSwapchainPresentBarrierCreateInfoNV " << variable_name << " {" << std::endl; @@ -20600,11 +20600,11 @@ std::string GenerateStruct_VkSwapchainPresentBarrierCreateInfoNV(std::ostream &o std::string GenerateStruct_VkDeviceDiagnosticsConfigCreateInfoNV(std::ostream &out, const VkDeviceDiagnosticsConfigCreateInfoNV* structInfo, Decoded_VkDeviceDiagnosticsConfigCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDeviceDiagnosticsConfigFlagsNV(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceDiagnosticsConfigCreateInfoNV"); out << "\t\t" << "VkDeviceDiagnosticsConfigCreateInfoNV " << variable_name << " {" << std::endl; @@ -20617,11 +20617,11 @@ std::string GenerateStruct_VkDeviceDiagnosticsConfigCreateInfoNV(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceDiagnosticsConfigFeaturesNV(std::ostream &out, const VkPhysicalDeviceDiagnosticsConfigFeaturesNV* structInfo, Decoded_VkPhysicalDeviceDiagnosticsConfigFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* diagnosticsConfig */ +// diagnosticsConfig struct_body << "\t\t\t" << structInfo->diagnosticsConfig << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDiagnosticsConfigFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceDiagnosticsConfigFeaturesNV " << variable_name << " {" << std::endl; @@ -20634,11 +20634,11 @@ std::string GenerateStruct_VkPhysicalDeviceDiagnosticsConfigFeaturesNV(std::ostr std::string GenerateStruct_VkQueryLowLatencySupportNV(std::ostream &out, const VkQueryLowLatencySupportNV* structInfo, Decoded_VkQueryLowLatencySupportNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pQueriedLowLatencyData */ +// pQueriedLowLatencyData out << "\t\t" << "// TODO: Support pQueriedLowLatencyData (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "queryLowLatencySupportNV"); out << "\t\t" << "VkQueryLowLatencySupportNV " << variable_name << " {" << std::endl; @@ -20651,11 +20651,11 @@ std::string GenerateStruct_VkQueryLowLatencySupportNV(std::ostream &out, const V std::string GenerateStruct_VkGraphicsPipelineLibraryCreateInfoEXT(std::ostream &out, const VkGraphicsPipelineLibraryCreateInfoEXT* structInfo, Decoded_VkGraphicsPipelineLibraryCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkGraphicsPipelineLibraryFlagsEXT(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "graphicsPipelineLibraryCreateInfoEXT"); out << "\t\t" << "VkGraphicsPipelineLibraryCreateInfoEXT " << variable_name << " {" << std::endl; @@ -20668,11 +20668,11 @@ std::string GenerateStruct_VkGraphicsPipelineLibraryCreateInfoEXT(std::ostream & std::string GenerateStruct_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(std::ostream &out, const VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* graphicsPipelineLibrary */ +// graphicsPipelineLibrary struct_body << "\t\t\t" << structInfo->graphicsPipelineLibrary << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceGraphicsPipelineLibraryFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT " << variable_name << " {" << std::endl; @@ -20685,13 +20685,13 @@ std::string GenerateStruct_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(st std::string GenerateStruct_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT(std::ostream &out, const VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* graphicsPipelineLibraryFastLinking */ +// graphicsPipelineLibraryFastLinking struct_body << "\t\t\t" << structInfo->graphicsPipelineLibraryFastLinking << "," << std::endl; -/* graphicsPipelineLibraryIndependentInterpolationDecoration */ +// graphicsPipelineLibraryIndependentInterpolationDecoration struct_body << "\t\t\t" << structInfo->graphicsPipelineLibraryIndependentInterpolationDecoration << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceGraphicsPipelineLibraryPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT " << variable_name << " {" << std::endl; @@ -20704,11 +20704,11 @@ std::string GenerateStruct_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT( std::string GenerateStruct_VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD(std::ostream &out, const VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD* structInfo, Decoded_VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderEarlyAndLateFragmentTests */ +// shaderEarlyAndLateFragmentTests struct_body << "\t\t\t" << structInfo->shaderEarlyAndLateFragmentTests << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD"); out << "\t\t" << "VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD " << variable_name << " {" << std::endl; @@ -20721,15 +20721,15 @@ std::string GenerateStruct_VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeatur std::string GenerateStruct_VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV(std::ostream &out, const VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV* structInfo, Decoded_VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentShadingRateEnums */ +// fragmentShadingRateEnums struct_body << "\t\t\t" << structInfo->fragmentShadingRateEnums << "," << std::endl; -/* supersampleFragmentShadingRates */ +// supersampleFragmentShadingRates struct_body << "\t\t\t" << structInfo->supersampleFragmentShadingRates << "," << std::endl; -/* noInvocationFragmentShadingRates */ +// noInvocationFragmentShadingRates struct_body << "\t\t\t" << structInfo->noInvocationFragmentShadingRates << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShadingRateEnumsFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV " << variable_name << " {" << std::endl; @@ -20742,11 +20742,11 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV(st std::string GenerateStruct_VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV(std::ostream &out, const VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV* structInfo, Decoded_VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxFragmentShadingRateInvocationCount */ +// maxFragmentShadingRateInvocationCount struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->maxFragmentShadingRateInvocationCount << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentShadingRateEnumsPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV " << variable_name << " {" << std::endl; @@ -20759,15 +20759,15 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV( std::string GenerateStruct_VkPipelineFragmentShadingRateEnumStateCreateInfoNV(std::ostream &out, const VkPipelineFragmentShadingRateEnumStateCreateInfoNV* structInfo, Decoded_VkPipelineFragmentShadingRateEnumStateCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shadingRateType */ +// shadingRateType struct_body << "\t\t\t" << "VkFragmentShadingRateTypeNV(" << structInfo->shadingRateType << ")" << "," << std::endl; -/* shadingRate */ +// shadingRate struct_body << "\t\t\t" << "VkFragmentShadingRateNV(" << structInfo->shadingRate << ")" << "," << std::endl; -/* combinerOps */ +// combinerOps struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->combinerOps[0]), 2) << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineFragmentShadingRateEnumStateCreateInfoNV"); out << "\t\t" << "VkPipelineFragmentShadingRateEnumStateCreateInfoNV " << variable_name << " {" << std::endl; @@ -20780,11 +20780,11 @@ std::string GenerateStruct_VkPipelineFragmentShadingRateEnumStateCreateInfoNV(st std::string GenerateStruct_VkAccelerationStructureGeometryMotionTrianglesDataNV(std::ostream &out, const VkAccelerationStructureGeometryMotionTrianglesDataNV* structInfo, Decoded_VkAccelerationStructureGeometryMotionTrianglesDataNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* vertexData */ +// vertexData struct_body << "\t\t\t" << structInfo->vertexData.deviceAddress << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureGeometryMotionTrianglesDataNV"); out << "\t\t" << "VkAccelerationStructureGeometryMotionTrianglesDataNV " << variable_name << " {" << std::endl; @@ -20804,19 +20804,19 @@ std::string GenerateStruct_VkAccelerationStructureMatrixMotionInstanceNV(std::os &structInfo->transformT1, metaInfo->transformT1, consumer); -/* transformT0 */ +// transformT0 struct_body << "\t" << transform_t0_info_var << "," << std::endl; -/* transformT1 */ +// transformT1 struct_body << "\t\t\t" << transform_t1_info_var << "," << std::endl; -/* instanceCustomIndex */ +// instanceCustomIndex struct_body << "\t\t\t" << structInfo->instanceCustomIndex << "," << std::endl; -/* mask */ +// mask struct_body << "\t\t\t" << structInfo->mask << "," << std::endl; -/* instanceShaderBindingTableRecordOffset */ +// instanceShaderBindingTableRecordOffset struct_body << "\t\t\t" << structInfo->instanceShaderBindingTableRecordOffset << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkGeometryInstanceFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* accelerationStructureReference */ +// accelerationStructureReference struct_body << "\t\t\t" << structInfo->accelerationStructureReference << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureMatrixMotionInstanceNV"); out << "\t\t" << "VkAccelerationStructureMatrixMotionInstanceNV " << variable_name << " {" << std::endl; @@ -20829,13 +20829,13 @@ std::string GenerateStruct_VkAccelerationStructureMatrixMotionInstanceNV(std::os std::string GenerateStruct_VkAccelerationStructureMotionInfoNV(std::ostream &out, const VkAccelerationStructureMotionInfoNV* structInfo, Decoded_VkAccelerationStructureMotionInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxInstances */ +// maxInstances struct_body << "\t\t\t" << structInfo->maxInstances << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkAccelerationStructureMotionInfoFlagsNV(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureMotionInfoNV"); out << "\t\t" << "VkAccelerationStructureMotionInfoNV " << variable_name << " {" << std::endl; @@ -20855,19 +20855,19 @@ std::string GenerateStruct_VkAccelerationStructureSRTMotionInstanceNV(std::ostre &structInfo->transformT1, metaInfo->transformT1, consumer); -/* transformT0 */ +// transformT0 struct_body << "\t" << transform_t0_info_var << "," << std::endl; -/* transformT1 */ +// transformT1 struct_body << "\t\t\t" << transform_t1_info_var << "," << std::endl; -/* instanceCustomIndex */ +// instanceCustomIndex struct_body << "\t\t\t" << structInfo->instanceCustomIndex << "," << std::endl; -/* mask */ +// mask struct_body << "\t\t\t" << structInfo->mask << "," << std::endl; -/* instanceShaderBindingTableRecordOffset */ +// instanceShaderBindingTableRecordOffset struct_body << "\t\t\t" << structInfo->instanceShaderBindingTableRecordOffset << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkGeometryInstanceFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* accelerationStructureReference */ +// accelerationStructureReference struct_body << "\t\t\t" << structInfo->accelerationStructureReference << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureSRTMotionInstanceNV"); out << "\t\t" << "VkAccelerationStructureSRTMotionInstanceNV " << variable_name << " {" << std::endl; @@ -20880,13 +20880,13 @@ std::string GenerateStruct_VkAccelerationStructureSRTMotionInstanceNV(std::ostre std::string GenerateStruct_VkPhysicalDeviceRayTracingMotionBlurFeaturesNV(std::ostream &out, const VkPhysicalDeviceRayTracingMotionBlurFeaturesNV* structInfo, Decoded_VkPhysicalDeviceRayTracingMotionBlurFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rayTracingMotionBlur */ +// rayTracingMotionBlur struct_body << "\t\t\t" << structInfo->rayTracingMotionBlur << "," << std::endl; -/* rayTracingMotionBlurPipelineTraceRaysIndirect */ +// rayTracingMotionBlurPipelineTraceRaysIndirect struct_body << "\t\t\t" << structInfo->rayTracingMotionBlurPipelineTraceRaysIndirect << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingMotionBlurFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceRayTracingMotionBlurFeaturesNV " << variable_name << " {" << std::endl; @@ -20898,37 +20898,37 @@ std::string GenerateStruct_VkPhysicalDeviceRayTracingMotionBlurFeaturesNV(std::o std::string GenerateStruct_VkSRTDataNV(std::ostream &out, const VkSRTDataNV* structInfo, Decoded_VkSRTDataNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* sx */ +// sx struct_body << "\t" << structInfo->sx << "," << std::endl; -/* a */ +// a struct_body << "\t\t\t" << structInfo->a << "," << std::endl; -/* b */ +// b struct_body << "\t\t\t" << structInfo->b << "," << std::endl; -/* pvx */ +// pvx struct_body << "\t\t\t" << structInfo->pvx << "," << std::endl; -/* sy */ +// sy struct_body << "\t\t\t" << structInfo->sy << "," << std::endl; -/* c */ +// c struct_body << "\t\t\t" << structInfo->c << "," << std::endl; -/* pvy */ +// pvy struct_body << "\t\t\t" << structInfo->pvy << "," << std::endl; -/* sz */ +// sz struct_body << "\t\t\t" << structInfo->sz << "," << std::endl; -/* pvz */ +// pvz struct_body << "\t\t\t" << structInfo->pvz << "," << std::endl; -/* qx */ +// qx struct_body << "\t\t\t" << structInfo->qx << "," << std::endl; -/* qy */ +// qy struct_body << "\t\t\t" << structInfo->qy << "," << std::endl; -/* qz */ +// qz struct_body << "\t\t\t" << structInfo->qz << "," << std::endl; -/* qw */ +// qw struct_body << "\t\t\t" << structInfo->qw << "," << std::endl; -/* tx */ +// tx struct_body << "\t\t\t" << structInfo->tx << "," << std::endl; -/* ty */ +// ty struct_body << "\t\t\t" << structInfo->ty << "," << std::endl; -/* tz */ +// tz struct_body << "\t\t\t" << structInfo->tz << ","; std::string variable_name = consumer.AddStruct(struct_body, "sRTDataNV"); out << "\t\t" << "VkSRTDataNV " << variable_name << " {" << std::endl; @@ -20941,11 +20941,11 @@ std::string GenerateStruct_VkSRTDataNV(std::ostream &out, const VkSRTDataNV* str std::string GenerateStruct_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(std::ostream &out, const VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* ycbcr2plane444Formats */ +// ycbcr2plane444Formats struct_body << "\t\t\t" << structInfo->ycbcr2plane444Formats << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceYcbcr2Plane444FormatsFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT " << variable_name << " {" << std::endl; @@ -20958,11 +20958,11 @@ std::string GenerateStruct_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(std: std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMap2FeaturesEXT(std::ostream &out, const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceFragmentDensityMap2FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentDensityMapDeferred */ +// fragmentDensityMapDeferred struct_body << "\t\t\t" << structInfo->fragmentDensityMapDeferred << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentDensityMap2FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceFragmentDensityMap2FeaturesEXT " << variable_name << " {" << std::endl; @@ -20975,17 +20975,17 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMap2FeaturesEXT(std::o std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMap2PropertiesEXT(std::ostream &out, const VkPhysicalDeviceFragmentDensityMap2PropertiesEXT* structInfo, Decoded_VkPhysicalDeviceFragmentDensityMap2PropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* subsampledLoads */ +// subsampledLoads struct_body << "\t\t\t" << structInfo->subsampledLoads << "," << std::endl; -/* subsampledCoarseReconstructionEarlyAccess */ +// subsampledCoarseReconstructionEarlyAccess struct_body << "\t\t\t" << structInfo->subsampledCoarseReconstructionEarlyAccess << "," << std::endl; -/* maxSubsampledArrayLayers */ +// maxSubsampledArrayLayers struct_body << "\t\t\t" << structInfo->maxSubsampledArrayLayers << "," << std::endl; -/* maxDescriptorSetSubsampledSamplers */ +// maxDescriptorSetSubsampledSamplers struct_body << "\t\t\t" << structInfo->maxDescriptorSetSubsampledSamplers << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentDensityMap2PropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceFragmentDensityMap2PropertiesEXT " << variable_name << " {" << std::endl; @@ -20998,11 +20998,11 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMap2PropertiesEXT(std: std::string GenerateStruct_VkCopyCommandTransformInfoQCOM(std::ostream &out, const VkCopyCommandTransformInfoQCOM* structInfo, Decoded_VkCopyCommandTransformInfoQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* transform */ +// transform struct_body << "\t\t\t" << "VkSurfaceTransformFlagBitsKHR(" << structInfo->transform << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyCommandTransformInfoQCOM"); out << "\t\t" << "VkCopyCommandTransformInfoQCOM " << variable_name << " {" << std::endl; @@ -21024,15 +21024,15 @@ std::string GenerateStruct_VkImageCompressionControlEXT(std::ostream &out, const pfixed_rate_flags_array = "pFixedRateFlags_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkImageCompressionFixedRateFlagsEXT " << pfixed_rate_flags_array << "[] = {" << pfixed_rate_flags_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkImageCompressionFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* compressionControlPlaneCount */ +// compressionControlPlaneCount struct_body << "\t\t\t" << structInfo->compressionControlPlaneCount << "," << std::endl; -/* pFixedRateFlags */ +// pFixedRateFlags struct_body << "\t\t\t" << pfixed_rate_flags_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageCompressionControlEXT"); out << "\t\t" << "VkImageCompressionControlEXT " << variable_name << " {" << std::endl; @@ -21045,13 +21045,13 @@ std::string GenerateStruct_VkImageCompressionControlEXT(std::ostream &out, const std::string GenerateStruct_VkImageCompressionPropertiesEXT(std::ostream &out, const VkImageCompressionPropertiesEXT* structInfo, Decoded_VkImageCompressionPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageCompressionFlags */ +// imageCompressionFlags struct_body << "\t\t\t" << "VkImageCompressionFlagsEXT(" << structInfo->imageCompressionFlags << ")" << "," << std::endl; -/* imageCompressionFixedRateFlags */ +// imageCompressionFixedRateFlags struct_body << "\t\t\t" << "VkImageCompressionFixedRateFlagsEXT(" << structInfo->imageCompressionFixedRateFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageCompressionPropertiesEXT"); out << "\t\t" << "VkImageCompressionPropertiesEXT " << variable_name << " {" << std::endl; @@ -21064,11 +21064,11 @@ std::string GenerateStruct_VkImageCompressionPropertiesEXT(std::ostream &out, co std::string GenerateStruct_VkPhysicalDeviceImageCompressionControlFeaturesEXT(std::ostream &out, const VkPhysicalDeviceImageCompressionControlFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceImageCompressionControlFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageCompressionControl */ +// imageCompressionControl struct_body << "\t\t\t" << structInfo->imageCompressionControl << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageCompressionControlFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceImageCompressionControlFeaturesEXT " << variable_name << " {" << std::endl; @@ -21081,11 +21081,11 @@ std::string GenerateStruct_VkPhysicalDeviceImageCompressionControlFeaturesEXT(st std::string GenerateStruct_VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT(std::ostream &out, const VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* attachmentFeedbackLoopLayout */ +// attachmentFeedbackLoopLayout struct_body << "\t\t\t" << structInfo->attachmentFeedbackLoopLayout << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT " << variable_name << " {" << std::endl; @@ -21098,13 +21098,13 @@ std::string GenerateStruct_VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesE std::string GenerateStruct_VkPhysicalDevice4444FormatsFeaturesEXT(std::ostream &out, const VkPhysicalDevice4444FormatsFeaturesEXT* structInfo, Decoded_VkPhysicalDevice4444FormatsFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* formatA4R4G4B4 */ +// formatA4R4G4B4 struct_body << "\t\t\t" << structInfo->formatA4R4G4B4 << "," << std::endl; -/* formatA4B4G4R4 */ +// formatA4B4G4R4 struct_body << "\t\t\t" << structInfo->formatA4B4G4R4 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevice4444FormatsFeaturesEXT"); out << "\t\t" << "VkPhysicalDevice4444FormatsFeaturesEXT " << variable_name << " {" << std::endl; @@ -21116,11 +21116,11 @@ std::string GenerateStruct_VkPhysicalDevice4444FormatsFeaturesEXT(std::ostream & std::string GenerateStruct_VkDeviceFaultAddressInfoEXT(std::ostream &out, const VkDeviceFaultAddressInfoEXT* structInfo, Decoded_VkDeviceFaultAddressInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* addressType */ +// addressType struct_body << "\t" << "VkDeviceFaultAddressTypeEXT(" << structInfo->addressType << ")" << "," << std::endl; -/* reportedAddress */ +// reportedAddress struct_body << "\t\t\t" << structInfo->reportedAddress << "UL" << "," << std::endl; -/* addressPrecision */ +// addressPrecision struct_body << "\t\t\t" << structInfo->addressPrecision << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceFaultAddressInfoEXT"); out << "\t\t" << "VkDeviceFaultAddressInfoEXT " << variable_name << " {" << std::endl; @@ -21133,15 +21133,15 @@ std::string GenerateStruct_VkDeviceFaultAddressInfoEXT(std::ostream &out, const std::string GenerateStruct_VkDeviceFaultCountsEXT(std::ostream &out, const VkDeviceFaultCountsEXT* structInfo, Decoded_VkDeviceFaultCountsEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* addressInfoCount */ +// addressInfoCount struct_body << "\t\t\t" << structInfo->addressInfoCount << "," << std::endl; -/* vendorInfoCount */ +// vendorInfoCount struct_body << "\t\t\t" << structInfo->vendorInfoCount << "," << std::endl; -/* vendorBinarySize */ +// vendorBinarySize struct_body << "\t\t\t" << structInfo->vendorBinarySize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceFaultCountsEXT"); out << "\t\t" << "VkDeviceFaultCountsEXT " << variable_name << " {" << std::endl; @@ -21154,17 +21154,17 @@ std::string GenerateStruct_VkDeviceFaultCountsEXT(std::ostream &out, const VkDev std::string GenerateStruct_VkDeviceFaultInfoEXT(std::ostream &out, const VkDeviceFaultInfoEXT* structInfo, Decoded_VkDeviceFaultInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << "," << std::endl; -/* pAddressInfos */ +// pAddressInfos out << "\t\t" << "// TODO: Support pAddressInfos (output?) argument." << std::endl; -/* pVendorInfos */ +// pVendorInfos out << "\t\t" << "// TODO: Support pVendorInfos (output?) argument." << std::endl; -/* pVendorBinaryData */ +// pVendorBinaryData out << "\t\t" << "// TODO: Support pVendorBinaryData (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "deviceFaultInfoEXT"); out << "\t\t" << "VkDeviceFaultInfoEXT " << variable_name << " {" << std::endl; @@ -21176,27 +21176,27 @@ std::string GenerateStruct_VkDeviceFaultInfoEXT(std::ostream &out, const VkDevic std::string GenerateStruct_VkDeviceFaultVendorBinaryHeaderVersionOneEXT(std::ostream &out, const VkDeviceFaultVendorBinaryHeaderVersionOneEXT* structInfo, Decoded_VkDeviceFaultVendorBinaryHeaderVersionOneEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* headerSize */ +// headerSize struct_body << "\t" << structInfo->headerSize << "," << std::endl; -/* headerVersion */ +// headerVersion struct_body << "\t\t\t" << "VkDeviceFaultVendorBinaryHeaderVersionEXT(" << structInfo->headerVersion << ")" << "," << std::endl; -/* vendorID */ +// vendorID struct_body << "\t\t\t" << structInfo->vendorID << "," << std::endl; -/* deviceID */ +// deviceID struct_body << "\t\t\t" << structInfo->deviceID << "," << std::endl; -/* driverVersion */ +// driverVersion struct_body << "\t\t\t" << structInfo->driverVersion << "," << std::endl; -/* pipelineCacheUUID */ +// pipelineCacheUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->pipelineCacheUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* applicationNameOffset */ +// applicationNameOffset struct_body << "\t\t\t" << structInfo->applicationNameOffset << "," << std::endl; -/* applicationVersion */ +// applicationVersion struct_body << "\t\t\t" << structInfo->applicationVersion << "," << std::endl; -/* engineNameOffset */ +// engineNameOffset struct_body << "\t\t\t" << structInfo->engineNameOffset << "," << std::endl; -/* engineVersion */ +// engineVersion struct_body << "\t\t\t" << structInfo->engineVersion << "," << std::endl; -/* apiVersion */ +// apiVersion struct_body << "\t\t\t" << structInfo->apiVersion << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceFaultVendorBinaryHeaderVersionOneEXT"); out << "\t\t" << "VkDeviceFaultVendorBinaryHeaderVersionOneEXT " << variable_name << " {" << std::endl; @@ -21208,11 +21208,11 @@ std::string GenerateStruct_VkDeviceFaultVendorBinaryHeaderVersionOneEXT(std::ost std::string GenerateStruct_VkDeviceFaultVendorInfoEXT(std::ostream &out, const VkDeviceFaultVendorInfoEXT* structInfo, Decoded_VkDeviceFaultVendorInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* description */ +// description struct_body << "\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << "," << std::endl; -/* vendorFaultCode */ +// vendorFaultCode struct_body << "\t\t\t" << structInfo->vendorFaultCode << "UL" << "," << std::endl; -/* vendorFaultData */ +// vendorFaultData struct_body << "\t\t\t" << structInfo->vendorFaultData << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceFaultVendorInfoEXT"); out << "\t\t" << "VkDeviceFaultVendorInfoEXT " << variable_name << " {" << std::endl; @@ -21225,13 +21225,13 @@ std::string GenerateStruct_VkDeviceFaultVendorInfoEXT(std::ostream &out, const V std::string GenerateStruct_VkPhysicalDeviceFaultFeaturesEXT(std::ostream &out, const VkPhysicalDeviceFaultFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceFaultFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceFault */ +// deviceFault struct_body << "\t\t\t" << structInfo->deviceFault << "," << std::endl; -/* deviceFaultVendorBinary */ +// deviceFaultVendorBinary struct_body << "\t\t\t" << structInfo->deviceFaultVendorBinary << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFaultFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceFaultFeaturesEXT " << variable_name << " {" << std::endl; @@ -21244,15 +21244,15 @@ std::string GenerateStruct_VkPhysicalDeviceFaultFeaturesEXT(std::ostream &out, c std::string GenerateStruct_VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT(std::ostream &out, const VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rasterizationOrderColorAttachmentAccess */ +// rasterizationOrderColorAttachmentAccess struct_body << "\t\t\t" << structInfo->rasterizationOrderColorAttachmentAccess << "," << std::endl; -/* rasterizationOrderDepthAttachmentAccess */ +// rasterizationOrderDepthAttachmentAccess struct_body << "\t\t\t" << structInfo->rasterizationOrderDepthAttachmentAccess << "," << std::endl; -/* rasterizationOrderStencilAttachmentAccess */ +// rasterizationOrderStencilAttachmentAccess struct_body << "\t\t\t" << structInfo->rasterizationOrderStencilAttachmentAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT " << variable_name << " {" << std::endl; @@ -21265,11 +21265,11 @@ std::string GenerateStruct_VkPhysicalDeviceRasterizationOrderAttachmentAccessFea std::string GenerateStruct_VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT(std::ostream &out, const VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* formatRgba10x6WithoutYCbCrSampler */ +// formatRgba10x6WithoutYCbCrSampler struct_body << "\t\t\t" << structInfo->formatRgba10x6WithoutYCbCrSampler << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRGBA10X6FormatsFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT " << variable_name << " {" << std::endl; @@ -21282,15 +21282,15 @@ std::string GenerateStruct_VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT(std::ostre std::string GenerateStruct_VkDirectFBSurfaceCreateInfoEXT(std::ostream &out, const VkDirectFBSurfaceCreateInfoEXT* structInfo, Decoded_VkDirectFBSurfaceCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDirectFBSurfaceCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* dfb */ +// dfb struct_body << "\t\t\t" << structInfo->dfb << "," << std::endl; -/* surface */ +// surface struct_body << "\t\t\t" << structInfo->surface << ","; std::string variable_name = consumer.AddStruct(struct_body, "directFBSurfaceCreateInfoEXT"); out << "\t\t" << "VkDirectFBSurfaceCreateInfoEXT " << variable_name << " {" << std::endl; @@ -21319,13 +21319,13 @@ std::string GenerateStruct_VkMutableDescriptorTypeCreateInfoEXT(std::ostream &ou } out << "\t\t" << "VkMutableDescriptorTypeListEXT " << pmutable_descriptor_type_lists_array << "[] = {" << pmutable_descriptor_type_lists_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* mutableDescriptorTypeListCount */ +// mutableDescriptorTypeListCount struct_body << "\t\t\t" << structInfo->mutableDescriptorTypeListCount << "," << std::endl; -/* pMutableDescriptorTypeLists */ +// pMutableDescriptorTypeLists struct_body << "\t\t\t" << pmutable_descriptor_type_lists_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "mutableDescriptorTypeCreateInfoEXT"); out << "\t\t" << "VkMutableDescriptorTypeCreateInfoEXT " << variable_name << " {" << std::endl; @@ -21346,9 +21346,9 @@ std::string GenerateStruct_VkMutableDescriptorTypeListEXT(std::ostream &out, con pdescriptor_types_array = "pDescriptorTypes_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkDescriptorType " << pdescriptor_types_array << "[] = {" << pdescriptor_types_values << "};" << std::endl; } -/* descriptorTypeCount */ +// descriptorTypeCount struct_body << "\t" << structInfo->descriptorTypeCount << "," << std::endl; -/* pDescriptorTypes */ +// pDescriptorTypes struct_body << "\t\t\t" << pdescriptor_types_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "mutableDescriptorTypeListEXT"); out << "\t\t" << "VkMutableDescriptorTypeListEXT " << variable_name << " {" << std::endl; @@ -21361,11 +21361,11 @@ std::string GenerateStruct_VkMutableDescriptorTypeListEXT(std::ostream &out, con std::string GenerateStruct_VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT(std::ostream &out, const VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* mutableDescriptorType */ +// mutableDescriptorType struct_body << "\t\t\t" << structInfo->mutableDescriptorType << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMutableDescriptorTypeFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT " << variable_name << " {" << std::endl; @@ -21378,11 +21378,11 @@ std::string GenerateStruct_VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT(std: std::string GenerateStruct_VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT(std::ostream &out, const VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* vertexInputDynamicState */ +// vertexInputDynamicState struct_body << "\t\t\t" << structInfo->vertexInputDynamicState << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceVertexInputDynamicStateFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT " << variable_name << " {" << std::endl; @@ -21395,17 +21395,17 @@ std::string GenerateStruct_VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT(st std::string GenerateStruct_VkVertexInputAttributeDescription2EXT(std::ostream &out, const VkVertexInputAttributeDescription2EXT* structInfo, Decoded_VkVertexInputAttributeDescription2EXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* location */ +// location struct_body << "\t\t\t" << structInfo->location << "," << std::endl; -/* binding */ +// binding struct_body << "\t\t\t" << structInfo->binding << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << ","; std::string variable_name = consumer.AddStruct(struct_body, "vertexInputAttributeDescription2EXT"); out << "\t\t" << "VkVertexInputAttributeDescription2EXT " << variable_name << " {" << std::endl; @@ -21418,17 +21418,17 @@ std::string GenerateStruct_VkVertexInputAttributeDescription2EXT(std::ostream &o std::string GenerateStruct_VkVertexInputBindingDescription2EXT(std::ostream &out, const VkVertexInputBindingDescription2EXT* structInfo, Decoded_VkVertexInputBindingDescription2EXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* binding */ +// binding struct_body << "\t\t\t" << structInfo->binding << "," << std::endl; -/* stride */ +// stride struct_body << "\t\t\t" << structInfo->stride << "," << std::endl; -/* inputRate */ +// inputRate struct_body << "\t\t\t" << "VkVertexInputRate(" << structInfo->inputRate << ")" << "," << std::endl; -/* divisor */ +// divisor struct_body << "\t\t\t" << structInfo->divisor << ","; std::string variable_name = consumer.AddStruct(struct_body, "vertexInputBindingDescription2EXT"); out << "\t\t" << "VkVertexInputBindingDescription2EXT " << variable_name << " {" << std::endl; @@ -21441,21 +21441,21 @@ std::string GenerateStruct_VkVertexInputBindingDescription2EXT(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceDrmPropertiesEXT(std::ostream &out, const VkPhysicalDeviceDrmPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceDrmPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* hasPrimary */ +// hasPrimary struct_body << "\t\t\t" << structInfo->hasPrimary << "," << std::endl; -/* hasRender */ +// hasRender struct_body << "\t\t\t" << structInfo->hasRender << "," << std::endl; -/* primaryMajor */ +// primaryMajor struct_body << "\t\t\t" << structInfo->primaryMajor << "," << std::endl; -/* primaryMinor */ +// primaryMinor struct_body << "\t\t\t" << structInfo->primaryMinor << "," << std::endl; -/* renderMajor */ +// renderMajor struct_body << "\t\t\t" << structInfo->renderMajor << "," << std::endl; -/* renderMinor */ +// renderMinor struct_body << "\t\t\t" << structInfo->renderMinor << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDrmPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceDrmPropertiesEXT " << variable_name << " {" << std::endl; @@ -21468,17 +21468,17 @@ std::string GenerateStruct_VkPhysicalDeviceDrmPropertiesEXT(std::ostream &out, c std::string GenerateStruct_VkDeviceAddressBindingCallbackDataEXT(std::ostream &out, const VkDeviceAddressBindingCallbackDataEXT* structInfo, Decoded_VkDeviceAddressBindingCallbackDataEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDeviceAddressBindingFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* baseAddress */ +// baseAddress struct_body << "\t\t\t" << structInfo->baseAddress << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* bindingType */ +// bindingType struct_body << "\t\t\t" << "VkDeviceAddressBindingTypeEXT(" << structInfo->bindingType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "deviceAddressBindingCallbackDataEXT"); out << "\t\t" << "VkDeviceAddressBindingCallbackDataEXT " << variable_name << " {" << std::endl; @@ -21491,11 +21491,11 @@ std::string GenerateStruct_VkDeviceAddressBindingCallbackDataEXT(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceAddressBindingReportFeaturesEXT(std::ostream &out, const VkPhysicalDeviceAddressBindingReportFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceAddressBindingReportFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* reportAddressBinding */ +// reportAddressBinding struct_body << "\t\t\t" << structInfo->reportAddressBinding << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceAddressBindingReportFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceAddressBindingReportFeaturesEXT " << variable_name << " {" << std::endl; @@ -21508,11 +21508,11 @@ std::string GenerateStruct_VkPhysicalDeviceAddressBindingReportFeaturesEXT(std:: std::string GenerateStruct_VkPhysicalDeviceDepthClipControlFeaturesEXT(std::ostream &out, const VkPhysicalDeviceDepthClipControlFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceDepthClipControlFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* depthClipControl */ +// depthClipControl struct_body << "\t\t\t" << structInfo->depthClipControl << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDepthClipControlFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceDepthClipControlFeaturesEXT " << variable_name << " {" << std::endl; @@ -21525,11 +21525,11 @@ std::string GenerateStruct_VkPhysicalDeviceDepthClipControlFeaturesEXT(std::ostr std::string GenerateStruct_VkPipelineViewportDepthClipControlCreateInfoEXT(std::ostream &out, const VkPipelineViewportDepthClipControlCreateInfoEXT* structInfo, Decoded_VkPipelineViewportDepthClipControlCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* negativeOneToOne */ +// negativeOneToOne struct_body << "\t\t\t" << structInfo->negativeOneToOne << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineViewportDepthClipControlCreateInfoEXT"); out << "\t\t" << "VkPipelineViewportDepthClipControlCreateInfoEXT " << variable_name << " {" << std::endl; @@ -21542,13 +21542,13 @@ std::string GenerateStruct_VkPipelineViewportDepthClipControlCreateInfoEXT(std:: std::string GenerateStruct_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT(std::ostream &out, const VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT* structInfo, Decoded_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* primitiveTopologyListRestart */ +// primitiveTopologyListRestart struct_body << "\t\t\t" << structInfo->primitiveTopologyListRestart << "," << std::endl; -/* primitiveTopologyPatchListRestart */ +// primitiveTopologyPatchListRestart struct_body << "\t\t\t" << structInfo->primitiveTopologyPatchListRestart << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePrimitiveTopologyListRestartFeaturesEXT"); out << "\t\t" << "VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT " << variable_name << " {" << std::endl; @@ -21561,13 +21561,13 @@ std::string GenerateStruct_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesE std::string GenerateStruct_VkImportMemoryZirconHandleInfoFUCHSIA(std::ostream &out, const VkImportMemoryZirconHandleInfoFUCHSIA* structInfo, Decoded_VkImportMemoryZirconHandleInfoFUCHSIA* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* handle */ +// handle struct_body << "\t\t\t" << structInfo->handle << ","; std::string variable_name = consumer.AddStruct(struct_body, "importMemoryZirconHandleInfoFUCHSIA"); out << "\t\t" << "VkImportMemoryZirconHandleInfoFUCHSIA " << variable_name << " {" << std::endl; @@ -21580,13 +21580,13 @@ std::string GenerateStruct_VkImportMemoryZirconHandleInfoFUCHSIA(std::ostream &o std::string GenerateStruct_VkMemoryGetZirconHandleInfoFUCHSIA(std::ostream &out, const VkMemoryGetZirconHandleInfoFUCHSIA* structInfo, Decoded_VkMemoryGetZirconHandleInfoFUCHSIA* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryGetZirconHandleInfoFUCHSIA"); out << "\t\t" << "VkMemoryGetZirconHandleInfoFUCHSIA " << variable_name << " {" << std::endl; @@ -21599,11 +21599,11 @@ std::string GenerateStruct_VkMemoryGetZirconHandleInfoFUCHSIA(std::ostream &out, std::string GenerateStruct_VkMemoryZirconHandlePropertiesFUCHSIA(std::ostream &out, const VkMemoryZirconHandlePropertiesFUCHSIA* structInfo, Decoded_VkMemoryZirconHandlePropertiesFUCHSIA* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memoryTypeBits */ +// memoryTypeBits struct_body << "\t\t\t" << structInfo->memoryTypeBits << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryZirconHandlePropertiesFUCHSIA"); out << "\t\t" << "VkMemoryZirconHandlePropertiesFUCHSIA " << variable_name << " {" << std::endl; @@ -21616,17 +21616,17 @@ std::string GenerateStruct_VkMemoryZirconHandlePropertiesFUCHSIA(std::ostream &o std::string GenerateStruct_VkImportSemaphoreZirconHandleInfoFUCHSIA(std::ostream &out, const VkImportSemaphoreZirconHandleInfoFUCHSIA* structInfo, Decoded_VkImportSemaphoreZirconHandleInfoFUCHSIA* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkSemaphoreImportFlags(" << structInfo->flags << ")" << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlagBits(" << structInfo->handleType << ")" << "," << std::endl; -/* zirconHandle */ +// zirconHandle struct_body << "\t\t\t" << structInfo->zirconHandle << ","; std::string variable_name = consumer.AddStruct(struct_body, "importSemaphoreZirconHandleInfoFUCHSIA"); out << "\t\t" << "VkImportSemaphoreZirconHandleInfoFUCHSIA " << variable_name << " {" << std::endl; @@ -21639,13 +21639,13 @@ std::string GenerateStruct_VkImportSemaphoreZirconHandleInfoFUCHSIA(std::ostream std::string GenerateStruct_VkSemaphoreGetZirconHandleInfoFUCHSIA(std::ostream &out, const VkSemaphoreGetZirconHandleInfoFUCHSIA* structInfo, Decoded_VkSemaphoreGetZirconHandleInfoFUCHSIA* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* semaphore */ +// semaphore struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->semaphore) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalSemaphoreHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "semaphoreGetZirconHandleInfoFUCHSIA"); out << "\t\t" << "VkSemaphoreGetZirconHandleInfoFUCHSIA " << variable_name << " {" << std::endl; @@ -21658,11 +21658,11 @@ std::string GenerateStruct_VkSemaphoreGetZirconHandleInfoFUCHSIA(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceInvocationMaskFeaturesHUAWEI(std::ostream &out, const VkPhysicalDeviceInvocationMaskFeaturesHUAWEI* structInfo, Decoded_VkPhysicalDeviceInvocationMaskFeaturesHUAWEI* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* invocationMask */ +// invocationMask struct_body << "\t\t\t" << structInfo->invocationMask << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceInvocationMaskFeaturesHUAWEI"); out << "\t\t" << "VkPhysicalDeviceInvocationMaskFeaturesHUAWEI " << variable_name << " {" << std::endl; @@ -21675,13 +21675,13 @@ std::string GenerateStruct_VkPhysicalDeviceInvocationMaskFeaturesHUAWEI(std::ost std::string GenerateStruct_VkMemoryGetRemoteAddressInfoNV(std::ostream &out, const VkMemoryGetRemoteAddressInfoNV* structInfo, Decoded_VkMemoryGetRemoteAddressInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* memory */ +// memory struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->memory) << "," << std::endl; -/* handleType */ +// handleType struct_body << "\t\t\t" << "VkExternalMemoryHandleTypeFlagBits(" << structInfo->handleType << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "memoryGetRemoteAddressInfoNV"); out << "\t\t" << "VkMemoryGetRemoteAddressInfoNV " << variable_name << " {" << std::endl; @@ -21694,11 +21694,11 @@ std::string GenerateStruct_VkMemoryGetRemoteAddressInfoNV(std::ostream &out, con std::string GenerateStruct_VkPhysicalDeviceExternalMemoryRDMAFeaturesNV(std::ostream &out, const VkPhysicalDeviceExternalMemoryRDMAFeaturesNV* structInfo, Decoded_VkPhysicalDeviceExternalMemoryRDMAFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* externalMemoryRDMA */ +// externalMemoryRDMA struct_body << "\t\t\t" << structInfo->externalMemoryRDMA << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalMemoryRDMAFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceExternalMemoryRDMAFeaturesNV " << variable_name << " {" << std::endl; @@ -21746,27 +21746,27 @@ std::string GenerateStruct_VkFrameBoundaryEXT(std::ostream &out, const VkFrameBo ptag_array = "pTag_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << ptag_array << "[] = {" << ptag_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkFrameBoundaryFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* frameID */ +// frameID struct_body << "\t\t\t" << structInfo->frameID << "UL" << "," << std::endl; -/* imageCount */ +// imageCount struct_body << "\t\t\t" << structInfo->imageCount << "," << std::endl; -/* pImages */ +// pImages struct_body << "\t\t\t" << pimages_array << "," << std::endl; -/* bufferCount */ +// bufferCount struct_body << "\t\t\t" << structInfo->bufferCount << "," << std::endl; -/* pBuffers */ +// pBuffers struct_body << "\t\t\t" << pbuffers_array << "," << std::endl; -/* tagName */ +// tagName struct_body << "\t\t\t" << structInfo->tagName << "UL" << "," << std::endl; -/* tagSize */ +// tagSize struct_body << "\t\t\t" << structInfo->tagSize << "," << std::endl; -/* pTag */ +// pTag struct_body << "\t\t\t" << ptag_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "frameBoundaryEXT"); out << "\t\t" << "VkFrameBoundaryEXT " << variable_name << " {" << std::endl; @@ -21779,11 +21779,11 @@ std::string GenerateStruct_VkFrameBoundaryEXT(std::ostream &out, const VkFrameBo std::string GenerateStruct_VkPhysicalDeviceFrameBoundaryFeaturesEXT(std::ostream &out, const VkPhysicalDeviceFrameBoundaryFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceFrameBoundaryFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* frameBoundary */ +// frameBoundary struct_body << "\t\t\t" << structInfo->frameBoundary << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFrameBoundaryFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceFrameBoundaryFeaturesEXT " << variable_name << " {" << std::endl; @@ -21796,13 +21796,13 @@ std::string GenerateStruct_VkPhysicalDeviceFrameBoundaryFeaturesEXT(std::ostream std::string GenerateStruct_VkMultisampledRenderToSingleSampledInfoEXT(std::ostream &out, const VkMultisampledRenderToSingleSampledInfoEXT* structInfo, Decoded_VkMultisampledRenderToSingleSampledInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* multisampledRenderToSingleSampledEnable */ +// multisampledRenderToSingleSampledEnable struct_body << "\t\t\t" << structInfo->multisampledRenderToSingleSampledEnable << "," << std::endl; -/* rasterizationSamples */ +// rasterizationSamples struct_body << "\t\t\t" << "VkSampleCountFlagBits(" << structInfo->rasterizationSamples << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "multisampledRenderToSingleSampledInfoEXT"); out << "\t\t" << "VkMultisampledRenderToSingleSampledInfoEXT " << variable_name << " {" << std::endl; @@ -21815,11 +21815,11 @@ std::string GenerateStruct_VkMultisampledRenderToSingleSampledInfoEXT(std::ostre std::string GenerateStruct_VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT(std::ostream &out, const VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* multisampledRenderToSingleSampled */ +// multisampledRenderToSingleSampled struct_body << "\t\t\t" << structInfo->multisampledRenderToSingleSampled << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultisampledRenderToSingleSampledFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT " << variable_name << " {" << std::endl; @@ -21832,11 +21832,11 @@ std::string GenerateStruct_VkPhysicalDeviceMultisampledRenderToSingleSampledFeat std::string GenerateStruct_VkSubpassResolvePerformanceQueryEXT(std::ostream &out, const VkSubpassResolvePerformanceQueryEXT* structInfo, Decoded_VkSubpassResolvePerformanceQueryEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* optimal */ +// optimal struct_body << "\t\t\t" << structInfo->optimal << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassResolvePerformanceQueryEXT"); out << "\t\t" << "VkSubpassResolvePerformanceQueryEXT " << variable_name << " {" << std::endl; @@ -21849,15 +21849,15 @@ std::string GenerateStruct_VkSubpassResolvePerformanceQueryEXT(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(std::ostream &out, const VkPhysicalDeviceExtendedDynamicState2FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* extendedDynamicState2 */ +// extendedDynamicState2 struct_body << "\t\t\t" << structInfo->extendedDynamicState2 << "," << std::endl; -/* extendedDynamicState2LogicOp */ +// extendedDynamicState2LogicOp struct_body << "\t\t\t" << structInfo->extendedDynamicState2LogicOp << "," << std::endl; -/* extendedDynamicState2PatchControlPoints */ +// extendedDynamicState2PatchControlPoints struct_body << "\t\t\t" << structInfo->extendedDynamicState2PatchControlPoints << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExtendedDynamicState2FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceExtendedDynamicState2FeaturesEXT " << variable_name << " {" << std::endl; @@ -21870,15 +21870,15 @@ std::string GenerateStruct_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(std: std::string GenerateStruct_VkScreenSurfaceCreateInfoQNX(std::ostream &out, const VkScreenSurfaceCreateInfoQNX* structInfo, Decoded_VkScreenSurfaceCreateInfoQNX* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkScreenSurfaceCreateFlagsQNX(" << structInfo->flags << ")" << "," << std::endl; -/* context */ +// context struct_body << "\t\t\t" << structInfo->context << "," << std::endl; -/* window */ +// window struct_body << "\t\t\t" << structInfo->window << ","; std::string variable_name = consumer.AddStruct(struct_body, "screenSurfaceCreateInfoQNX"); out << "\t\t" << "VkScreenSurfaceCreateInfoQNX " << variable_name << " {" << std::endl; @@ -21891,11 +21891,11 @@ std::string GenerateStruct_VkScreenSurfaceCreateInfoQNX(std::ostream &out, const std::string GenerateStruct_VkPhysicalDeviceColorWriteEnableFeaturesEXT(std::ostream &out, const VkPhysicalDeviceColorWriteEnableFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceColorWriteEnableFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* colorWriteEnable */ +// colorWriteEnable struct_body << "\t\t\t" << structInfo->colorWriteEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceColorWriteEnableFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceColorWriteEnableFeaturesEXT " << variable_name << " {" << std::endl; @@ -21917,13 +21917,13 @@ std::string GenerateStruct_VkPipelineColorWriteCreateInfoEXT(std::ostream &out, pcolor_write_enables_array = "pColorWriteEnables_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkBool32 " << pcolor_write_enables_array << "[] = {" << pcolor_write_enables_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* attachmentCount */ +// attachmentCount struct_body << "\t\t\t" << structInfo->attachmentCount << "," << std::endl; -/* pColorWriteEnables */ +// pColorWriteEnables struct_body << "\t\t\t" << pcolor_write_enables_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineColorWriteCreateInfoEXT"); out << "\t\t" << "VkPipelineColorWriteCreateInfoEXT " << variable_name << " {" << std::endl; @@ -21936,15 +21936,15 @@ std::string GenerateStruct_VkPipelineColorWriteCreateInfoEXT(std::ostream &out, std::string GenerateStruct_VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT(std::ostream &out, const VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT* structInfo, Decoded_VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* primitivesGeneratedQuery */ +// primitivesGeneratedQuery struct_body << "\t\t\t" << structInfo->primitivesGeneratedQuery << "," << std::endl; -/* primitivesGeneratedQueryWithRasterizerDiscard */ +// primitivesGeneratedQueryWithRasterizerDiscard struct_body << "\t\t\t" << structInfo->primitivesGeneratedQueryWithRasterizerDiscard << "," << std::endl; -/* primitivesGeneratedQueryWithNonZeroStreams */ +// primitivesGeneratedQueryWithNonZeroStreams struct_body << "\t\t\t" << structInfo->primitivesGeneratedQueryWithNonZeroStreams << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePrimitivesGeneratedQueryFeaturesEXT"); out << "\t\t" << "VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT " << variable_name << " {" << std::endl; @@ -21957,11 +21957,11 @@ std::string GenerateStruct_VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT(s std::string GenerateStruct_VkImageViewMinLodCreateInfoEXT(std::ostream &out, const VkImageViewMinLodCreateInfoEXT* structInfo, Decoded_VkImageViewMinLodCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minLod */ +// minLod struct_body << "\t\t\t" << structInfo->minLod << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewMinLodCreateInfoEXT"); out << "\t\t" << "VkImageViewMinLodCreateInfoEXT " << variable_name << " {" << std::endl; @@ -21974,11 +21974,11 @@ std::string GenerateStruct_VkImageViewMinLodCreateInfoEXT(std::ostream &out, con std::string GenerateStruct_VkPhysicalDeviceImageViewMinLodFeaturesEXT(std::ostream &out, const VkPhysicalDeviceImageViewMinLodFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceImageViewMinLodFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* minLod */ +// minLod struct_body << "\t\t\t" << structInfo->minLod << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageViewMinLodFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceImageViewMinLodFeaturesEXT " << variable_name << " {" << std::endl; @@ -21990,11 +21990,11 @@ std::string GenerateStruct_VkPhysicalDeviceImageViewMinLodFeaturesEXT(std::ostre std::string GenerateStruct_VkMultiDrawIndexedInfoEXT(std::ostream &out, const VkMultiDrawIndexedInfoEXT* structInfo, Decoded_VkMultiDrawIndexedInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* firstIndex */ +// firstIndex struct_body << "\t" << structInfo->firstIndex << "," << std::endl; -/* indexCount */ +// indexCount struct_body << "\t\t\t" << structInfo->indexCount << "," << std::endl; -/* vertexOffset */ +// vertexOffset struct_body << "\t\t\t" << structInfo->vertexOffset << ","; std::string variable_name = consumer.AddStruct(struct_body, "multiDrawIndexedInfoEXT"); out << "\t\t" << "VkMultiDrawIndexedInfoEXT " << variable_name << " {" << std::endl; @@ -22006,9 +22006,9 @@ std::string GenerateStruct_VkMultiDrawIndexedInfoEXT(std::ostream &out, const Vk std::string GenerateStruct_VkMultiDrawInfoEXT(std::ostream &out, const VkMultiDrawInfoEXT* structInfo, Decoded_VkMultiDrawInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* firstVertex */ +// firstVertex struct_body << "\t" << structInfo->firstVertex << "," << std::endl; -/* vertexCount */ +// vertexCount struct_body << "\t\t\t" << structInfo->vertexCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "multiDrawInfoEXT"); out << "\t\t" << "VkMultiDrawInfoEXT " << variable_name << " {" << std::endl; @@ -22021,11 +22021,11 @@ std::string GenerateStruct_VkMultiDrawInfoEXT(std::ostream &out, const VkMultiDr std::string GenerateStruct_VkPhysicalDeviceMultiDrawFeaturesEXT(std::ostream &out, const VkPhysicalDeviceMultiDrawFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceMultiDrawFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* multiDraw */ +// multiDraw struct_body << "\t\t\t" << structInfo->multiDraw << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultiDrawFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceMultiDrawFeaturesEXT " << variable_name << " {" << std::endl; @@ -22038,11 +22038,11 @@ std::string GenerateStruct_VkPhysicalDeviceMultiDrawFeaturesEXT(std::ostream &ou std::string GenerateStruct_VkPhysicalDeviceMultiDrawPropertiesEXT(std::ostream &out, const VkPhysicalDeviceMultiDrawPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceMultiDrawPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxMultiDrawCount */ +// maxMultiDrawCount struct_body << "\t\t\t" << structInfo->maxMultiDrawCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultiDrawPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceMultiDrawPropertiesEXT " << variable_name << " {" << std::endl; @@ -22055,13 +22055,13 @@ std::string GenerateStruct_VkPhysicalDeviceMultiDrawPropertiesEXT(std::ostream & std::string GenerateStruct_VkPhysicalDeviceImage2DViewOf3DFeaturesEXT(std::ostream &out, const VkPhysicalDeviceImage2DViewOf3DFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceImage2DViewOf3DFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* image2DViewOf3D */ +// image2DViewOf3D struct_body << "\t\t\t" << structInfo->image2DViewOf3D << "," << std::endl; -/* sampler2DViewOf3D */ +// sampler2DViewOf3D struct_body << "\t\t\t" << structInfo->sampler2DViewOf3D << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImage2DViewOf3DFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceImage2DViewOf3DFeaturesEXT " << variable_name << " {" << std::endl; @@ -22074,15 +22074,15 @@ std::string GenerateStruct_VkPhysicalDeviceImage2DViewOf3DFeaturesEXT(std::ostre std::string GenerateStruct_VkPhysicalDeviceShaderTileImageFeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderTileImageFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderTileImageFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderTileImageColorReadAccess */ +// shaderTileImageColorReadAccess struct_body << "\t\t\t" << structInfo->shaderTileImageColorReadAccess << "," << std::endl; -/* shaderTileImageDepthReadAccess */ +// shaderTileImageDepthReadAccess struct_body << "\t\t\t" << structInfo->shaderTileImageDepthReadAccess << "," << std::endl; -/* shaderTileImageStencilReadAccess */ +// shaderTileImageStencilReadAccess struct_body << "\t\t\t" << structInfo->shaderTileImageStencilReadAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderTileImageFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderTileImageFeaturesEXT " << variable_name << " {" << std::endl; @@ -22095,15 +22095,15 @@ std::string GenerateStruct_VkPhysicalDeviceShaderTileImageFeaturesEXT(std::ostre std::string GenerateStruct_VkPhysicalDeviceShaderTileImagePropertiesEXT(std::ostream &out, const VkPhysicalDeviceShaderTileImagePropertiesEXT* structInfo, Decoded_VkPhysicalDeviceShaderTileImagePropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderTileImageCoherentReadAccelerated */ +// shaderTileImageCoherentReadAccelerated struct_body << "\t\t\t" << structInfo->shaderTileImageCoherentReadAccelerated << "," << std::endl; -/* shaderTileImageReadSampleFromPixelRateInvocation */ +// shaderTileImageReadSampleFromPixelRateInvocation struct_body << "\t\t\t" << structInfo->shaderTileImageReadSampleFromPixelRateInvocation << "," << std::endl; -/* shaderTileImageReadFromHelperInvocation */ +// shaderTileImageReadFromHelperInvocation struct_body << "\t\t\t" << structInfo->shaderTileImageReadFromHelperInvocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderTileImagePropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderTileImagePropertiesEXT " << variable_name << " {" << std::endl; @@ -22147,25 +22147,25 @@ std::string GenerateStruct_VkAccelerationStructureTrianglesOpacityMicromapEXT(st } } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* indexType */ +// indexType struct_body << "\t\t\t" << "VkIndexType(" << structInfo->indexType << ")" << "," << std::endl; -/* indexBuffer */ +// indexBuffer struct_body << "\t\t\t" << structInfo->indexBuffer.deviceAddress << "," << std::endl; -/* indexStride */ +// indexStride struct_body << "\t\t\t" << structInfo->indexStride << "UL" << "," << std::endl; -/* baseTriangle */ +// baseTriangle struct_body << "\t\t\t" << structInfo->baseTriangle << "," << std::endl; -/* usageCountsCount */ +// usageCountsCount struct_body << "\t\t\t" << structInfo->usageCountsCount << "," << std::endl; -/* pUsageCounts */ +// pUsageCounts struct_body << "\t\t\t" << pusage_counts_array << "," << std::endl; -/* ppUsageCounts */ +// ppUsageCounts struct_body << "\t\t\t" << pp_usage_counts_array << "," << std::endl; -/* micromap */ +// micromap struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->micromap) << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureTrianglesOpacityMicromapEXT"); out << "\t\t" << "VkAccelerationStructureTrianglesOpacityMicromapEXT " << variable_name << " {" << std::endl; @@ -22178,15 +22178,15 @@ std::string GenerateStruct_VkAccelerationStructureTrianglesOpacityMicromapEXT(st std::string GenerateStruct_VkCopyMemoryToMicromapInfoEXT(std::ostream &out, const VkCopyMemoryToMicromapInfoEXT* structInfo, Decoded_VkCopyMemoryToMicromapInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* src */ +// src struct_body << "\t\t\t" << structInfo->src.deviceAddress << "," << std::endl; -/* dst */ +// dst struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dst) << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkCopyMicromapModeEXT(" << structInfo->mode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyMemoryToMicromapInfoEXT"); out << "\t\t" << "VkCopyMemoryToMicromapInfoEXT " << variable_name << " {" << std::endl; @@ -22199,15 +22199,15 @@ std::string GenerateStruct_VkCopyMemoryToMicromapInfoEXT(std::ostream &out, cons std::string GenerateStruct_VkCopyMicromapInfoEXT(std::ostream &out, const VkCopyMicromapInfoEXT* structInfo, Decoded_VkCopyMicromapInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* src */ +// src struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->src) << "," << std::endl; -/* dst */ +// dst struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dst) << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkCopyMicromapModeEXT(" << structInfo->mode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyMicromapInfoEXT"); out << "\t\t" << "VkCopyMicromapInfoEXT " << variable_name << " {" << std::endl; @@ -22220,15 +22220,15 @@ std::string GenerateStruct_VkCopyMicromapInfoEXT(std::ostream &out, const VkCopy std::string GenerateStruct_VkCopyMicromapToMemoryInfoEXT(std::ostream &out, const VkCopyMicromapToMemoryInfoEXT* structInfo, Decoded_VkCopyMicromapToMemoryInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* src */ +// src struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->src) << "," << std::endl; -/* dst */ +// dst struct_body << "\t\t\t" << structInfo->dst.deviceAddress << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkCopyMicromapModeEXT(" << structInfo->mode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyMicromapToMemoryInfoEXT"); out << "\t\t" << "VkCopyMicromapToMemoryInfoEXT " << variable_name << " {" << std::endl; @@ -22272,31 +22272,31 @@ std::string GenerateStruct_VkMicromapBuildInfoEXT(std::ostream &out, const VkMic } } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkMicromapTypeEXT(" << structInfo->type << ")" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkBuildMicromapFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkBuildMicromapModeEXT(" << structInfo->mode << ")" << "," << std::endl; -/* dstMicromap */ +// dstMicromap struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstMicromap) << "," << std::endl; -/* usageCountsCount */ +// usageCountsCount struct_body << "\t\t\t" << structInfo->usageCountsCount << "," << std::endl; -/* pUsageCounts */ +// pUsageCounts struct_body << "\t\t\t" << pusage_counts_array << "," << std::endl; -/* ppUsageCounts */ +// ppUsageCounts struct_body << "\t\t\t" << pp_usage_counts_array << "," << std::endl; -/* data */ +// data struct_body << "\t\t\t" << structInfo->data.deviceAddress << "," << std::endl; -/* scratchData */ +// scratchData struct_body << "\t\t\t" << structInfo->scratchData.deviceAddress << "," << std::endl; -/* triangleArray */ +// triangleArray struct_body << "\t\t\t" << structInfo->triangleArray.deviceAddress << "," << std::endl; -/* triangleArrayStride */ +// triangleArrayStride struct_body << "\t\t\t" << structInfo->triangleArrayStride << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "micromapBuildInfoEXT"); out << "\t\t" << "VkMicromapBuildInfoEXT " << variable_name << " {" << std::endl; @@ -22309,15 +22309,15 @@ std::string GenerateStruct_VkMicromapBuildInfoEXT(std::ostream &out, const VkMic std::string GenerateStruct_VkMicromapBuildSizesInfoEXT(std::ostream &out, const VkMicromapBuildSizesInfoEXT* structInfo, Decoded_VkMicromapBuildSizesInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* micromapSize */ +// micromapSize struct_body << "\t\t\t" << structInfo->micromapSize << "UL" << "," << std::endl; -/* buildScratchSize */ +// buildScratchSize struct_body << "\t\t\t" << structInfo->buildScratchSize << "UL" << "," << std::endl; -/* discardable */ +// discardable struct_body << "\t\t\t" << structInfo->discardable << ","; std::string variable_name = consumer.AddStruct(struct_body, "micromapBuildSizesInfoEXT"); out << "\t\t" << "VkMicromapBuildSizesInfoEXT " << variable_name << " {" << std::endl; @@ -22330,21 +22330,21 @@ std::string GenerateStruct_VkMicromapBuildSizesInfoEXT(std::ostream &out, const std::string GenerateStruct_VkMicromapCreateInfoEXT(std::ostream &out, const VkMicromapCreateInfoEXT* structInfo, Decoded_VkMicromapCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* createFlags */ +// createFlags struct_body << "\t\t\t" << "VkMicromapCreateFlagsEXT(" << structInfo->createFlags << ")" << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkMicromapTypeEXT(" << structInfo->type << ")" << "," << std::endl; -/* deviceAddress */ +// deviceAddress struct_body << "\t\t\t" << structInfo->deviceAddress << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "micromapCreateInfoEXT"); out << "\t\t" << "VkMicromapCreateInfoEXT " << variable_name << " {" << std::endl; @@ -22356,11 +22356,11 @@ std::string GenerateStruct_VkMicromapCreateInfoEXT(std::ostream &out, const VkMi std::string GenerateStruct_VkMicromapTriangleEXT(std::ostream &out, const VkMicromapTriangleEXT* structInfo, Decoded_VkMicromapTriangleEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* dataOffset */ +// dataOffset struct_body << "\t" << structInfo->dataOffset << "," << std::endl; -/* subdivisionLevel */ +// subdivisionLevel struct_body << "\t\t\t" << structInfo->subdivisionLevel << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << structInfo->format << ","; std::string variable_name = consumer.AddStruct(struct_body, "micromapTriangleEXT"); out << "\t\t" << "VkMicromapTriangleEXT " << variable_name << " {" << std::endl; @@ -22372,11 +22372,11 @@ std::string GenerateStruct_VkMicromapTriangleEXT(std::ostream &out, const VkMicr std::string GenerateStruct_VkMicromapUsageEXT(std::ostream &out, const VkMicromapUsageEXT* structInfo, Decoded_VkMicromapUsageEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* count */ +// count struct_body << "\t" << structInfo->count << "," << std::endl; -/* subdivisionLevel */ +// subdivisionLevel struct_body << "\t\t\t" << structInfo->subdivisionLevel << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << structInfo->format << ","; std::string variable_name = consumer.AddStruct(struct_body, "micromapUsageEXT"); out << "\t\t" << "VkMicromapUsageEXT " << variable_name << " {" << std::endl; @@ -22396,11 +22396,11 @@ std::string GenerateStruct_VkMicromapVersionInfoEXT(std::ostream &out, const VkM } pversion_data_array = "pVersionData_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << pversion_data_array << "[] = {" << pversion_data_values << "};" << std::endl; -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pVersionData */ +// pVersionData struct_body << "\t\t\t" << pversion_data_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "micromapVersionInfoEXT"); out << "\t\t" << "VkMicromapVersionInfoEXT " << variable_name << " {" << std::endl; @@ -22413,15 +22413,15 @@ std::string GenerateStruct_VkMicromapVersionInfoEXT(std::ostream &out, const VkM std::string GenerateStruct_VkPhysicalDeviceOpacityMicromapFeaturesEXT(std::ostream &out, const VkPhysicalDeviceOpacityMicromapFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceOpacityMicromapFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* micromap */ +// micromap struct_body << "\t\t\t" << structInfo->micromap << "," << std::endl; -/* micromapCaptureReplay */ +// micromapCaptureReplay struct_body << "\t\t\t" << structInfo->micromapCaptureReplay << "," << std::endl; -/* micromapHostCommands */ +// micromapHostCommands struct_body << "\t\t\t" << structInfo->micromapHostCommands << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceOpacityMicromapFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceOpacityMicromapFeaturesEXT " << variable_name << " {" << std::endl; @@ -22434,13 +22434,13 @@ std::string GenerateStruct_VkPhysicalDeviceOpacityMicromapFeaturesEXT(std::ostre std::string GenerateStruct_VkPhysicalDeviceOpacityMicromapPropertiesEXT(std::ostream &out, const VkPhysicalDeviceOpacityMicromapPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceOpacityMicromapPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxOpacity2StateSubdivisionLevel */ +// maxOpacity2StateSubdivisionLevel struct_body << "\t\t\t" << structInfo->maxOpacity2StateSubdivisionLevel << "," << std::endl; -/* maxOpacity4StateSubdivisionLevel */ +// maxOpacity4StateSubdivisionLevel struct_body << "\t\t\t" << structInfo->maxOpacity4StateSubdivisionLevel << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceOpacityMicromapPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceOpacityMicromapPropertiesEXT " << variable_name << " {" << std::endl; @@ -22484,41 +22484,41 @@ std::string GenerateStruct_VkAccelerationStructureTrianglesDisplacementMicromapN } } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* displacementBiasAndScaleFormat */ +// displacementBiasAndScaleFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->displacementBiasAndScaleFormat << ")" << "," << std::endl; -/* displacementVectorFormat */ +// displacementVectorFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->displacementVectorFormat << ")" << "," << std::endl; -/* displacementBiasAndScaleBuffer */ +// displacementBiasAndScaleBuffer struct_body << "\t\t\t" << structInfo->displacementBiasAndScaleBuffer.deviceAddress << "," << std::endl; -/* displacementBiasAndScaleStride */ +// displacementBiasAndScaleStride struct_body << "\t\t\t" << structInfo->displacementBiasAndScaleStride << "UL" << "," << std::endl; -/* displacementVectorBuffer */ +// displacementVectorBuffer struct_body << "\t\t\t" << structInfo->displacementVectorBuffer.deviceAddress << "," << std::endl; -/* displacementVectorStride */ +// displacementVectorStride struct_body << "\t\t\t" << structInfo->displacementVectorStride << "UL" << "," << std::endl; -/* displacedMicromapPrimitiveFlags */ +// displacedMicromapPrimitiveFlags struct_body << "\t\t\t" << structInfo->displacedMicromapPrimitiveFlags.deviceAddress << "," << std::endl; -/* displacedMicromapPrimitiveFlagsStride */ +// displacedMicromapPrimitiveFlagsStride struct_body << "\t\t\t" << structInfo->displacedMicromapPrimitiveFlagsStride << "UL" << "," << std::endl; -/* indexType */ +// indexType struct_body << "\t\t\t" << "VkIndexType(" << structInfo->indexType << ")" << "," << std::endl; -/* indexBuffer */ +// indexBuffer struct_body << "\t\t\t" << structInfo->indexBuffer.deviceAddress << "," << std::endl; -/* indexStride */ +// indexStride struct_body << "\t\t\t" << structInfo->indexStride << "UL" << "," << std::endl; -/* baseTriangle */ +// baseTriangle struct_body << "\t\t\t" << structInfo->baseTriangle << "," << std::endl; -/* usageCountsCount */ +// usageCountsCount struct_body << "\t\t\t" << structInfo->usageCountsCount << "," << std::endl; -/* pUsageCounts */ +// pUsageCounts struct_body << "\t\t\t" << pusage_counts_array << "," << std::endl; -/* ppUsageCounts */ +// ppUsageCounts struct_body << "\t\t\t" << pp_usage_counts_array << "," << std::endl; -/* micromap */ +// micromap struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->micromap) << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureTrianglesDisplacementMicromapNV"); out << "\t\t" << "VkAccelerationStructureTrianglesDisplacementMicromapNV " << variable_name << " {" << std::endl; @@ -22531,11 +22531,11 @@ std::string GenerateStruct_VkAccelerationStructureTrianglesDisplacementMicromapN std::string GenerateStruct_VkPhysicalDeviceDisplacementMicromapFeaturesNV(std::ostream &out, const VkPhysicalDeviceDisplacementMicromapFeaturesNV* structInfo, Decoded_VkPhysicalDeviceDisplacementMicromapFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* displacementMicromap */ +// displacementMicromap struct_body << "\t\t\t" << structInfo->displacementMicromap << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDisplacementMicromapFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceDisplacementMicromapFeaturesNV " << variable_name << " {" << std::endl; @@ -22548,11 +22548,11 @@ std::string GenerateStruct_VkPhysicalDeviceDisplacementMicromapFeaturesNV(std::o std::string GenerateStruct_VkPhysicalDeviceDisplacementMicromapPropertiesNV(std::ostream &out, const VkPhysicalDeviceDisplacementMicromapPropertiesNV* structInfo, Decoded_VkPhysicalDeviceDisplacementMicromapPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxDisplacementMicromapSubdivisionLevel */ +// maxDisplacementMicromapSubdivisionLevel struct_body << "\t\t\t" << structInfo->maxDisplacementMicromapSubdivisionLevel << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDisplacementMicromapPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceDisplacementMicromapPropertiesNV " << variable_name << " {" << std::endl; @@ -22565,13 +22565,13 @@ std::string GenerateStruct_VkPhysicalDeviceDisplacementMicromapPropertiesNV(std: std::string GenerateStruct_VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI(std::ostream &out, const VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI* structInfo, Decoded_VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* clustercullingShader */ +// clustercullingShader struct_body << "\t\t\t" << structInfo->clustercullingShader << "," << std::endl; -/* multiviewClusterCullingShader */ +// multiviewClusterCullingShader struct_body << "\t\t\t" << structInfo->multiviewClusterCullingShader << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceClusterCullingShaderFeaturesHUAWEI"); out << "\t\t" << "VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI " << variable_name << " {" << std::endl; @@ -22584,17 +22584,17 @@ std::string GenerateStruct_VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI(st std::string GenerateStruct_VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI(std::ostream &out, const VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI* structInfo, Decoded_VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxWorkGroupCount */ +// maxWorkGroupCount struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxWorkGroupCount[0]), 3) << "," << std::endl; -/* maxWorkGroupSize */ +// maxWorkGroupSize struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxWorkGroupSize[0]), 3) << "," << std::endl; -/* maxOutputClusterCount */ +// maxOutputClusterCount struct_body << "\t\t\t" << structInfo->maxOutputClusterCount << "," << std::endl; -/* indirectBufferOffsetAlignment */ +// indirectBufferOffsetAlignment struct_body << "\t\t\t" << structInfo->indirectBufferOffsetAlignment << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceClusterCullingShaderPropertiesHUAWEI"); out << "\t\t" << "VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI " << variable_name << " {" << std::endl; @@ -22607,13 +22607,13 @@ std::string GenerateStruct_VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI( std::string GenerateStruct_VkPhysicalDeviceBorderColorSwizzleFeaturesEXT(std::ostream &out, const VkPhysicalDeviceBorderColorSwizzleFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceBorderColorSwizzleFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* borderColorSwizzle */ +// borderColorSwizzle struct_body << "\t\t\t" << structInfo->borderColorSwizzle << "," << std::endl; -/* borderColorSwizzleFromImage */ +// borderColorSwizzleFromImage struct_body << "\t\t\t" << structInfo->borderColorSwizzleFromImage << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceBorderColorSwizzleFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceBorderColorSwizzleFeaturesEXT " << variable_name << " {" << std::endl; @@ -22630,13 +22630,13 @@ std::string GenerateStruct_VkSamplerBorderColorComponentMappingCreateInfoEXT(std &structInfo->components, metaInfo->components, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* components */ +// components struct_body << "\t\t\t" << components_info_var << "," << std::endl; -/* srgb */ +// srgb struct_body << "\t\t\t" << structInfo->srgb << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerBorderColorComponentMappingCreateInfoEXT"); out << "\t\t" << "VkSamplerBorderColorComponentMappingCreateInfoEXT " << variable_name << " {" << std::endl; @@ -22649,11 +22649,11 @@ std::string GenerateStruct_VkSamplerBorderColorComponentMappingCreateInfoEXT(std std::string GenerateStruct_VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT(std::ostream &out, const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT* structInfo, Decoded_VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pageableDeviceLocalMemory */ +// pageableDeviceLocalMemory struct_body << "\t\t\t" << structInfo->pageableDeviceLocalMemory << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePageableDeviceLocalMemoryFeaturesEXT"); out << "\t\t" << "VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT " << variable_name << " {" << std::endl; @@ -22666,15 +22666,15 @@ std::string GenerateStruct_VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT( std::string GenerateStruct_VkPhysicalDeviceShaderCorePropertiesARM(std::ostream &out, const VkPhysicalDeviceShaderCorePropertiesARM* structInfo, Decoded_VkPhysicalDeviceShaderCorePropertiesARM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pixelRate */ +// pixelRate struct_body << "\t\t\t" << structInfo->pixelRate << "," << std::endl; -/* texelRate */ +// texelRate struct_body << "\t\t\t" << structInfo->texelRate << "," << std::endl; -/* fmaRate */ +// fmaRate struct_body << "\t\t\t" << structInfo->fmaRate << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderCorePropertiesARM"); out << "\t\t" << "VkPhysicalDeviceShaderCorePropertiesARM " << variable_name << " {" << std::endl; @@ -22687,13 +22687,13 @@ std::string GenerateStruct_VkPhysicalDeviceShaderCorePropertiesARM(std::ostream std::string GenerateStruct_VkImageViewSlicedCreateInfoEXT(std::ostream &out, const VkImageViewSlicedCreateInfoEXT* structInfo, Decoded_VkImageViewSlicedCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* sliceOffset */ +// sliceOffset struct_body << "\t\t\t" << structInfo->sliceOffset << "," << std::endl; -/* sliceCount */ +// sliceCount struct_body << "\t\t\t" << structInfo->sliceCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewSlicedCreateInfoEXT"); out << "\t\t" << "VkImageViewSlicedCreateInfoEXT " << variable_name << " {" << std::endl; @@ -22706,11 +22706,11 @@ std::string GenerateStruct_VkImageViewSlicedCreateInfoEXT(std::ostream &out, con std::string GenerateStruct_VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT(std::ostream &out, const VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageSlicedViewOf3D */ +// imageSlicedViewOf3D struct_body << "\t\t\t" << structInfo->imageSlicedViewOf3D << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageSlicedViewOf3DFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT " << variable_name << " {" << std::endl; @@ -22723,13 +22723,13 @@ std::string GenerateStruct_VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT(std::o std::string GenerateStruct_VkDescriptorSetBindingReferenceVALVE(std::ostream &out, const VkDescriptorSetBindingReferenceVALVE* structInfo, Decoded_VkDescriptorSetBindingReferenceVALVE* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* descriptorSetLayout */ +// descriptorSetLayout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->descriptorSetLayout) << "," << std::endl; -/* binding */ +// binding struct_body << "\t\t\t" << structInfo->binding << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetBindingReferenceVALVE"); out << "\t\t" << "VkDescriptorSetBindingReferenceVALVE " << variable_name << " {" << std::endl; @@ -22742,13 +22742,13 @@ std::string GenerateStruct_VkDescriptorSetBindingReferenceVALVE(std::ostream &ou std::string GenerateStruct_VkDescriptorSetLayoutHostMappingInfoVALVE(std::ostream &out, const VkDescriptorSetLayoutHostMappingInfoVALVE* structInfo, Decoded_VkDescriptorSetLayoutHostMappingInfoVALVE* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* descriptorOffset */ +// descriptorOffset struct_body << "\t\t\t" << structInfo->descriptorOffset << "," << std::endl; -/* descriptorSize */ +// descriptorSize struct_body << "\t\t\t" << structInfo->descriptorSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "descriptorSetLayoutHostMappingInfoVALVE"); out << "\t\t" << "VkDescriptorSetLayoutHostMappingInfoVALVE " << variable_name << " {" << std::endl; @@ -22761,11 +22761,11 @@ std::string GenerateStruct_VkDescriptorSetLayoutHostMappingInfoVALVE(std::ostrea std::string GenerateStruct_VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE(std::ostream &out, const VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE* structInfo, Decoded_VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* descriptorSetHostMapping */ +// descriptorSetHostMapping struct_body << "\t\t\t" << structInfo->descriptorSetHostMapping << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDescriptorSetHostMappingFeaturesVALVE"); out << "\t\t" << "VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE " << variable_name << " {" << std::endl; @@ -22778,11 +22778,11 @@ std::string GenerateStruct_VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE std::string GenerateStruct_VkPhysicalDeviceDepthClampZeroOneFeaturesEXT(std::ostream &out, const VkPhysicalDeviceDepthClampZeroOneFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceDepthClampZeroOneFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* depthClampZeroOne */ +// depthClampZeroOne struct_body << "\t\t\t" << structInfo->depthClampZeroOne << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDepthClampZeroOneFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceDepthClampZeroOneFeaturesEXT " << variable_name << " {" << std::endl; @@ -22795,11 +22795,11 @@ std::string GenerateStruct_VkPhysicalDeviceDepthClampZeroOneFeaturesEXT(std::ost std::string GenerateStruct_VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT(std::ostream &out, const VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* nonSeamlessCubeMap */ +// nonSeamlessCubeMap struct_body << "\t\t\t" << structInfo->nonSeamlessCubeMap << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceNonSeamlessCubeMapFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT " << variable_name << " {" << std::endl; @@ -22812,11 +22812,11 @@ std::string GenerateStruct_VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT(std::os std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentDensityMapOffset */ +// fragmentDensityMapOffset struct_body << "\t\t\t" << structInfo->fragmentDensityMapOffset << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentDensityMapOffsetFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM " << variable_name << " {" << std::endl; @@ -22833,11 +22833,11 @@ std::string GenerateStruct_VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCO &structInfo->fragmentDensityOffsetGranularity, metaInfo->fragmentDensityOffsetGranularity, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentDensityOffsetGranularity */ +// fragmentDensityOffsetGranularity struct_body << "\t\t\t" << fragment_density_offset_granularity_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceFragmentDensityMapOffsetPropertiesQCOM"); out << "\t\t" << "VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM " << variable_name << " {" << std::endl; @@ -22866,13 +22866,13 @@ std::string GenerateStruct_VkSubpassFragmentDensityMapOffsetEndInfoQCOM(std::ost } out << "\t\t" << "VkOffset2D " << pfragment_density_offsets_array << "[] = {" << pfragment_density_offsets_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* fragmentDensityOffsetCount */ +// fragmentDensityOffsetCount struct_body << "\t\t\t" << structInfo->fragmentDensityOffsetCount << "," << std::endl; -/* pFragmentDensityOffsets */ +// pFragmentDensityOffsets struct_body << "\t\t\t" << pfragment_density_offsets_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "subpassFragmentDensityMapOffsetEndInfoQCOM"); out << "\t\t" << "VkSubpassFragmentDensityMapOffsetEndInfoQCOM " << variable_name << " {" << std::endl; @@ -22884,7 +22884,7 @@ std::string GenerateStruct_VkSubpassFragmentDensityMapOffsetEndInfoQCOM(std::ost std::string GenerateStruct_VkBindPipelineIndirectCommandNV(std::ostream &out, const VkBindPipelineIndirectCommandNV* structInfo, Decoded_VkBindPipelineIndirectCommandNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* pipelineAddress */ +// pipelineAddress struct_body << "\t" << structInfo->pipelineAddress << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "bindPipelineIndirectCommandNV"); out << "\t\t" << "VkBindPipelineIndirectCommandNV " << variable_name << " {" << std::endl; @@ -22897,15 +22897,15 @@ std::string GenerateStruct_VkBindPipelineIndirectCommandNV(std::ostream &out, co std::string GenerateStruct_VkComputePipelineIndirectBufferInfoNV(std::ostream &out, const VkComputePipelineIndirectBufferInfoNV* structInfo, Decoded_VkComputePipelineIndirectBufferInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceAddress */ +// deviceAddress struct_body << "\t\t\t" << structInfo->deviceAddress << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* pipelineDeviceAddressCaptureReplay */ +// pipelineDeviceAddressCaptureReplay struct_body << "\t\t\t" << structInfo->pipelineDeviceAddressCaptureReplay << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "computePipelineIndirectBufferInfoNV"); out << "\t\t" << "VkComputePipelineIndirectBufferInfoNV " << variable_name << " {" << std::endl; @@ -22918,15 +22918,15 @@ std::string GenerateStruct_VkComputePipelineIndirectBufferInfoNV(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV(std::ostream &out, const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV* structInfo, Decoded_VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* deviceGeneratedCompute */ +// deviceGeneratedCompute struct_body << "\t\t\t" << structInfo->deviceGeneratedCompute << "," << std::endl; -/* deviceGeneratedComputePipelines */ +// deviceGeneratedComputePipelines struct_body << "\t\t\t" << structInfo->deviceGeneratedComputePipelines << "," << std::endl; -/* deviceGeneratedComputeCaptureReplay */ +// deviceGeneratedComputeCaptureReplay struct_body << "\t\t\t" << structInfo->deviceGeneratedComputeCaptureReplay << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDeviceGeneratedCommandsComputeFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV " << variable_name << " {" << std::endl; @@ -22939,13 +22939,13 @@ std::string GenerateStruct_VkPhysicalDeviceDeviceGeneratedCommandsComputeFeature std::string GenerateStruct_VkPipelineIndirectDeviceAddressInfoNV(std::ostream &out, const VkPipelineIndirectDeviceAddressInfoNV* structInfo, Decoded_VkPipelineIndirectDeviceAddressInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineBindPoint */ +// pipelineBindPoint struct_body << "\t\t\t" << "VkPipelineBindPoint(" << structInfo->pipelineBindPoint << ")" << "," << std::endl; -/* pipeline */ +// pipeline struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->pipeline) << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineIndirectDeviceAddressInfoNV"); out << "\t\t" << "VkPipelineIndirectDeviceAddressInfoNV " << variable_name << " {" << std::endl; @@ -22958,11 +22958,11 @@ std::string GenerateStruct_VkPipelineIndirectDeviceAddressInfoNV(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceLinearColorAttachmentFeaturesNV(std::ostream &out, const VkPhysicalDeviceLinearColorAttachmentFeaturesNV* structInfo, Decoded_VkPhysicalDeviceLinearColorAttachmentFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* linearColorAttachment */ +// linearColorAttachment struct_body << "\t\t\t" << structInfo->linearColorAttachment << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLinearColorAttachmentFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceLinearColorAttachmentFeaturesNV " << variable_name << " {" << std::endl; @@ -22975,11 +22975,11 @@ std::string GenerateStruct_VkPhysicalDeviceLinearColorAttachmentFeaturesNV(std:: std::string GenerateStruct_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT(std::ostream &out, const VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* imageCompressionControlSwapchain */ +// imageCompressionControlSwapchain struct_body << "\t\t\t" << structInfo->imageCompressionControlSwapchain << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageCompressionControlSwapchainFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT " << variable_name << " {" << std::endl; @@ -23000,15 +23000,15 @@ std::string GenerateStruct_VkImageViewSampleWeightCreateInfoQCOM(std::ostream &o &structInfo->filterSize, metaInfo->filterSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* filterCenter */ +// filterCenter struct_body << "\t\t\t" << filter_center_info_var << "," << std::endl; -/* filterSize */ +// filterSize struct_body << "\t\t\t" << filter_size_info_var << "," << std::endl; -/* numPhases */ +// numPhases struct_body << "\t\t\t" << structInfo->numPhases << ","; std::string variable_name = consumer.AddStruct(struct_body, "imageViewSampleWeightCreateInfoQCOM"); out << "\t\t" << "VkImageViewSampleWeightCreateInfoQCOM " << variable_name << " {" << std::endl; @@ -23021,15 +23021,15 @@ std::string GenerateStruct_VkImageViewSampleWeightCreateInfoQCOM(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceImageProcessingFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceImageProcessingFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceImageProcessingFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* textureSampleWeighted */ +// textureSampleWeighted struct_body << "\t\t\t" << structInfo->textureSampleWeighted << "," << std::endl; -/* textureBoxFilter */ +// textureBoxFilter struct_body << "\t\t\t" << structInfo->textureBoxFilter << "," << std::endl; -/* textureBlockMatch */ +// textureBlockMatch struct_body << "\t\t\t" << structInfo->textureBlockMatch << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageProcessingFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceImageProcessingFeaturesQCOM " << variable_name << " {" << std::endl; @@ -23054,17 +23054,17 @@ std::string GenerateStruct_VkPhysicalDeviceImageProcessingPropertiesQCOM(std::os &structInfo->maxBoxFilterBlockSize, metaInfo->maxBoxFilterBlockSize, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxWeightFilterPhases */ +// maxWeightFilterPhases struct_body << "\t\t\t" << structInfo->maxWeightFilterPhases << "," << std::endl; -/* maxWeightFilterDimension */ +// maxWeightFilterDimension struct_body << "\t\t\t" << max_weight_filter_dimension_info_var << "," << std::endl; -/* maxBlockMatchRegion */ +// maxBlockMatchRegion struct_body << "\t\t\t" << max_block_match_region_info_var << "," << std::endl; -/* maxBoxFilterBlockSize */ +// maxBoxFilterBlockSize struct_body << "\t\t\t" << max_box_filter_block_size_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageProcessingPropertiesQCOM"); out << "\t\t" << "VkPhysicalDeviceImageProcessingPropertiesQCOM " << variable_name << " {" << std::endl; @@ -23077,15 +23077,15 @@ std::string GenerateStruct_VkPhysicalDeviceImageProcessingPropertiesQCOM(std::os std::string GenerateStruct_VkPhysicalDeviceNestedCommandBufferFeaturesEXT(std::ostream &out, const VkPhysicalDeviceNestedCommandBufferFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceNestedCommandBufferFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* nestedCommandBuffer */ +// nestedCommandBuffer struct_body << "\t\t\t" << structInfo->nestedCommandBuffer << "," << std::endl; -/* nestedCommandBufferRendering */ +// nestedCommandBufferRendering struct_body << "\t\t\t" << structInfo->nestedCommandBufferRendering << "," << std::endl; -/* nestedCommandBufferSimultaneousUse */ +// nestedCommandBufferSimultaneousUse struct_body << "\t\t\t" << structInfo->nestedCommandBufferSimultaneousUse << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceNestedCommandBufferFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceNestedCommandBufferFeaturesEXT " << variable_name << " {" << std::endl; @@ -23098,11 +23098,11 @@ std::string GenerateStruct_VkPhysicalDeviceNestedCommandBufferFeaturesEXT(std::o std::string GenerateStruct_VkPhysicalDeviceNestedCommandBufferPropertiesEXT(std::ostream &out, const VkPhysicalDeviceNestedCommandBufferPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceNestedCommandBufferPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxCommandBufferNestingLevel */ +// maxCommandBufferNestingLevel struct_body << "\t\t\t" << structInfo->maxCommandBufferNestingLevel << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceNestedCommandBufferPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceNestedCommandBufferPropertiesEXT " << variable_name << " {" << std::endl; @@ -23115,11 +23115,11 @@ std::string GenerateStruct_VkPhysicalDeviceNestedCommandBufferPropertiesEXT(std: std::string GenerateStruct_VkExternalMemoryAcquireUnmodifiedEXT(std::ostream &out, const VkExternalMemoryAcquireUnmodifiedEXT* structInfo, Decoded_VkExternalMemoryAcquireUnmodifiedEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* acquireUnmodifiedMemory */ +// acquireUnmodifiedMemory struct_body << "\t\t\t" << structInfo->acquireUnmodifiedMemory << ","; std::string variable_name = consumer.AddStruct(struct_body, "externalMemoryAcquireUnmodifiedEXT"); out << "\t\t" << "VkExternalMemoryAcquireUnmodifiedEXT " << variable_name << " {" << std::endl; @@ -23131,15 +23131,15 @@ std::string GenerateStruct_VkExternalMemoryAcquireUnmodifiedEXT(std::ostream &ou std::string GenerateStruct_VkColorBlendAdvancedEXT(std::ostream &out, const VkColorBlendAdvancedEXT* structInfo, Decoded_VkColorBlendAdvancedEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* advancedBlendOp */ +// advancedBlendOp struct_body << "\t" << "VkBlendOp(" << structInfo->advancedBlendOp << ")" << "," << std::endl; -/* srcPremultiplied */ +// srcPremultiplied struct_body << "\t\t\t" << structInfo->srcPremultiplied << "," << std::endl; -/* dstPremultiplied */ +// dstPremultiplied struct_body << "\t\t\t" << structInfo->dstPremultiplied << "," << std::endl; -/* blendOverlap */ +// blendOverlap struct_body << "\t\t\t" << "VkBlendOverlapEXT(" << structInfo->blendOverlap << ")" << "," << std::endl; -/* clampResults */ +// clampResults struct_body << "\t\t\t" << structInfo->clampResults << ","; std::string variable_name = consumer.AddStruct(struct_body, "colorBlendAdvancedEXT"); out << "\t\t" << "VkColorBlendAdvancedEXT " << variable_name << " {" << std::endl; @@ -23151,17 +23151,17 @@ std::string GenerateStruct_VkColorBlendAdvancedEXT(std::ostream &out, const VkCo std::string GenerateStruct_VkColorBlendEquationEXT(std::ostream &out, const VkColorBlendEquationEXT* structInfo, Decoded_VkColorBlendEquationEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* srcColorBlendFactor */ +// srcColorBlendFactor struct_body << "\t" << "VkBlendFactor(" << structInfo->srcColorBlendFactor << ")" << "," << std::endl; -/* dstColorBlendFactor */ +// dstColorBlendFactor struct_body << "\t\t\t" << "VkBlendFactor(" << structInfo->dstColorBlendFactor << ")" << "," << std::endl; -/* colorBlendOp */ +// colorBlendOp struct_body << "\t\t\t" << "VkBlendOp(" << structInfo->colorBlendOp << ")" << "," << std::endl; -/* srcAlphaBlendFactor */ +// srcAlphaBlendFactor struct_body << "\t\t\t" << "VkBlendFactor(" << structInfo->srcAlphaBlendFactor << ")" << "," << std::endl; -/* dstAlphaBlendFactor */ +// dstAlphaBlendFactor struct_body << "\t\t\t" << "VkBlendFactor(" << structInfo->dstAlphaBlendFactor << ")" << "," << std::endl; -/* alphaBlendOp */ +// alphaBlendOp struct_body << "\t\t\t" << "VkBlendOp(" << structInfo->alphaBlendOp << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "colorBlendEquationEXT"); out << "\t\t" << "VkColorBlendEquationEXT " << variable_name << " {" << std::endl; @@ -23174,71 +23174,71 @@ std::string GenerateStruct_VkColorBlendEquationEXT(std::ostream &out, const VkCo std::string GenerateStruct_VkPhysicalDeviceExtendedDynamicState3FeaturesEXT(std::ostream &out, const VkPhysicalDeviceExtendedDynamicState3FeaturesEXT* structInfo, Decoded_VkPhysicalDeviceExtendedDynamicState3FeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* extendedDynamicState3TessellationDomainOrigin */ +// extendedDynamicState3TessellationDomainOrigin struct_body << "\t\t\t" << structInfo->extendedDynamicState3TessellationDomainOrigin << "," << std::endl; -/* extendedDynamicState3DepthClampEnable */ +// extendedDynamicState3DepthClampEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3DepthClampEnable << "," << std::endl; -/* extendedDynamicState3PolygonMode */ +// extendedDynamicState3PolygonMode struct_body << "\t\t\t" << structInfo->extendedDynamicState3PolygonMode << "," << std::endl; -/* extendedDynamicState3RasterizationSamples */ +// extendedDynamicState3RasterizationSamples struct_body << "\t\t\t" << structInfo->extendedDynamicState3RasterizationSamples << "," << std::endl; -/* extendedDynamicState3SampleMask */ +// extendedDynamicState3SampleMask struct_body << "\t\t\t" << structInfo->extendedDynamicState3SampleMask << "," << std::endl; -/* extendedDynamicState3AlphaToCoverageEnable */ +// extendedDynamicState3AlphaToCoverageEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3AlphaToCoverageEnable << "," << std::endl; -/* extendedDynamicState3AlphaToOneEnable */ +// extendedDynamicState3AlphaToOneEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3AlphaToOneEnable << "," << std::endl; -/* extendedDynamicState3LogicOpEnable */ +// extendedDynamicState3LogicOpEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3LogicOpEnable << "," << std::endl; -/* extendedDynamicState3ColorBlendEnable */ +// extendedDynamicState3ColorBlendEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3ColorBlendEnable << "," << std::endl; -/* extendedDynamicState3ColorBlendEquation */ +// extendedDynamicState3ColorBlendEquation struct_body << "\t\t\t" << structInfo->extendedDynamicState3ColorBlendEquation << "," << std::endl; -/* extendedDynamicState3ColorWriteMask */ +// extendedDynamicState3ColorWriteMask struct_body << "\t\t\t" << structInfo->extendedDynamicState3ColorWriteMask << "," << std::endl; -/* extendedDynamicState3RasterizationStream */ +// extendedDynamicState3RasterizationStream struct_body << "\t\t\t" << structInfo->extendedDynamicState3RasterizationStream << "," << std::endl; -/* extendedDynamicState3ConservativeRasterizationMode */ +// extendedDynamicState3ConservativeRasterizationMode struct_body << "\t\t\t" << structInfo->extendedDynamicState3ConservativeRasterizationMode << "," << std::endl; -/* extendedDynamicState3ExtraPrimitiveOverestimationSize */ +// extendedDynamicState3ExtraPrimitiveOverestimationSize struct_body << "\t\t\t" << structInfo->extendedDynamicState3ExtraPrimitiveOverestimationSize << "," << std::endl; -/* extendedDynamicState3DepthClipEnable */ +// extendedDynamicState3DepthClipEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3DepthClipEnable << "," << std::endl; -/* extendedDynamicState3SampleLocationsEnable */ +// extendedDynamicState3SampleLocationsEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3SampleLocationsEnable << "," << std::endl; -/* extendedDynamicState3ColorBlendAdvanced */ +// extendedDynamicState3ColorBlendAdvanced struct_body << "\t\t\t" << structInfo->extendedDynamicState3ColorBlendAdvanced << "," << std::endl; -/* extendedDynamicState3ProvokingVertexMode */ +// extendedDynamicState3ProvokingVertexMode struct_body << "\t\t\t" << structInfo->extendedDynamicState3ProvokingVertexMode << "," << std::endl; -/* extendedDynamicState3LineRasterizationMode */ +// extendedDynamicState3LineRasterizationMode struct_body << "\t\t\t" << structInfo->extendedDynamicState3LineRasterizationMode << "," << std::endl; -/* extendedDynamicState3LineStippleEnable */ +// extendedDynamicState3LineStippleEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3LineStippleEnable << "," << std::endl; -/* extendedDynamicState3DepthClipNegativeOneToOne */ +// extendedDynamicState3DepthClipNegativeOneToOne struct_body << "\t\t\t" << structInfo->extendedDynamicState3DepthClipNegativeOneToOne << "," << std::endl; -/* extendedDynamicState3ViewportWScalingEnable */ +// extendedDynamicState3ViewportWScalingEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3ViewportWScalingEnable << "," << std::endl; -/* extendedDynamicState3ViewportSwizzle */ +// extendedDynamicState3ViewportSwizzle struct_body << "\t\t\t" << structInfo->extendedDynamicState3ViewportSwizzle << "," << std::endl; -/* extendedDynamicState3CoverageToColorEnable */ +// extendedDynamicState3CoverageToColorEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3CoverageToColorEnable << "," << std::endl; -/* extendedDynamicState3CoverageToColorLocation */ +// extendedDynamicState3CoverageToColorLocation struct_body << "\t\t\t" << structInfo->extendedDynamicState3CoverageToColorLocation << "," << std::endl; -/* extendedDynamicState3CoverageModulationMode */ +// extendedDynamicState3CoverageModulationMode struct_body << "\t\t\t" << structInfo->extendedDynamicState3CoverageModulationMode << "," << std::endl; -/* extendedDynamicState3CoverageModulationTableEnable */ +// extendedDynamicState3CoverageModulationTableEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3CoverageModulationTableEnable << "," << std::endl; -/* extendedDynamicState3CoverageModulationTable */ +// extendedDynamicState3CoverageModulationTable struct_body << "\t\t\t" << structInfo->extendedDynamicState3CoverageModulationTable << "," << std::endl; -/* extendedDynamicState3CoverageReductionMode */ +// extendedDynamicState3CoverageReductionMode struct_body << "\t\t\t" << structInfo->extendedDynamicState3CoverageReductionMode << "," << std::endl; -/* extendedDynamicState3RepresentativeFragmentTestEnable */ +// extendedDynamicState3RepresentativeFragmentTestEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3RepresentativeFragmentTestEnable << "," << std::endl; -/* extendedDynamicState3ShadingRateImageEnable */ +// extendedDynamicState3ShadingRateImageEnable struct_body << "\t\t\t" << structInfo->extendedDynamicState3ShadingRateImageEnable << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExtendedDynamicState3FeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceExtendedDynamicState3FeaturesEXT " << variable_name << " {" << std::endl; @@ -23251,11 +23251,11 @@ std::string GenerateStruct_VkPhysicalDeviceExtendedDynamicState3FeaturesEXT(std: std::string GenerateStruct_VkPhysicalDeviceExtendedDynamicState3PropertiesEXT(std::ostream &out, const VkPhysicalDeviceExtendedDynamicState3PropertiesEXT* structInfo, Decoded_VkPhysicalDeviceExtendedDynamicState3PropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dynamicPrimitiveTopologyUnrestricted */ +// dynamicPrimitiveTopologyUnrestricted struct_body << "\t\t\t" << structInfo->dynamicPrimitiveTopologyUnrestricted << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExtendedDynamicState3PropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceExtendedDynamicState3PropertiesEXT " << variable_name << " {" << std::endl; @@ -23268,11 +23268,11 @@ std::string GenerateStruct_VkPhysicalDeviceExtendedDynamicState3PropertiesEXT(st std::string GenerateStruct_VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT(std::ostream &out, const VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* subpassMergeFeedback */ +// subpassMergeFeedback struct_body << "\t\t\t" << structInfo->subpassMergeFeedback << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceSubpassMergeFeedbackFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT " << variable_name << " {" << std::endl; @@ -23285,11 +23285,11 @@ std::string GenerateStruct_VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT(std:: std::string GenerateStruct_VkRenderPassCreationControlEXT(std::ostream &out, const VkRenderPassCreationControlEXT* structInfo, Decoded_VkRenderPassCreationControlEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* disallowMerging */ +// disallowMerging struct_body << "\t\t\t" << structInfo->disallowMerging << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassCreationControlEXT"); out << "\t\t" << "VkRenderPassCreationControlEXT " << variable_name << " {" << std::endl; @@ -23302,11 +23302,11 @@ std::string GenerateStruct_VkRenderPassCreationControlEXT(std::ostream &out, con std::string GenerateStruct_VkRenderPassCreationFeedbackCreateInfoEXT(std::ostream &out, const VkRenderPassCreationFeedbackCreateInfoEXT* structInfo, Decoded_VkRenderPassCreationFeedbackCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pRenderPassFeedback */ +// pRenderPassFeedback out << "\t\t" << "// TODO: Support pRenderPassFeedback (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "renderPassCreationFeedbackCreateInfoEXT"); out << "\t\t" << "VkRenderPassCreationFeedbackCreateInfoEXT " << variable_name << " {" << std::endl; @@ -23318,7 +23318,7 @@ std::string GenerateStruct_VkRenderPassCreationFeedbackCreateInfoEXT(std::ostrea std::string GenerateStruct_VkRenderPassCreationFeedbackInfoEXT(std::ostream &out, const VkRenderPassCreationFeedbackInfoEXT* structInfo, Decoded_VkRenderPassCreationFeedbackInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* postMergeSubpassCount */ +// postMergeSubpassCount struct_body << "\t" << structInfo->postMergeSubpassCount << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassCreationFeedbackInfoEXT"); out << "\t\t" << "VkRenderPassCreationFeedbackInfoEXT " << variable_name << " {" << std::endl; @@ -23331,11 +23331,11 @@ std::string GenerateStruct_VkRenderPassCreationFeedbackInfoEXT(std::ostream &out std::string GenerateStruct_VkRenderPassSubpassFeedbackCreateInfoEXT(std::ostream &out, const VkRenderPassSubpassFeedbackCreateInfoEXT* structInfo, Decoded_VkRenderPassSubpassFeedbackCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pSubpassFeedback */ +// pSubpassFeedback out << "\t\t" << "// TODO: Support pSubpassFeedback (output?) argument." << std::endl; std::string variable_name = consumer.AddStruct(struct_body, "renderPassSubpassFeedbackCreateInfoEXT"); out << "\t\t" << "VkRenderPassSubpassFeedbackCreateInfoEXT " << variable_name << " {" << std::endl; @@ -23347,11 +23347,11 @@ std::string GenerateStruct_VkRenderPassSubpassFeedbackCreateInfoEXT(std::ostream std::string GenerateStruct_VkRenderPassSubpassFeedbackInfoEXT(std::ostream &out, const VkRenderPassSubpassFeedbackInfoEXT* structInfo, Decoded_VkRenderPassSubpassFeedbackInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* subpassMergeStatus */ +// subpassMergeStatus struct_body << "\t" << "VkSubpassMergeStatusEXT(" << structInfo->subpassMergeStatus << ")" << "," << std::endl; -/* description */ +// description struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->description) << "," << std::endl; -/* postMergeIndex */ +// postMergeIndex struct_body << "\t\t\t" << structInfo->postMergeIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "renderPassSubpassFeedbackInfoEXT"); out << "\t\t" << "VkRenderPassSubpassFeedbackInfoEXT " << variable_name << " {" << std::endl; @@ -23364,13 +23364,13 @@ std::string GenerateStruct_VkRenderPassSubpassFeedbackInfoEXT(std::ostream &out, std::string GenerateStruct_VkDirectDriverLoadingInfoLUNARG(std::ostream &out, const VkDirectDriverLoadingInfoLUNARG* structInfo, Decoded_VkDirectDriverLoadingInfoLUNARG* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkDirectDriverLoadingFlagsLUNARG(" << structInfo->flags << ")" << "," << std::endl; -/* pfnGetInstanceProcAddr */ +// pfnGetInstanceProcAddr struct_body << "\t\t\t" << structInfo->pfnGetInstanceProcAddr << ","; std::string variable_name = consumer.AddStruct(struct_body, "directDriverLoadingInfoLUNARG"); out << "\t\t" << "VkDirectDriverLoadingInfoLUNARG " << variable_name << " {" << std::endl; @@ -23399,15 +23399,15 @@ std::string GenerateStruct_VkDirectDriverLoadingListLUNARG(std::ostream &out, co } out << "\t\t" << "VkDirectDriverLoadingInfoLUNARG " << pdrivers_array << "[] = {" << pdrivers_names << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkDirectDriverLoadingModeLUNARG(" << structInfo->mode << ")" << "," << std::endl; -/* driverCount */ +// driverCount struct_body << "\t\t\t" << structInfo->driverCount << "," << std::endl; -/* pDrivers */ +// pDrivers struct_body << "\t\t\t" << pdrivers_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "directDriverLoadingListLUNARG"); out << "\t\t" << "VkDirectDriverLoadingListLUNARG " << variable_name << " {" << std::endl; @@ -23420,11 +23420,11 @@ std::string GenerateStruct_VkDirectDriverLoadingListLUNARG(std::ostream &out, co std::string GenerateStruct_VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderModuleIdentifier */ +// shaderModuleIdentifier struct_body << "\t\t\t" << structInfo->shaderModuleIdentifier << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderModuleIdentifierFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT " << variable_name << " {" << std::endl; @@ -23437,11 +23437,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT(std std::string GenerateStruct_VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT(std::ostream &out, const VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderModuleIdentifierAlgorithmUUID */ +// shaderModuleIdentifierAlgorithmUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->shaderModuleIdentifierAlgorithmUUID[0]), VK_UUID_SIZE) << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderModuleIdentifierPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT " << variable_name << " {" << std::endl; @@ -23463,13 +23463,13 @@ std::string GenerateStruct_VkPipelineShaderStageModuleIdentifierCreateInfoEXT(st pidentifier_array = "pIdentifier_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << pidentifier_array << "[] = {" << pidentifier_values << "};" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* identifierSize */ +// identifierSize struct_body << "\t\t\t" << structInfo->identifierSize << "," << std::endl; -/* pIdentifier */ +// pIdentifier struct_body << "\t\t\t" << pidentifier_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "pipelineShaderStageModuleIdentifierCreateInfoEXT"); out << "\t\t" << "VkPipelineShaderStageModuleIdentifierCreateInfoEXT " << variable_name << " {" << std::endl; @@ -23482,13 +23482,13 @@ std::string GenerateStruct_VkPipelineShaderStageModuleIdentifierCreateInfoEXT(st std::string GenerateStruct_VkShaderModuleIdentifierEXT(std::ostream &out, const VkShaderModuleIdentifierEXT* structInfo, Decoded_VkShaderModuleIdentifierEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* identifierSize */ +// identifierSize struct_body << "\t\t\t" << structInfo->identifierSize << "," << std::endl; -/* identifier */ +// identifier struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->identifier[0]), VK_MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT) << ","; std::string variable_name = consumer.AddStruct(struct_body, "shaderModuleIdentifierEXT"); out << "\t\t" << "VkShaderModuleIdentifierEXT " << variable_name << " {" << std::endl; @@ -23506,15 +23506,15 @@ std::string GenerateStruct_VkOpticalFlowExecuteInfoNV(std::ostream &out, const V pregions_array = "pRegions_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkRect2D " << pregions_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pRegions, structInfo->regionCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkOpticalFlowExecuteFlagsNV(" << structInfo->flags << ")" << "," << std::endl; -/* regionCount */ +// regionCount struct_body << "\t\t\t" << structInfo->regionCount << "," << std::endl; -/* pRegions */ +// pRegions struct_body << "\t\t\t" << pregions_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "opticalFlowExecuteInfoNV"); out << "\t\t" << "VkOpticalFlowExecuteInfoNV " << variable_name << " {" << std::endl; @@ -23527,11 +23527,11 @@ std::string GenerateStruct_VkOpticalFlowExecuteInfoNV(std::ostream &out, const V std::string GenerateStruct_VkOpticalFlowImageFormatInfoNV(std::ostream &out, const VkOpticalFlowImageFormatInfoNV* structInfo, Decoded_VkOpticalFlowImageFormatInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* usage */ +// usage struct_body << "\t\t\t" << "VkOpticalFlowUsageFlagsNV(" << structInfo->usage << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "opticalFlowImageFormatInfoNV"); out << "\t\t" << "VkOpticalFlowImageFormatInfoNV " << variable_name << " {" << std::endl; @@ -23544,11 +23544,11 @@ std::string GenerateStruct_VkOpticalFlowImageFormatInfoNV(std::ostream &out, con std::string GenerateStruct_VkOpticalFlowImageFormatPropertiesNV(std::ostream &out, const VkOpticalFlowImageFormatPropertiesNV* structInfo, Decoded_VkOpticalFlowImageFormatPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* format */ +// format struct_body << "\t\t\t" << "VkFormat(" << structInfo->format << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "opticalFlowImageFormatPropertiesNV"); out << "\t\t" << "VkOpticalFlowImageFormatPropertiesNV " << variable_name << " {" << std::endl; @@ -23561,27 +23561,27 @@ std::string GenerateStruct_VkOpticalFlowImageFormatPropertiesNV(std::ostream &ou std::string GenerateStruct_VkOpticalFlowSessionCreateInfoNV(std::ostream &out, const VkOpticalFlowSessionCreateInfoNV* structInfo, Decoded_VkOpticalFlowSessionCreateInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* width */ +// width struct_body << "\t\t\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << "," << std::endl; -/* imageFormat */ +// imageFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->imageFormat << ")" << "," << std::endl; -/* flowVectorFormat */ +// flowVectorFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->flowVectorFormat << ")" << "," << std::endl; -/* costFormat */ +// costFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->costFormat << ")" << "," << std::endl; -/* outputGridSize */ +// outputGridSize struct_body << "\t\t\t" << "VkOpticalFlowGridSizeFlagsNV(" << structInfo->outputGridSize << ")" << "," << std::endl; -/* hintGridSize */ +// hintGridSize struct_body << "\t\t\t" << "VkOpticalFlowGridSizeFlagsNV(" << structInfo->hintGridSize << ")" << "," << std::endl; -/* performanceLevel */ +// performanceLevel struct_body << "\t\t\t" << "VkOpticalFlowPerformanceLevelNV(" << structInfo->performanceLevel << ")" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkOpticalFlowSessionCreateFlagsNV(" << structInfo->flags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "opticalFlowSessionCreateInfoNV"); out << "\t\t" << "VkOpticalFlowSessionCreateInfoNV " << variable_name << " {" << std::endl; @@ -23594,15 +23594,15 @@ std::string GenerateStruct_VkOpticalFlowSessionCreateInfoNV(std::ostream &out, c std::string GenerateStruct_VkOpticalFlowSessionCreatePrivateDataInfoNV(std::ostream &out, const VkOpticalFlowSessionCreatePrivateDataInfoNV* structInfo, Decoded_VkOpticalFlowSessionCreatePrivateDataInfoNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* id */ +// id struct_body << "\t\t\t" << structInfo->id << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "," << std::endl; -/* pPrivateData */ +// pPrivateData struct_body << "\t\t\t" << structInfo->pPrivateData << ","; std::string variable_name = consumer.AddStruct(struct_body, "opticalFlowSessionCreatePrivateDataInfoNV"); out << "\t\t" << "VkOpticalFlowSessionCreatePrivateDataInfoNV " << variable_name << " {" << std::endl; @@ -23615,11 +23615,11 @@ std::string GenerateStruct_VkOpticalFlowSessionCreatePrivateDataInfoNV(std::ostr std::string GenerateStruct_VkPhysicalDeviceOpticalFlowFeaturesNV(std::ostream &out, const VkPhysicalDeviceOpticalFlowFeaturesNV* structInfo, Decoded_VkPhysicalDeviceOpticalFlowFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* opticalFlow */ +// opticalFlow struct_body << "\t\t\t" << structInfo->opticalFlow << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceOpticalFlowFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceOpticalFlowFeaturesNV " << variable_name << " {" << std::endl; @@ -23632,31 +23632,31 @@ std::string GenerateStruct_VkPhysicalDeviceOpticalFlowFeaturesNV(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceOpticalFlowPropertiesNV(std::ostream &out, const VkPhysicalDeviceOpticalFlowPropertiesNV* structInfo, Decoded_VkPhysicalDeviceOpticalFlowPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* supportedOutputGridSizes */ +// supportedOutputGridSizes struct_body << "\t\t\t" << "VkOpticalFlowGridSizeFlagsNV(" << structInfo->supportedOutputGridSizes << ")" << "," << std::endl; -/* supportedHintGridSizes */ +// supportedHintGridSizes struct_body << "\t\t\t" << "VkOpticalFlowGridSizeFlagsNV(" << structInfo->supportedHintGridSizes << ")" << "," << std::endl; -/* hintSupported */ +// hintSupported struct_body << "\t\t\t" << structInfo->hintSupported << "," << std::endl; -/* costSupported */ +// costSupported struct_body << "\t\t\t" << structInfo->costSupported << "," << std::endl; -/* bidirectionalFlowSupported */ +// bidirectionalFlowSupported struct_body << "\t\t\t" << structInfo->bidirectionalFlowSupported << "," << std::endl; -/* globalFlowSupported */ +// globalFlowSupported struct_body << "\t\t\t" << structInfo->globalFlowSupported << "," << std::endl; -/* minWidth */ +// minWidth struct_body << "\t\t\t" << structInfo->minWidth << "," << std::endl; -/* minHeight */ +// minHeight struct_body << "\t\t\t" << structInfo->minHeight << "," << std::endl; -/* maxWidth */ +// maxWidth struct_body << "\t\t\t" << structInfo->maxWidth << "," << std::endl; -/* maxHeight */ +// maxHeight struct_body << "\t\t\t" << structInfo->maxHeight << "," << std::endl; -/* maxNumRegionsOfInterest */ +// maxNumRegionsOfInterest struct_body << "\t\t\t" << structInfo->maxNumRegionsOfInterest << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceOpticalFlowPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceOpticalFlowPropertiesNV " << variable_name << " {" << std::endl; @@ -23669,11 +23669,11 @@ std::string GenerateStruct_VkPhysicalDeviceOpticalFlowPropertiesNV(std::ostream std::string GenerateStruct_VkPhysicalDeviceLegacyDitheringFeaturesEXT(std::ostream &out, const VkPhysicalDeviceLegacyDitheringFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceLegacyDitheringFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* legacyDithering */ +// legacyDithering struct_body << "\t\t\t" << structInfo->legacyDithering << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLegacyDitheringFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceLegacyDitheringFeaturesEXT " << variable_name << " {" << std::endl; @@ -23686,11 +23686,11 @@ std::string GenerateStruct_VkPhysicalDeviceLegacyDitheringFeaturesEXT(std::ostre std::string GenerateStruct_VkPhysicalDevicePipelineProtectedAccessFeaturesEXT(std::ostream &out, const VkPhysicalDevicePipelineProtectedAccessFeaturesEXT* structInfo, Decoded_VkPhysicalDevicePipelineProtectedAccessFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineProtectedAccess */ +// pipelineProtectedAccess struct_body << "\t\t\t" << structInfo->pipelineProtectedAccess << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePipelineProtectedAccessFeaturesEXT"); out << "\t\t" << "VkPhysicalDevicePipelineProtectedAccessFeaturesEXT " << variable_name << " {" << std::endl; @@ -23703,11 +23703,11 @@ std::string GenerateStruct_VkPhysicalDevicePipelineProtectedAccessFeaturesEXT(st std::string GenerateStruct_VkAndroidHardwareBufferFormatResolvePropertiesANDROID(std::ostream &out, const VkAndroidHardwareBufferFormatResolvePropertiesANDROID* structInfo, Decoded_VkAndroidHardwareBufferFormatResolvePropertiesANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* colorAttachmentFormat */ +// colorAttachmentFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->colorAttachmentFormat << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "androidHardwareBufferFormatResolvePropertiesANDROID"); out << "\t\t" << "VkAndroidHardwareBufferFormatResolvePropertiesANDROID " << variable_name << " {" << std::endl; @@ -23720,11 +23720,11 @@ std::string GenerateStruct_VkAndroidHardwareBufferFormatResolvePropertiesANDROID std::string GenerateStruct_VkPhysicalDeviceExternalFormatResolveFeaturesANDROID(std::ostream &out, const VkPhysicalDeviceExternalFormatResolveFeaturesANDROID* structInfo, Decoded_VkPhysicalDeviceExternalFormatResolveFeaturesANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* externalFormatResolve */ +// externalFormatResolve struct_body << "\t\t\t" << structInfo->externalFormatResolve << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalFormatResolveFeaturesANDROID"); out << "\t\t" << "VkPhysicalDeviceExternalFormatResolveFeaturesANDROID " << variable_name << " {" << std::endl; @@ -23737,15 +23737,15 @@ std::string GenerateStruct_VkPhysicalDeviceExternalFormatResolveFeaturesANDROID( std::string GenerateStruct_VkPhysicalDeviceExternalFormatResolvePropertiesANDROID(std::ostream &out, const VkPhysicalDeviceExternalFormatResolvePropertiesANDROID* structInfo, Decoded_VkPhysicalDeviceExternalFormatResolvePropertiesANDROID* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* nullColorAttachmentWithExternalFormatResolve */ +// nullColorAttachmentWithExternalFormatResolve struct_body << "\t\t\t" << structInfo->nullColorAttachmentWithExternalFormatResolve << "," << std::endl; -/* externalFormatResolveChromaOffsetX */ +// externalFormatResolveChromaOffsetX struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->externalFormatResolveChromaOffsetX << ")" << "," << std::endl; -/* externalFormatResolveChromaOffsetY */ +// externalFormatResolveChromaOffsetY struct_body << "\t\t\t" << "VkChromaLocation(" << structInfo->externalFormatResolveChromaOffsetY << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExternalFormatResolvePropertiesANDROID"); out << "\t\t" << "VkPhysicalDeviceExternalFormatResolvePropertiesANDROID " << variable_name << " {" << std::endl; @@ -23758,11 +23758,11 @@ std::string GenerateStruct_VkPhysicalDeviceExternalFormatResolvePropertiesANDROI std::string GenerateStruct_VkPhysicalDeviceShaderObjectFeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderObjectFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderObjectFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderObject */ +// shaderObject struct_body << "\t\t\t" << structInfo->shaderObject << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderObjectFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderObjectFeaturesEXT " << variable_name << " {" << std::endl; @@ -23775,13 +23775,13 @@ std::string GenerateStruct_VkPhysicalDeviceShaderObjectFeaturesEXT(std::ostream std::string GenerateStruct_VkPhysicalDeviceShaderObjectPropertiesEXT(std::ostream &out, const VkPhysicalDeviceShaderObjectPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceShaderObjectPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderBinaryUUID */ +// shaderBinaryUUID struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->shaderBinaryUUID[0]), VK_UUID_SIZE) << "," << std::endl; -/* shaderBinaryVersion */ +// shaderBinaryVersion struct_body << "\t\t\t" << structInfo->shaderBinaryVersion << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderObjectPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceShaderObjectPropertiesEXT " << variable_name << " {" << std::endl; @@ -23840,33 +23840,33 @@ std::string GenerateStruct_VkShaderCreateInfoEXT(std::ostream &out, const VkShad consumer); pspecialization_info_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkShaderCreateFlagsEXT(" << structInfo->flags << ")" << "," << std::endl; -/* stage */ +// stage struct_body << "\t\t\t" << "VkShaderStageFlagBits(" << structInfo->stage << ")" << "," << std::endl; -/* nextStage */ +// nextStage struct_body << "\t\t\t" << "VkShaderStageFlags(" << structInfo->nextStage << ")" << "," << std::endl; -/* codeType */ +// codeType struct_body << "\t\t\t" << "VkShaderCodeTypeEXT(" << structInfo->codeType << ")" << "," << std::endl; -/* codeSize */ +// codeSize struct_body << "\t\t\t" << structInfo->codeSize << "," << std::endl; -/* pCode */ +// pCode struct_body << "\t\t\t" << pcode_array << "," << std::endl; -/* pName */ +// pName struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->pName) << "," << std::endl; -/* setLayoutCount */ +// setLayoutCount struct_body << "\t\t\t" << structInfo->setLayoutCount << "," << std::endl; -/* pSetLayouts */ +// pSetLayouts struct_body << "\t\t\t" << pset_layouts_array << "," << std::endl; -/* pushConstantRangeCount */ +// pushConstantRangeCount struct_body << "\t\t\t" << structInfo->pushConstantRangeCount << "," << std::endl; -/* pPushConstantRanges */ +// pPushConstantRanges struct_body << "\t\t\t" << ppush_constant_ranges_array << "," << std::endl; -/* pSpecializationInfo */ +// pSpecializationInfo struct_body << "\t\t\t" << pspecialization_info_struct << ","; std::string variable_name = consumer.AddStruct(struct_body, "shaderCreateInfoEXT"); out << "\t\t" << "VkShaderCreateInfoEXT " << variable_name << " {" << std::endl; @@ -23879,11 +23879,11 @@ std::string GenerateStruct_VkShaderCreateInfoEXT(std::ostream &out, const VkShad std::string GenerateStruct_VkPhysicalDeviceTilePropertiesFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceTilePropertiesFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceTilePropertiesFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* tileProperties */ +// tileProperties struct_body << "\t\t\t" << structInfo->tileProperties << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceTilePropertiesFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceTilePropertiesFeaturesQCOM " << variable_name << " {" << std::endl; @@ -23908,15 +23908,15 @@ std::string GenerateStruct_VkTilePropertiesQCOM(std::ostream &out, const VkTileP &structInfo->origin, metaInfo->origin, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* tileSize */ +// tileSize struct_body << "\t\t\t" << tile_size_info_var << "," << std::endl; -/* apronSize */ +// apronSize struct_body << "\t\t\t" << apron_size_info_var << "," << std::endl; -/* origin */ +// origin struct_body << "\t\t\t" << origin_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "tilePropertiesQCOM"); out << "\t\t" << "VkTilePropertiesQCOM " << variable_name << " {" << std::endl; @@ -23929,13 +23929,13 @@ std::string GenerateStruct_VkTilePropertiesQCOM(std::ostream &out, const VkTileP std::string GenerateStruct_VkAmigoProfilingSubmitInfoSEC(std::ostream &out, const VkAmigoProfilingSubmitInfoSEC* structInfo, Decoded_VkAmigoProfilingSubmitInfoSEC* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* firstDrawTimestamp */ +// firstDrawTimestamp struct_body << "\t\t\t" << structInfo->firstDrawTimestamp << "UL" << "," << std::endl; -/* swapBufferTimestamp */ +// swapBufferTimestamp struct_body << "\t\t\t" << structInfo->swapBufferTimestamp << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "amigoProfilingSubmitInfoSEC"); out << "\t\t" << "VkAmigoProfilingSubmitInfoSEC " << variable_name << " {" << std::endl; @@ -23948,11 +23948,11 @@ std::string GenerateStruct_VkAmigoProfilingSubmitInfoSEC(std::ostream &out, cons std::string GenerateStruct_VkPhysicalDeviceAmigoProfilingFeaturesSEC(std::ostream &out, const VkPhysicalDeviceAmigoProfilingFeaturesSEC* structInfo, Decoded_VkPhysicalDeviceAmigoProfilingFeaturesSEC* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* amigoProfiling */ +// amigoProfiling struct_body << "\t\t\t" << structInfo->amigoProfiling << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceAmigoProfilingFeaturesSEC"); out << "\t\t" << "VkPhysicalDeviceAmigoProfilingFeaturesSEC " << variable_name << " {" << std::endl; @@ -23965,11 +23965,11 @@ std::string GenerateStruct_VkPhysicalDeviceAmigoProfilingFeaturesSEC(std::ostrea std::string GenerateStruct_VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* multiviewPerViewViewports */ +// multiviewPerViewViewports struct_body << "\t\t\t" << structInfo->multiviewPerViewViewports << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultiviewPerViewViewportsFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM " << variable_name << " {" << std::endl; @@ -23982,11 +23982,11 @@ std::string GenerateStruct_VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM std::string GenerateStruct_VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV(std::ostream &out, const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV* structInfo, Decoded_VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rayTracingInvocationReorder */ +// rayTracingInvocationReorder struct_body << "\t\t\t" << structInfo->rayTracingInvocationReorder << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingInvocationReorderFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV " << variable_name << " {" << std::endl; @@ -23999,11 +23999,11 @@ std::string GenerateStruct_VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV std::string GenerateStruct_VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV(std::ostream &out, const VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV* structInfo, Decoded_VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rayTracingInvocationReorderReorderingHint */ +// rayTracingInvocationReorderReorderingHint struct_body << "\t\t\t" << "VkRayTracingInvocationReorderModeNV(" << structInfo->rayTracingInvocationReorderReorderingHint << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingInvocationReorderPropertiesNV"); out << "\t\t" << "VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV " << variable_name << " {" << std::endl; @@ -24016,11 +24016,11 @@ std::string GenerateStruct_VkPhysicalDeviceRayTracingInvocationReorderProperties std::string GenerateStruct_VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV(std::ostream &out, const VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* structInfo, Decoded_VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* extendedSparseAddressSpace */ +// extendedSparseAddressSpace struct_body << "\t\t\t" << structInfo->extendedSparseAddressSpace << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExtendedSparseAddressSpaceFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV " << variable_name << " {" << std::endl; @@ -24033,15 +24033,15 @@ std::string GenerateStruct_VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV( std::string GenerateStruct_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV(std::ostream &out, const VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* structInfo, Decoded_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* extendedSparseAddressSpaceSize */ +// extendedSparseAddressSpaceSize struct_body << "\t\t\t" << structInfo->extendedSparseAddressSpaceSize << "UL" << "," << std::endl; -/* extendedSparseImageUsageFlags */ +// extendedSparseImageUsageFlags struct_body << "\t\t\t" << "VkImageUsageFlags(" << structInfo->extendedSparseImageUsageFlags << ")" << "," << std::endl; -/* extendedSparseBufferUsageFlags */ +// extendedSparseBufferUsageFlags struct_body << "\t\t\t" << "VkBufferUsageFlags(" << structInfo->extendedSparseBufferUsageFlags << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceExtendedSparseAddressSpacePropertiesNV"); out << "\t\t" << "VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV " << variable_name << " {" << std::endl; @@ -24054,11 +24054,11 @@ std::string GenerateStruct_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesN std::string GenerateStruct_VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM(std::ostream &out, const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* structInfo, Decoded_VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderCoreBuiltins */ +// shaderCoreBuiltins struct_body << "\t\t\t" << structInfo->shaderCoreBuiltins << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderCoreBuiltinsFeaturesARM"); out << "\t\t" << "VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM " << variable_name << " {" << std::endl; @@ -24071,15 +24071,15 @@ std::string GenerateStruct_VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM(std::os std::string GenerateStruct_VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM(std::ostream &out, const VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM* structInfo, Decoded_VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderCoreMask */ +// shaderCoreMask struct_body << "\t\t\t" << structInfo->shaderCoreMask << "UL" << "," << std::endl; -/* shaderCoreCount */ +// shaderCoreCount struct_body << "\t\t\t" << structInfo->shaderCoreCount << "," << std::endl; -/* shaderWarpsPerCore */ +// shaderWarpsPerCore struct_body << "\t\t\t" << structInfo->shaderWarpsPerCore << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderCoreBuiltinsPropertiesARM"); out << "\t\t" << "VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM " << variable_name << " {" << std::endl; @@ -24092,11 +24092,11 @@ std::string GenerateStruct_VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM(std:: std::string GenerateStruct_VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT(std::ostream &out, const VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT* structInfo, Decoded_VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pipelineLibraryGroupHandles */ +// pipelineLibraryGroupHandles struct_body << "\t\t\t" << structInfo->pipelineLibraryGroupHandles << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDevicePipelineLibraryGroupHandlesFeaturesEXT"); out << "\t\t" << "VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT " << variable_name << " {" << std::endl; @@ -24109,11 +24109,11 @@ std::string GenerateStruct_VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEX std::string GenerateStruct_VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT(std::ostream &out, const VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* dynamicRenderingUnusedAttachments */ +// dynamicRenderingUnusedAttachments struct_body << "\t\t\t" << structInfo->dynamicRenderingUnusedAttachments << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT " << variable_name << " {" << std::endl; @@ -24131,13 +24131,13 @@ std::string GenerateStruct_VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM( pper_view_render_areas_array = "pPerViewRenderAreas_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "VkRect2D " << pper_view_render_areas_array << "[] = " << VulkanCppConsumerBase::BuildValue(structInfo->pPerViewRenderAreas, structInfo->perViewRenderAreaCount) << ";" << std::endl; } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* perViewRenderAreaCount */ +// perViewRenderAreaCount struct_body << "\t\t\t" << structInfo->perViewRenderAreaCount << "," << std::endl; -/* pPerViewRenderAreas */ +// pPerViewRenderAreas struct_body << "\t\t\t" << pper_view_render_areas_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "multiviewPerViewRenderAreasRenderPassBeginInfoQCOM"); out << "\t\t" << "VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM " << variable_name << " {" << std::endl; @@ -24150,11 +24150,11 @@ std::string GenerateStruct_VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM( std::string GenerateStruct_VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* multiviewPerViewRenderAreas */ +// multiviewPerViewRenderAreas struct_body << "\t\t\t" << structInfo->multiviewPerViewRenderAreas << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM " << variable_name << " {" << std::endl; @@ -24167,11 +24167,11 @@ std::string GenerateStruct_VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQC std::string GenerateStruct_VkPhysicalDeviceImageProcessing2FeaturesQCOM(std::ostream &out, const VkPhysicalDeviceImageProcessing2FeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceImageProcessing2FeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* textureBlockMatch2 */ +// textureBlockMatch2 struct_body << "\t\t\t" << structInfo->textureBlockMatch2 << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageProcessing2FeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceImageProcessing2FeaturesQCOM " << variable_name << " {" << std::endl; @@ -24188,11 +24188,11 @@ std::string GenerateStruct_VkPhysicalDeviceImageProcessing2PropertiesQCOM(std::o &structInfo->maxBlockMatchWindow, metaInfo->maxBlockMatchWindow, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxBlockMatchWindow */ +// maxBlockMatchWindow struct_body << "\t\t\t" << max_block_match_window_info_var << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageProcessing2PropertiesQCOM"); out << "\t\t" << "VkPhysicalDeviceImageProcessing2PropertiesQCOM " << variable_name << " {" << std::endl; @@ -24209,13 +24209,13 @@ std::string GenerateStruct_VkSamplerBlockMatchWindowCreateInfoQCOM(std::ostream &structInfo->windowExtent, metaInfo->windowExtent, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* windowExtent */ +// windowExtent struct_body << "\t\t\t" << window_extent_info_var << "," << std::endl; -/* windowCompareMode */ +// windowCompareMode struct_body << "\t\t\t" << "VkBlockMatchWindowCompareModeQCOM(" << structInfo->windowCompareMode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerBlockMatchWindowCreateInfoQCOM"); out << "\t\t" << "VkSamplerBlockMatchWindowCreateInfoQCOM " << variable_name << " {" << std::endl; @@ -24228,11 +24228,11 @@ std::string GenerateStruct_VkSamplerBlockMatchWindowCreateInfoQCOM(std::ostream std::string GenerateStruct_VkBlitImageCubicWeightsInfoQCOM(std::ostream &out, const VkBlitImageCubicWeightsInfoQCOM* structInfo, Decoded_VkBlitImageCubicWeightsInfoQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cubicWeights */ +// cubicWeights struct_body << "\t\t\t" << "VkCubicFilterWeightsQCOM(" << structInfo->cubicWeights << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "blitImageCubicWeightsInfoQCOM"); out << "\t\t" << "VkBlitImageCubicWeightsInfoQCOM " << variable_name << " {" << std::endl; @@ -24245,11 +24245,11 @@ std::string GenerateStruct_VkBlitImageCubicWeightsInfoQCOM(std::ostream &out, co std::string GenerateStruct_VkPhysicalDeviceCubicWeightsFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceCubicWeightsFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceCubicWeightsFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* selectableCubicWeights */ +// selectableCubicWeights struct_body << "\t\t\t" << structInfo->selectableCubicWeights << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCubicWeightsFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceCubicWeightsFeaturesQCOM " << variable_name << " {" << std::endl; @@ -24262,11 +24262,11 @@ std::string GenerateStruct_VkPhysicalDeviceCubicWeightsFeaturesQCOM(std::ostream std::string GenerateStruct_VkSamplerCubicWeightsCreateInfoQCOM(std::ostream &out, const VkSamplerCubicWeightsCreateInfoQCOM* structInfo, Decoded_VkSamplerCubicWeightsCreateInfoQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cubicWeights */ +// cubicWeights struct_body << "\t\t\t" << "VkCubicFilterWeightsQCOM(" << structInfo->cubicWeights << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerCubicWeightsCreateInfoQCOM"); out << "\t\t" << "VkSamplerCubicWeightsCreateInfoQCOM " << variable_name << " {" << std::endl; @@ -24279,11 +24279,11 @@ std::string GenerateStruct_VkSamplerCubicWeightsCreateInfoQCOM(std::ostream &out std::string GenerateStruct_VkPhysicalDeviceYcbcrDegammaFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceYcbcrDegammaFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceYcbcrDegammaFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* ycbcrDegamma */ +// ycbcrDegamma struct_body << "\t\t\t" << structInfo->ycbcrDegamma << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceYcbcrDegammaFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceYcbcrDegammaFeaturesQCOM " << variable_name << " {" << std::endl; @@ -24296,13 +24296,13 @@ std::string GenerateStruct_VkPhysicalDeviceYcbcrDegammaFeaturesQCOM(std::ostream std::string GenerateStruct_VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM(std::ostream &out, const VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM* structInfo, Decoded_VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* enableYDegamma */ +// enableYDegamma struct_body << "\t\t\t" << structInfo->enableYDegamma << "," << std::endl; -/* enableCbCrDegamma */ +// enableCbCrDegamma struct_body << "\t\t\t" << structInfo->enableCbCrDegamma << ","; std::string variable_name = consumer.AddStruct(struct_body, "samplerYcbcrConversionYcbcrDegammaCreateInfoQCOM"); out << "\t\t" << "VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM " << variable_name << " {" << std::endl; @@ -24315,11 +24315,11 @@ std::string GenerateStruct_VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM(st std::string GenerateStruct_VkPhysicalDeviceCubicClampFeaturesQCOM(std::ostream &out, const VkPhysicalDeviceCubicClampFeaturesQCOM* structInfo, Decoded_VkPhysicalDeviceCubicClampFeaturesQCOM* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* cubicRangeClamp */ +// cubicRangeClamp struct_body << "\t\t\t" << structInfo->cubicRangeClamp << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceCubicClampFeaturesQCOM"); out << "\t\t" << "VkPhysicalDeviceCubicClampFeaturesQCOM " << variable_name << " {" << std::endl; @@ -24332,11 +24332,11 @@ std::string GenerateStruct_VkPhysicalDeviceCubicClampFeaturesQCOM(std::ostream & std::string GenerateStruct_VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT(std::ostream &out, const VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* attachmentFeedbackLoopDynamicState */ +// attachmentFeedbackLoopDynamicState struct_body << "\t\t\t" << structInfo->attachmentFeedbackLoopDynamicState << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT " << variable_name << " {" << std::endl; @@ -24349,11 +24349,11 @@ std::string GenerateStruct_VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFea std::string GenerateStruct_VkPhysicalDeviceLayeredDriverPropertiesMSFT(std::ostream &out, const VkPhysicalDeviceLayeredDriverPropertiesMSFT* structInfo, Decoded_VkPhysicalDeviceLayeredDriverPropertiesMSFT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* underlyingAPI */ +// underlyingAPI struct_body << "\t\t\t" << "VkLayeredDriverUnderlyingApiMSFT(" << structInfo->underlyingAPI << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLayeredDriverPropertiesMSFT"); out << "\t\t" << "VkPhysicalDeviceLayeredDriverPropertiesMSFT " << variable_name << " {" << std::endl; @@ -24366,11 +24366,11 @@ std::string GenerateStruct_VkPhysicalDeviceLayeredDriverPropertiesMSFT(std::ostr std::string GenerateStruct_VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV(std::ostream &out, const VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV* structInfo, Decoded_VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* descriptorPoolOverallocation */ +// descriptorPoolOverallocation struct_body << "\t\t\t" << structInfo->descriptorPoolOverallocation << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceDescriptorPoolOverallocationFeaturesNV"); out << "\t\t" << "VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV " << variable_name << " {" << std::endl; @@ -24414,27 +24414,27 @@ std::string GenerateStruct_VkAccelerationStructureBuildGeometryInfoKHR(std::ostr } } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkAccelerationStructureTypeKHR(" << structInfo->type << ")" << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkBuildAccelerationStructureFlagsKHR(" << structInfo->flags << ")" << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkBuildAccelerationStructureModeKHR(" << structInfo->mode << ")" << "," << std::endl; -/* srcAccelerationStructure */ +// srcAccelerationStructure struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->srcAccelerationStructure) << "," << std::endl; -/* dstAccelerationStructure */ +// dstAccelerationStructure struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dstAccelerationStructure) << "," << std::endl; -/* geometryCount */ +// geometryCount struct_body << "\t\t\t" << structInfo->geometryCount << "," << std::endl; -/* pGeometries */ +// pGeometries struct_body << "\t\t\t" << pgeometries_array << "," << std::endl; -/* ppGeometries */ +// ppGeometries struct_body << "\t\t\t" << pp_geometries_array << "," << std::endl; -/* scratchData */ +// scratchData struct_body << "\t\t\t" << structInfo->scratchData.deviceAddress << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureBuildGeometryInfoKHR"); out << "\t\t" << "VkAccelerationStructureBuildGeometryInfoKHR " << variable_name << " {" << std::endl; @@ -24446,13 +24446,13 @@ std::string GenerateStruct_VkAccelerationStructureBuildGeometryInfoKHR(std::ostr std::string GenerateStruct_VkAccelerationStructureBuildRangeInfoKHR(std::ostream &out, const VkAccelerationStructureBuildRangeInfoKHR* structInfo, Decoded_VkAccelerationStructureBuildRangeInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* primitiveCount */ +// primitiveCount struct_body << "\t" << structInfo->primitiveCount << "," << std::endl; -/* primitiveOffset */ +// primitiveOffset struct_body << "\t\t\t" << structInfo->primitiveOffset << "," << std::endl; -/* firstVertex */ +// firstVertex struct_body << "\t\t\t" << structInfo->firstVertex << "," << std::endl; -/* transformOffset */ +// transformOffset struct_body << "\t\t\t" << structInfo->transformOffset << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureBuildRangeInfoKHR"); out << "\t\t" << "VkAccelerationStructureBuildRangeInfoKHR " << variable_name << " {" << std::endl; @@ -24465,15 +24465,15 @@ std::string GenerateStruct_VkAccelerationStructureBuildRangeInfoKHR(std::ostream std::string GenerateStruct_VkAccelerationStructureBuildSizesInfoKHR(std::ostream &out, const VkAccelerationStructureBuildSizesInfoKHR* structInfo, Decoded_VkAccelerationStructureBuildSizesInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* accelerationStructureSize */ +// accelerationStructureSize struct_body << "\t\t\t" << structInfo->accelerationStructureSize << "UL" << "," << std::endl; -/* updateScratchSize */ +// updateScratchSize struct_body << "\t\t\t" << structInfo->updateScratchSize << "UL" << "," << std::endl; -/* buildScratchSize */ +// buildScratchSize struct_body << "\t\t\t" << structInfo->buildScratchSize << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureBuildSizesInfoKHR"); out << "\t\t" << "VkAccelerationStructureBuildSizesInfoKHR " << variable_name << " {" << std::endl; @@ -24486,21 +24486,21 @@ std::string GenerateStruct_VkAccelerationStructureBuildSizesInfoKHR(std::ostream std::string GenerateStruct_VkAccelerationStructureCreateInfoKHR(std::ostream &out, const VkAccelerationStructureCreateInfoKHR* structInfo, Decoded_VkAccelerationStructureCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* createFlags */ +// createFlags struct_body << "\t\t\t" << "VkAccelerationStructureCreateFlagsKHR(" << structInfo->createFlags << ")" << "," << std::endl; -/* buffer */ +// buffer struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->buffer) << "," << std::endl; -/* offset */ +// offset struct_body << "\t\t\t" << structInfo->offset << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkAccelerationStructureTypeKHR(" << structInfo->type << ")" << "," << std::endl; -/* deviceAddress */ +// deviceAddress struct_body << "\t\t\t" << structInfo->deviceAddress << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureCreateInfoKHR"); out << "\t\t" << "VkAccelerationStructureCreateInfoKHR " << variable_name << " {" << std::endl; @@ -24513,11 +24513,11 @@ std::string GenerateStruct_VkAccelerationStructureCreateInfoKHR(std::ostream &ou std::string GenerateStruct_VkAccelerationStructureDeviceAddressInfoKHR(std::ostream &out, const VkAccelerationStructureDeviceAddressInfoKHR* structInfo, Decoded_VkAccelerationStructureDeviceAddressInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* accelerationStructure */ +// accelerationStructure struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->accelerationStructure) << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureDeviceAddressInfoKHR"); out << "\t\t" << "VkAccelerationStructureDeviceAddressInfoKHR " << variable_name << " {" << std::endl; @@ -24530,13 +24530,13 @@ std::string GenerateStruct_VkAccelerationStructureDeviceAddressInfoKHR(std::ostr std::string GenerateStruct_VkAccelerationStructureGeometryAabbsDataKHR(std::ostream &out, const VkAccelerationStructureGeometryAabbsDataKHR* structInfo, Decoded_VkAccelerationStructureGeometryAabbsDataKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* data */ +// data struct_body << "\t\t\t" << structInfo->data.deviceAddress << "," << std::endl; -/* stride */ +// stride struct_body << "\t\t\t" << structInfo->stride << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureGeometryAabbsDataKHR"); out << "\t\t" << "VkAccelerationStructureGeometryAabbsDataKHR " << variable_name << " {" << std::endl; @@ -24549,13 +24549,13 @@ std::string GenerateStruct_VkAccelerationStructureGeometryAabbsDataKHR(std::ostr std::string GenerateStruct_VkAccelerationStructureGeometryInstancesDataKHR(std::ostream &out, const VkAccelerationStructureGeometryInstancesDataKHR* structInfo, Decoded_VkAccelerationStructureGeometryInstancesDataKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* arrayOfPointers */ +// arrayOfPointers struct_body << "\t\t\t" << structInfo->arrayOfPointers << "," << std::endl; -/* data */ +// data struct_body << "\t\t\t" << structInfo->data.deviceAddress << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureGeometryInstancesDataKHR"); out << "\t\t" << "VkAccelerationStructureGeometryInstancesDataKHR " << variable_name << " {" << std::endl; @@ -24568,23 +24568,23 @@ std::string GenerateStruct_VkAccelerationStructureGeometryInstancesDataKHR(std:: std::string GenerateStruct_VkAccelerationStructureGeometryTrianglesDataKHR(std::ostream &out, const VkAccelerationStructureGeometryTrianglesDataKHR* structInfo, Decoded_VkAccelerationStructureGeometryTrianglesDataKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* vertexFormat */ +// vertexFormat struct_body << "\t\t\t" << "VkFormat(" << structInfo->vertexFormat << ")" << "," << std::endl; -/* vertexData */ +// vertexData struct_body << "\t\t\t" << structInfo->vertexData.deviceAddress << "," << std::endl; -/* vertexStride */ +// vertexStride struct_body << "\t\t\t" << structInfo->vertexStride << "UL" << "," << std::endl; -/* maxVertex */ +// maxVertex struct_body << "\t\t\t" << structInfo->maxVertex << "," << std::endl; -/* indexType */ +// indexType struct_body << "\t\t\t" << "VkIndexType(" << structInfo->indexType << ")" << "," << std::endl; -/* indexData */ +// indexData struct_body << "\t\t\t" << structInfo->indexData.deviceAddress << "," << std::endl; -/* transformData */ +// transformData struct_body << "\t\t\t" << structInfo->transformData.deviceAddress << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureGeometryTrianglesDataKHR"); out << "\t\t" << "VkAccelerationStructureGeometryTrianglesDataKHR " << variable_name << " {" << std::endl; @@ -24604,11 +24604,11 @@ std::string GenerateStruct_VkAccelerationStructureVersionInfoKHR(std::ostream &o } pversion_data_array = "pVersionData_" + std::to_string(consumer.GetNextId()); out << "\t\t" << "uint8_t " << pversion_data_array << "[] = {" << pversion_data_values << "};" << std::endl; -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* pVersionData */ +// pVersionData struct_body << "\t\t\t" << pversion_data_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "accelerationStructureVersionInfoKHR"); out << "\t\t" << "VkAccelerationStructureVersionInfoKHR " << variable_name << " {" << std::endl; @@ -24621,15 +24621,15 @@ std::string GenerateStruct_VkAccelerationStructureVersionInfoKHR(std::ostream &o std::string GenerateStruct_VkCopyAccelerationStructureInfoKHR(std::ostream &out, const VkCopyAccelerationStructureInfoKHR* structInfo, Decoded_VkCopyAccelerationStructureInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* src */ +// src struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->src) << "," << std::endl; -/* dst */ +// dst struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dst) << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkCopyAccelerationStructureModeKHR(" << structInfo->mode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyAccelerationStructureInfoKHR"); out << "\t\t" << "VkCopyAccelerationStructureInfoKHR " << variable_name << " {" << std::endl; @@ -24642,15 +24642,15 @@ std::string GenerateStruct_VkCopyAccelerationStructureInfoKHR(std::ostream &out, std::string GenerateStruct_VkCopyAccelerationStructureToMemoryInfoKHR(std::ostream &out, const VkCopyAccelerationStructureToMemoryInfoKHR* structInfo, Decoded_VkCopyAccelerationStructureToMemoryInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* src */ +// src struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->src) << "," << std::endl; -/* dst */ +// dst struct_body << "\t\t\t" << structInfo->dst.deviceAddress << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkCopyAccelerationStructureModeKHR(" << structInfo->mode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyAccelerationStructureToMemoryInfoKHR"); out << "\t\t" << "VkCopyAccelerationStructureToMemoryInfoKHR " << variable_name << " {" << std::endl; @@ -24663,15 +24663,15 @@ std::string GenerateStruct_VkCopyAccelerationStructureToMemoryInfoKHR(std::ostre std::string GenerateStruct_VkCopyMemoryToAccelerationStructureInfoKHR(std::ostream &out, const VkCopyMemoryToAccelerationStructureInfoKHR* structInfo, Decoded_VkCopyMemoryToAccelerationStructureInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* src */ +// src struct_body << "\t\t\t" << structInfo->src.deviceAddress << "," << std::endl; -/* dst */ +// dst struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->dst) << "," << std::endl; -/* mode */ +// mode struct_body << "\t\t\t" << "VkCopyAccelerationStructureModeKHR(" << structInfo->mode << ")" << ","; std::string variable_name = consumer.AddStruct(struct_body, "copyMemoryToAccelerationStructureInfoKHR"); out << "\t\t" << "VkCopyMemoryToAccelerationStructureInfoKHR " << variable_name << " {" << std::endl; @@ -24684,19 +24684,19 @@ std::string GenerateStruct_VkCopyMemoryToAccelerationStructureInfoKHR(std::ostre std::string GenerateStruct_VkPhysicalDeviceAccelerationStructureFeaturesKHR(std::ostream &out, const VkPhysicalDeviceAccelerationStructureFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceAccelerationStructureFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* accelerationStructure */ +// accelerationStructure struct_body << "\t\t\t" << structInfo->accelerationStructure << "," << std::endl; -/* accelerationStructureCaptureReplay */ +// accelerationStructureCaptureReplay struct_body << "\t\t\t" << structInfo->accelerationStructureCaptureReplay << "," << std::endl; -/* accelerationStructureIndirectBuild */ +// accelerationStructureIndirectBuild struct_body << "\t\t\t" << structInfo->accelerationStructureIndirectBuild << "," << std::endl; -/* accelerationStructureHostCommands */ +// accelerationStructureHostCommands struct_body << "\t\t\t" << structInfo->accelerationStructureHostCommands << "," << std::endl; -/* descriptorBindingAccelerationStructureUpdateAfterBind */ +// descriptorBindingAccelerationStructureUpdateAfterBind struct_body << "\t\t\t" << structInfo->descriptorBindingAccelerationStructureUpdateAfterBind << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceAccelerationStructureFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceAccelerationStructureFeaturesKHR " << variable_name << " {" << std::endl; @@ -24709,25 +24709,25 @@ std::string GenerateStruct_VkPhysicalDeviceAccelerationStructureFeaturesKHR(std: std::string GenerateStruct_VkPhysicalDeviceAccelerationStructurePropertiesKHR(std::ostream &out, const VkPhysicalDeviceAccelerationStructurePropertiesKHR* structInfo, Decoded_VkPhysicalDeviceAccelerationStructurePropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxGeometryCount */ +// maxGeometryCount struct_body << "\t\t\t" << structInfo->maxGeometryCount << "UL" << "," << std::endl; -/* maxInstanceCount */ +// maxInstanceCount struct_body << "\t\t\t" << structInfo->maxInstanceCount << "UL" << "," << std::endl; -/* maxPrimitiveCount */ +// maxPrimitiveCount struct_body << "\t\t\t" << structInfo->maxPrimitiveCount << "UL" << "," << std::endl; -/* maxPerStageDescriptorAccelerationStructures */ +// maxPerStageDescriptorAccelerationStructures struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorAccelerationStructures << "," << std::endl; -/* maxPerStageDescriptorUpdateAfterBindAccelerationStructures */ +// maxPerStageDescriptorUpdateAfterBindAccelerationStructures struct_body << "\t\t\t" << structInfo->maxPerStageDescriptorUpdateAfterBindAccelerationStructures << "," << std::endl; -/* maxDescriptorSetAccelerationStructures */ +// maxDescriptorSetAccelerationStructures struct_body << "\t\t\t" << structInfo->maxDescriptorSetAccelerationStructures << "," << std::endl; -/* maxDescriptorSetUpdateAfterBindAccelerationStructures */ +// maxDescriptorSetUpdateAfterBindAccelerationStructures struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindAccelerationStructures << "," << std::endl; -/* minAccelerationStructureScratchOffsetAlignment */ +// minAccelerationStructureScratchOffsetAlignment struct_body << "\t\t\t" << structInfo->minAccelerationStructureScratchOffsetAlignment << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceAccelerationStructurePropertiesKHR"); out << "\t\t" << "VkPhysicalDeviceAccelerationStructurePropertiesKHR " << variable_name << " {" << std::endl; @@ -24753,13 +24753,13 @@ std::string GenerateStruct_VkWriteDescriptorSetAccelerationStructureKHR(std::ost out << "\t\t" << "VkAccelerationStructureKHR " << pacceleration_structures_array << "[] = {" << pacceleration_structures_values << "};" << std::endl; } } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* accelerationStructureCount */ +// accelerationStructureCount struct_body << "\t\t\t" << structInfo->accelerationStructureCount << "," << std::endl; -/* pAccelerationStructures */ +// pAccelerationStructures struct_body << "\t\t\t" << pacceleration_structures_array << ","; std::string variable_name = consumer.AddStruct(struct_body, "writeDescriptorSetAccelerationStructureKHR"); out << "\t\t" << "VkWriteDescriptorSetAccelerationStructureKHR " << variable_name << " {" << std::endl; @@ -24772,19 +24772,19 @@ std::string GenerateStruct_VkWriteDescriptorSetAccelerationStructureKHR(std::ost std::string GenerateStruct_VkPhysicalDeviceRayTracingPipelineFeaturesKHR(std::ostream &out, const VkPhysicalDeviceRayTracingPipelineFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceRayTracingPipelineFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rayTracingPipeline */ +// rayTracingPipeline struct_body << "\t\t\t" << structInfo->rayTracingPipeline << "," << std::endl; -/* rayTracingPipelineShaderGroupHandleCaptureReplay */ +// rayTracingPipelineShaderGroupHandleCaptureReplay struct_body << "\t\t\t" << structInfo->rayTracingPipelineShaderGroupHandleCaptureReplay << "," << std::endl; -/* rayTracingPipelineShaderGroupHandleCaptureReplayMixed */ +// rayTracingPipelineShaderGroupHandleCaptureReplayMixed struct_body << "\t\t\t" << structInfo->rayTracingPipelineShaderGroupHandleCaptureReplayMixed << "," << std::endl; -/* rayTracingPipelineTraceRaysIndirect */ +// rayTracingPipelineTraceRaysIndirect struct_body << "\t\t\t" << structInfo->rayTracingPipelineTraceRaysIndirect << "," << std::endl; -/* rayTraversalPrimitiveCulling */ +// rayTraversalPrimitiveCulling struct_body << "\t\t\t" << structInfo->rayTraversalPrimitiveCulling << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingPipelineFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceRayTracingPipelineFeaturesKHR " << variable_name << " {" << std::endl; @@ -24797,25 +24797,25 @@ std::string GenerateStruct_VkPhysicalDeviceRayTracingPipelineFeaturesKHR(std::os std::string GenerateStruct_VkPhysicalDeviceRayTracingPipelinePropertiesKHR(std::ostream &out, const VkPhysicalDeviceRayTracingPipelinePropertiesKHR* structInfo, Decoded_VkPhysicalDeviceRayTracingPipelinePropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* shaderGroupHandleSize */ +// shaderGroupHandleSize struct_body << "\t\t\t" << structInfo->shaderGroupHandleSize << "," << std::endl; -/* maxRayRecursionDepth */ +// maxRayRecursionDepth struct_body << "\t\t\t" << structInfo->maxRayRecursionDepth << "," << std::endl; -/* maxShaderGroupStride */ +// maxShaderGroupStride struct_body << "\t\t\t" << structInfo->maxShaderGroupStride << "," << std::endl; -/* shaderGroupBaseAlignment */ +// shaderGroupBaseAlignment struct_body << "\t\t\t" << structInfo->shaderGroupBaseAlignment << "," << std::endl; -/* shaderGroupHandleCaptureReplaySize */ +// shaderGroupHandleCaptureReplaySize struct_body << "\t\t\t" << structInfo->shaderGroupHandleCaptureReplaySize << "," << std::endl; -/* maxRayDispatchInvocationCount */ +// maxRayDispatchInvocationCount struct_body << "\t\t\t" << structInfo->maxRayDispatchInvocationCount << "," << std::endl; -/* shaderGroupHandleAlignment */ +// shaderGroupHandleAlignment struct_body << "\t\t\t" << structInfo->shaderGroupHandleAlignment << "," << std::endl; -/* maxRayHitAttributeSize */ +// maxRayHitAttributeSize struct_body << "\t\t\t" << structInfo->maxRayHitAttributeSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayTracingPipelinePropertiesKHR"); out << "\t\t" << "VkPhysicalDeviceRayTracingPipelinePropertiesKHR " << variable_name << " {" << std::endl; @@ -24884,33 +24884,33 @@ std::string GenerateStruct_VkRayTracingPipelineCreateInfoKHR(std::ostream &out, consumer); pdynamic_state_struct.insert(0, "&"); } -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* flags */ +// flags struct_body << "\t\t\t" << "VkPipelineCreateFlags(" << structInfo->flags << ")" << "," << std::endl; -/* stageCount */ +// stageCount struct_body << "\t\t\t" << structInfo->stageCount << "," << std::endl; -/* pStages */ +// pStages struct_body << "\t\t\t" << pstages_array << "," << std::endl; -/* groupCount */ +// groupCount struct_body << "\t\t\t" << structInfo->groupCount << "," << std::endl; -/* pGroups */ +// pGroups struct_body << "\t\t\t" << pgroups_array << "," << std::endl; -/* maxPipelineRayRecursionDepth */ +// maxPipelineRayRecursionDepth struct_body << "\t\t\t" << structInfo->maxPipelineRayRecursionDepth << "," << std::endl; -/* pLibraryInfo */ +// pLibraryInfo struct_body << "\t\t\t" << plibrary_info_struct << "," << std::endl; -/* pLibraryInterface */ +// pLibraryInterface struct_body << "\t\t\t" << plibrary_interface_struct << "," << std::endl; -/* pDynamicState */ +// pDynamicState struct_body << "\t\t\t" << pdynamic_state_struct << "," << std::endl; -/* layout */ +// layout struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->layout) << "," << std::endl; -/* basePipelineHandle */ +// basePipelineHandle struct_body << "\t\t\t" << consumer.GetHandle(metaInfo->basePipelineHandle) << "," << std::endl; -/* basePipelineIndex */ +// basePipelineIndex struct_body << "\t\t\t" << structInfo->basePipelineIndex << ","; std::string variable_name = consumer.AddStruct(struct_body, "rayTracingPipelineCreateInfoKHR"); out << "\t\t" << "VkRayTracingPipelineCreateInfoKHR " << variable_name << " {" << std::endl; @@ -24923,13 +24923,13 @@ std::string GenerateStruct_VkRayTracingPipelineCreateInfoKHR(std::ostream &out, std::string GenerateStruct_VkRayTracingPipelineInterfaceCreateInfoKHR(std::ostream &out, const VkRayTracingPipelineInterfaceCreateInfoKHR* structInfo, Decoded_VkRayTracingPipelineInterfaceCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxPipelineRayPayloadSize */ +// maxPipelineRayPayloadSize struct_body << "\t\t\t" << structInfo->maxPipelineRayPayloadSize << "," << std::endl; -/* maxPipelineRayHitAttributeSize */ +// maxPipelineRayHitAttributeSize struct_body << "\t\t\t" << structInfo->maxPipelineRayHitAttributeSize << ","; std::string variable_name = consumer.AddStruct(struct_body, "rayTracingPipelineInterfaceCreateInfoKHR"); out << "\t\t" << "VkRayTracingPipelineInterfaceCreateInfoKHR " << variable_name << " {" << std::endl; @@ -24942,21 +24942,21 @@ std::string GenerateStruct_VkRayTracingPipelineInterfaceCreateInfoKHR(std::ostre std::string GenerateStruct_VkRayTracingShaderGroupCreateInfoKHR(std::ostream &out, const VkRayTracingShaderGroupCreateInfoKHR* structInfo, Decoded_VkRayTracingShaderGroupCreateInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* type */ +// type struct_body << "\t\t\t" << "VkRayTracingShaderGroupTypeKHR(" << structInfo->type << ")" << "," << std::endl; -/* generalShader */ +// generalShader struct_body << "\t\t\t" << structInfo->generalShader << "," << std::endl; -/* closestHitShader */ +// closestHitShader struct_body << "\t\t\t" << structInfo->closestHitShader << "," << std::endl; -/* anyHitShader */ +// anyHitShader struct_body << "\t\t\t" << structInfo->anyHitShader << "," << std::endl; -/* intersectionShader */ +// intersectionShader struct_body << "\t\t\t" << structInfo->intersectionShader << "," << std::endl; -/* pShaderGroupCaptureReplayHandle */ +// pShaderGroupCaptureReplayHandle struct_body << "\t\t\t" << structInfo->pShaderGroupCaptureReplayHandle << ","; std::string variable_name = consumer.AddStruct(struct_body, "rayTracingShaderGroupCreateInfoKHR"); out << "\t\t" << "VkRayTracingShaderGroupCreateInfoKHR " << variable_name << " {" << std::endl; @@ -24968,11 +24968,11 @@ std::string GenerateStruct_VkRayTracingShaderGroupCreateInfoKHR(std::ostream &ou std::string GenerateStruct_VkStridedDeviceAddressRegionKHR(std::ostream &out, const VkStridedDeviceAddressRegionKHR* structInfo, Decoded_VkStridedDeviceAddressRegionKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* deviceAddress */ +// deviceAddress struct_body << "\t" << structInfo->deviceAddress << "UL" << "," << std::endl; -/* stride */ +// stride struct_body << "\t\t\t" << structInfo->stride << "UL" << "," << std::endl; -/* size */ +// size struct_body << "\t\t\t" << structInfo->size << "UL" << ","; std::string variable_name = consumer.AddStruct(struct_body, "stridedDeviceAddressRegionKHR"); out << "\t\t" << "VkStridedDeviceAddressRegionKHR " << variable_name << " {" << std::endl; @@ -24984,11 +24984,11 @@ std::string GenerateStruct_VkStridedDeviceAddressRegionKHR(std::ostream &out, co std::string GenerateStruct_VkTraceRaysIndirectCommandKHR(std::ostream &out, const VkTraceRaysIndirectCommandKHR* structInfo, Decoded_VkTraceRaysIndirectCommandKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* width */ +// width struct_body << "\t" << structInfo->width << "," << std::endl; -/* height */ +// height struct_body << "\t\t\t" << structInfo->height << "," << std::endl; -/* depth */ +// depth struct_body << "\t\t\t" << structInfo->depth << ","; std::string variable_name = consumer.AddStruct(struct_body, "traceRaysIndirectCommandKHR"); out << "\t\t" << "VkTraceRaysIndirectCommandKHR " << variable_name << " {" << std::endl; @@ -25001,11 +25001,11 @@ std::string GenerateStruct_VkTraceRaysIndirectCommandKHR(std::ostream &out, cons std::string GenerateStruct_VkPhysicalDeviceRayQueryFeaturesKHR(std::ostream &out, const VkPhysicalDeviceRayQueryFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceRayQueryFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* rayQuery */ +// rayQuery struct_body << "\t\t\t" << structInfo->rayQuery << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceRayQueryFeaturesKHR"); out << "\t\t" << "VkPhysicalDeviceRayQueryFeaturesKHR " << variable_name << " {" << std::endl; @@ -25017,11 +25017,11 @@ std::string GenerateStruct_VkPhysicalDeviceRayQueryFeaturesKHR(std::ostream &out std::string GenerateStruct_VkDrawMeshTasksIndirectCommandEXT(std::ostream &out, const VkDrawMeshTasksIndirectCommandEXT* structInfo, Decoded_VkDrawMeshTasksIndirectCommandEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; -/* groupCountX */ +// groupCountX struct_body << "\t" << structInfo->groupCountX << "," << std::endl; -/* groupCountY */ +// groupCountY struct_body << "\t\t\t" << structInfo->groupCountY << "," << std::endl; -/* groupCountZ */ +// groupCountZ struct_body << "\t\t\t" << structInfo->groupCountZ << ","; std::string variable_name = consumer.AddStruct(struct_body, "drawMeshTasksIndirectCommandEXT"); out << "\t\t" << "VkDrawMeshTasksIndirectCommandEXT " << variable_name << " {" << std::endl; @@ -25034,19 +25034,19 @@ std::string GenerateStruct_VkDrawMeshTasksIndirectCommandEXT(std::ostream &out, std::string GenerateStruct_VkPhysicalDeviceMeshShaderFeaturesEXT(std::ostream &out, const VkPhysicalDeviceMeshShaderFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceMeshShaderFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* taskShader */ +// taskShader struct_body << "\t\t\t" << structInfo->taskShader << "," << std::endl; -/* meshShader */ +// meshShader struct_body << "\t\t\t" << structInfo->meshShader << "," << std::endl; -/* multiviewMeshShader */ +// multiviewMeshShader struct_body << "\t\t\t" << structInfo->multiviewMeshShader << "," << std::endl; -/* primitiveFragmentShadingRateMeshShader */ +// primitiveFragmentShadingRateMeshShader struct_body << "\t\t\t" << structInfo->primitiveFragmentShadingRateMeshShader << "," << std::endl; -/* meshShaderQueries */ +// meshShaderQueries struct_body << "\t\t\t" << structInfo->meshShaderQueries << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMeshShaderFeaturesEXT"); out << "\t\t" << "VkPhysicalDeviceMeshShaderFeaturesEXT " << variable_name << " {" << std::endl; @@ -25059,65 +25059,65 @@ std::string GenerateStruct_VkPhysicalDeviceMeshShaderFeaturesEXT(std::ostream &o std::string GenerateStruct_VkPhysicalDeviceMeshShaderPropertiesEXT(std::ostream &out, const VkPhysicalDeviceMeshShaderPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceMeshShaderPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); -/* sType */ +// sType struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; -/* pNext */ +// pNext struct_body << "\t\t\t" << pnext_name << "," << std::endl; -/* maxTaskWorkGroupTotalCount */ +// maxTaskWorkGroupTotalCount struct_body << "\t\t\t" << structInfo->maxTaskWorkGroupTotalCount << "," << std::endl; -/* maxTaskWorkGroupCount */ +// maxTaskWorkGroupCount struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxTaskWorkGroupCount[0]), 3) << "," << std::endl; -/* maxTaskWorkGroupInvocations */ +// maxTaskWorkGroupInvocations struct_body << "\t\t\t" << structInfo->maxTaskWorkGroupInvocations << "," << std::endl; -/* maxTaskWorkGroupSize */ +// maxTaskWorkGroupSize struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxTaskWorkGroupSize[0]), 3) << "," << std::endl; -/* maxTaskPayloadSize */ +// maxTaskPayloadSize struct_body << "\t\t\t" << structInfo->maxTaskPayloadSize << "," << std::endl; -/* maxTaskSharedMemorySize */ +// maxTaskSharedMemorySize struct_body << "\t\t\t" << structInfo->maxTaskSharedMemorySize << "," << std::endl; -/* maxTaskPayloadAndSharedMemorySize */ +// maxTaskPayloadAndSharedMemorySize struct_body << "\t\t\t" << structInfo->maxTaskPayloadAndSharedMemorySize << "," << std::endl; -/* maxMeshWorkGroupTotalCount */ +// maxMeshWorkGroupTotalCount struct_body << "\t\t\t" << structInfo->maxMeshWorkGroupTotalCount << "," << std::endl; -/* maxMeshWorkGroupCount */ +// maxMeshWorkGroupCount struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxMeshWorkGroupCount[0]), 3) << "," << std::endl; -/* maxMeshWorkGroupInvocations */ +// maxMeshWorkGroupInvocations struct_body << "\t\t\t" << structInfo->maxMeshWorkGroupInvocations << "," << std::endl; -/* maxMeshWorkGroupSize */ +// maxMeshWorkGroupSize struct_body << "\t\t\t" << VulkanCppConsumerBase::BuildValue(reinterpret_cast(&structInfo->maxMeshWorkGroupSize[0]), 3) << "," << std::endl; -/* maxMeshSharedMemorySize */ +// maxMeshSharedMemorySize struct_body << "\t\t\t" << structInfo->maxMeshSharedMemorySize << "," << std::endl; -/* maxMeshPayloadAndSharedMemorySize */ +// maxMeshPayloadAndSharedMemorySize struct_body << "\t\t\t" << structInfo->maxMeshPayloadAndSharedMemorySize << "," << std::endl; -/* maxMeshOutputMemorySize */ +// maxMeshOutputMemorySize struct_body << "\t\t\t" << structInfo->maxMeshOutputMemorySize << "," << std::endl; -/* maxMeshPayloadAndOutputMemorySize */ +// maxMeshPayloadAndOutputMemorySize struct_body << "\t\t\t" << structInfo->maxMeshPayloadAndOutputMemorySize << "," << std::endl; -/* maxMeshOutputComponents */ +// maxMeshOutputComponents struct_body << "\t\t\t" << structInfo->maxMeshOutputComponents << "," << std::endl; -/* maxMeshOutputVertices */ +// maxMeshOutputVertices struct_body << "\t\t\t" << structInfo->maxMeshOutputVertices << "," << std::endl; -/* maxMeshOutputPrimitives */ +// maxMeshOutputPrimitives struct_body << "\t\t\t" << structInfo->maxMeshOutputPrimitives << "," << std::endl; -/* maxMeshOutputLayers */ +// maxMeshOutputLayers struct_body << "\t\t\t" << structInfo->maxMeshOutputLayers << "," << std::endl; -/* maxMeshMultiviewViewCount */ +// maxMeshMultiviewViewCount struct_body << "\t\t\t" << structInfo->maxMeshMultiviewViewCount << "," << std::endl; -/* meshOutputPerVertexGranularity */ +// meshOutputPerVertexGranularity struct_body << "\t\t\t" << structInfo->meshOutputPerVertexGranularity << "," << std::endl; -/* meshOutputPerPrimitiveGranularity */ +// meshOutputPerPrimitiveGranularity struct_body << "\t\t\t" << structInfo->meshOutputPerPrimitiveGranularity << "," << std::endl; -/* maxPreferredTaskWorkGroupInvocations */ +// maxPreferredTaskWorkGroupInvocations struct_body << "\t\t\t" << structInfo->maxPreferredTaskWorkGroupInvocations << "," << std::endl; -/* maxPreferredMeshWorkGroupInvocations */ +// maxPreferredMeshWorkGroupInvocations struct_body << "\t\t\t" << structInfo->maxPreferredMeshWorkGroupInvocations << "," << std::endl; -/* prefersLocalInvocationVertexOutput */ +// prefersLocalInvocationVertexOutput struct_body << "\t\t\t" << structInfo->prefersLocalInvocationVertexOutput << "," << std::endl; -/* prefersLocalInvocationPrimitiveOutput */ +// prefersLocalInvocationPrimitiveOutput struct_body << "\t\t\t" << structInfo->prefersLocalInvocationPrimitiveOutput << "," << std::endl; -/* prefersCompactVertexOutput */ +// prefersCompactVertexOutput struct_body << "\t\t\t" << structInfo->prefersCompactVertexOutput << "," << std::endl; -/* prefersCompactPrimitiveOutput */ +// prefersCompactPrimitiveOutput struct_body << "\t\t\t" << structInfo->prefersCompactPrimitiveOutput << ","; std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMeshShaderPropertiesEXT"); out << "\t\t" << "VkPhysicalDeviceMeshShaderPropertiesEXT " << variable_name << " {" << std::endl; diff --git a/framework/generated/vulkan_generators/vulkan_cpp_consumer_body_generator.py b/framework/generated/vulkan_generators/vulkan_cpp_consumer_body_generator.py index 8023ad1bf2..5643f910fa 100644 --- a/framework/generated/vulkan_generators/vulkan_cpp_consumer_body_generator.py +++ b/framework/generated/vulkan_generators/vulkan_cpp_consumer_body_generator.py @@ -764,7 +764,7 @@ def makeConsumerFuncBody(self, returnType, name, values): if arg.base_type in self.handle_names: handleObjectType = makeObjectType(arg.base_type) - body += makeGen('/* {arg.name} */', locals(), indent=0) + body += makeGen('// {arg.name}', locals(), indent=0) if arg.is_pointer and self.is_struct(arg.base_type) and self.is_input_pointer(arg): if arg.base_type == 'VkAllocationCallbacks': diff --git a/framework/generated/vulkan_generators/vulkan_cpp_struct_generator.py b/framework/generated/vulkan_generators/vulkan_cpp_struct_generator.py index 079e097910..bf67b0d2e2 100644 --- a/framework/generated/vulkan_generators/vulkan_cpp_struct_generator.py +++ b/framework/generated/vulkan_generators/vulkan_cpp_struct_generator.py @@ -613,7 +613,7 @@ def makeStructDeclBody(self, structName): arg_name = struct_prefix + arg.name - body.append(makeGen('/* {arg.name} */', locals(), 0)) + body.append(makeGen('// {arg.name}', locals(), 0)) lengths = [] if arg.array_length_value is not None: @@ -626,9 +626,9 @@ def makeStructDeclBody(self, structName): lengths = re.split(',', loopCondition) elif arg.array_length is not None: lengths = re.split(',', arg.array_length) - for count in range(len(lengths)): - if not lengths[count].isupper() and not lengths[count].isnumeric(): - lengths[count] = struct_prefix + lengths[count] + for index, length in enumerate(lengths): + if not (length.isupper() or length.isnumeric()): + lengths[index] = struct_prefix + length num_lengths = len(lengths) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 1bbcdf2a57..cebc08d669 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,7 +1,11 @@ add_subdirectory(replay) add_subdirectory(compress) add_subdirectory(info) + +if(GFXRECON_TOCPP_SUPPORT) add_subdirectory(tocpp) +endif() + add_subdirectory(extract) add_subdirectory(optimize) add_subdirectory(capture-vulkan) diff --git a/tools/tocpp/README.md b/tools/tocpp/README.md index 3ff09008d7..40c0f7f37f 100644 --- a/tools/tocpp/README.md +++ b/tools/tocpp/README.md @@ -1,4 +1,8 @@ -# ToCpp +

+ +

+ +# ![Alpha Release](alpha.png) GFXReconstruct ToCpp Tool ## Overview @@ -7,7 +11,7 @@ Vulkan API calls. This allows easier modification of content in a trace without compromising the original traces integrity. -**NOTE:** This tool is released in an Alpha state and has many limitations. +**NOTE:** This tool is released in an **Alpha** state and has many limitations. These limitations are discussed below. ## Known Current Issues @@ -31,17 +35,46 @@ known issues which will be worked on over time: to revealing only one ICD during capture and replay on any given target. * Large traces can lead to stack exhaustion during a compilation * This is especially true on Android + * For my Linux system, the average max trace supported before compiler errors + start to cause a problem is around 2000 frames. But this varies per + application capture. -## Generate Source From a Capture +## Usage ### Prerequisites + * Build GFXReconstruct (including the ToCpp tool) + * This is done by setting **-DGFXRECON_TOCPP_SUPPORT=ON** during the CMake build + file generation process. + * This will generate the `gfxrecon-tocpp` executable in the + `/tools/tocpp`` directory. + +### Command Line +```sh +gfxrecon-tocpp +``` + +### Valid Command-Line Arguments + +| Command-line Argument | Type | Description | +| :--------------------------------- | :---------------------: | :------------------------------------------------------ | +| -a
--android-template | Required (Android Only) | Directory path containing the Android application template files. (Only valid for Android platform target) | +| -c
command-limit | Optional | Maximum number of API commands recorded per C++ file. The intent is to adjust compilation load per file. (Defaults to 1000 commands per file) | +| -d
--max-window-dimensions | Optional | Maximum dimensions of the created window. (For example '-d \,\') | +| -f
--frame-limit | Optional | Maximum number of frames to convert to C++ code from the capture file. | +| -h
--help | Optional | Print Usage information and exit. | +| -o
--output | Required | Directory path where the output will be generated into. | +| -t
--target | Optional | Type of target platform to generate the Vulkan source.
Available Platforms: android, xcb | +| -v
--version | Optional | Print version information and exit. | + +## Generate Source From a Capture ### Android ```sh # In the root of GFXReconstruct -./build/tools/tocpp/gfxrecon-tocpp -t android -o out_android --android-template external/Tocpp-Android-Template/ ./android_capture.gfxr +./build/tools/tocpp/gfxrecon-tocpp -t android -o out_android \ + --android-template external/Tocpp-Android-Template/ ./android_capture.gfxr ``` * `-t android` `(--target android)` indicates that we generate for Android. @@ -55,7 +88,7 @@ directory (specified by `--android-template`), the generated `app/src/main/jni/VulkanMain.cpp` and the saved image data (`app/src/main/assets/*.bin`) can be found. -#### Build the apk +#### Build the APK ##### Prerequisites * [Gradle](https://gradle.org/install/) @@ -96,9 +129,9 @@ adb install ./app/build/outputs/apk/debug/app-debug.apk ./build/tools/tocpp/gfxrecon-tocpp -t xcb -o out_xcb_capture ./capture.gfxr ``` -* `-t xcb` `(--target xcb)` indicates that we generate for XCB platform. -* `-o out_xcb_capture` `(--output out_xcb_capture)` specify the directory where - all the required files will be generated. +* `-t xcb` indicates that we generate for XCB platform. +* `-o out_xcb_capture` specify the directory where the generated files will be + placed. At the end the output directory (`out_xcb_capture`) contains the generated `capture.cpp` and the saved image data (`*.bin`). @@ -106,7 +139,7 @@ At the end the output directory (`out_xcb_capture`) contains the generated ### Build the source for desktop (XCB) ```sh -#cd +#cd cd out_xcb_capture # Generate build contents @@ -123,21 +156,29 @@ cmake --build build ./build/vulkan_app ``` -## Make Conversion Easier +## Make Capture Conversion Easier -Currently, there is no memory re-binding or swapchain improvement code in the `ToCpp` path. -However, you can re-capture existing captures in a way that will make them easier to -convert to C++ code. +Currently, there is no memory re-binding or swapchain improvement code in the +`ToCpp` path. +Despite this restriction, it is possible to re-capture existing traces to make +them convert to C++ code more easily and correctly for the target system. +The secret to do this is to capture a replay of the original capture using the +`gfxrecon-replay` tool and have that tool modify the necessary items to work +better on the system. +This new capture will therefore be more friendly with the target system. +In addition, due to the number of frame limitations, it is also possible to +capture fewer frames for generating the source from. -Simply do the following: +For example: ``` python3 ./x86_64/bin/gfxrecon-capture-vulkan.py -o new_capture.gfxr -f 1-1000 \ - --no-file-timestamp gfxrecon-replay --remove-unsupported -m rebind \ + --no-file-timestamp gfxrecon-replay --remove-unsupported -m rebind \ --wsi xcb original_capture.gfxr ``` This replays an existing capture on Linux using XCB as the WSI interface, rebinds the memory, and removes unsupported extensions for the current platform. -The capture not only creates a new capture file, but this is trimming the orginal -capture file down to only 1000 frames so that it is easier to convert. \ No newline at end of file +The capture not only creates a new capture file, but trims the original capture +file down to only 1000 frames so that it is easier to generate compilable C++ +source code. \ No newline at end of file diff --git a/tools/tocpp/alpha.png b/tools/tocpp/alpha.png new file mode 100644 index 0000000000..fc5ddd1dc9 Binary files /dev/null and b/tools/tocpp/alpha.png differ diff --git a/tools/tocpp/main.cpp b/tools/tocpp/main.cpp index 5b99c56498..b08fa2c4e3 100644 --- a/tools/tocpp/main.cpp +++ b/tools/tocpp/main.cpp @@ -37,30 +37,77 @@ #include "vulkan/vulkan_core.h" -const char kHelpShortOption[] = "-h"; -const char kHelpLongOption[] = "--help"; -const char kVersionOption[] = "--version"; - -const char kCppTargetShortOption[] = "-t"; -const char kCppTargetLongOption[] = "--target"; - -const char kCppOutputShortOption[] = "-o"; -const char kCppOutputLongOption[] = "--output"; - -const char kCppOutputFrameLimitShortOption[] = "-f"; -const char kCppOutputFrameLimitLongOption[] = "--frame-limit"; - -const char kCppOutputCommandLimitShortOption[] = "-c"; -const char kCppOutputCommandLimitLongOption[] = "--command-limit"; - -const char kCppOutputMaxWindowWidthLongOption[] = "--max-width"; -const char kCppOutputMaxWindowHeightLongOption[] = "--max-height"; - -const char kCppAndroidTemplateOption[] = "--android-template"; - -const char kOptions[] = "-h|--help,--version"; -const char kArguments[] = - "-t|--target,-o|--output,--android-template,-c|--command-limit,-f|--frame-limit,--max-width,--max-height"; +struct CommandLineArgument +{ + bool required; + bool expects_argument; + const char short_option[8]; + const char long_option[32]; + const char additional[16]; + const char restrictions[64]; + const char description[512]; +}; + +CommandLineArgument g_help_argument = { + false, false, "-h", "--help", "\t\t\t\t\t", "", "Print usage information and exit." +}; +CommandLineArgument g_version_argument = { + false, false, "-v", "--version", "\t\t\t\t", "", "Print version information and exit." +}; +CommandLineArgument g_android_template_argument = { + false, + true, + "-a", + "--android-template", + "\t\t\t", + " (Only valid for Android targets)", + "Directory path containing the Android application template files." +}; +CommandLineArgument g_target_argument = { true, + true, + "-t", + "--target", + "\t\t\t", +#if defined(_WIN32) || defined(_WIN64) || defined(__MINGW32__) || defined(__MINGW64__) + " (Defaults to win32)", +#elif defined(__APPLE__) + " (Defaults to macos)", +#elif defined(__ANDROID__) + " (Defaults to android)", +#else + " (Defaults to xcb)", +#endif + "The type of platform for the intended target Vulkan source.\n" + "\t\t\t\t\t\t\t Available Platforms:\n" + "\t\t\t\t\t\t\t android Generate for Android.\n" + "\t\t\t\t\t\t\t xcb Generate for XCB." }; +CommandLineArgument g_output_argument = { + true, true, "-o", "--output", "\t\t\t\t", "", "Directory path where the output will be generated into." +}; +CommandLineArgument g_max_window_dimensions_argument = { + false, true, "-d", "--max-window-dimensions", "\t", "", "Maximum dimensions of the created window." +}; +CommandLineArgument g_frame_limit_argument = { + false, + true, + "-f", + "--frame-limit", + "\t\t\t", + "", + "Maximum number of frames to convert to C++ code from the capture file." +}; +CommandLineArgument g_command_limit_argument = { + false, + true, + "-c", + "--command-limit", + "\t\t\t", + " (Defaults to 1000)", + "Maximum number of API commands recorded per C++ file. The intent is to" + " adjust compilation load per file." +}; + +std::vector g_argument_list; #if defined(WIN32) const char kPathSep = '\\'; @@ -79,7 +126,9 @@ const std::string path_assets = "app/src/main/assets/"; static bool CheckOptionPrintVersion(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) { - if (arg_parser.IsOptionSet(kVersionOption)) + // We can just check for the short option because the argument parser will assign even + // the long option to either one for easier detecting. + if (arg_parser.IsOptionSet(g_version_argument.short_option)) { std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); @@ -113,51 +162,43 @@ static void PrintUsage(const char* exe_name) GFXRECON_WRITE_CONSOLE("\n%s - A tool to convert GFXReconstruct capture files to Vulkan source.\n", app_name.c_str()); GFXRECON_WRITE_CONSOLE("Usage:"); - GFXRECON_WRITE_CONSOLE(" %s\t[-h | --help] [--version]", app_name.c_str()); - GFXRECON_WRITE_CONSOLE("\t\t\t[-o | --output ]"); - GFXRECON_WRITE_CONSOLE("\t\t\t[-t | --target ]"); - GFXRECON_WRITE_CONSOLE("\t\t\t[--android-template ] \n"); - GFXRECON_WRITE_CONSOLE("Required arguments:"); - GFXRECON_WRITE_CONSOLE(" \t\tPath to the capture file to convert."); - GFXRECON_WRITE_CONSOLE("\nOptional arguments:"); - GFXRECON_WRITE_CONSOLE(" -h\t\t\t\tPrint usage information and exit (same as --help)."); - GFXRECON_WRITE_CONSOLE(" --version\t\t\tPrint version information and exit."); - GFXRECON_WRITE_CONSOLE(" -o \t\t\tPath to the directory where the outputs will be generated."); - GFXRECON_WRITE_CONSOLE(" -t \t\t\tType of target platform to generate the Vulkan source."); - GFXRECON_WRITE_CONSOLE(" \t\t\tAvailable platforms are:"); -#ifdef __ANDROID__ - GFXRECON_WRITE_CONSOLE(" \t\t\t android\tGenerate for Android (default)."); -#else - GFXRECON_WRITE_CONSOLE(" \t\t\t android\tGenerate for Android."); -#endif -#ifdef __APPLE__ - GFXRECON_WRITE_CONSOLE(" \t\t\t macos\tGenerate for MacOS (default)."); -#else - GFXRECON_WRITE_CONSOLE(" \t\t\t macos\tGenerate for MacOS."); -#endif - GFXRECON_WRITE_CONSOLE(" \t\t\t wayland\tGenerate for Wayland."); -#if defined(_WIN32) || defined(_WIN64) || defined(__MINGW32__) || defined(__MINGW64__) - GFXRECON_WRITE_CONSOLE(" \t\t\t win32\tGenerate for Win32 (default)."); -#else - GFXRECON_WRITE_CONSOLE(" \t\t\t win32\tGenerate for Win32."); -#endif -#ifdef __linux__ - GFXRECON_WRITE_CONSOLE(" \t\t\t xcb\t\tGenerate for XCB (default)."); -#else - GFXRECON_WRITE_CONSOLE(" \t\t\t xcb\t\tGenerate for XCB."); -#endif -#ifdef __ANDROID__ - GFXRECON_WRITE_CONSOLE(" --android-template \tThe path of the android template directory."); -#endif - GFXRECON_WRITE_CONSOLE(" \t\t\t Usually: 'external/Tocpp-Android-Template'."); - GFXRECON_WRITE_CONSOLE(" -l \t\t\tThe maximum amount of frames to generate."); - GFXRECON_WRITE_CONSOLE(" --max-width \t\tThe maximum window width the device's screen can handle."); - GFXRECON_WRITE_CONSOLE(" --max-height \t\tThe maximum window height the device's screen can handle."); + GFXRECON_WRITE_CONSOLE(" %s [arguments] \n", app_name.c_str()); + GFXRECON_WRITE_CONSOLE(" must be a valid GFXReconstruct capture file\n", app_name.c_str()); + GFXRECON_WRITE_CONSOLE(" Required Arguments:"); + + for (auto& argument : g_argument_list) + { + if (argument.required) + { + GFXRECON_WRITE_CONSOLE("\t[%s | %s] %s %s%s", + argument.short_option, + argument.long_option, + argument.additional, + argument.description, + argument.restrictions); + } + } + + GFXRECON_WRITE_CONSOLE("\n Optional Arguments:"); + for (auto& argument : g_argument_list) + { + if (!argument.required) + { + GFXRECON_WRITE_CONSOLE("\t[%s | %s] %s %s%s", + argument.short_option, + argument.long_option, + argument.additional, + argument.description, + argument.restrictions); + } + } } static bool CheckOptionPrintUsage(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) { - if (arg_parser.IsOptionSet(kHelpShortOption) || arg_parser.IsOptionSet(kHelpLongOption)) + // We can just check for the short option because the argument parser will assign even + // the long option to either one for easier detecting. + if (arg_parser.IsOptionSet(g_help_argument.short_option)) { PrintUsage(exe_name); return true; @@ -166,46 +207,57 @@ static bool CheckOptionPrintUsage(const char* exe_name, const gfxrecon::util::Ar return false; } -static gfxrecon::decode::GfxTocppPlatform GetCppTargetPlatform(const gfxrecon::util::ArgumentParser& arg_parser) +static gfxrecon::decode::GfxToCppPlatform GetCppTargetPlatform(const gfxrecon::util::ArgumentParser& arg_parser) { - std::string platform = arg_parser.GetArgumentValue(kCppTargetShortOption); + gfxrecon::decode::GfxToCppPlatform platform_enum = gfxrecon::decode::GfxToCppPlatform::PLATFORM_COUNT; + std::string platform; + + // We can just check for the short argument because the argument parser will assign even + // the long argument to either one for easier detecting. + if (arg_parser.IsArgumentSet(g_target_argument.short_option)) + { + platform = arg_parser.GetArgumentValue(g_target_argument.short_option); + printf("Platform set to %s\n", platform.c_str()); + } - // Choose the appropriate platform - const uint32_t max_count = static_cast(sizeof(gfxrecon::decode::kValidTargetPlatforms) / - sizeof(gfxrecon::decode::PlatformTargets)); - gfxrecon::decode::GfxTocppPlatform platform_enum = gfxrecon::decode::GfxTocppPlatform::PLATFORM_COUNT; - for (uint32_t ii = 0; ii < max_count; ++ii) + if (platform.length() > 0) { - if (gfxrecon::util::platform::StringCompare(gfxrecon::decode::kValidTargetPlatforms[ii].platformName, - platform.c_str()) == 0) + // Choose the appropriate platform + const uint32_t max_count = static_cast(sizeof(gfxrecon::decode::kValidTargetPlatforms) / + sizeof(gfxrecon::decode::PlatformTargets)); + for (uint32_t ii = 0; ii < max_count; ++ii) { - platform_enum = gfxrecon::decode::kValidTargetPlatforms[ii].platformEnum; - break; + if (gfxrecon::util::platform::StringCompare(gfxrecon::decode::kValidTargetPlatforms[ii].platformName, + platform.c_str()) == 0) + { + platform_enum = gfxrecon::decode::kValidTargetPlatforms[ii].platformEnum; + break; + } } } // If no platform was found, default to a given one for the platform - if (platform_enum >= gfxrecon::decode::GfxTocppPlatform::PLATFORM_COUNT) + if (platform_enum >= gfxrecon::decode::GfxToCppPlatform::PLATFORM_COUNT) { #if defined(_WIN32) || defined(_WIN64) || defined(__MINGW32__) || defined(__MINGW64__) GFXRECON_LOG_INFO("Target platform is not specified or invalid, fall back to 'win32'."); - platform_enum = gfxrecon::decode::GfxTocppPlatform::PLATFORM_WIN32; + platform_enum = gfxrecon::decode::GfxToCppPlatform::PLATFORM_WIN32; #elif defined(__APPLE__) GFXRECON_LOG_INFO("Target platform is not specified or invalid, fall back to 'macos'."); - platform_enum = gfxrecon::decode::GfxTocppPlatform::PLATFORM_MACOS; + platform_enum = gfxrecon::decode::GfxToCppPlatform::PLATFORM_MACOS; #elif defined(__ANDROID__) GFXRECON_LOG_INFO("Target platform is not specified or invalid, fall back to 'android'."); - platform_enum = gfxrecon::decode::GfxTocppPlatform::PLATFORM_ANDROID; + platform_enum = gfxrecon::decode::GfxToCppPlatform::PLATFORM_ANDROID; #else GFXRECON_LOG_INFO("Target platform is not specified or invalid, fall back to 'xcb'."); - platform_enum = gfxrecon::decode::GfxTocppPlatform::PLATFORM_XCB; + platform_enum = gfxrecon::decode::GfxToCppPlatform::PLATFORM_XCB; #endif } return platform_enum; } -static bool outputDirectoryIsValid(std::string& out_dir) +static bool OutputDirectoryIsValid(std::string& out_dir) { if (out_dir.empty()) { @@ -234,14 +286,28 @@ static bool outputDirectoryIsValid(std::string& out_dir) return true; } -uint32_t validateAndConvertNumericArgument(const std::string& argument, const std::string& error_msg) +void ValidateAndConvertDimensionArgument(const std::string& argument, std::vector& dimensions) +{ + if (!argument.empty()) + { + std::stringstream argument_stream(argument); + std::string str; + while (std::getline(argument_stream, str, ',')) + { + size_t processed = 0; + dimensions.push_back(std::stoi(str, &processed)); + } + } +} + +uint32_t ValidateAndConvertNumericArgument(const std::string& argument, const std::string& error_msg) { uint32_t number = UINT32_MAX; if (!argument.empty()) { - size_t charsProcessed = 0; - number = std::stoi(argument, &charsProcessed); - if (charsProcessed != argument.length()) + size_t processed = 0; + number = std::stoi(argument, &processed); + if (processed != argument.length()) { GFXRECON_LOG_ERROR(error_msg.c_str()); gfxrecon::util::Log::Release(); @@ -252,7 +318,7 @@ uint32_t validateAndConvertNumericArgument(const std::string& argument, const st return number; } -static bool androidDirsAreExists(const std::string& android_dir) +static bool AndroidDirsExist(const std::string& android_dir) { if (!gfxrecon::util::filepath::IsDirectory(android_dir)) { @@ -275,7 +341,7 @@ static bool androidDirsAreExists(const std::string& android_dir) } #ifdef __ANDROID__ -static int copy_file(const char* src_path, const struct stat* sb, int typeflag, struct FTW* ftwbuf) +static int CopyDirectoryContents(const char* src_path, const struct stat* sb, int typeflag, struct FTW* ftwbuf) { // Don't copy the directory itself. if (ftwbuf->level == 0) @@ -317,7 +383,7 @@ static int copy_file(const char* src_path, const struct stat* sb, int typeflag, } #endif // __ANDROID__ -static std::string getOutputFilename(const std::string& capture_file) +static std::string GetOutputFilename(const std::string& capture_file) { std::string output_filename(capture_file); @@ -373,7 +439,7 @@ bool PreProcessCapture(gfxrecon::decode::VulkanCppPreProcessConsumer& cpp_consum bool ProcessCapture(gfxrecon::decode::VulkanCppConsumer& cpp_consumer, const std::string& input_filename, const std::string& output_filename, - const gfxrecon::decode::GfxTocppPlatform& target_platform, + const gfxrecon::decode::GfxToCppPlatform& target_platform, const uint32_t frame_limit) { gfxrecon::decode::FileProcessor file_processor; @@ -406,49 +472,68 @@ bool ProcessCapture(gfxrecon::decode::VulkanCppConsumer& cpp_consumer, int main(int argc, const char** argv) { - std::string input_filename; - gfxrecon::util::ArgumentParser arg_parser(argc, argv, kOptions, kArguments); + std::string input_filename; + + // Generate the entire list of valid arguments/options + std::string arguments_string; + std::string options_string; + g_argument_list.push_back(g_help_argument); + g_argument_list.push_back(g_version_argument); + g_argument_list.push_back(g_target_argument); + g_argument_list.push_back(g_output_argument); + g_argument_list.push_back(g_android_template_argument); + g_argument_list.push_back(g_max_window_dimensions_argument); + g_argument_list.push_back(g_frame_limit_argument); + g_argument_list.push_back(g_command_limit_argument); + for (auto& argument : g_argument_list) + { + if (argument.expects_argument) + { + if (arguments_string.length() > 0) + { + arguments_string += ","; + } + arguments_string += argument.short_option + std::string("|") + argument.long_option; + } + else + { + if (options_string.length() > 0) + { + options_string += ","; + } + options_string += argument.short_option + std::string("|") + argument.long_option; + } + } + gfxrecon::util::ArgumentParser arg_parser(argc, argv, options_string, arguments_string); gfxrecon::util::Log::Init(); // --output - output_dirname = arg_parser.GetArgumentValue(kCppOutputShortOption); - if (output_dirname.size() == 0) - { - output_dirname = arg_parser.GetArgumentValue(kCppOutputLongOption); - } + output_dirname = arg_parser.GetArgumentValue(g_output_argument.short_option); // --target - gfxrecon::decode::GfxTocppPlatform target_platform = GetCppTargetPlatform(arg_parser); + gfxrecon::decode::GfxToCppPlatform target_platform = GetCppTargetPlatform(arg_parser); // --android-template - android_template_root = arg_parser.GetArgumentValue(kCppAndroidTemplateOption); + android_template_root = arg_parser.GetArgumentValue(g_android_template_argument.short_option); // --command-limit uint32_t command_limit = 0; - std::string command_limit_argument = arg_parser.GetArgumentValue(kCppOutputCommandLimitShortOption); + std::string command_limit_argument = arg_parser.GetArgumentValue(g_command_limit_argument.short_option); if (command_limit_argument.size() != 0) { - command_limit_argument = arg_parser.GetArgumentValue(kCppOutputCommandLimitLongOption); command_limit = - validateAndConvertNumericArgument(command_limit_argument, "The given command limit is invalid!"); + ValidateAndConvertNumericArgument(command_limit_argument, "The given command limit is invalid!"); } // --frame-limit - std::string frame_limit_argument = arg_parser.GetArgumentValue(kCppOutputFrameLimitShortOption); - if (frame_limit_argument.size() == 0) - { - frame_limit_argument = arg_parser.GetArgumentValue(kCppOutputFrameLimitLongOption); - } + std::string frame_limit_argument = arg_parser.GetArgumentValue(g_frame_limit_argument.short_option); - // --max-width - std::string max_width_argument = arg_parser.GetArgumentValue(kCppOutputMaxWindowWidthLongOption); - - // --max-height - std::string max_height_argument = arg_parser.GetArgumentValue(kCppOutputMaxWindowHeightLongOption); + // --max-window-dimensions + std::string max_dimensions_argument = arg_parser.GetArgumentValue(g_max_window_dimensions_argument.short_option); // Remove the consecutive path separators from the end of the path. - if (target_platform == gfxrecon::decode::GfxTocppPlatform::PLATFORM_ANDROID) + if (target_platform == gfxrecon::decode::GfxToCppPlatform::PLATFORM_ANDROID) { while (android_template_root.back() == kPathSep) { @@ -456,7 +541,7 @@ int main(int argc, const char** argv) } } - if (CheckOptionPrintVersion(argv[0], arg_parser) || CheckOptionPrintUsage(argv[0], arg_parser)) + if (CheckOptionPrintVersion(argv[0], arg_parser)) { gfxrecon::util::Log::Release(); exit(0); @@ -467,13 +552,13 @@ int main(int argc, const char** argv) gfxrecon::util::Log::Release(); exit(-1); } - else if (!outputDirectoryIsValid(output_dirname)) + else if (!OutputDirectoryIsValid(output_dirname)) { gfxrecon::util::Log::Release(); exit(-1); } - else if (target_platform == gfxrecon::decode::GfxTocppPlatform::PLATFORM_ANDROID && - !androidDirsAreExists(android_template_root)) + else if (target_platform == gfxrecon::decode::GfxToCppPlatform::PLATFORM_ANDROID && + !AndroidDirsExist(android_template_root)) { GFXRECON_LOG_ERROR("The specified path to --android-template option is missing or wrong!"); gfxrecon::util::Log::Release(); @@ -487,14 +572,14 @@ int main(int argc, const char** argv) // Determine the output files. std::string output_filename; - if (target_platform == gfxrecon::decode::GfxTocppPlatform::PLATFORM_ANDROID) + if (target_platform == gfxrecon::decode::GfxToCppPlatform::PLATFORM_ANDROID) { // The maximum number of directories that nftw() will hold open simultaneously. const int max_open_fd = 20; // Copy the android template into the output dir. #ifdef __ANDROID__ - if (nftw(android_template_root.c_str(), copy_file, max_open_fd, 0) != 0) + if (nftw(android_template_root.c_str(), CopyDirectoryContents, max_open_fd, 0) != 0) { GFXRECON_LOG_ERROR("Error during copying of android template files!"); } @@ -514,16 +599,15 @@ int main(int argc, const char** argv) output_filename = gfxrecon::util::filepath::Join(output_dirname, path_vulkanmain + "VulkanMain.cpp"); output_dirname = gfxrecon::util::filepath::Join(output_dirname, path_assets); } - else // target_platform == gfxrecon::decode::GfxTocppPlatform::PLATFORM_XCB + else // target_platform == gfxrecon::decode::GfxToCppPlatform::PLATFORM_XCB { - output_filename = getOutputFilename(input_filename); + output_filename = GetOutputFilename(input_filename); } - uint32_t frame_limit = validateAndConvertNumericArgument(frame_limit_argument, "The given frame limit is invalid!"); - uint32_t max_window_width = - validateAndConvertNumericArgument(max_width_argument, "The given max width is invalid!"); - uint32_t max_window_height = - validateAndConvertNumericArgument(max_height_argument, "The given max height is invalid!"); + uint32_t frame_limit = ValidateAndConvertNumericArgument(frame_limit_argument, "The given frame limit is invalid!"); + + std::vector dimensions; + ValidateAndConvertDimensionArgument(max_dimensions_argument, dimensions); gfxrecon::decode::VulkanCppResourceTracker resource_tracker; gfxrecon::decode::VulkanCppPreProcessConsumer pre_process_cpp_consumer; @@ -546,7 +630,7 @@ int main(int argc, const char** argv) uint32_t pre_process_apicall_count = pre_process_cpp_consumer.GetCurrentApiCallNumber(); if (result) { - GFXRECON_LOG_INFO("Capture file pre processed %lu calls in %lf seconds", + GFXRECON_LOG_INFO("Capture file pre processed %u calls in %lf seconds", pre_process_apicall_count, gfxrecon::util::datetime::ConvertTimestampToSeconds( gfxrecon::util::datetime::DiffTimestamps(process_start_time, process_end_time))); @@ -563,20 +647,23 @@ int main(int argc, const char** argv) uint32_t window_width = pre_process_cpp_consumer.GetCaptureWindowWidth(); uint32_t window_height = pre_process_cpp_consumer.GetCaptureWindowHeight(); - if (window_width > max_window_width) + if (dimensions.size() > 1) { - GFXRECON_LOG_INFO("Window width (%lu) exceeds the given maximum value (%lu), falling back to maximum value.", - window_width, - max_window_width); - window_width = max_window_width; - } + if (window_width > dimensions[0]) + { + GFXRECON_LOG_INFO("Window width (%u) exceeds the given maximum value (%u), falling back to maximum value.", + window_width, + dimensions[0]); + window_width = dimensions[0]; + } - if (window_height > max_window_height) - { - GFXRECON_LOG_INFO("Window height (%lu) exceeds the given maximum value (%lu), falling back to maximum value.", - window_height, - max_window_height); - window_height = max_window_height; + if (window_height > dimensions[1]) + { + GFXRECON_LOG_INFO("Window height (%u) exceeds the given maximum value (%u), falling back to maximum value.", + window_height, + dimensions[1]); + window_height = dimensions[1]; + } } cpp_consumer.SetWindowSize(window_width, window_height); @@ -588,7 +675,7 @@ int main(int argc, const char** argv) uint32_t cpp_consumer_apicall_count = cpp_consumer.GetCurrentApiCallNumber(); if (result) { - GFXRECON_LOG_INFO("Capture file processed %lu calls in %lf seconds", + GFXRECON_LOG_INFO("Capture file processed %u calls in %lf seconds", cpp_consumer_apicall_count, gfxrecon::util::datetime::ConvertTimestampToSeconds( gfxrecon::util::datetime::DiffTimestamps(process_start_time, process_end_time))); @@ -600,7 +687,7 @@ int main(int argc, const char** argv) if (pre_process_apicall_count != cpp_consumer_apicall_count) { - GFXRECON_LOG_WARNING("Pre process consumer and cpp consumer apicall count mismatch: %lu != %lu", + GFXRECON_LOG_WARNING("Pre process consumer and cpp consumer apicall count mismatch: %u != %u", pre_process_apicall_count, cpp_consumer_apicall_count); } diff --git a/tools/tocpp/work_in_progress.png b/tools/tocpp/work_in_progress.png new file mode 100644 index 0000000000..57b84ab610 Binary files /dev/null and b/tools/tocpp/work_in_progress.png differ