From fb47ac89dc314ea9ee580e0e4c5b4f247c3eae5a Mon Sep 17 00:00:00 2001 From: Panagiotis Apostolou Date: Wed, 30 Aug 2023 11:00:07 +0200 Subject: [PATCH] Stricter compiler flags --- CMakeLists.txt | 15 +- android/framework/util/CMakeLists.txt | 9 +- android/tools/replay/CMakeLists.txt | 1 + framework/application/application.cpp | 4 +- framework/application/wayland_window.cpp | 2 +- framework/application/xcb_window.cpp | 3 +- framework/application/xlib_window.cpp | 3 +- .../decode/custom_vulkan_struct_to_json.cpp | 1 - framework/decode/decoder_util.h | 2 +- framework/decode/file_processor.cpp | 19 +- framework/decode/file_transformer.cpp | 3 +- framework/decode/file_transformer.h | 6 +- framework/decode/pointer_decoder.h | 2 +- .../decode/vulkan_captured_swapchain.cpp | 1 - framework/decode/vulkan_realign_allocator.cpp | 5 +- .../decode/vulkan_replay_consumer_base.cpp | 43 +- .../vulkan_resource_tracking_consumer.cpp | 12 +- framework/encode/capture_manager.cpp | 18 +- framework/encode/capture_manager.h | 4 +- framework/encode/capture_settings.cpp | 2 +- .../custom_vulkan_struct_handle_wrappers.cpp | 3 - framework/encode/vulkan_capture_manager.cpp | 11 +- framework/encode/vulkan_state_writer.cpp | 2 - .../base_struct_decoders_body_generator.py | 4 +- .../generated_vulkan_struct_decoders.cpp | 408 ++-- .../generated_vulkan_struct_to_json.cpp | 1872 +++++++++++++++++ .../vulkan_struct_to_json_body_generator.py | 2 + framework/graphics/fps_info.h | 2 +- framework/graphics/vulkan_util.cpp | 2 + framework/graphics/vulkan_util.h | 2 +- framework/util/CMakeLists.txt | 13 +- framework/util/custom_common_to_string.h | 2 +- framework/util/driver_info.cpp | 8 +- framework/util/image_writer.cpp | 2 +- framework/util/keyboard.cpp | 1 - framework/util/lz4_compressor.cpp | 2 +- framework/util/options.cpp | 5 +- framework/util/strings.cpp | 1 - framework/util/test/main.cpp | 1 - layer/test/main.cpp | 2 +- layer/trace_layer.cpp | 1 - tools/compress/CMakeLists.txt | 2 + tools/compress/main.cpp | 46 +- tools/convert/CMakeLists.txt | 1 + tools/convert/main.cpp | 4 +- tools/extract/main.cpp | 13 +- tools/info/main.cpp | 16 +- tools/optimize/CMakeLists.txt | 2 + tools/optimize/main.cpp | 4 +- tools/replay/CMakeLists.txt | 1 + tools/replay/desktop_main.cpp | 1 + tools/replay/replay_settings.h | 4 +- tools/tool_settings.cpp | 795 +++++++ tools/tool_settings.h | 777 +------ 54 files changed, 3046 insertions(+), 1121 deletions(-) create mode 100644 tools/tool_settings.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index a2b1b901c1..f931103f60 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,6 +44,10 @@ set(GFXRECONSTRUCT_PROJECT_VERSION_PATCH 0) set(GFXRECON_PROJECT_VERSION_SHA1 "unknown-build-source") +if(UNIX) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wconversion -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-conversion -Wno-maybe-uninitialized") +endif() + option(BUILD_STATIC "Build static binaries for HPC clusters (will not build the tracer library)" OFF) if (NOT DEFINED HEADLESS) @@ -175,7 +179,7 @@ if(MSVC) "set D3D12_SUPPORT=OFF or configure the build with the recommended Windows SDK version. See BUILD.md " "for more information.") endif() - + else() set(BUILD_LAUNCHER_AND_INTERCEPTOR OFF) endif() @@ -187,14 +191,14 @@ if(MSVC) # Add option to enable/disable AGS support. option(GFXRECON_AGS_SUPPORT "Build with AGS support enabled. Ignored if D3D12_SUPPORT=OFF." ON) - + if (${D3D12_SUPPORT}) if (${GFXRECON_AGS_SUPPORT}) if (CMAKE_SIZEOF_VOID_P EQUAL 8) find_package(AGS) if (TARGET AGS::AGS) add_definitions(-DGFXRECON_AGS_SUPPORT) - + # The value for option GFXRECON_AGS_SUPPORT gets cached so use a non-cached variable # to determine the final result. set(GFXRECON_AGS_SUPPORT_FINAL ON) @@ -202,7 +206,7 @@ if(MSVC) endif() # CMAKE_SIZEOF_VOID_P EQUAL 8 endif() # GFXRECON_AGS_SUPPORT endif() # D3D12_SUPPORT - + else(MSVC) # Turn off D3D12 support for non MSVC builds. set(D3D12_SUPPORT OFF) @@ -297,7 +301,8 @@ target_compile_options(vulkan_memory_allocator INTERFACE $<$,$>: -Wno-nullability-completeness> ) -target_include_directories(vulkan_memory_allocator INTERFACE ${CMAKE_SOURCE_DIR}/external/VulkanMemoryAllocator/include) + +target_include_directories(vulkan_memory_allocator SYSTEM INTERFACE ${CMAKE_SOURCE_DIR}/external/VulkanMemoryAllocator/include) if (${RUN_TESTS}) add_library(catch2 INTERFACE) diff --git a/android/framework/util/CMakeLists.txt b/android/framework/util/CMakeLists.txt index c7a9a75e43..e8efd97d8c 100644 --- a/android/framework/util/CMakeLists.txt +++ b/android/framework/util/CMakeLists.txt @@ -51,9 +51,12 @@ target_compile_definitions(gfxrecon_util target_include_directories(gfxrecon_util PUBLIC - ${GFXRECON_SOURCE_DIR}/external/precompiled/android/include - ${GFXRECON_SOURCE_DIR}/external/stb - ${GFXRECON_SOURCE_DIR}/framework) + ${GFXRECON_SOURCE_DIR}/external/precompiled/android/include + ${GFXRECON_SOURCE_DIR}/framework) + +target_include_directories(gfxrecon_util + SYSTEM PUBLIC + ${GFXRECON_SOURCE_DIR}/external/stb) target_link_libraries(gfxrecon_util platform_specific diff --git a/android/tools/replay/CMakeLists.txt b/android/tools/replay/CMakeLists.txt index aae4e43248..d904834256 100644 --- a/android/tools/replay/CMakeLists.txt +++ b/android/tools/replay/CMakeLists.txt @@ -22,6 +22,7 @@ add_subdirectory(../../framework/application ${CMAKE_SOURCE_DIR}/../../framework add_library(gfxrecon-replay SHARED ${GFXRECON_SOURCE_DIR}/tools/tool_settings.h + ${GFXRECON_SOURCE_DIR}/tools/tool_settings.cpp ${GFXRECON_SOURCE_DIR}/tools/replay/replay_settings.h ${GFXRECON_SOURCE_DIR}/tools/replay/android_main.cpp) diff --git a/framework/application/application.cpp b/framework/application/application.cpp index 9efa10a9cd..a60579d1f7 100644 --- a/framework/application/application.cpp +++ b/framework/application/application.cpp @@ -61,8 +61,8 @@ Application::Application(const std::string& name, const std::string& cli_wsi_extension, decode::FileProcessor* file_processor) : name_(name), - file_processor_(file_processor), cli_wsi_extension_(cli_wsi_extension), running_(false), paused_(false), - pause_frame_(0), fps_info_(nullptr) + file_processor_(file_processor), running_(false), paused_(false), pause_frame_(0), + cli_wsi_extension_(cli_wsi_extension), fps_info_(nullptr) { if (!cli_wsi_extension_.empty()) { diff --git a/framework/application/wayland_window.cpp b/framework/application/wayland_window.cpp index 55d7d7d216..5dec3596b5 100644 --- a/framework/application/wayland_window.cpp +++ b/framework/application/wayland_window.cpp @@ -213,7 +213,7 @@ void WaylandWindow::UpdateWindowSize() scale_ = output_info.scale; } - if (output_info.width == width_ && output_info.height == height_) + if (static_cast(output_info.width) == width_ && static_cast(output_info.height) == height_) { wl.shell_surface_set_fullscreen(shell_surface_, WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT, 0, output_); } diff --git a/framework/application/xcb_window.cpp b/framework/application/xcb_window.cpp index 567ced9ecf..4b058838bb 100644 --- a/framework/application/xcb_window.cpp +++ b/framework/application/xcb_window.cpp @@ -43,7 +43,6 @@ const char kBypassCompositorName[] = "_NET_WM_BYPASS_COMPOSITOR"; // Masks for window geometry configuration. const uint16_t kConfigurePositionMask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y; const uint16_t kConfigureSizeMask = XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT; -const uint16_t kConfigurePositionSizeMask = kConfigurePositionMask | kConfigureSizeMask; XcbWindow::XcbWindow(XcbContext* xcb_context) : xcb_context_(xcb_context), width_(0), height_(0), screen_width_(std::numeric_limits::max()), @@ -430,7 +429,7 @@ xcb_intern_atom_cookie_t XcbWindow::SendAtomRequest(xcb_connection_t* connection, const char* name, uint8_t only_if_exists) const { auto& xcb = xcb_context_->GetXcbFunctionTable(); - return xcb.intern_atom(connection, only_if_exists, strlen(name), name); + return xcb.intern_atom(connection, only_if_exists, static_cast(strlen(name)), name); } xcb_atom_t diff --git a/framework/application/xlib_window.cpp b/framework/application/xlib_window.cpp index 4f1df06f01..e6648ee896 100644 --- a/framework/application/xlib_window.cpp +++ b/framework/application/xlib_window.cpp @@ -66,7 +66,8 @@ bool XlibWindow::Create( int32_t y = ypos; bool go_fullscreen = false; - if ((root_attributes.height <= height) || (root_attributes.width <= width)) + if ((static_cast(root_attributes.height) <= height) || + (static_cast(root_attributes.width) <= width)) { if ((screen_height_ == height) || (screen_width_ == width)) { diff --git a/framework/decode/custom_vulkan_struct_to_json.cpp b/framework/decode/custom_vulkan_struct_to_json.cpp index 5518611f33..269e1a64da 100644 --- a/framework/decode/custom_vulkan_struct_to_json.cpp +++ b/framework/decode/custom_vulkan_struct_to_json.cpp @@ -167,7 +167,6 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkClearColorValue* if (data && data->decoded_value) { const auto& decoded_value = *data->decoded_value; - const auto& meta_struct = *data; FieldToJson(jdata["float32"], decoded_value.float32, 4, options); FieldToJson(jdata["int32"], decoded_value.int32, 4, options); FieldToJson(jdata["uint32"], decoded_value.uint32, 4, options); diff --git a/framework/decode/decoder_util.h b/framework/decode/decoder_util.h index 3cc26f3b8d..1eafb866c6 100644 --- a/framework/decode/decoder_util.h +++ b/framework/decode/decoder_util.h @@ -52,7 +52,7 @@ bool IsComplete(std::vector& consumers, uint64_t block_index) } } - return completed_consumers == consumers.size(); + return static_cast(completed_consumers) == consumers.size(); } GFXRECON_END_NAMESPACE(decode) diff --git a/framework/decode/file_processor.cpp b/framework/decode/file_processor.cpp index edcb12c4cf..a09b42b4d3 100644 --- a/framework/decode/file_processor.cpp +++ b/framework/decode/file_processor.cpp @@ -40,8 +40,8 @@ GFXRECON_BEGIN_NAMESPACE(decode) const uint32_t kFirstFrame = 0; FileProcessor::FileProcessor() : - file_header_{}, file_descriptor_(nullptr), current_frame_number_(kFirstFrame), bytes_read_(0), - error_state_(kErrorInvalidFileDescriptor), annotation_handler_(nullptr), compressor_(nullptr), block_index_(0), + file_descriptor_(nullptr), current_frame_number_(kFirstFrame), annotation_handler_(nullptr), + error_state_(kErrorInvalidFileDescriptor), block_index_(0), file_header_{}, bytes_read_(0), compressor_(nullptr), api_call_index_(0), block_limit_(0), capture_uses_frame_markers_(false), first_frame_(kFirstFrame + 1) {} @@ -72,7 +72,7 @@ void FileProcessor::WaitDecodersIdle() { decoder->WaitIdle(); } -}; +} bool FileProcessor::Initialize(const std::string& filename) { @@ -169,7 +169,7 @@ bool FileProcessor::ContinueDecoding() } } - if (completed_decoders == decoders_.size()) + if (static_cast(completed_decoders) == decoders_.size()) { early_exit = true; } @@ -322,8 +322,7 @@ bool FileProcessor::ProcessBlocks() } else if (block_header.type == format::BlockType::kFrameMarkerBlock) { - format::MarkerType marker_type = format::MarkerType::kUnknownMarker; - uint64_t frame_number = 0; + format::MarkerType marker_type = format::MarkerType::kUnknownMarker; success = ReadBytes(&marker_type, sizeof(marker_type)); @@ -357,8 +356,7 @@ bool FileProcessor::ProcessBlocks() } else if (block_header.type == format::BlockType::kStateMarkerBlock) { - format::MarkerType marker_type = format::MarkerType::kUnknownMarker; - uint64_t frame_number = 0; + format::MarkerType marker_type = format::MarkerType::kUnknownMarker; success = ReadBytes(&marker_type, sizeof(marker_type)); @@ -1724,8 +1722,7 @@ bool FileProcessor::ProcessMetaData(const format::BlockHeader& block_header, for } else if (meta_data_type == format::MetaDataType::kDx12RuntimeInfoCommand) { - format::Dx12RuntimeInfoCommandHeader dx12_runtime_info_header; - memset(&dx12_runtime_info_header, 0, sizeof(dx12_runtime_info_header)); + format::Dx12RuntimeInfoCommandHeader dx12_runtime_info_header = {}; success = ReadBytes(&dx12_runtime_info_header.thread_id, sizeof(dx12_runtime_info_header.thread_id)); @@ -1835,7 +1832,7 @@ bool FileProcessor::ProcessStateMarker(const format::BlockHeader& block_header, bool FileProcessor::ProcessAnnotation(const format::BlockHeader& block_header, format::AnnotationType annotation_type) { - bool success = false; + bool success = false; decltype(format::AnnotationHeader::label_length) label_length = 0; decltype(format::AnnotationHeader::data_length) data_length = 0; diff --git a/framework/decode/file_transformer.cpp b/framework/decode/file_transformer.cpp index e15ef85543..3e56a3c6de 100644 --- a/framework/decode/file_transformer.cpp +++ b/framework/decode/file_transformer.cpp @@ -226,8 +226,7 @@ bool FileTransformer::ProcessNextBlock() } else if (block_header.type == format::BlockType::kStateMarkerBlock) { - format::MarkerType marker_type = format::MarkerType::kUnknownMarker; - uint64_t frame_number = 0; + format::MarkerType marker_type = format::MarkerType::kUnknownMarker; success = ReadBytes(&marker_type, sizeof(marker_type)); diff --git a/framework/decode/file_transformer.h b/framework/decode/file_transformer.h index da8c91be48..f9534248e5 100644 --- a/framework/decode/file_transformer.h +++ b/framework/decode/file_transformer.h @@ -146,15 +146,15 @@ class FileTransformer bool ReadBlockHeader(format::BlockHeader* block_header); private: + format::FileHeader file_header_; FILE* input_file_; FILE* output_file_; - format::FileHeader file_header_; - std::vector file_options_; - format::EnabledOptions enabled_options_; uint64_t bytes_read_; uint64_t bytes_written_; Error error_state_; bool loading_state_; + std::vector file_options_; + format::EnabledOptions enabled_options_; std::vector parameter_buffer_; std::vector compressed_parameter_buffer_; std::unique_ptr compressor_; diff --git a/framework/decode/pointer_decoder.h b/framework/decode/pointer_decoder.h index dbb5527c07..91c25097ca 100644 --- a/framework/decode/pointer_decoder.h +++ b/framework/decode/pointer_decoder.h @@ -83,7 +83,7 @@ class PointerDecoder : public PointerDecoderBase size_t capacity = n * m; - if ((data != nullptr) && (capacity > 0)) + if (capacity > 0) { data_ = reinterpret_cast(data); capacity_ = capacity; diff --git a/framework/decode/vulkan_captured_swapchain.cpp b/framework/decode/vulkan_captured_swapchain.cpp index 659c120c49..80f0e038ea 100644 --- a/framework/decode/vulkan_captured_swapchain.cpp +++ b/framework/decode/vulkan_captured_swapchain.cpp @@ -279,7 +279,6 @@ void VulkanCapturedSwapchain::ProcessSetSwapchainImageStateCommand( const VulkanObjectInfoTable& object_info_table, SwapchainImageTracker& swapchain_image_tracker) { - VkDevice device = device_info->handle; VkSwapchainKHR swapchain = swapchain_info->handle; VkPhysicalDevice physical_device = device_info->parent; diff --git a/framework/decode/vulkan_realign_allocator.cpp b/framework/decode/vulkan_realign_allocator.cpp index ce9f01cf37..f70bc467d1 100644 --- a/framework/decode/vulkan_realign_allocator.cpp +++ b/framework/decode/vulkan_realign_allocator.cpp @@ -263,9 +263,8 @@ VkResult VulkanRealignAllocator::WriteMappedMemoryRange(MemoryData allocator uint64_t size, const uint8_t* data) { - VkResult result = VK_ERROR_MEMORY_MAP_FAILED; - VkDeviceSize realign_offset = offset; - auto memory_info = GetMemoryAllocInfo(allocator_data); + VkResult result = VK_ERROR_MEMORY_MAP_FAILED; + auto memory_info = GetMemoryAllocInfo(allocator_data); if (memory_info != nullptr) { diff --git a/framework/decode/vulkan_replay_consumer_base.cpp b/framework/decode/vulkan_replay_consumer_base.cpp index d9b28717d3..be3c9e3f44 100755 --- a/framework/decode/vulkan_replay_consumer_base.cpp +++ b/framework/decode/vulkan_replay_consumer_base.cpp @@ -161,7 +161,7 @@ VulkanReplayConsumerBase::VulkanReplayConsumerBase(std::shared_ptrhandle != VK_NULL_HANDLE); - VkResult result = VK_SUCCESS; - VkDevice device = device_info->handle; - VkBuffer buffer = VK_NULL_HANDLE; - VkDeviceMemory memory = VK_NULL_HANDLE; + VkDevice device = device_info->handle; auto allocator = device_info->allocator.get(); assert(allocator != nullptr); @@ -784,11 +781,10 @@ void VulkanReplayConsumerBase::ProcessInitBufferCommand(format::HandleId device_ if ((device_info != nullptr) && (buffer_info != nullptr)) { VkResult result = VK_SUCCESS; - VkDevice device = device_info->handle; VkBuffer buffer = buffer_info->handle; VulkanResourceInitializer* initializer = device_info->resource_initializer.get(); - assert((device != VK_NULL_HANDLE) && (buffer != VK_NULL_HANDLE)); + assert((device_info->handle != VK_NULL_HANDLE) && (buffer != VK_NULL_HANDLE)); if (initializer != nullptr) { @@ -861,11 +857,10 @@ void VulkanReplayConsumerBase::ProcessInitImageCommand(format::HandleId if ((device_info != nullptr) && (image_info != nullptr)) { VkResult result = VK_SUCCESS; - VkDevice device = device_info->handle; VkImage image = image_info->handle; VulkanResourceInitializer* initializer = device_info->resource_initializer.get(); - assert((device != VK_NULL_HANDLE) && (image != VK_NULL_HANDLE)); + assert((device_info->handle != VK_NULL_HANDLE) && (image != VK_NULL_HANDLE)); if (initializer != nullptr) { @@ -1416,6 +1411,7 @@ bool VulkanReplayConsumerBase::GetOverrideDeviceGroup(InstanceInfo* uint32_t replay_gpu_group_count = 0; VkResult err = table->EnumeratePhysicalDeviceGroups(instance, &replay_gpu_group_count, nullptr); GFXRECON_ASSERT(!err); + GFXRECON_UNREFERENCED_PARAMETER(err); std::vector replay_group_props; if (replay_gpu_group_count > 0) @@ -1585,6 +1581,7 @@ void VulkanReplayConsumerBase::GetMatchingDeviceGroup(InstanceInfo* uint32_t replay_gpu_group_count = 0; VkResult err = table->EnumeratePhysicalDeviceGroups(instance, &replay_gpu_group_count, nullptr); GFXRECON_ASSERT(!err); + GFXRECON_UNREFERENCED_PARAMETER(err); if (replay_gpu_group_count > 0) { @@ -1902,9 +1899,8 @@ VkResult VulkanReplayConsumerBase::CreateSurface(InstanceInfo* if ((result == VK_SUCCESS) && (replay_surface != nullptr)) { - auto surface_id = surface->GetPointer(); auto surface_info = reinterpret_cast(surface->GetConsumerData(0)); - assert((surface_id != nullptr) && (surface_info != nullptr)); + assert(surface_info != nullptr); assert(!surface_info->surface_creation_skipped); surface_info->window = window; @@ -2146,13 +2142,14 @@ void VulkanReplayConsumerBase::WriteScreenshots(const Decoded_VkPresentInfoKHR* // If both copy_scale and copy_width are provided, use copy_scale. const uint32_t screenshot_width = - options_.screenshot_scale - ? static_cast(options_.screenshot_scale * swapchain_info->width) + (options_.screenshot_scale != .0f) + ? static_cast((options_.screenshot_scale * static_cast(swapchain_info->width))) : (options_.screenshot_width ? options_.screenshot_width : swapchain_info->width); const uint32_t screenshot_height = - options_.screenshot_scale - ? static_cast(options_.screenshot_scale * swapchain_info->height) + (options_.screenshot_scale != .0f) + ? static_cast( + (options_.screenshot_scale * static_cast(swapchain_info->height))) : (options_.screenshot_height ? options_.screenshot_height : swapchain_info->height); screenshot_handler_->WriteImage(filename_prefix, @@ -2223,13 +2220,15 @@ bool VulkanReplayConsumerBase::CheckCommandBufferInfoForFrameBoundary(const Comm // If both copy_scale and copy_width are provided, use copy_scale. const uint32_t screenshot_width = - options_.screenshot_scale - ? static_cast(options_.screenshot_scale * image_info->extent.width) + (options_.screenshot_scale != .0f) + ? static_cast( + (options_.screenshot_scale * static_cast(image_info->extent.width))) : (options_.screenshot_width ? options_.screenshot_width : image_info->extent.width); const uint32_t screenshot_height = - options_.screenshot_scale - ? static_cast(options_.screenshot_scale * image_info->extent.height) + (options_.screenshot_scale != .0f) + ? static_cast( + (options_.screenshot_scale * static_cast(image_info->extent.height))) : (options_.screenshot_height ? options_.screenshot_height : image_info->extent.height); screenshot_handler_->WriteImage(filename_prefix, @@ -3351,7 +3350,6 @@ VkResult VulkanReplayConsumerBase::OverrideQueueSubmit(PFN_vkQueueSubmit func, if (screenshot_handler_ != nullptr) { - CommandBufferInfo* frame_boundary_command_buffer_info = nullptr; for (uint32_t i = 0; i < submitCount; ++i) { if (submit_info_data != nullptr) @@ -3520,7 +3518,6 @@ VkResult VulkanReplayConsumerBase::OverrideQueueSubmit2(PFN_vkQueueSubmit2 func, // Check whether any of the submitted command buffers are frame boundaries. if (screenshot_handler_ != nullptr) { - bool is_frame_boundary = false; for (uint32_t i = 0; i < submitCount; ++i) { if (submit_info_data != nullptr) @@ -4857,8 +4854,6 @@ VkResult VulkanReplayConsumerBase::OverrideCreateShaderModule( // Replace shader in 'override_info' std::unique_ptr file_code; - const uint32_t* orig_code = original_info->pCode; - size_t orig_size = original_info->codeSize; uint64_t handle_id = *pShaderModule->GetPointer(); std::string file_name = "sh" + std::to_string(handle_id); std::string file_path = util::filepath::Join(options_.replace_dir, file_name); @@ -6594,7 +6589,7 @@ void VulkanReplayConsumerBase::OverrideCmdDebugMarkerInsertEXT( { command_buffer_info->is_frame_boundary = true; } -}; +} void VulkanReplayConsumerBase::OverrideCmdBeginRenderPass( PFN_vkCmdBeginRenderPass func, diff --git a/framework/decode/vulkan_resource_tracking_consumer.cpp b/framework/decode/vulkan_resource_tracking_consumer.cpp index 86b29e23c5..6d2d006cb4 100644 --- a/framework/decode/vulkan_resource_tracking_consumer.cpp +++ b/framework/decode/vulkan_resource_tracking_consumer.cpp @@ -39,8 +39,8 @@ const std::vector kLoaderLibNames = { VulkanResourceTrackingConsumer::VulkanResourceTrackingConsumer( const VulkanReplayOptions& options, VulkanTrackedObjectInfoTable* tracked_object_info_table) : - options_(options), - loader_handle_(nullptr), get_instance_proc_addr_(nullptr), create_instance_function_(nullptr), + loader_handle_(nullptr), + create_instance_function_(nullptr), get_instance_proc_addr_(nullptr), options_(options), tracked_object_info_table_(tracked_object_info_table) { assert(tracked_object_info_table != nullptr); @@ -491,9 +491,7 @@ void VulkanResourceTrackingConsumer::Process_vkBindBufferMemory2( { GFXRECON_UNREFERENCED_PARAMETER(returnValue); - auto tracked_device_info = GetTrackedObjectInfoTable()->GetTrackedDeviceInfo(device); - - assert((pBindInfos != nullptr) && (tracked_device_info != nullptr)); + assert((pBindInfos != nullptr) && (GetTrackedObjectInfoTable()->GetTrackedDeviceInfo(device) != nullptr)); const VkBindBufferMemoryInfo* replay_bind_infos = pBindInfos->GetPointer(); const Decoded_VkBindBufferMemoryInfo* replay_bind_meta_infos = pBindInfos->GetMetaStructPointer(); @@ -531,9 +529,7 @@ void VulkanResourceTrackingConsumer::Process_vkBindImageMemory2( { GFXRECON_UNREFERENCED_PARAMETER(returnValue); - auto tracked_device_info = GetTrackedObjectInfoTable()->GetTrackedDeviceInfo(device); - - assert((pBindInfos != nullptr) && (tracked_device_info != nullptr)); + assert((pBindInfos != nullptr) && (GetTrackedObjectInfoTable()->GetTrackedDeviceInfo(device) != nullptr)); const VkBindImageMemoryInfo* replay_bind_infos = pBindInfos->GetPointer(); const Decoded_VkBindImageMemoryInfo* replay_bind_meta_infos = pBindInfos->GetMetaStructPointer(); diff --git a/framework/encode/capture_manager.cpp b/framework/encode/capture_manager.cpp index 8a10459b8c..95be2a5523 100644 --- a/framework/encode/capture_manager.cpp +++ b/framework/encode/capture_manager.cpp @@ -90,15 +90,15 @@ format::ThreadId CaptureManager::ThreadData::GetThreadId() } CaptureManager::CaptureManager(format::ApiFamilyId api_family) : - api_family_(api_family), force_file_flush_(false), timestamp_filename_(true), + screenshot_prefix_(""), api_family_(api_family), force_file_flush_(false), timestamp_filename_(true), memory_tracking_mode_(CaptureSettings::MemoryTrackingMode::kPageGuard), page_guard_align_buffer_sizes_(false), page_guard_track_ahb_memory_(false), page_guard_unblock_sigsegv_(false), page_guard_signal_handler_watcher_(false), page_guard_memory_mode_(kMemoryModeShadowInternal), trim_enabled_(false), trim_boundary_(CaptureSettings::TrimBoundary::kUnknown), trim_current_range_(0), current_frame_(kFirstFrame), queue_submit_count_(0), capture_mode_(kModeWrite), previous_hotkey_state_(false), previous_runtime_trigger_state_(CaptureSettings::RuntimeTriggerState::kNotUsed), debug_layer_(false), - debug_device_lost_(false), screenshot_prefix_(""), screenshots_enabled_(false), disable_dxr_(false), - accel_struct_padding_(0), iunknown_wrapping_(false), force_command_serialization_(false), queue_zero_only_(false), + debug_device_lost_(false), screenshots_enabled_(false), disable_dxr_(false), accel_struct_padding_(0), + iunknown_wrapping_(false), force_command_serialization_(false), queue_zero_only_(false), allow_pipeline_compile_required_(false), quit_after_frame_ranges_(false) {} @@ -274,7 +274,7 @@ bool CaptureManager::Initialize(std::string base_filename, const CaptureSettings if (trace_settings.rv_anotation_info.annotation_mask_rand == true) { rv_annotation_info_.gpuva_mask = static_cast(std::rand() % 0xffff); - rv_annotation_info_.descriptor_mask = ~rv_annotation_info_.gpuva_mask; + rv_annotation_info_.descriptor_mask = static_cast(~rv_annotation_info_.gpuva_mask); } GFXRECON_LOG_INFO( "Resource value annotation capture enabled, GPU virtual address mask = %04x Descriptor handle mask = %04x", @@ -735,11 +735,10 @@ void CaptureManager::WriteFrameMarker(format::MarkerType marker_type) if ((capture_mode_ & kModeWrite) == kModeWrite) { format::Marker marker_cmd; - uint64_t header_size = sizeof(format::Marker); - marker_cmd.header.size = sizeof(marker_cmd.marker_type) + sizeof(marker_cmd.frame_number); - marker_cmd.header.type = format::BlockType::kFrameMarkerBlock; - marker_cmd.marker_type = marker_type; - marker_cmd.frame_number = current_frame_; + marker_cmd.header.size = sizeof(marker_cmd.marker_type) + sizeof(marker_cmd.frame_number); + marker_cmd.header.type = format::BlockType::kFrameMarkerBlock; + marker_cmd.marker_type = marker_type; + marker_cmd.frame_number = current_frame_; WriteToFile(&marker_cmd, sizeof(marker_cmd)); } } @@ -953,7 +952,6 @@ void CaptureManager::WriteDisplayMessageCmd(const char* message) void CaptureManager::WriteExeFileInfo(const gfxrecon::util::filepath::FileInfo& info) { auto thread_data = GetThreadData(); - size_t info_length = sizeof(format::ExeFileInfoBlock); format::ExeFileInfoBlock exe_info_header = {}; exe_info_header.info_record = info; diff --git a/framework/encode/capture_manager.h b/framework/encode/capture_manager.h index 3c4c88071b..3cd4945dde 100644 --- a/framework/encode/capture_manager.h +++ b/framework/encode/capture_manager.h @@ -195,8 +195,8 @@ class CaptureManager public: const format::ThreadId thread_id_; - format::ApiCallId call_id_; format::HandleId object_id_; + format::ApiCallId call_id_; std::unique_ptr parameter_buffer_; std::unique_ptr parameter_encoder_; std::vector compressed_buffer_; @@ -325,8 +325,8 @@ class CaptureManager std::unique_ptr file_stream_; format::EnabledOptions file_options_; std::string base_filename_; - bool timestamp_filename_; bool force_file_flush_; + bool timestamp_filename_; CaptureSettings::MemoryTrackingMode memory_tracking_mode_; bool page_guard_align_buffer_sizes_; bool page_guard_track_ahb_memory_; diff --git a/framework/encode/capture_settings.cpp b/framework/encode/capture_settings.cpp index 9a0ace8017..b8f0aa1405 100644 --- a/framework/encode/capture_settings.cpp +++ b/framework/encode/capture_settings.cpp @@ -691,7 +691,7 @@ uint16_t CaptureSettings::ParseUnsignedInteger16String(const std::string& value_ uint32_t value = 0; if (is_hex_integer == true) { - value = strtoul(value_string.c_str(), nullptr, 16); + value = static_cast(strtoul(value_string.c_str(), nullptr, 16)); if (value > (~static_cast(0x0) >> (32 - RvAnnotationUtil::kMaskSizeOfBits))) { diff --git a/framework/encode/custom_vulkan_struct_handle_wrappers.cpp b/framework/encode/custom_vulkan_struct_handle_wrappers.cpp index 25ffbb9f44..3cf94f56a8 100644 --- a/framework/encode/custom_vulkan_struct_handle_wrappers.cpp +++ b/framework/encode/custom_vulkan_struct_handle_wrappers.cpp @@ -39,9 +39,6 @@ static const VkDescriptorImageInfo* UnwrapDescriptorImageInfoStructArrayHandles( if ((values != nullptr) && (len > 0)) { - const uint8_t* bytes = reinterpret_cast(values); - size_t num_bytes = len * sizeof(values[0]); - // Copy and transform handles. VkDescriptorImageInfo* unwrapped_structs = MakeUnwrapStructs(values, len, unwrap_memory); diff --git a/framework/encode/vulkan_capture_manager.cpp b/framework/encode/vulkan_capture_manager.cpp index 3eebe76db5..4f41cf219a 100644 --- a/framework/encode/vulkan_capture_manager.cpp +++ b/framework/encode/vulkan_capture_manager.cpp @@ -664,7 +664,6 @@ VkResult VulkanCaptureManager::OverrideCreateDevice(VkPhysicalDevice // TODO: Only enable KHR_external_memory_capabilities for 1.0 API version. size_t extension_count = pCreateInfo_unwrapped->enabledExtensionCount; - const char* const* extensions = pCreateInfo_unwrapped->ppEnabledExtensionNames; std::vector modified_extensions; bool has_ext_mem = false; @@ -778,11 +777,10 @@ VkResult VulkanCaptureManager::OverrideCreateBuffer(VkDevice const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) { - VkResult result = VK_SUCCESS; - auto device_wrapper = GetWrapper(device); - VkDevice device_unwrapped = device_wrapper->handle; - auto device_table = GetDeviceTable(device); - auto handle_unwrap_memory = VulkanCaptureManager::Get()->GetHandleUnwrapMemory(); + VkResult result = VK_SUCCESS; + auto device_wrapper = GetWrapper(device); + VkDevice device_unwrapped = device_wrapper->handle; + auto device_table = GetDeviceTable(device); VkBufferCreateInfo modified_create_info = (*pCreateInfo); @@ -1392,7 +1390,6 @@ void VulkanCaptureManager::ProcessEnumeratePhysicalDevices(VkResult res auto physical_device_wrapper = GetWrapper(physical_device); format::HandleId physical_device_id = physical_device_wrapper->handle_id; VkPhysicalDevice physical_device_handle = physical_device_wrapper->handle; - uint32_t count = 0; VkPhysicalDeviceProperties properties; VkPhysicalDeviceMemoryProperties memory_properties; diff --git a/framework/encode/vulkan_state_writer.cpp b/framework/encode/vulkan_state_writer.cpp index 8b9af07f71..69abd6cda4 100644 --- a/framework/encode/vulkan_state_writer.cpp +++ b/framework/encode/vulkan_state_writer.cpp @@ -1008,7 +1008,6 @@ void VulkanStateWriter::WriteSwapchainKhrState(const VulkanStateTable& state_tab const DeviceWrapper* device_wrapper = wrapper->device; assert(device_wrapper != nullptr); - const VkResult result = VK_SUCCESS; encoder_.EncodeHandleIdValue(device_wrapper->handle_id); encoder_.EncodeHandleIdValue(wrapper->handle_id); encoder_.EncodeVkBool32Value(wrapper->local_dimming_enable_AMD); @@ -2109,7 +2108,6 @@ void VulkanStateWriter::WritePhysicalDevicePropertiesMetaData(const PhysicalDevi format::HandleId physical_device_id = physical_device_wrapper->handle_id; VkPhysicalDevice physical_device_handle = physical_device_wrapper->handle; - uint32_t count = 0; VkPhysicalDeviceProperties properties; instance_table->GetPhysicalDeviceProperties(physical_device_handle, &properties); diff --git a/framework/generated/base_generators/base_struct_decoders_body_generator.py b/framework/generated/base_generators/base_struct_decoders_body_generator.py index 2202ead3b6..164c0ab5f3 100644 --- a/framework/generated/base_generators/base_struct_decoders_body_generator.py +++ b/framework/generated/base_generators/base_struct_decoders_body_generator.py @@ -119,7 +119,7 @@ def make_decode_invocation(self, name, value): if is_static_array: array_dimension = '' - # dx12 treats 2d array as 1d array. EX: [8][2] -> [16], so dx12's 2d array needs *. + # dx12 treats 2d array as 1d array. EX: [8][2] -> [16], so dx12's 2d array needs *. # But vk keeps 2d array. if self.is_dx12_class() and value.array_dimension and value.array_dimension > 0: array_dimension = '*' @@ -202,7 +202,7 @@ def make_decode_invocation(self, name, value): body += ' bytes_read += ValueDecoder::Decode{}Value({}, &{});\n'.format( type_name, buffer_args, temp_param_name ) - body += ' value->{} = {};\n'.format( + body += ' value->{} = static_cast({});\n'.format( value.name, temp_param_name ) elif is_enum: diff --git a/framework/generated/generated_vulkan_struct_decoders.cpp b/framework/generated/generated_vulkan_struct_decoders.cpp index 9ed2a10ce6..f8bccbd736 100644 --- a/framework/generated/generated_vulkan_struct_decoders.cpp +++ b/framework/generated/generated_vulkan_struct_decoders.cpp @@ -47,40 +47,40 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_aspect_ratio_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_aspect_ratio_info_present_flag); - value->aspect_ratio_info_present_flag = temp_aspect_ratio_info_present_flag; + value->aspect_ratio_info_present_flag = static_cast(temp_aspect_ratio_info_present_flag); uint32_t temp_overscan_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_overscan_info_present_flag); - value->overscan_info_present_flag = temp_overscan_info_present_flag; + value->overscan_info_present_flag = static_cast(temp_overscan_info_present_flag); uint32_t temp_overscan_appropriate_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_overscan_appropriate_flag); - value->overscan_appropriate_flag = temp_overscan_appropriate_flag; + value->overscan_appropriate_flag = static_cast(temp_overscan_appropriate_flag); uint32_t temp_video_signal_type_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_video_signal_type_present_flag); - value->video_signal_type_present_flag = temp_video_signal_type_present_flag; + value->video_signal_type_present_flag = static_cast(temp_video_signal_type_present_flag); uint32_t temp_video_full_range_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_video_full_range_flag); - value->video_full_range_flag = temp_video_full_range_flag; + value->video_full_range_flag = static_cast(temp_video_full_range_flag); uint32_t temp_color_description_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_color_description_present_flag); - value->color_description_present_flag = temp_color_description_present_flag; + value->color_description_present_flag = static_cast(temp_color_description_present_flag); uint32_t temp_chroma_loc_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_chroma_loc_info_present_flag); - value->chroma_loc_info_present_flag = temp_chroma_loc_info_present_flag; + value->chroma_loc_info_present_flag = static_cast(temp_chroma_loc_info_present_flag); uint32_t temp_timing_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_timing_info_present_flag); - value->timing_info_present_flag = temp_timing_info_present_flag; + value->timing_info_present_flag = static_cast(temp_timing_info_present_flag); uint32_t temp_fixed_frame_rate_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_fixed_frame_rate_flag); - value->fixed_frame_rate_flag = temp_fixed_frame_rate_flag; + value->fixed_frame_rate_flag = static_cast(temp_fixed_frame_rate_flag); uint32_t temp_bitstream_restriction_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_bitstream_restriction_flag); - value->bitstream_restriction_flag = temp_bitstream_restriction_flag; + value->bitstream_restriction_flag = static_cast(temp_bitstream_restriction_flag); uint32_t temp_nal_hrd_parameters_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_nal_hrd_parameters_present_flag); - value->nal_hrd_parameters_present_flag = temp_nal_hrd_parameters_present_flag; + value->nal_hrd_parameters_present_flag = static_cast(temp_nal_hrd_parameters_present_flag); uint32_t temp_vcl_hrd_parameters_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vcl_hrd_parameters_present_flag); - value->vcl_hrd_parameters_present_flag = temp_vcl_hrd_parameters_present_flag; + value->vcl_hrd_parameters_present_flag = static_cast(temp_vcl_hrd_parameters_present_flag); return bytes_read; } @@ -150,52 +150,52 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_constraint_set0_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constraint_set0_flag); - value->constraint_set0_flag = temp_constraint_set0_flag; + value->constraint_set0_flag = static_cast(temp_constraint_set0_flag); uint32_t temp_constraint_set1_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constraint_set1_flag); - value->constraint_set1_flag = temp_constraint_set1_flag; + value->constraint_set1_flag = static_cast(temp_constraint_set1_flag); uint32_t temp_constraint_set2_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constraint_set2_flag); - value->constraint_set2_flag = temp_constraint_set2_flag; + value->constraint_set2_flag = static_cast(temp_constraint_set2_flag); uint32_t temp_constraint_set3_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constraint_set3_flag); - value->constraint_set3_flag = temp_constraint_set3_flag; + value->constraint_set3_flag = static_cast(temp_constraint_set3_flag); uint32_t temp_constraint_set4_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constraint_set4_flag); - value->constraint_set4_flag = temp_constraint_set4_flag; + value->constraint_set4_flag = static_cast(temp_constraint_set4_flag); uint32_t temp_constraint_set5_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constraint_set5_flag); - value->constraint_set5_flag = temp_constraint_set5_flag; + value->constraint_set5_flag = static_cast(temp_constraint_set5_flag); uint32_t temp_direct_8x8_inference_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_direct_8x8_inference_flag); - value->direct_8x8_inference_flag = temp_direct_8x8_inference_flag; + value->direct_8x8_inference_flag = static_cast(temp_direct_8x8_inference_flag); uint32_t temp_mb_adaptive_frame_field_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_mb_adaptive_frame_field_flag); - value->mb_adaptive_frame_field_flag = temp_mb_adaptive_frame_field_flag; + value->mb_adaptive_frame_field_flag = static_cast(temp_mb_adaptive_frame_field_flag); uint32_t temp_frame_mbs_only_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_frame_mbs_only_flag); - value->frame_mbs_only_flag = temp_frame_mbs_only_flag; + value->frame_mbs_only_flag = static_cast(temp_frame_mbs_only_flag); uint32_t temp_delta_pic_order_always_zero_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_delta_pic_order_always_zero_flag); - value->delta_pic_order_always_zero_flag = temp_delta_pic_order_always_zero_flag; + value->delta_pic_order_always_zero_flag = static_cast(temp_delta_pic_order_always_zero_flag); uint32_t temp_separate_colour_plane_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_separate_colour_plane_flag); - value->separate_colour_plane_flag = temp_separate_colour_plane_flag; + value->separate_colour_plane_flag = static_cast(temp_separate_colour_plane_flag); uint32_t temp_gaps_in_frame_num_value_allowed_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_gaps_in_frame_num_value_allowed_flag); - value->gaps_in_frame_num_value_allowed_flag = temp_gaps_in_frame_num_value_allowed_flag; + value->gaps_in_frame_num_value_allowed_flag = static_cast(temp_gaps_in_frame_num_value_allowed_flag); uint32_t temp_qpprime_y_zero_transform_bypass_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_qpprime_y_zero_transform_bypass_flag); - value->qpprime_y_zero_transform_bypass_flag = temp_qpprime_y_zero_transform_bypass_flag; + value->qpprime_y_zero_transform_bypass_flag = static_cast(temp_qpprime_y_zero_transform_bypass_flag); uint32_t temp_frame_cropping_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_frame_cropping_flag); - value->frame_cropping_flag = temp_frame_cropping_flag; + value->frame_cropping_flag = static_cast(temp_frame_cropping_flag); uint32_t temp_seq_scaling_matrix_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_seq_scaling_matrix_present_flag); - value->seq_scaling_matrix_present_flag = temp_seq_scaling_matrix_present_flag; + value->seq_scaling_matrix_present_flag = static_cast(temp_seq_scaling_matrix_present_flag); uint32_t temp_vui_parameters_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vui_parameters_present_flag); - value->vui_parameters_present_flag = temp_vui_parameters_present_flag; + value->vui_parameters_present_flag = static_cast(temp_vui_parameters_present_flag); return bytes_read; } @@ -269,28 +269,28 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_transform_8x8_mode_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_transform_8x8_mode_flag); - value->transform_8x8_mode_flag = temp_transform_8x8_mode_flag; + value->transform_8x8_mode_flag = static_cast(temp_transform_8x8_mode_flag); uint32_t temp_redundant_pic_cnt_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_redundant_pic_cnt_present_flag); - value->redundant_pic_cnt_present_flag = temp_redundant_pic_cnt_present_flag; + value->redundant_pic_cnt_present_flag = static_cast(temp_redundant_pic_cnt_present_flag); uint32_t temp_constrained_intra_pred_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constrained_intra_pred_flag); - value->constrained_intra_pred_flag = temp_constrained_intra_pred_flag; + value->constrained_intra_pred_flag = static_cast(temp_constrained_intra_pred_flag); uint32_t temp_deblocking_filter_control_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_deblocking_filter_control_present_flag); - value->deblocking_filter_control_present_flag = temp_deblocking_filter_control_present_flag; + value->deblocking_filter_control_present_flag = static_cast(temp_deblocking_filter_control_present_flag); uint32_t temp_weighted_pred_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_weighted_pred_flag); - value->weighted_pred_flag = temp_weighted_pred_flag; + value->weighted_pred_flag = static_cast(temp_weighted_pred_flag); uint32_t temp_bottom_field_pic_order_in_frame_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_bottom_field_pic_order_in_frame_present_flag); - value->bottom_field_pic_order_in_frame_present_flag = temp_bottom_field_pic_order_in_frame_present_flag; + value->bottom_field_pic_order_in_frame_present_flag = static_cast(temp_bottom_field_pic_order_in_frame_present_flag); uint32_t temp_entropy_coding_mode_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_entropy_coding_mode_flag); - value->entropy_coding_mode_flag = temp_entropy_coding_mode_flag; + value->entropy_coding_mode_flag = static_cast(temp_entropy_coding_mode_flag); uint32_t temp_pic_scaling_matrix_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pic_scaling_matrix_present_flag); - value->pic_scaling_matrix_present_flag = temp_pic_scaling_matrix_present_flag; + value->pic_scaling_matrix_present_flag = static_cast(temp_pic_scaling_matrix_present_flag); return bytes_read; } @@ -330,22 +330,22 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoD uint32_t temp_field_pic_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_field_pic_flag); - value->field_pic_flag = temp_field_pic_flag; + value->field_pic_flag = static_cast(temp_field_pic_flag); uint32_t temp_is_intra; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_is_intra); - value->is_intra = temp_is_intra; + value->is_intra = static_cast(temp_is_intra); uint32_t temp_IdrPicFlag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_IdrPicFlag); - value->IdrPicFlag = temp_IdrPicFlag; + value->IdrPicFlag = static_cast(temp_IdrPicFlag); uint32_t temp_bottom_field_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_bottom_field_flag); - value->bottom_field_flag = temp_bottom_field_flag; + value->bottom_field_flag = static_cast(temp_bottom_field_flag); uint32_t temp_is_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_is_reference); - value->is_reference = temp_is_reference; + value->is_reference = static_cast(temp_is_reference); uint32_t temp_complementary_field_pair; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_complementary_field_pair); - value->complementary_field_pair = temp_complementary_field_pair; + value->complementary_field_pair = static_cast(temp_complementary_field_pair); return bytes_read; } @@ -381,16 +381,16 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoD uint32_t temp_top_field_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_top_field_flag); - value->top_field_flag = temp_top_field_flag; + value->top_field_flag = static_cast(temp_top_field_flag); uint32_t temp_bottom_field_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_bottom_field_flag); - value->bottom_field_flag = temp_bottom_field_flag; + value->bottom_field_flag = static_cast(temp_bottom_field_flag); uint32_t temp_used_for_long_term_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_used_for_long_term_reference); - value->used_for_long_term_reference = temp_used_for_long_term_reference; + value->used_for_long_term_reference = static_cast(temp_used_for_long_term_reference); uint32_t temp_is_non_existing; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_is_non_existing); - value->is_non_existing = temp_is_non_existing; + value->is_non_existing = static_cast(temp_is_non_existing); return bytes_read; } @@ -469,13 +469,13 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_direct_spatial_mv_pred_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_direct_spatial_mv_pred_flag); - value->direct_spatial_mv_pred_flag = temp_direct_spatial_mv_pred_flag; + value->direct_spatial_mv_pred_flag = static_cast(temp_direct_spatial_mv_pred_flag); uint32_t temp_num_ref_idx_active_override_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_num_ref_idx_active_override_flag); - value->num_ref_idx_active_override_flag = temp_num_ref_idx_active_override_flag; + value->num_ref_idx_active_override_flag = static_cast(temp_num_ref_idx_active_override_flag); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -489,22 +489,22 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_IdrPicFlag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_IdrPicFlag); - value->IdrPicFlag = temp_IdrPicFlag; + value->IdrPicFlag = static_cast(temp_IdrPicFlag); uint32_t temp_is_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_is_reference); - value->is_reference = temp_is_reference; + value->is_reference = static_cast(temp_is_reference); uint32_t temp_no_output_of_prior_pics_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_no_output_of_prior_pics_flag); - value->no_output_of_prior_pics_flag = temp_no_output_of_prior_pics_flag; + value->no_output_of_prior_pics_flag = static_cast(temp_no_output_of_prior_pics_flag); uint32_t temp_long_term_reference_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_long_term_reference_flag); - value->long_term_reference_flag = temp_long_term_reference_flag; + value->long_term_reference_flag = static_cast(temp_long_term_reference_flag); uint32_t temp_adaptive_ref_pic_marking_mode_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_adaptive_ref_pic_marking_mode_flag); - value->adaptive_ref_pic_marking_mode_flag = temp_adaptive_ref_pic_marking_mode_flag; + value->adaptive_ref_pic_marking_mode_flag = static_cast(temp_adaptive_ref_pic_marking_mode_flag); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -518,10 +518,10 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_used_for_long_term_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_used_for_long_term_reference); - value->used_for_long_term_reference = temp_used_for_long_term_reference; + value->used_for_long_term_reference = static_cast(temp_used_for_long_term_reference); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -535,13 +535,13 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_ref_pic_list_modification_flag_l0; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_ref_pic_list_modification_flag_l0); - value->ref_pic_list_modification_flag_l0 = temp_ref_pic_list_modification_flag_l0; + value->ref_pic_list_modification_flag_l0 = static_cast(temp_ref_pic_list_modification_flag_l0); uint32_t temp_ref_pic_list_modification_flag_l1; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_ref_pic_list_modification_flag_l1); - value->ref_pic_list_modification_flag_l1 = temp_ref_pic_list_modification_flag_l1; + value->ref_pic_list_modification_flag_l1 = static_cast(temp_ref_pic_list_modification_flag_l1); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -689,19 +689,19 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_general_tier_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_general_tier_flag); - value->general_tier_flag = temp_general_tier_flag; + value->general_tier_flag = static_cast(temp_general_tier_flag); uint32_t temp_general_progressive_source_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_general_progressive_source_flag); - value->general_progressive_source_flag = temp_general_progressive_source_flag; + value->general_progressive_source_flag = static_cast(temp_general_progressive_source_flag); uint32_t temp_general_interlaced_source_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_general_interlaced_source_flag); - value->general_interlaced_source_flag = temp_general_interlaced_source_flag; + value->general_interlaced_source_flag = static_cast(temp_general_interlaced_source_flag); uint32_t temp_general_non_packed_constraint_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_general_non_packed_constraint_flag); - value->general_non_packed_constraint_flag = temp_general_non_packed_constraint_flag; + value->general_non_packed_constraint_flag = static_cast(temp_general_non_packed_constraint_flag); uint32_t temp_general_frame_only_constraint_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_general_frame_only_constraint_flag); - value->general_frame_only_constraint_flag = temp_general_frame_only_constraint_flag; + value->general_frame_only_constraint_flag = static_cast(temp_general_frame_only_constraint_flag); return bytes_read; } @@ -768,25 +768,25 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_nal_hrd_parameters_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_nal_hrd_parameters_present_flag); - value->nal_hrd_parameters_present_flag = temp_nal_hrd_parameters_present_flag; + value->nal_hrd_parameters_present_flag = static_cast(temp_nal_hrd_parameters_present_flag); uint32_t temp_vcl_hrd_parameters_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vcl_hrd_parameters_present_flag); - value->vcl_hrd_parameters_present_flag = temp_vcl_hrd_parameters_present_flag; + value->vcl_hrd_parameters_present_flag = static_cast(temp_vcl_hrd_parameters_present_flag); uint32_t temp_sub_pic_hrd_params_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sub_pic_hrd_params_present_flag); - value->sub_pic_hrd_params_present_flag = temp_sub_pic_hrd_params_present_flag; + value->sub_pic_hrd_params_present_flag = static_cast(temp_sub_pic_hrd_params_present_flag); uint32_t temp_sub_pic_cpb_params_in_pic_timing_sei_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sub_pic_cpb_params_in_pic_timing_sei_flag); - value->sub_pic_cpb_params_in_pic_timing_sei_flag = temp_sub_pic_cpb_params_in_pic_timing_sei_flag; + value->sub_pic_cpb_params_in_pic_timing_sei_flag = static_cast(temp_sub_pic_cpb_params_in_pic_timing_sei_flag); uint32_t temp_fixed_pic_rate_general_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_fixed_pic_rate_general_flag); - value->fixed_pic_rate_general_flag = temp_fixed_pic_rate_general_flag; + value->fixed_pic_rate_general_flag = static_cast(temp_fixed_pic_rate_general_flag); uint32_t temp_fixed_pic_rate_within_cvs_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_fixed_pic_rate_within_cvs_flag); - value->fixed_pic_rate_within_cvs_flag = temp_fixed_pic_rate_within_cvs_flag; + value->fixed_pic_rate_within_cvs_flag = static_cast(temp_fixed_pic_rate_within_cvs_flag); uint32_t temp_low_delay_hrd_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_low_delay_hrd_flag); - value->low_delay_hrd_flag = temp_low_delay_hrd_flag; + value->low_delay_hrd_flag = static_cast(temp_low_delay_hrd_flag); return bytes_read; } @@ -835,16 +835,16 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_vps_temporal_id_nesting_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vps_temporal_id_nesting_flag); - value->vps_temporal_id_nesting_flag = temp_vps_temporal_id_nesting_flag; + value->vps_temporal_id_nesting_flag = static_cast(temp_vps_temporal_id_nesting_flag); uint32_t temp_vps_sub_layer_ordering_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vps_sub_layer_ordering_info_present_flag); - value->vps_sub_layer_ordering_info_present_flag = temp_vps_sub_layer_ordering_info_present_flag; + value->vps_sub_layer_ordering_info_present_flag = static_cast(temp_vps_sub_layer_ordering_info_present_flag); uint32_t temp_vps_timing_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vps_timing_info_present_flag); - value->vps_timing_info_present_flag = temp_vps_timing_info_present_flag; + value->vps_timing_info_present_flag = static_cast(temp_vps_timing_info_present_flag); uint32_t temp_vps_poc_proportional_to_timing_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vps_poc_proportional_to_timing_flag); - value->vps_poc_proportional_to_timing_flag = temp_vps_poc_proportional_to_timing_flag; + value->vps_poc_proportional_to_timing_flag = static_cast(temp_vps_poc_proportional_to_timing_flag); return bytes_read; } @@ -912,10 +912,10 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_inter_ref_pic_set_prediction_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_inter_ref_pic_set_prediction_flag); - value->inter_ref_pic_set_prediction_flag = temp_inter_ref_pic_set_prediction_flag; + value->inter_ref_pic_set_prediction_flag = static_cast(temp_inter_ref_pic_set_prediction_flag); uint32_t temp_delta_rps_sign; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_delta_rps_sign); - value->delta_rps_sign = temp_delta_rps_sign; + value->delta_rps_sign = static_cast(temp_delta_rps_sign); return bytes_read; } @@ -972,58 +972,58 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_aspect_ratio_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_aspect_ratio_info_present_flag); - value->aspect_ratio_info_present_flag = temp_aspect_ratio_info_present_flag; + value->aspect_ratio_info_present_flag = static_cast(temp_aspect_ratio_info_present_flag); uint32_t temp_overscan_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_overscan_info_present_flag); - value->overscan_info_present_flag = temp_overscan_info_present_flag; + value->overscan_info_present_flag = static_cast(temp_overscan_info_present_flag); uint32_t temp_overscan_appropriate_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_overscan_appropriate_flag); - value->overscan_appropriate_flag = temp_overscan_appropriate_flag; + value->overscan_appropriate_flag = static_cast(temp_overscan_appropriate_flag); uint32_t temp_video_signal_type_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_video_signal_type_present_flag); - value->video_signal_type_present_flag = temp_video_signal_type_present_flag; + value->video_signal_type_present_flag = static_cast(temp_video_signal_type_present_flag); uint32_t temp_video_full_range_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_video_full_range_flag); - value->video_full_range_flag = temp_video_full_range_flag; + value->video_full_range_flag = static_cast(temp_video_full_range_flag); uint32_t temp_colour_description_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_colour_description_present_flag); - value->colour_description_present_flag = temp_colour_description_present_flag; + value->colour_description_present_flag = static_cast(temp_colour_description_present_flag); uint32_t temp_chroma_loc_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_chroma_loc_info_present_flag); - value->chroma_loc_info_present_flag = temp_chroma_loc_info_present_flag; + value->chroma_loc_info_present_flag = static_cast(temp_chroma_loc_info_present_flag); uint32_t temp_neutral_chroma_indication_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_neutral_chroma_indication_flag); - value->neutral_chroma_indication_flag = temp_neutral_chroma_indication_flag; + value->neutral_chroma_indication_flag = static_cast(temp_neutral_chroma_indication_flag); uint32_t temp_field_seq_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_field_seq_flag); - value->field_seq_flag = temp_field_seq_flag; + value->field_seq_flag = static_cast(temp_field_seq_flag); uint32_t temp_frame_field_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_frame_field_info_present_flag); - value->frame_field_info_present_flag = temp_frame_field_info_present_flag; + value->frame_field_info_present_flag = static_cast(temp_frame_field_info_present_flag); uint32_t temp_default_display_window_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_default_display_window_flag); - value->default_display_window_flag = temp_default_display_window_flag; + value->default_display_window_flag = static_cast(temp_default_display_window_flag); uint32_t temp_vui_timing_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vui_timing_info_present_flag); - value->vui_timing_info_present_flag = temp_vui_timing_info_present_flag; + value->vui_timing_info_present_flag = static_cast(temp_vui_timing_info_present_flag); uint32_t temp_vui_poc_proportional_to_timing_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vui_poc_proportional_to_timing_flag); - value->vui_poc_proportional_to_timing_flag = temp_vui_poc_proportional_to_timing_flag; + value->vui_poc_proportional_to_timing_flag = static_cast(temp_vui_poc_proportional_to_timing_flag); uint32_t temp_vui_hrd_parameters_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vui_hrd_parameters_present_flag); - value->vui_hrd_parameters_present_flag = temp_vui_hrd_parameters_present_flag; + value->vui_hrd_parameters_present_flag = static_cast(temp_vui_hrd_parameters_present_flag); uint32_t temp_bitstream_restriction_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_bitstream_restriction_flag); - value->bitstream_restriction_flag = temp_bitstream_restriction_flag; + value->bitstream_restriction_flag = static_cast(temp_bitstream_restriction_flag); uint32_t temp_tiles_fixed_structure_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_tiles_fixed_structure_flag); - value->tiles_fixed_structure_flag = temp_tiles_fixed_structure_flag; + value->tiles_fixed_structure_flag = static_cast(temp_tiles_fixed_structure_flag); uint32_t temp_motion_vectors_over_pic_boundaries_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_motion_vectors_over_pic_boundaries_flag); - value->motion_vectors_over_pic_boundaries_flag = temp_motion_vectors_over_pic_boundaries_flag; + value->motion_vectors_over_pic_boundaries_flag = static_cast(temp_motion_vectors_over_pic_boundaries_flag); uint32_t temp_restricted_ref_pic_lists_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_restricted_ref_pic_lists_flag); - value->restricted_ref_pic_lists_flag = temp_restricted_ref_pic_lists_flag; + value->restricted_ref_pic_lists_flag = static_cast(temp_restricted_ref_pic_lists_flag); return bytes_read; } @@ -1091,94 +1091,94 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_sps_temporal_id_nesting_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_temporal_id_nesting_flag); - value->sps_temporal_id_nesting_flag = temp_sps_temporal_id_nesting_flag; + value->sps_temporal_id_nesting_flag = static_cast(temp_sps_temporal_id_nesting_flag); uint32_t temp_separate_colour_plane_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_separate_colour_plane_flag); - value->separate_colour_plane_flag = temp_separate_colour_plane_flag; + value->separate_colour_plane_flag = static_cast(temp_separate_colour_plane_flag); uint32_t temp_conformance_window_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_conformance_window_flag); - value->conformance_window_flag = temp_conformance_window_flag; + value->conformance_window_flag = static_cast(temp_conformance_window_flag); uint32_t temp_sps_sub_layer_ordering_info_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_sub_layer_ordering_info_present_flag); - value->sps_sub_layer_ordering_info_present_flag = temp_sps_sub_layer_ordering_info_present_flag; + value->sps_sub_layer_ordering_info_present_flag = static_cast(temp_sps_sub_layer_ordering_info_present_flag); uint32_t temp_scaling_list_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_scaling_list_enabled_flag); - value->scaling_list_enabled_flag = temp_scaling_list_enabled_flag; + value->scaling_list_enabled_flag = static_cast(temp_scaling_list_enabled_flag); uint32_t temp_sps_scaling_list_data_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_scaling_list_data_present_flag); - value->sps_scaling_list_data_present_flag = temp_sps_scaling_list_data_present_flag; + value->sps_scaling_list_data_present_flag = static_cast(temp_sps_scaling_list_data_present_flag); uint32_t temp_amp_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_amp_enabled_flag); - value->amp_enabled_flag = temp_amp_enabled_flag; + value->amp_enabled_flag = static_cast(temp_amp_enabled_flag); uint32_t temp_sample_adaptive_offset_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sample_adaptive_offset_enabled_flag); - value->sample_adaptive_offset_enabled_flag = temp_sample_adaptive_offset_enabled_flag; + value->sample_adaptive_offset_enabled_flag = static_cast(temp_sample_adaptive_offset_enabled_flag); uint32_t temp_pcm_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pcm_enabled_flag); - value->pcm_enabled_flag = temp_pcm_enabled_flag; + value->pcm_enabled_flag = static_cast(temp_pcm_enabled_flag); uint32_t temp_pcm_loop_filter_disabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pcm_loop_filter_disabled_flag); - value->pcm_loop_filter_disabled_flag = temp_pcm_loop_filter_disabled_flag; + value->pcm_loop_filter_disabled_flag = static_cast(temp_pcm_loop_filter_disabled_flag); uint32_t temp_long_term_ref_pics_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_long_term_ref_pics_present_flag); - value->long_term_ref_pics_present_flag = temp_long_term_ref_pics_present_flag; + value->long_term_ref_pics_present_flag = static_cast(temp_long_term_ref_pics_present_flag); uint32_t temp_sps_temporal_mvp_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_temporal_mvp_enabled_flag); - value->sps_temporal_mvp_enabled_flag = temp_sps_temporal_mvp_enabled_flag; + value->sps_temporal_mvp_enabled_flag = static_cast(temp_sps_temporal_mvp_enabled_flag); uint32_t temp_strong_intra_smoothing_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_strong_intra_smoothing_enabled_flag); - value->strong_intra_smoothing_enabled_flag = temp_strong_intra_smoothing_enabled_flag; + value->strong_intra_smoothing_enabled_flag = static_cast(temp_strong_intra_smoothing_enabled_flag); uint32_t temp_vui_parameters_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_vui_parameters_present_flag); - value->vui_parameters_present_flag = temp_vui_parameters_present_flag; + value->vui_parameters_present_flag = static_cast(temp_vui_parameters_present_flag); uint32_t temp_sps_extension_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_extension_present_flag); - value->sps_extension_present_flag = temp_sps_extension_present_flag; + value->sps_extension_present_flag = static_cast(temp_sps_extension_present_flag); uint32_t temp_sps_range_extension_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_range_extension_flag); - value->sps_range_extension_flag = temp_sps_range_extension_flag; + value->sps_range_extension_flag = static_cast(temp_sps_range_extension_flag); uint32_t temp_transform_skip_rotation_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_transform_skip_rotation_enabled_flag); - value->transform_skip_rotation_enabled_flag = temp_transform_skip_rotation_enabled_flag; + value->transform_skip_rotation_enabled_flag = static_cast(temp_transform_skip_rotation_enabled_flag); uint32_t temp_transform_skip_context_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_transform_skip_context_enabled_flag); - value->transform_skip_context_enabled_flag = temp_transform_skip_context_enabled_flag; + value->transform_skip_context_enabled_flag = static_cast(temp_transform_skip_context_enabled_flag); uint32_t temp_implicit_rdpcm_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_implicit_rdpcm_enabled_flag); - value->implicit_rdpcm_enabled_flag = temp_implicit_rdpcm_enabled_flag; + value->implicit_rdpcm_enabled_flag = static_cast(temp_implicit_rdpcm_enabled_flag); uint32_t temp_explicit_rdpcm_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_explicit_rdpcm_enabled_flag); - value->explicit_rdpcm_enabled_flag = temp_explicit_rdpcm_enabled_flag; + value->explicit_rdpcm_enabled_flag = static_cast(temp_explicit_rdpcm_enabled_flag); uint32_t temp_extended_precision_processing_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_extended_precision_processing_flag); - value->extended_precision_processing_flag = temp_extended_precision_processing_flag; + value->extended_precision_processing_flag = static_cast(temp_extended_precision_processing_flag); uint32_t temp_intra_smoothing_disabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_intra_smoothing_disabled_flag); - value->intra_smoothing_disabled_flag = temp_intra_smoothing_disabled_flag; + value->intra_smoothing_disabled_flag = static_cast(temp_intra_smoothing_disabled_flag); uint32_t temp_high_precision_offsets_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_high_precision_offsets_enabled_flag); - value->high_precision_offsets_enabled_flag = temp_high_precision_offsets_enabled_flag; + value->high_precision_offsets_enabled_flag = static_cast(temp_high_precision_offsets_enabled_flag); uint32_t temp_persistent_rice_adaptation_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_persistent_rice_adaptation_enabled_flag); - value->persistent_rice_adaptation_enabled_flag = temp_persistent_rice_adaptation_enabled_flag; + value->persistent_rice_adaptation_enabled_flag = static_cast(temp_persistent_rice_adaptation_enabled_flag); uint32_t temp_cabac_bypass_alignment_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_cabac_bypass_alignment_enabled_flag); - value->cabac_bypass_alignment_enabled_flag = temp_cabac_bypass_alignment_enabled_flag; + value->cabac_bypass_alignment_enabled_flag = static_cast(temp_cabac_bypass_alignment_enabled_flag); uint32_t temp_sps_scc_extension_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_scc_extension_flag); - value->sps_scc_extension_flag = temp_sps_scc_extension_flag; + value->sps_scc_extension_flag = static_cast(temp_sps_scc_extension_flag); uint32_t temp_sps_curr_pic_ref_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_curr_pic_ref_enabled_flag); - value->sps_curr_pic_ref_enabled_flag = temp_sps_curr_pic_ref_enabled_flag; + value->sps_curr_pic_ref_enabled_flag = static_cast(temp_sps_curr_pic_ref_enabled_flag); uint32_t temp_palette_mode_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_palette_mode_enabled_flag); - value->palette_mode_enabled_flag = temp_palette_mode_enabled_flag; + value->palette_mode_enabled_flag = static_cast(temp_palette_mode_enabled_flag); uint32_t temp_sps_palette_predictor_initializers_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sps_palette_predictor_initializers_present_flag); - value->sps_palette_predictor_initializers_present_flag = temp_sps_palette_predictor_initializers_present_flag; + value->sps_palette_predictor_initializers_present_flag = static_cast(temp_sps_palette_predictor_initializers_present_flag); uint32_t temp_intra_boundary_filtering_disabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_intra_boundary_filtering_disabled_flag); - value->intra_boundary_filtering_disabled_flag = temp_intra_boundary_filtering_disabled_flag; + value->intra_boundary_filtering_disabled_flag = static_cast(temp_intra_boundary_filtering_disabled_flag); return bytes_read; } @@ -1258,97 +1258,97 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoH uint32_t temp_dependent_slice_segments_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_dependent_slice_segments_enabled_flag); - value->dependent_slice_segments_enabled_flag = temp_dependent_slice_segments_enabled_flag; + value->dependent_slice_segments_enabled_flag = static_cast(temp_dependent_slice_segments_enabled_flag); uint32_t temp_output_flag_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_output_flag_present_flag); - value->output_flag_present_flag = temp_output_flag_present_flag; + value->output_flag_present_flag = static_cast(temp_output_flag_present_flag); uint32_t temp_sign_data_hiding_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_sign_data_hiding_enabled_flag); - value->sign_data_hiding_enabled_flag = temp_sign_data_hiding_enabled_flag; + value->sign_data_hiding_enabled_flag = static_cast(temp_sign_data_hiding_enabled_flag); uint32_t temp_cabac_init_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_cabac_init_present_flag); - value->cabac_init_present_flag = temp_cabac_init_present_flag; + value->cabac_init_present_flag = static_cast(temp_cabac_init_present_flag); uint32_t temp_constrained_intra_pred_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_constrained_intra_pred_flag); - value->constrained_intra_pred_flag = temp_constrained_intra_pred_flag; + value->constrained_intra_pred_flag = static_cast(temp_constrained_intra_pred_flag); uint32_t temp_transform_skip_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_transform_skip_enabled_flag); - value->transform_skip_enabled_flag = temp_transform_skip_enabled_flag; + value->transform_skip_enabled_flag = static_cast(temp_transform_skip_enabled_flag); uint32_t temp_cu_qp_delta_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_cu_qp_delta_enabled_flag); - value->cu_qp_delta_enabled_flag = temp_cu_qp_delta_enabled_flag; + value->cu_qp_delta_enabled_flag = static_cast(temp_cu_qp_delta_enabled_flag); uint32_t temp_pps_slice_chroma_qp_offsets_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_slice_chroma_qp_offsets_present_flag); - value->pps_slice_chroma_qp_offsets_present_flag = temp_pps_slice_chroma_qp_offsets_present_flag; + value->pps_slice_chroma_qp_offsets_present_flag = static_cast(temp_pps_slice_chroma_qp_offsets_present_flag); uint32_t temp_weighted_pred_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_weighted_pred_flag); - value->weighted_pred_flag = temp_weighted_pred_flag; + value->weighted_pred_flag = static_cast(temp_weighted_pred_flag); uint32_t temp_weighted_bipred_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_weighted_bipred_flag); - value->weighted_bipred_flag = temp_weighted_bipred_flag; + value->weighted_bipred_flag = static_cast(temp_weighted_bipred_flag); uint32_t temp_transquant_bypass_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_transquant_bypass_enabled_flag); - value->transquant_bypass_enabled_flag = temp_transquant_bypass_enabled_flag; + value->transquant_bypass_enabled_flag = static_cast(temp_transquant_bypass_enabled_flag); uint32_t temp_tiles_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_tiles_enabled_flag); - value->tiles_enabled_flag = temp_tiles_enabled_flag; + value->tiles_enabled_flag = static_cast(temp_tiles_enabled_flag); uint32_t temp_entropy_coding_sync_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_entropy_coding_sync_enabled_flag); - value->entropy_coding_sync_enabled_flag = temp_entropy_coding_sync_enabled_flag; + value->entropy_coding_sync_enabled_flag = static_cast(temp_entropy_coding_sync_enabled_flag); uint32_t temp_uniform_spacing_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_uniform_spacing_flag); - value->uniform_spacing_flag = temp_uniform_spacing_flag; + value->uniform_spacing_flag = static_cast(temp_uniform_spacing_flag); uint32_t temp_loop_filter_across_tiles_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_loop_filter_across_tiles_enabled_flag); - value->loop_filter_across_tiles_enabled_flag = temp_loop_filter_across_tiles_enabled_flag; + value->loop_filter_across_tiles_enabled_flag = static_cast(temp_loop_filter_across_tiles_enabled_flag); uint32_t temp_pps_loop_filter_across_slices_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_loop_filter_across_slices_enabled_flag); - value->pps_loop_filter_across_slices_enabled_flag = temp_pps_loop_filter_across_slices_enabled_flag; + value->pps_loop_filter_across_slices_enabled_flag = static_cast(temp_pps_loop_filter_across_slices_enabled_flag); uint32_t temp_deblocking_filter_control_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_deblocking_filter_control_present_flag); - value->deblocking_filter_control_present_flag = temp_deblocking_filter_control_present_flag; + value->deblocking_filter_control_present_flag = static_cast(temp_deblocking_filter_control_present_flag); uint32_t temp_deblocking_filter_override_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_deblocking_filter_override_enabled_flag); - value->deblocking_filter_override_enabled_flag = temp_deblocking_filter_override_enabled_flag; + value->deblocking_filter_override_enabled_flag = static_cast(temp_deblocking_filter_override_enabled_flag); uint32_t temp_pps_deblocking_filter_disabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_deblocking_filter_disabled_flag); - value->pps_deblocking_filter_disabled_flag = temp_pps_deblocking_filter_disabled_flag; + value->pps_deblocking_filter_disabled_flag = static_cast(temp_pps_deblocking_filter_disabled_flag); uint32_t temp_pps_scaling_list_data_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_scaling_list_data_present_flag); - value->pps_scaling_list_data_present_flag = temp_pps_scaling_list_data_present_flag; + value->pps_scaling_list_data_present_flag = static_cast(temp_pps_scaling_list_data_present_flag); uint32_t temp_lists_modification_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_lists_modification_present_flag); - value->lists_modification_present_flag = temp_lists_modification_present_flag; + value->lists_modification_present_flag = static_cast(temp_lists_modification_present_flag); uint32_t temp_slice_segment_header_extension_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_slice_segment_header_extension_present_flag); - value->slice_segment_header_extension_present_flag = temp_slice_segment_header_extension_present_flag; + value->slice_segment_header_extension_present_flag = static_cast(temp_slice_segment_header_extension_present_flag); uint32_t temp_pps_extension_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_extension_present_flag); - value->pps_extension_present_flag = temp_pps_extension_present_flag; + value->pps_extension_present_flag = static_cast(temp_pps_extension_present_flag); uint32_t temp_cross_component_prediction_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_cross_component_prediction_enabled_flag); - value->cross_component_prediction_enabled_flag = temp_cross_component_prediction_enabled_flag; + value->cross_component_prediction_enabled_flag = static_cast(temp_cross_component_prediction_enabled_flag); uint32_t temp_chroma_qp_offset_list_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_chroma_qp_offset_list_enabled_flag); - value->chroma_qp_offset_list_enabled_flag = temp_chroma_qp_offset_list_enabled_flag; + value->chroma_qp_offset_list_enabled_flag = static_cast(temp_chroma_qp_offset_list_enabled_flag); uint32_t temp_pps_curr_pic_ref_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_curr_pic_ref_enabled_flag); - value->pps_curr_pic_ref_enabled_flag = temp_pps_curr_pic_ref_enabled_flag; + value->pps_curr_pic_ref_enabled_flag = static_cast(temp_pps_curr_pic_ref_enabled_flag); uint32_t temp_residual_adaptive_colour_transform_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_residual_adaptive_colour_transform_enabled_flag); - value->residual_adaptive_colour_transform_enabled_flag = temp_residual_adaptive_colour_transform_enabled_flag; + value->residual_adaptive_colour_transform_enabled_flag = static_cast(temp_residual_adaptive_colour_transform_enabled_flag); uint32_t temp_pps_slice_act_qp_offsets_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_slice_act_qp_offsets_present_flag); - value->pps_slice_act_qp_offsets_present_flag = temp_pps_slice_act_qp_offsets_present_flag; + value->pps_slice_act_qp_offsets_present_flag = static_cast(temp_pps_slice_act_qp_offsets_present_flag); uint32_t temp_pps_palette_predictor_initializers_present_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_palette_predictor_initializers_present_flag); - value->pps_palette_predictor_initializers_present_flag = temp_pps_palette_predictor_initializers_present_flag; + value->pps_palette_predictor_initializers_present_flag = static_cast(temp_pps_palette_predictor_initializers_present_flag); uint32_t temp_monochrome_palette_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_monochrome_palette_flag); - value->monochrome_palette_flag = temp_monochrome_palette_flag; + value->monochrome_palette_flag = static_cast(temp_monochrome_palette_flag); uint32_t temp_pps_range_extension_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pps_range_extension_flag); - value->pps_range_extension_flag = temp_pps_range_extension_flag; + value->pps_range_extension_flag = static_cast(temp_pps_range_extension_flag); return bytes_read; } @@ -1419,16 +1419,16 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoD uint32_t temp_IrapPicFlag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_IrapPicFlag); - value->IrapPicFlag = temp_IrapPicFlag; + value->IrapPicFlag = static_cast(temp_IrapPicFlag); uint32_t temp_IdrPicFlag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_IdrPicFlag); - value->IdrPicFlag = temp_IdrPicFlag; + value->IdrPicFlag = static_cast(temp_IdrPicFlag); uint32_t temp_IsReference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_IsReference); - value->IsReference = temp_IsReference; + value->IsReference = static_cast(temp_IsReference); uint32_t temp_short_term_ref_pic_set_sps_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_short_term_ref_pic_set_sps_flag); - value->short_term_ref_pic_set_sps_flag = temp_short_term_ref_pic_set_sps_flag; + value->short_term_ref_pic_set_sps_flag = static_cast(temp_short_term_ref_pic_set_sps_flag); return bytes_read; } @@ -1469,10 +1469,10 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoD uint32_t temp_used_for_long_term_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_used_for_long_term_reference); - value->used_for_long_term_reference = temp_used_for_long_term_reference; + value->used_for_long_term_reference = static_cast(temp_used_for_long_term_reference); uint32_t temp_unused_for_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_unused_for_reference); - value->unused_for_reference = temp_unused_for_reference; + value->unused_for_reference = static_cast(temp_unused_for_reference); return bytes_read; } @@ -1570,43 +1570,43 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_first_slice_segment_in_pic_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_first_slice_segment_in_pic_flag); - value->first_slice_segment_in_pic_flag = temp_first_slice_segment_in_pic_flag; + value->first_slice_segment_in_pic_flag = static_cast(temp_first_slice_segment_in_pic_flag); uint32_t temp_dependent_slice_segment_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_dependent_slice_segment_flag); - value->dependent_slice_segment_flag = temp_dependent_slice_segment_flag; + value->dependent_slice_segment_flag = static_cast(temp_dependent_slice_segment_flag); uint32_t temp_slice_sao_luma_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_slice_sao_luma_flag); - value->slice_sao_luma_flag = temp_slice_sao_luma_flag; + value->slice_sao_luma_flag = static_cast(temp_slice_sao_luma_flag); uint32_t temp_slice_sao_chroma_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_slice_sao_chroma_flag); - value->slice_sao_chroma_flag = temp_slice_sao_chroma_flag; + value->slice_sao_chroma_flag = static_cast(temp_slice_sao_chroma_flag); uint32_t temp_num_ref_idx_active_override_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_num_ref_idx_active_override_flag); - value->num_ref_idx_active_override_flag = temp_num_ref_idx_active_override_flag; + value->num_ref_idx_active_override_flag = static_cast(temp_num_ref_idx_active_override_flag); uint32_t temp_mvd_l1_zero_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_mvd_l1_zero_flag); - value->mvd_l1_zero_flag = temp_mvd_l1_zero_flag; + value->mvd_l1_zero_flag = static_cast(temp_mvd_l1_zero_flag); uint32_t temp_cabac_init_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_cabac_init_flag); - value->cabac_init_flag = temp_cabac_init_flag; + value->cabac_init_flag = static_cast(temp_cabac_init_flag); uint32_t temp_cu_chroma_qp_offset_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_cu_chroma_qp_offset_enabled_flag); - value->cu_chroma_qp_offset_enabled_flag = temp_cu_chroma_qp_offset_enabled_flag; + value->cu_chroma_qp_offset_enabled_flag = static_cast(temp_cu_chroma_qp_offset_enabled_flag); uint32_t temp_deblocking_filter_override_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_deblocking_filter_override_flag); - value->deblocking_filter_override_flag = temp_deblocking_filter_override_flag; + value->deblocking_filter_override_flag = static_cast(temp_deblocking_filter_override_flag); uint32_t temp_slice_deblocking_filter_disabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_slice_deblocking_filter_disabled_flag); - value->slice_deblocking_filter_disabled_flag = temp_slice_deblocking_filter_disabled_flag; + value->slice_deblocking_filter_disabled_flag = static_cast(temp_slice_deblocking_filter_disabled_flag); uint32_t temp_collocated_from_l0_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_collocated_from_l0_flag); - value->collocated_from_l0_flag = temp_collocated_from_l0_flag; + value->collocated_from_l0_flag = static_cast(temp_collocated_from_l0_flag); uint32_t temp_slice_loop_filter_across_slices_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_slice_loop_filter_across_slices_enabled_flag); - value->slice_loop_filter_across_slices_enabled_flag = temp_slice_loop_filter_across_slices_enabled_flag; + value->slice_loop_filter_across_slices_enabled_flag = static_cast(temp_slice_loop_filter_across_slices_enabled_flag); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -1650,13 +1650,13 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_ref_pic_list_modification_flag_l0; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_ref_pic_list_modification_flag_l0); - value->ref_pic_list_modification_flag_l0 = temp_ref_pic_list_modification_flag_l0; + value->ref_pic_list_modification_flag_l0 = static_cast(temp_ref_pic_list_modification_flag_l0); uint32_t temp_ref_pic_list_modification_flag_l1; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_ref_pic_list_modification_flag_l1); - value->ref_pic_list_modification_flag_l1 = temp_ref_pic_list_modification_flag_l1; + value->ref_pic_list_modification_flag_l1 = static_cast(temp_ref_pic_list_modification_flag_l1); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -1694,34 +1694,34 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_is_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_is_reference); - value->is_reference = temp_is_reference; + value->is_reference = static_cast(temp_is_reference); uint32_t temp_IrapPicFlag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_IrapPicFlag); - value->IrapPicFlag = temp_IrapPicFlag; + value->IrapPicFlag = static_cast(temp_IrapPicFlag); uint32_t temp_used_for_long_term_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_used_for_long_term_reference); - value->used_for_long_term_reference = temp_used_for_long_term_reference; + value->used_for_long_term_reference = static_cast(temp_used_for_long_term_reference); uint32_t temp_discardable_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_discardable_flag); - value->discardable_flag = temp_discardable_flag; + value->discardable_flag = static_cast(temp_discardable_flag); uint32_t temp_cross_layer_bla_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_cross_layer_bla_flag); - value->cross_layer_bla_flag = temp_cross_layer_bla_flag; + value->cross_layer_bla_flag = static_cast(temp_cross_layer_bla_flag); uint32_t temp_pic_output_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_pic_output_flag); - value->pic_output_flag = temp_pic_output_flag; + value->pic_output_flag = static_cast(temp_pic_output_flag); uint32_t temp_no_output_of_prior_pics_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_no_output_of_prior_pics_flag); - value->no_output_of_prior_pics_flag = temp_no_output_of_prior_pics_flag; + value->no_output_of_prior_pics_flag = static_cast(temp_no_output_of_prior_pics_flag); uint32_t temp_short_term_ref_pic_set_sps_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_short_term_ref_pic_set_sps_flag); - value->short_term_ref_pic_set_sps_flag = temp_short_term_ref_pic_set_sps_flag; + value->short_term_ref_pic_set_sps_flag = static_cast(temp_short_term_ref_pic_set_sps_flag); uint32_t temp_slice_temporal_mvp_enabled_flag; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_slice_temporal_mvp_enabled_flag); - value->slice_temporal_mvp_enabled_flag = temp_slice_temporal_mvp_enabled_flag; + value->slice_temporal_mvp_enabled_flag = static_cast(temp_slice_temporal_mvp_enabled_flag); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -1767,13 +1767,13 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_StdVideoE uint32_t temp_used_for_long_term_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_used_for_long_term_reference); - value->used_for_long_term_reference = temp_used_for_long_term_reference; + value->used_for_long_term_reference = static_cast(temp_used_for_long_term_reference); uint32_t temp_unused_for_reference; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_unused_for_reference); - value->unused_for_reference = temp_unused_for_reference; + value->unused_for_reference = static_cast(temp_unused_for_reference); uint32_t temp_reserved; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_reserved); - value->reserved = temp_reserved; + value->reserved = static_cast(temp_reserved); return bytes_read; } @@ -12803,16 +12803,16 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkAcceler bytes_read += DecodeStruct((buffer + bytes_read), (buffer_size - bytes_read), wrapper->transform); uint32_t temp_instanceCustomIndex; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_instanceCustomIndex); - value->instanceCustomIndex = temp_instanceCustomIndex; + value->instanceCustomIndex = static_cast(temp_instanceCustomIndex); uint32_t temp_mask; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_mask); - value->mask = temp_mask; + value->mask = static_cast(temp_mask); uint32_t temp_instanceShaderBindingTableRecordOffset; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_instanceShaderBindingTableRecordOffset); - value->instanceShaderBindingTableRecordOffset = temp_instanceShaderBindingTableRecordOffset; + value->instanceShaderBindingTableRecordOffset = static_cast(temp_instanceShaderBindingTableRecordOffset); VkGeometryInstanceFlagsKHR temp_flags; bytes_read += ValueDecoder::DecodeFlagsValue((buffer + bytes_read), (buffer_size - bytes_read), &temp_flags); - value->flags = temp_flags; + value->flags = static_cast(temp_flags); bytes_read += ValueDecoder::DecodeUInt64Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->accelerationStructureReference)); return bytes_read; @@ -15159,16 +15159,16 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkAcceler bytes_read += DecodeStruct((buffer + bytes_read), (buffer_size - bytes_read), wrapper->transformT1); uint32_t temp_instanceCustomIndex; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_instanceCustomIndex); - value->instanceCustomIndex = temp_instanceCustomIndex; + value->instanceCustomIndex = static_cast(temp_instanceCustomIndex); uint32_t temp_mask; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_mask); - value->mask = temp_mask; + value->mask = static_cast(temp_mask); uint32_t temp_instanceShaderBindingTableRecordOffset; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_instanceShaderBindingTableRecordOffset); - value->instanceShaderBindingTableRecordOffset = temp_instanceShaderBindingTableRecordOffset; + value->instanceShaderBindingTableRecordOffset = static_cast(temp_instanceShaderBindingTableRecordOffset); VkGeometryInstanceFlagsKHR temp_flags; bytes_read += ValueDecoder::DecodeFlagsValue((buffer + bytes_read), (buffer_size - bytes_read), &temp_flags); - value->flags = temp_flags; + value->flags = static_cast(temp_flags); bytes_read += ValueDecoder::DecodeUInt64Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->accelerationStructureReference)); return bytes_read; @@ -15216,16 +15216,16 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkAcceler bytes_read += DecodeStruct((buffer + bytes_read), (buffer_size - bytes_read), wrapper->transformT1); uint32_t temp_instanceCustomIndex; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_instanceCustomIndex); - value->instanceCustomIndex = temp_instanceCustomIndex; + value->instanceCustomIndex = static_cast(temp_instanceCustomIndex); uint32_t temp_mask; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_mask); - value->mask = temp_mask; + value->mask = static_cast(temp_mask); uint32_t temp_instanceShaderBindingTableRecordOffset; bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &temp_instanceShaderBindingTableRecordOffset); - value->instanceShaderBindingTableRecordOffset = temp_instanceShaderBindingTableRecordOffset; + value->instanceShaderBindingTableRecordOffset = static_cast(temp_instanceShaderBindingTableRecordOffset); VkGeometryInstanceFlagsKHR temp_flags; bytes_read += ValueDecoder::DecodeFlagsValue((buffer + bytes_read), (buffer_size - bytes_read), &temp_flags); - value->flags = temp_flags; + value->flags = static_cast(temp_flags); bytes_read += ValueDecoder::DecodeUInt64Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->accelerationStructureReference)); return bytes_read; diff --git a/framework/generated/generated_vulkan_struct_to_json.cpp b/framework/generated/generated_vulkan_struct_to_json.cpp index 317200dfcc..6feeccdea2 100644 --- a/framework/generated/generated_vulkan_struct_to_json.cpp +++ b/framework/generated/generated_vulkan_struct_to_json.cpp @@ -37,6 +37,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264SpsVui { const StdVideoH264SpsVuiFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH264SpsVuiFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["aspect_ratio_info_present_flag"], decoded_value.aspect_ratio_info_present_flag, options); FieldToJson(jdata["overscan_info_present_flag"], decoded_value.overscan_info_present_flag, options); FieldToJson(jdata["overscan_appropriate_flag"], decoded_value.overscan_appropriate_flag, options); @@ -58,6 +60,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264HrdPar { const StdVideoH264HrdParameters& decoded_value = *data->decoded_value; const Decoded_StdVideoH264HrdParameters& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["cpb_cnt_minus1"], decoded_value.cpb_cnt_minus1, options); FieldToJson(jdata["bit_rate_scale"], decoded_value.bit_rate_scale, options); FieldToJson(jdata["cpb_size_scale"], decoded_value.cpb_size_scale, options); @@ -78,6 +82,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264Sequen { const StdVideoH264SequenceParameterSetVui& decoded_value = *data->decoded_value; const Decoded_StdVideoH264SequenceParameterSetVui& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["aspect_ratio_idc"], decoded_value.aspect_ratio_idc, options); FieldToJson(jdata["sar_width"], decoded_value.sar_width, options); @@ -103,6 +109,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264SpsFla { const StdVideoH264SpsFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH264SpsFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["constraint_set0_flag"], decoded_value.constraint_set0_flag, options); FieldToJson(jdata["constraint_set1_flag"], decoded_value.constraint_set1_flag, options); FieldToJson(jdata["constraint_set2_flag"], decoded_value.constraint_set2_flag, options); @@ -128,6 +136,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264Scalin { const StdVideoH264ScalingLists& decoded_value = *data->decoded_value; const Decoded_StdVideoH264ScalingLists& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["scaling_list_present_mask"], decoded_value.scaling_list_present_mask, options); FieldToJson(jdata["use_default_scaling_matrix_mask"], decoded_value.use_default_scaling_matrix_mask, options); FieldToJson(jdata["ScalingList4x4"], &meta_struct.ScalingList4x4, options); @@ -141,6 +151,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264Sequen { const StdVideoH264SequenceParameterSet& decoded_value = *data->decoded_value; const Decoded_StdVideoH264SequenceParameterSet& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["profile_idc"], decoded_value.profile_idc, options); FieldToJson(jdata["level_idc"], decoded_value.level_idc, options); @@ -175,6 +187,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264PpsFla { const StdVideoH264PpsFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH264PpsFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["transform_8x8_mode_flag"], decoded_value.transform_8x8_mode_flag, options); FieldToJson(jdata["redundant_pic_cnt_present_flag"], decoded_value.redundant_pic_cnt_present_flag, options); FieldToJson(jdata["constrained_intra_pred_flag"], decoded_value.constrained_intra_pred_flag, options); @@ -192,6 +206,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH264Pictur { const StdVideoH264PictureParameterSet& decoded_value = *data->decoded_value; const Decoded_StdVideoH264PictureParameterSet& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["seq_parameter_set_id"], decoded_value.seq_parameter_set_id, options); FieldToJson(jdata["pic_parameter_set_id"], decoded_value.pic_parameter_set_id, options); @@ -212,6 +228,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH264 { const StdVideoDecodeH264PictureInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH264PictureInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["field_pic_flag"], decoded_value.field_pic_flag, options); FieldToJson(jdata["is_intra"], decoded_value.is_intra, options); FieldToJson(jdata["IdrPicFlag"], decoded_value.IdrPicFlag, options); @@ -227,6 +245,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH264 { const StdVideoDecodeH264PictureInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH264PictureInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["seq_parameter_set_id"], decoded_value.seq_parameter_set_id, options); FieldToJson(jdata["pic_parameter_set_id"], decoded_value.pic_parameter_set_id, options); @@ -244,6 +264,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH264 { const StdVideoDecodeH264ReferenceInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH264ReferenceInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["top_field_flag"], decoded_value.top_field_flag, options); FieldToJson(jdata["bottom_field_flag"], decoded_value.bottom_field_flag, options); FieldToJson(jdata["used_for_long_term_reference"], decoded_value.used_for_long_term_reference, options); @@ -257,6 +279,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH264 { const StdVideoDecodeH264ReferenceInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH264ReferenceInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["FrameNum"], decoded_value.FrameNum, options); FieldToJson(jdata["reserved"], decoded_value.reserved, options); @@ -270,6 +294,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264WeightTableFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264WeightTableFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["luma_weight_l0_flag"], decoded_value.luma_weight_l0_flag, options); FieldToJson(jdata["chroma_weight_l0_flag"], decoded_value.chroma_weight_l0_flag, options); FieldToJson(jdata["luma_weight_l1_flag"], decoded_value.luma_weight_l1_flag, options); @@ -283,6 +309,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264WeightTable& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264WeightTable& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["luma_log2_weight_denom"], decoded_value.luma_log2_weight_denom, options); FieldToJson(jdata["chroma_log2_weight_denom"], decoded_value.chroma_log2_weight_denom, options); @@ -303,6 +331,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264SliceHeaderFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264SliceHeaderFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["direct_spatial_mv_pred_flag"], decoded_value.direct_spatial_mv_pred_flag, options); FieldToJson(jdata["num_ref_idx_active_override_flag"], decoded_value.num_ref_idx_active_override_flag, options); FieldToJson(jdata["reserved"], decoded_value.reserved, options); @@ -315,6 +345,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264PictureInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264PictureInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["IdrPicFlag"], decoded_value.IdrPicFlag, options); FieldToJson(jdata["is_reference"], decoded_value.is_reference, options); FieldToJson(jdata["no_output_of_prior_pics_flag"], decoded_value.no_output_of_prior_pics_flag, options); @@ -330,6 +362,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264ReferenceInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264ReferenceInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["used_for_long_term_reference"], decoded_value.used_for_long_term_reference, options); FieldToJson(jdata["reserved"], decoded_value.reserved, options); } @@ -341,6 +375,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264ReferenceListsInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264ReferenceListsInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["ref_pic_list_modification_flag_l0"], decoded_value.ref_pic_list_modification_flag_l0, options); FieldToJson(jdata["ref_pic_list_modification_flag_l1"], decoded_value.ref_pic_list_modification_flag_l1, options); FieldToJson(jdata["reserved"], decoded_value.reserved, options); @@ -353,6 +389,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264RefListModEntry& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264RefListModEntry& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["modification_of_pic_nums_idc"], decoded_value.modification_of_pic_nums_idc, options); FieldToJson(jdata["abs_diff_pic_num_minus1"], decoded_value.abs_diff_pic_num_minus1, options); FieldToJson(jdata["long_term_pic_num"], decoded_value.long_term_pic_num, options); @@ -365,6 +403,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264RefPicMarkingEntry& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264RefPicMarkingEntry& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["operation"], decoded_value.operation, options); FieldToJson(jdata["difference_of_pic_nums_minus1"], decoded_value.difference_of_pic_nums_minus1, options); FieldToJson(jdata["long_term_pic_num"], decoded_value.long_term_pic_num, options); @@ -379,6 +419,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264ReferenceListsInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264ReferenceListsInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["num_ref_idx_l0_active_minus1"], decoded_value.num_ref_idx_l0_active_minus1, options); FieldToJson(jdata["num_ref_idx_l1_active_minus1"], decoded_value.num_ref_idx_l1_active_minus1, options); @@ -400,6 +442,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264PictureInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264PictureInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["seq_parameter_set_id"], decoded_value.seq_parameter_set_id, options); FieldToJson(jdata["pic_parameter_set_id"], decoded_value.pic_parameter_set_id, options); @@ -419,6 +463,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264ReferenceInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264ReferenceInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["primary_pic_type"], decoded_value.primary_pic_type, options); FieldToJson(jdata["FrameNum"], decoded_value.FrameNum, options); @@ -435,6 +481,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH264 { const StdVideoEncodeH264SliceHeader& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH264SliceHeader& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["first_mb_in_slice"], decoded_value.first_mb_in_slice, options); FieldToJson(jdata["slice_type"], decoded_value.slice_type, options); @@ -453,6 +501,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265Profil { const StdVideoH265ProfileTierLevelFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH265ProfileTierLevelFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["general_tier_flag"], decoded_value.general_tier_flag, options); FieldToJson(jdata["general_progressive_source_flag"], decoded_value.general_progressive_source_flag, options); FieldToJson(jdata["general_interlaced_source_flag"], decoded_value.general_interlaced_source_flag, options); @@ -467,6 +517,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265Profil { const StdVideoH265ProfileTierLevel& decoded_value = *data->decoded_value; const Decoded_StdVideoH265ProfileTierLevel& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["general_profile_idc"], decoded_value.general_profile_idc, options); FieldToJson(jdata["general_level_idc"], decoded_value.general_level_idc, options); @@ -479,6 +531,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265DecPic { const StdVideoH265DecPicBufMgr& decoded_value = *data->decoded_value; const Decoded_StdVideoH265DecPicBufMgr& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["max_latency_increase_plus1"], &meta_struct.max_latency_increase_plus1, options); FieldToJson(jdata["max_dec_pic_buffering_minus1"], &meta_struct.max_dec_pic_buffering_minus1, options); FieldToJson(jdata["max_num_reorder_pics"], &meta_struct.max_num_reorder_pics, options); @@ -491,6 +545,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265SubLay { const StdVideoH265SubLayerHrdParameters& decoded_value = *data->decoded_value; const Decoded_StdVideoH265SubLayerHrdParameters& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["bit_rate_value_minus1"], &meta_struct.bit_rate_value_minus1, options); FieldToJson(jdata["cpb_size_value_minus1"], &meta_struct.cpb_size_value_minus1, options); FieldToJson(jdata["cpb_size_du_value_minus1"], &meta_struct.cpb_size_du_value_minus1, options); @@ -505,6 +561,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265HrdFla { const StdVideoH265HrdFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH265HrdFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["nal_hrd_parameters_present_flag"], decoded_value.nal_hrd_parameters_present_flag, options); FieldToJson(jdata["vcl_hrd_parameters_present_flag"], decoded_value.vcl_hrd_parameters_present_flag, options); FieldToJson(jdata["sub_pic_hrd_params_present_flag"], decoded_value.sub_pic_hrd_params_present_flag, options); @@ -521,6 +579,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265HrdPar { const StdVideoH265HrdParameters& decoded_value = *data->decoded_value; const Decoded_StdVideoH265HrdParameters& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["tick_divisor_minus2"], decoded_value.tick_divisor_minus2, options); FieldToJson(jdata["du_cpb_removal_delay_increment_length_minus1"], decoded_value.du_cpb_removal_delay_increment_length_minus1, options); @@ -545,6 +605,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265VpsFla { const StdVideoH265VpsFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH265VpsFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["vps_temporal_id_nesting_flag"], decoded_value.vps_temporal_id_nesting_flag, options); FieldToJson(jdata["vps_sub_layer_ordering_info_present_flag"], decoded_value.vps_sub_layer_ordering_info_present_flag, options); FieldToJson(jdata["vps_timing_info_present_flag"], decoded_value.vps_timing_info_present_flag, options); @@ -558,6 +620,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265VideoP { const StdVideoH265VideoParameterSet& decoded_value = *data->decoded_value; const Decoded_StdVideoH265VideoParameterSet& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["vps_video_parameter_set_id"], decoded_value.vps_video_parameter_set_id, options); FieldToJson(jdata["vps_max_sub_layers_minus1"], decoded_value.vps_max_sub_layers_minus1, options); @@ -579,6 +643,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265Scalin { const StdVideoH265ScalingLists& decoded_value = *data->decoded_value; const Decoded_StdVideoH265ScalingLists& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["ScalingList4x4"], &meta_struct.ScalingList4x4, options); FieldToJson(jdata["ScalingList8x8"], &meta_struct.ScalingList8x8, options); FieldToJson(jdata["ScalingList16x16"], &meta_struct.ScalingList16x16, options); @@ -594,6 +660,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265ShortT { const StdVideoH265ShortTermRefPicSetFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH265ShortTermRefPicSetFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["inter_ref_pic_set_prediction_flag"], decoded_value.inter_ref_pic_set_prediction_flag, options); FieldToJson(jdata["delta_rps_sign"], decoded_value.delta_rps_sign, options); } @@ -605,6 +673,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265ShortT { const StdVideoH265ShortTermRefPicSet& decoded_value = *data->decoded_value; const Decoded_StdVideoH265ShortTermRefPicSet& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["delta_idx_minus1"], decoded_value.delta_idx_minus1, options); FieldToJson(jdata["use_delta_flag"], decoded_value.use_delta_flag, options); @@ -628,6 +698,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265LongTe { const StdVideoH265LongTermRefPicsSps& decoded_value = *data->decoded_value; const Decoded_StdVideoH265LongTermRefPicsSps& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["used_by_curr_pic_lt_sps_flag"], decoded_value.used_by_curr_pic_lt_sps_flag, options); FieldToJson(jdata["lt_ref_pic_poc_lsb_sps"], &meta_struct.lt_ref_pic_poc_lsb_sps, options); } @@ -639,6 +711,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265SpsVui { const StdVideoH265SpsVuiFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH265SpsVuiFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["aspect_ratio_info_present_flag"], decoded_value.aspect_ratio_info_present_flag, options); FieldToJson(jdata["overscan_info_present_flag"], decoded_value.overscan_info_present_flag, options); FieldToJson(jdata["overscan_appropriate_flag"], decoded_value.overscan_appropriate_flag, options); @@ -666,6 +740,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265Sequen { const StdVideoH265SequenceParameterSetVui& decoded_value = *data->decoded_value; const Decoded_StdVideoH265SequenceParameterSetVui& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["aspect_ratio_idc"], decoded_value.aspect_ratio_idc, options); FieldToJson(jdata["sar_width"], decoded_value.sar_width, options); @@ -701,6 +777,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265Predic { const StdVideoH265PredictorPaletteEntries& decoded_value = *data->decoded_value; const Decoded_StdVideoH265PredictorPaletteEntries& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["PredictorPaletteEntries"], &meta_struct.PredictorPaletteEntries, options); } } @@ -711,6 +789,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265SpsFla { const StdVideoH265SpsFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH265SpsFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sps_temporal_id_nesting_flag"], decoded_value.sps_temporal_id_nesting_flag, options); FieldToJson(jdata["separate_colour_plane_flag"], decoded_value.separate_colour_plane_flag, options); FieldToJson(jdata["conformance_window_flag"], decoded_value.conformance_window_flag, options); @@ -750,6 +830,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265Sequen { const StdVideoH265SequenceParameterSet& decoded_value = *data->decoded_value; const Decoded_StdVideoH265SequenceParameterSet& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["chroma_format_idc"], decoded_value.chroma_format_idc, options); FieldToJson(jdata["pic_width_in_luma_samples"], decoded_value.pic_width_in_luma_samples, options); @@ -798,6 +880,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265PpsFla { const StdVideoH265PpsFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoH265PpsFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["dependent_slice_segments_enabled_flag"], decoded_value.dependent_slice_segments_enabled_flag, options); FieldToJson(jdata["output_flag_present_flag"], decoded_value.output_flag_present_flag, options); FieldToJson(jdata["sign_data_hiding_enabled_flag"], decoded_value.sign_data_hiding_enabled_flag, options); @@ -838,6 +922,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoH265Pictur { const StdVideoH265PictureParameterSet& decoded_value = *data->decoded_value; const Decoded_StdVideoH265PictureParameterSet& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["pps_pic_parameter_set_id"], decoded_value.pps_pic_parameter_set_id, options); FieldToJson(jdata["pps_seq_parameter_set_id"], decoded_value.pps_seq_parameter_set_id, options); @@ -883,6 +969,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH265 { const StdVideoDecodeH265PictureInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH265PictureInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["IrapPicFlag"], decoded_value.IrapPicFlag, options); FieldToJson(jdata["IdrPicFlag"], decoded_value.IdrPicFlag, options); FieldToJson(jdata["IsReference"], decoded_value.IsReference, options); @@ -896,6 +984,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH265 { const StdVideoDecodeH265PictureInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH265PictureInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["sps_video_parameter_set_id"], decoded_value.sps_video_parameter_set_id, options); FieldToJson(jdata["pps_seq_parameter_set_id"], decoded_value.pps_seq_parameter_set_id, options); @@ -916,6 +1006,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH265 { const StdVideoDecodeH265ReferenceInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH265ReferenceInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["used_for_long_term_reference"], decoded_value.used_for_long_term_reference, options); FieldToJson(jdata["unused_for_reference"], decoded_value.unused_for_reference, options); } @@ -927,6 +1019,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoDecodeH265 { const StdVideoDecodeH265ReferenceInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoDecodeH265ReferenceInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["PicOrderCntVal"], decoded_value.PicOrderCntVal, options); } @@ -938,6 +1032,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265WeightTableFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265WeightTableFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["luma_weight_l0_flag"], decoded_value.luma_weight_l0_flag, options); FieldToJson(jdata["chroma_weight_l0_flag"], decoded_value.chroma_weight_l0_flag, options); FieldToJson(jdata["luma_weight_l1_flag"], decoded_value.luma_weight_l1_flag, options); @@ -951,6 +1047,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265WeightTable& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265WeightTable& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["luma_log2_weight_denom"], decoded_value.luma_log2_weight_denom, options); FieldToJson(jdata["delta_chroma_log2_weight_denom"], decoded_value.delta_chroma_log2_weight_denom, options); @@ -971,6 +1069,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265SliceSegmentLongTermRefPics& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265SliceSegmentLongTermRefPics& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["num_long_term_sps"], decoded_value.num_long_term_sps, options); FieldToJson(jdata["num_long_term_pics"], decoded_value.num_long_term_pics, options); FieldToJson(jdata["lt_idx_sps"], &meta_struct.lt_idx_sps, options); @@ -987,6 +1087,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265SliceSegmentHeaderFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265SliceSegmentHeaderFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["first_slice_segment_in_pic_flag"], decoded_value.first_slice_segment_in_pic_flag, options); FieldToJson(jdata["dependent_slice_segment_flag"], decoded_value.dependent_slice_segment_flag, options); FieldToJson(jdata["slice_sao_luma_flag"], decoded_value.slice_sao_luma_flag, options); @@ -1009,6 +1111,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265SliceSegmentHeader& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265SliceSegmentHeader& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["slice_type"], decoded_value.slice_type, options); FieldToJson(jdata["slice_segment_address"], decoded_value.slice_segment_address, options); @@ -1032,6 +1136,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265ReferenceListsInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265ReferenceListsInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["ref_pic_list_modification_flag_l0"], decoded_value.ref_pic_list_modification_flag_l0, options); FieldToJson(jdata["ref_pic_list_modification_flag_l1"], decoded_value.ref_pic_list_modification_flag_l1, options); FieldToJson(jdata["reserved"], decoded_value.reserved, options); @@ -1044,6 +1150,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265ReferenceListsInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265ReferenceListsInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["num_ref_idx_l0_active_minus1"], decoded_value.num_ref_idx_l0_active_minus1, options); FieldToJson(jdata["num_ref_idx_l1_active_minus1"], decoded_value.num_ref_idx_l1_active_minus1, options); @@ -1060,6 +1168,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265PictureInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265PictureInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["is_reference"], decoded_value.is_reference, options); FieldToJson(jdata["IrapPicFlag"], decoded_value.IrapPicFlag, options); FieldToJson(jdata["used_for_long_term_reference"], decoded_value.used_for_long_term_reference, options); @@ -1079,6 +1189,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265PictureInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265PictureInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["pic_type"], decoded_value.pic_type, options); FieldToJson(jdata["sps_video_parameter_set_id"], decoded_value.sps_video_parameter_set_id, options); @@ -1100,6 +1212,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265ReferenceInfoFlags& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265ReferenceInfoFlags& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["used_for_long_term_reference"], decoded_value.used_for_long_term_reference, options); FieldToJson(jdata["unused_for_reference"], decoded_value.unused_for_reference, options); FieldToJson(jdata["reserved"], decoded_value.reserved, options); @@ -1112,6 +1226,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_StdVideoEncodeH265 { const StdVideoEncodeH265ReferenceInfo& decoded_value = *data->decoded_value; const Decoded_StdVideoEncodeH265ReferenceInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["flags"], meta_struct.flags, options); FieldToJson(jdata["pic_type"], decoded_value.pic_type, options); FieldToJson(jdata["PicOrderCntVal"], decoded_value.PicOrderCntVal, options); @@ -1125,6 +1241,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExtent2D* data, { const VkExtent2D& decoded_value = *data->decoded_value; const Decoded_VkExtent2D& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["width"], decoded_value.width, options); FieldToJson(jdata["height"], decoded_value.height, options); } @@ -1136,6 +1254,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExtent3D* data, { const VkExtent3D& decoded_value = *data->decoded_value; const Decoded_VkExtent3D& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["width"], decoded_value.width, options); FieldToJson(jdata["height"], decoded_value.height, options); FieldToJson(jdata["depth"], decoded_value.depth, options); @@ -1148,6 +1268,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkOffset2D* data, { const VkOffset2D& decoded_value = *data->decoded_value; const Decoded_VkOffset2D& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["x"], decoded_value.x, options); FieldToJson(jdata["y"], decoded_value.y, options); } @@ -1159,6 +1281,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkOffset3D* data, { const VkOffset3D& decoded_value = *data->decoded_value; const Decoded_VkOffset3D& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["x"], decoded_value.x, options); FieldToJson(jdata["y"], decoded_value.y, options); FieldToJson(jdata["z"], decoded_value.z, options); @@ -1171,6 +1295,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRect2D* data, co { const VkRect2D& decoded_value = *data->decoded_value; const Decoded_VkRect2D& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["offset"], meta_struct.offset, options); FieldToJson(jdata["extent"], meta_struct.extent, options); } @@ -1182,6 +1308,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferMemoryBarr { const VkBufferMemoryBarrier& decoded_value = *data->decoded_value; const Decoded_VkBufferMemoryBarrier& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkAccessFlags_t(),jdata["srcAccessMask"], decoded_value.srcAccessMask, options); FieldToJson(VkAccessFlags_t(),jdata["dstAccessMask"], decoded_value.dstAccessMask, options); @@ -1200,6 +1328,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDispatchIndirect { const VkDispatchIndirectCommand& decoded_value = *data->decoded_value; const Decoded_VkDispatchIndirectCommand& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["x"], decoded_value.x, options); FieldToJson(jdata["y"], decoded_value.y, options); FieldToJson(jdata["z"], decoded_value.z, options); @@ -1212,6 +1342,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrawIndexedIndir { const VkDrawIndexedIndirectCommand& decoded_value = *data->decoded_value; const Decoded_VkDrawIndexedIndirectCommand& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["indexCount"], decoded_value.indexCount, options); FieldToJson(jdata["instanceCount"], decoded_value.instanceCount, options); FieldToJson(jdata["firstIndex"], decoded_value.firstIndex, options); @@ -1226,6 +1358,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrawIndirectComm { const VkDrawIndirectCommand& decoded_value = *data->decoded_value; const Decoded_VkDrawIndirectCommand& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["vertexCount"], decoded_value.vertexCount, options); FieldToJson(jdata["instanceCount"], decoded_value.instanceCount, options); FieldToJson(jdata["firstVertex"], decoded_value.firstVertex, options); @@ -1239,6 +1373,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageSubresource { const VkImageSubresourceRange& decoded_value = *data->decoded_value; const Decoded_VkImageSubresourceRange& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkImageAspectFlags_t(),jdata["aspectMask"], decoded_value.aspectMask, options); FieldToJson(jdata["baseMipLevel"], decoded_value.baseMipLevel, options); FieldToJson(jdata["levelCount"], decoded_value.levelCount, options); @@ -1253,6 +1389,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageMemoryBarri { const VkImageMemoryBarrier& decoded_value = *data->decoded_value; const Decoded_VkImageMemoryBarrier& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkAccessFlags_t(),jdata["srcAccessMask"], decoded_value.srcAccessMask, options); FieldToJson(VkAccessFlags_t(),jdata["dstAccessMask"], decoded_value.dstAccessMask, options); @@ -1272,6 +1410,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryBarrier* d { const VkMemoryBarrier& decoded_value = *data->decoded_value; const Decoded_VkMemoryBarrier& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkAccessFlags_t(),jdata["srcAccessMask"], decoded_value.srcAccessMask, options); FieldToJson(VkAccessFlags_t(),jdata["dstAccessMask"], decoded_value.dstAccessMask, options); @@ -1285,6 +1425,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCacheHea { const VkPipelineCacheHeaderVersionOne& decoded_value = *data->decoded_value; const Decoded_VkPipelineCacheHeaderVersionOne& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["headerSize"], decoded_value.headerSize, options); FieldToJson(jdata["headerVersion"], decoded_value.headerVersion, options); FieldToJson(jdata["vendorID"], decoded_value.vendorID, options); @@ -1299,6 +1441,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAllocationCallba { const VkAllocationCallbacks& decoded_value = *data->decoded_value; const Decoded_VkAllocationCallbacks& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["pUserData"], to_hex_variable_width(meta_struct.pUserData), options); FieldToJson(jdata["pfnAllocation"], to_hex_variable_width(meta_struct.pfnAllocation), options); FieldToJson(jdata["pfnReallocation"], to_hex_variable_width(meta_struct.pfnReallocation), options); @@ -1314,6 +1458,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkApplicationInfo* { const VkApplicationInfo& decoded_value = *data->decoded_value; const Decoded_VkApplicationInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pApplicationName"], &meta_struct.pApplicationName, options); FieldToJson(jdata["applicationVersion"], decoded_value.applicationVersion, options); @@ -1330,6 +1476,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFormatProperties { const VkFormatProperties& decoded_value = *data->decoded_value; const Decoded_VkFormatProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkFormatFeatureFlags_t(),jdata["linearTilingFeatures"], decoded_value.linearTilingFeatures, options); FieldToJson(VkFormatFeatureFlags_t(),jdata["optimalTilingFeatures"], decoded_value.optimalTilingFeatures, options); FieldToJson(VkFormatFeatureFlags_t(),jdata["bufferFeatures"], decoded_value.bufferFeatures, options); @@ -1342,6 +1490,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageFormatPrope { const VkImageFormatProperties& decoded_value = *data->decoded_value; const Decoded_VkImageFormatProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["maxExtent"], meta_struct.maxExtent, options); FieldToJson(jdata["maxMipLevels"], decoded_value.maxMipLevels, options); FieldToJson(jdata["maxArrayLayers"], decoded_value.maxArrayLayers, options); @@ -1356,6 +1506,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkInstanceCreateIn { const VkInstanceCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkInstanceCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkInstanceCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pApplicationInfo"], meta_struct.pApplicationInfo, options); @@ -1373,6 +1525,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryHeap* data { const VkMemoryHeap& decoded_value = *data->decoded_value; const Decoded_VkMemoryHeap& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["size"], decoded_value.size, options); FieldToJson(VkMemoryHeapFlags_t(),jdata["flags"], decoded_value.flags, options); } @@ -1384,6 +1538,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryType* data { const VkMemoryType& decoded_value = *data->decoded_value; const Decoded_VkMemoryType& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkMemoryPropertyFlags_t(),jdata["propertyFlags"], decoded_value.propertyFlags, options); FieldToJson(jdata["heapIndex"], decoded_value.heapIndex, options); } @@ -1395,6 +1551,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFe { const VkPhysicalDeviceFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); jdata["robustBufferAccess"] = static_cast(decoded_value.robustBufferAccess); jdata["fullDrawIndexUint32"] = static_cast(decoded_value.fullDrawIndexUint32); jdata["imageCubeArray"] = static_cast(decoded_value.imageCubeArray); @@ -1459,6 +1617,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLi { const VkPhysicalDeviceLimits& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceLimits& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["maxImageDimension1D"], decoded_value.maxImageDimension1D, options); FieldToJson(jdata["maxImageDimension2D"], decoded_value.maxImageDimension2D, options); FieldToJson(jdata["maxImageDimension3D"], decoded_value.maxImageDimension3D, options); @@ -1574,6 +1734,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMemoryProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMemoryProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["memoryTypeCount"], decoded_value.memoryTypeCount, options); FieldToJson(jdata["memoryTypes"], meta_struct.memoryTypes, options); FieldToJson(jdata["memoryHeapCount"], decoded_value.memoryHeapCount, options); @@ -1587,6 +1749,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSp { const VkPhysicalDeviceSparseProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSparseProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); jdata["residencyStandard2DBlockShape"] = static_cast(decoded_value.residencyStandard2DBlockShape); jdata["residencyStandard2DMultisampleBlockShape"] = static_cast(decoded_value.residencyStandard2DMultisampleBlockShape); jdata["residencyStandard3DBlockShape"] = static_cast(decoded_value.residencyStandard3DBlockShape); @@ -1601,6 +1765,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDeviceProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["apiVersion"], decoded_value.apiVersion, options); FieldToJson(jdata["driverVersion"], decoded_value.driverVersion, options); FieldToJson(jdata["vendorID"], decoded_value.vendorID, options); @@ -1619,6 +1785,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueueFamilyPrope { const VkQueueFamilyProperties& decoded_value = *data->decoded_value; const Decoded_VkQueueFamilyProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkQueueFlags_t(),jdata["queueFlags"], decoded_value.queueFlags, options); FieldToJson(jdata["queueCount"], decoded_value.queueCount, options); FieldToJson(jdata["timestampValidBits"], decoded_value.timestampValidBits, options); @@ -1632,6 +1800,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceQueueCreat { const VkDeviceQueueCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceQueueCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceQueueCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["queueFamilyIndex"], decoded_value.queueFamilyIndex, options); @@ -1647,6 +1817,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceCreateInfo { const VkDeviceCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["queueCreateInfoCount"], decoded_value.queueCreateInfoCount, options); @@ -1666,6 +1838,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExtensionPropert { const VkExtensionProperties& decoded_value = *data->decoded_value; const Decoded_VkExtensionProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["extensionName"], &meta_struct.extensionName, options); FieldToJson(jdata["specVersion"], decoded_value.specVersion, options); } @@ -1677,6 +1851,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkLayerProperties* { const VkLayerProperties& decoded_value = *data->decoded_value; const Decoded_VkLayerProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["layerName"], &meta_struct.layerName, options); FieldToJson(jdata["specVersion"], decoded_value.specVersion, options); FieldToJson(jdata["implementationVersion"], decoded_value.implementationVersion, options); @@ -1690,6 +1866,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubmitInfo* data { const VkSubmitInfo& decoded_value = *data->decoded_value; const Decoded_VkSubmitInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["waitSemaphoreCount"], decoded_value.waitSemaphoreCount, options); HandleToJson(jdata["pWaitSemaphores"], &meta_struct.pWaitSemaphores, options); @@ -1708,6 +1886,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMappedMemoryRang { const VkMappedMemoryRange& decoded_value = *data->decoded_value; const Decoded_VkMappedMemoryRange& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["memory"], meta_struct.memory, options); FieldToJson(jdata["offset"], decoded_value.offset, options); @@ -1722,6 +1902,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryAllocateIn { const VkMemoryAllocateInfo& decoded_value = *data->decoded_value; const Decoded_VkMemoryAllocateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["allocationSize"], decoded_value.allocationSize, options); FieldToJson(jdata["memoryTypeIndex"], decoded_value.memoryTypeIndex, options); @@ -1735,6 +1917,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryRequiremen { const VkMemoryRequirements& decoded_value = *data->decoded_value; const Decoded_VkMemoryRequirements& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["size"], decoded_value.size, options); FieldToJson(jdata["alignment"], decoded_value.alignment, options); FieldToJson(jdata["memoryTypeBits"], decoded_value.memoryTypeBits, options); @@ -1747,6 +1931,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseMemoryBind { const VkSparseMemoryBind& decoded_value = *data->decoded_value; const Decoded_VkSparseMemoryBind& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["resourceOffset"], decoded_value.resourceOffset, options); FieldToJson(jdata["size"], decoded_value.size, options); HandleToJson(jdata["memory"], meta_struct.memory, options); @@ -1761,6 +1947,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseBufferMemo { const VkSparseBufferMemoryBindInfo& decoded_value = *data->decoded_value; const Decoded_VkSparseBufferMemoryBindInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["buffer"], meta_struct.buffer, options); FieldToJson(jdata["bindCount"], decoded_value.bindCount, options); FieldToJson(jdata["pBinds"], meta_struct.pBinds, options); @@ -1773,6 +1961,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseImageOpaqu { const VkSparseImageOpaqueMemoryBindInfo& decoded_value = *data->decoded_value; const Decoded_VkSparseImageOpaqueMemoryBindInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["image"], meta_struct.image, options); FieldToJson(jdata["bindCount"], decoded_value.bindCount, options); FieldToJson(jdata["pBinds"], meta_struct.pBinds, options); @@ -1785,6 +1975,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageSubresource { const VkImageSubresource& decoded_value = *data->decoded_value; const Decoded_VkImageSubresource& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkImageAspectFlags_t(),jdata["aspectMask"], decoded_value.aspectMask, options); FieldToJson(jdata["mipLevel"], decoded_value.mipLevel, options); FieldToJson(jdata["arrayLayer"], decoded_value.arrayLayer, options); @@ -1797,6 +1989,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseImageMemor { const VkSparseImageMemoryBind& decoded_value = *data->decoded_value; const Decoded_VkSparseImageMemoryBind& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["subresource"], meta_struct.subresource, options); FieldToJson(jdata["offset"], meta_struct.offset, options); FieldToJson(jdata["extent"], meta_struct.extent, options); @@ -1812,6 +2006,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseImageMemor { const VkSparseImageMemoryBindInfo& decoded_value = *data->decoded_value; const Decoded_VkSparseImageMemoryBindInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["image"], meta_struct.image, options); FieldToJson(jdata["bindCount"], decoded_value.bindCount, options); FieldToJson(jdata["pBinds"], meta_struct.pBinds, options); @@ -1824,6 +2020,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindSparseInfo* { const VkBindSparseInfo& decoded_value = *data->decoded_value; const Decoded_VkBindSparseInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["waitSemaphoreCount"], decoded_value.waitSemaphoreCount, options); HandleToJson(jdata["pWaitSemaphores"], &meta_struct.pWaitSemaphores, options); @@ -1845,6 +2043,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseImageForma { const VkSparseImageFormatProperties& decoded_value = *data->decoded_value; const Decoded_VkSparseImageFormatProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkImageAspectFlags_t(),jdata["aspectMask"], decoded_value.aspectMask, options); FieldToJson(jdata["imageGranularity"], meta_struct.imageGranularity, options); FieldToJson(VkSparseImageFormatFlags_t(),jdata["flags"], decoded_value.flags, options); @@ -1857,6 +2057,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseImageMemor { const VkSparseImageMemoryRequirements& decoded_value = *data->decoded_value; const Decoded_VkSparseImageMemoryRequirements& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["formatProperties"], meta_struct.formatProperties, options); FieldToJson(jdata["imageMipTailFirstLod"], decoded_value.imageMipTailFirstLod, options); FieldToJson(jdata["imageMipTailSize"], decoded_value.imageMipTailSize, options); @@ -1871,6 +2073,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFenceCreateInfo* { const VkFenceCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkFenceCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkFenceCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -1883,6 +2087,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreCreateI { const VkSemaphoreCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSemaphoreCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -1895,6 +2101,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkEventCreateInfo* { const VkEventCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkEventCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkEventCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -1907,6 +2115,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueryPoolCreateI { const VkQueryPoolCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkQueryPoolCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkQueryPoolCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["queryType"], decoded_value.queryType, options); @@ -1922,6 +2132,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferCreateInfo { const VkBufferCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkBufferCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkBufferCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -1939,6 +2151,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferViewCreate { const VkBufferViewCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkBufferViewCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkBufferViewCreateFlags_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); @@ -1955,6 +2169,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageCreateInfo* { const VkImageCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkImageCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["imageType"], decoded_value.imageType, options); @@ -1979,6 +2195,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubresourceLayou { const VkSubresourceLayout& decoded_value = *data->decoded_value; const Decoded_VkSubresourceLayout& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["offset"], decoded_value.offset, options); FieldToJson(jdata["size"], decoded_value.size, options); FieldToJson(jdata["rowPitch"], decoded_value.rowPitch, options); @@ -1993,6 +2211,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkComponentMapping { const VkComponentMapping& decoded_value = *data->decoded_value; const Decoded_VkComponentMapping& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["r"], decoded_value.r, options); FieldToJson(jdata["g"], decoded_value.g, options); FieldToJson(jdata["b"], decoded_value.b, options); @@ -2006,6 +2226,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewCreateI { const VkImageViewCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkImageViewCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageViewCreateFlags_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["image"], meta_struct.image, options); @@ -2023,6 +2245,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSpecializationMa { const VkSpecializationMapEntry& decoded_value = *data->decoded_value; const Decoded_VkSpecializationMapEntry& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["constantID"], decoded_value.constantID, options); FieldToJson(jdata["offset"], decoded_value.offset, options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -2035,6 +2259,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSpecializationIn { const VkSpecializationInfo& decoded_value = *data->decoded_value; const Decoded_VkSpecializationInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["mapEntryCount"], decoded_value.mapEntryCount, options); FieldToJson(jdata["pMapEntries"], meta_struct.pMapEntries, options); FieldToJson(jdata["dataSize"], decoded_value.dataSize, options); @@ -2048,6 +2274,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineShaderSt { const VkPipelineShaderStageCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineShaderStageCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineShaderStageCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["stage"], decoded_value.stage, options); @@ -2064,6 +2292,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkComputePipelineC { const VkComputePipelineCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkComputePipelineCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["stage"], meta_struct.stage, options); @@ -2080,6 +2310,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVertexInputBindi { const VkVertexInputBindingDescription& decoded_value = *data->decoded_value; const Decoded_VkVertexInputBindingDescription& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["binding"], decoded_value.binding, options); FieldToJson(jdata["stride"], decoded_value.stride, options); FieldToJson(jdata["inputRate"], decoded_value.inputRate, options); @@ -2092,6 +2324,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVertexInputAttri { const VkVertexInputAttributeDescription& decoded_value = *data->decoded_value; const Decoded_VkVertexInputAttributeDescription& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["location"], decoded_value.location, options); FieldToJson(jdata["binding"], decoded_value.binding, options); FieldToJson(jdata["format"], decoded_value.format, options); @@ -2105,6 +2339,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineVertexIn { const VkPipelineVertexInputStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineVertexInputStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineVertexInputStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["vertexBindingDescriptionCount"], decoded_value.vertexBindingDescriptionCount, options); @@ -2121,6 +2357,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineInputAss { const VkPipelineInputAssemblyStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineInputAssemblyStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineInputAssemblyStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["topology"], decoded_value.topology, options); @@ -2135,6 +2373,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineTessella { const VkPipelineTessellationStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineTessellationStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineTessellationStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["patchControlPoints"], decoded_value.patchControlPoints, options); @@ -2148,6 +2388,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkViewport* data, { const VkViewport& decoded_value = *data->decoded_value; const Decoded_VkViewport& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["x"], decoded_value.x, options); FieldToJson(jdata["y"], decoded_value.y, options); FieldToJson(jdata["width"], decoded_value.width, options); @@ -2163,6 +2405,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineViewport { const VkPipelineViewportStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineViewportStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineViewportStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["viewportCount"], decoded_value.viewportCount, options); @@ -2179,6 +2423,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasteriz { const VkPipelineRasterizationStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineRasterizationStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineRasterizationStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); jdata["depthClampEnable"] = static_cast(decoded_value.depthClampEnable); @@ -2201,6 +2447,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineMultisam { const VkPipelineMultisampleStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineMultisampleStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineMultisampleStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["rasterizationSamples"], decoded_value.rasterizationSamples, options); @@ -2219,6 +2467,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkStencilOpState* { const VkStencilOpState& decoded_value = *data->decoded_value; const Decoded_VkStencilOpState& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["failOp"], decoded_value.failOp, options); FieldToJson(jdata["passOp"], decoded_value.passOp, options); FieldToJson(jdata["depthFailOp"], decoded_value.depthFailOp, options); @@ -2235,6 +2485,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineDepthSte { const VkPipelineDepthStencilStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineDepthStencilStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineDepthStencilStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); jdata["depthTestEnable"] = static_cast(decoded_value.depthTestEnable); @@ -2256,6 +2508,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineColorBle { const VkPipelineColorBlendAttachmentState& decoded_value = *data->decoded_value; const Decoded_VkPipelineColorBlendAttachmentState& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); jdata["blendEnable"] = static_cast(decoded_value.blendEnable); FieldToJson(jdata["srcColorBlendFactor"], decoded_value.srcColorBlendFactor, options); FieldToJson(jdata["dstColorBlendFactor"], decoded_value.dstColorBlendFactor, options); @@ -2273,6 +2527,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineColorBle { const VkPipelineColorBlendStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineColorBlendStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineColorBlendStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); jdata["logicOpEnable"] = static_cast(decoded_value.logicOpEnable); @@ -2290,6 +2546,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineDynamicS { const VkPipelineDynamicStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineDynamicStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineDynamicStateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["dynamicStateCount"], decoded_value.dynamicStateCount, options); @@ -2304,6 +2562,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGraphicsPipeline { const VkGraphicsPipelineCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkGraphicsPipelineCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["stageCount"], decoded_value.stageCount, options); @@ -2332,6 +2592,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPushConstantRang { const VkPushConstantRange& decoded_value = *data->decoded_value; const Decoded_VkPushConstantRange& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkShaderStageFlags_t(),jdata["stageFlags"], decoded_value.stageFlags, options); FieldToJson(jdata["offset"], decoded_value.offset, options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -2344,6 +2606,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineLayoutCr { const VkPipelineLayoutCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineLayoutCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineLayoutCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["setLayoutCount"], decoded_value.setLayoutCount, options); @@ -2360,6 +2624,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSamplerCreateInf { const VkSamplerCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkSamplerCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSamplerCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["magFilter"], decoded_value.magFilter, options); @@ -2387,6 +2653,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyDescriptorSe { const VkCopyDescriptorSet& decoded_value = *data->decoded_value; const Decoded_VkCopyDescriptorSet& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["srcSet"], meta_struct.srcSet, options); FieldToJson(jdata["srcBinding"], decoded_value.srcBinding, options); @@ -2405,6 +2673,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorBuffer { const VkDescriptorBufferInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorBufferInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["buffer"], meta_struct.buffer, options); FieldToJson(jdata["offset"], decoded_value.offset, options); FieldToJson(jdata["range"], decoded_value.range, options); @@ -2417,6 +2687,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorPoolSi { const VkDescriptorPoolSize& decoded_value = *data->decoded_value; const Decoded_VkDescriptorPoolSize& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["type"], decoded_value.type, options); FieldToJson(jdata["descriptorCount"], decoded_value.descriptorCount, options); } @@ -2428,6 +2700,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorPoolCr { const VkDescriptorPoolCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorPoolCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDescriptorPoolCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["maxSets"], decoded_value.maxSets, options); @@ -2443,6 +2717,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetAll { const VkDescriptorSetAllocateInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetAllocateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["descriptorPool"], meta_struct.descriptorPool, options); FieldToJson(jdata["descriptorSetCount"], decoded_value.descriptorSetCount, options); @@ -2457,6 +2733,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetLay { const VkDescriptorSetLayoutBinding& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetLayoutBinding& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["binding"], decoded_value.binding, options); FieldToJson(jdata["descriptorType"], decoded_value.descriptorType, options); FieldToJson(jdata["descriptorCount"], decoded_value.descriptorCount, options); @@ -2471,6 +2749,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetLay { const VkDescriptorSetLayoutCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetLayoutCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDescriptorSetLayoutCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["bindingCount"], decoded_value.bindingCount, options); @@ -2485,6 +2765,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentDescri { const VkAttachmentDescription& decoded_value = *data->decoded_value; const Decoded_VkAttachmentDescription& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkAttachmentDescriptionFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["samples"], decoded_value.samples, options); @@ -2503,6 +2785,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentRefere { const VkAttachmentReference& decoded_value = *data->decoded_value; const Decoded_VkAttachmentReference& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["attachment"], decoded_value.attachment, options); FieldToJson(jdata["layout"], decoded_value.layout, options); } @@ -2514,6 +2798,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFramebufferCreat { const VkFramebufferCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkFramebufferCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkFramebufferCreateFlags_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["renderPass"], meta_struct.renderPass, options); @@ -2532,6 +2818,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassDescripti { const VkSubpassDescription& decoded_value = *data->decoded_value; const Decoded_VkSubpassDescription& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkSubpassDescriptionFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pipelineBindPoint"], decoded_value.pipelineBindPoint, options); FieldToJson(jdata["inputAttachmentCount"], decoded_value.inputAttachmentCount, options); @@ -2551,6 +2839,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassDependenc { const VkSubpassDependency& decoded_value = *data->decoded_value; const Decoded_VkSubpassDependency& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["srcSubpass"], decoded_value.srcSubpass, options); FieldToJson(jdata["dstSubpass"], decoded_value.dstSubpass, options); FieldToJson(VkPipelineStageFlags_t(),jdata["srcStageMask"], decoded_value.srcStageMask, options); @@ -2567,6 +2857,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassCreate { const VkRenderPassCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkRenderPassCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkRenderPassCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["attachmentCount"], decoded_value.attachmentCount, options); @@ -2585,6 +2877,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandPoolCreat { const VkCommandPoolCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkCommandPoolCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkCommandPoolCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["queueFamilyIndex"], decoded_value.queueFamilyIndex, options); @@ -2598,6 +2892,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferAll { const VkCommandBufferAllocateInfo& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferAllocateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["commandPool"], meta_struct.commandPool, options); FieldToJson(jdata["level"], decoded_value.level, options); @@ -2612,6 +2908,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferInh { const VkCommandBufferInheritanceInfo& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferInheritanceInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["renderPass"], meta_struct.renderPass, options); FieldToJson(jdata["subpass"], decoded_value.subpass, options); @@ -2629,6 +2927,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferBeg { const VkCommandBufferBeginInfo& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferBeginInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkCommandBufferUsageFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pInheritanceInfo"], meta_struct.pInheritanceInfo, options); @@ -2642,6 +2942,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferCopy* data { const VkBufferCopy& decoded_value = *data->decoded_value; const Decoded_VkBufferCopy& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["srcOffset"], decoded_value.srcOffset, options); FieldToJson(jdata["dstOffset"], decoded_value.dstOffset, options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -2654,6 +2956,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageSubresource { const VkImageSubresourceLayers& decoded_value = *data->decoded_value; const Decoded_VkImageSubresourceLayers& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkImageAspectFlags_t(),jdata["aspectMask"], decoded_value.aspectMask, options); FieldToJson(jdata["mipLevel"], decoded_value.mipLevel, options); FieldToJson(jdata["baseArrayLayer"], decoded_value.baseArrayLayer, options); @@ -2667,6 +2971,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferImageCopy* { const VkBufferImageCopy& decoded_value = *data->decoded_value; const Decoded_VkBufferImageCopy& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["bufferOffset"], decoded_value.bufferOffset, options); FieldToJson(jdata["bufferRowLength"], decoded_value.bufferRowLength, options); FieldToJson(jdata["bufferImageHeight"], decoded_value.bufferImageHeight, options); @@ -2682,6 +2988,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkClearDepthStenci { const VkClearDepthStencilValue& decoded_value = *data->decoded_value; const Decoded_VkClearDepthStencilValue& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["depth"], decoded_value.depth, options); FieldToJson(jdata["stencil"], decoded_value.stencil, options); } @@ -2693,6 +3001,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkClearAttachment* { const VkClearAttachment& decoded_value = *data->decoded_value; const Decoded_VkClearAttachment& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkImageAspectFlags_t(),jdata["aspectMask"], decoded_value.aspectMask, options); FieldToJson(jdata["colorAttachment"], decoded_value.colorAttachment, options); FieldToJson(jdata["clearValue"], meta_struct.clearValue, options); @@ -2705,6 +3015,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkClearRect* data, { const VkClearRect& decoded_value = *data->decoded_value; const Decoded_VkClearRect& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["rect"], meta_struct.rect, options); FieldToJson(jdata["baseArrayLayer"], decoded_value.baseArrayLayer, options); FieldToJson(jdata["layerCount"], decoded_value.layerCount, options); @@ -2717,6 +3029,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageBlit* data, { const VkImageBlit& decoded_value = *data->decoded_value; const Decoded_VkImageBlit& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["srcSubresource"], meta_struct.srcSubresource, options); FieldToJson(jdata["srcOffsets"], meta_struct.srcOffsets, options); FieldToJson(jdata["dstSubresource"], meta_struct.dstSubresource, options); @@ -2730,6 +3044,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageCopy* data, { const VkImageCopy& decoded_value = *data->decoded_value; const Decoded_VkImageCopy& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["srcSubresource"], meta_struct.srcSubresource, options); FieldToJson(jdata["srcOffset"], meta_struct.srcOffset, options); FieldToJson(jdata["dstSubresource"], meta_struct.dstSubresource, options); @@ -2744,6 +3060,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageResolve* da { const VkImageResolve& decoded_value = *data->decoded_value; const Decoded_VkImageResolve& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["srcSubresource"], meta_struct.srcSubresource, options); FieldToJson(jdata["srcOffset"], meta_struct.srcOffset, options); FieldToJson(jdata["dstSubresource"], meta_struct.dstSubresource, options); @@ -2758,6 +3076,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassBeginI { const VkRenderPassBeginInfo& decoded_value = *data->decoded_value; const Decoded_VkRenderPassBeginInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["renderPass"], meta_struct.renderPass, options); HandleToJson(jdata["framebuffer"], meta_struct.framebuffer, options); @@ -2774,6 +3094,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSu { const VkPhysicalDeviceSubgroupProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSubgroupProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["subgroupSize"], decoded_value.subgroupSize, options); FieldToJson(VkShaderStageFlags_t(),jdata["supportedStages"], decoded_value.supportedStages, options); @@ -2789,6 +3111,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindBufferMemory { const VkBindBufferMemoryInfo& decoded_value = *data->decoded_value; const Decoded_VkBindBufferMemoryInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); HandleToJson(jdata["memory"], meta_struct.memory, options); @@ -2803,6 +3127,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindImageMemoryI { const VkBindImageMemoryInfo& decoded_value = *data->decoded_value; const Decoded_VkBindImageMemoryInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["image"], meta_struct.image, options); HandleToJson(jdata["memory"], meta_struct.memory, options); @@ -2817,6 +3143,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevice16 { const VkPhysicalDevice16BitStorageFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevice16BitStorageFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["storageBuffer16BitAccess"] = static_cast(decoded_value.storageBuffer16BitAccess); jdata["uniformAndStorageBuffer16BitAccess"] = static_cast(decoded_value.uniformAndStorageBuffer16BitAccess); @@ -2832,6 +3160,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryDedicatedR { const VkMemoryDedicatedRequirements& decoded_value = *data->decoded_value; const Decoded_VkMemoryDedicatedRequirements& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["prefersDedicatedAllocation"] = static_cast(decoded_value.prefersDedicatedAllocation); jdata["requiresDedicatedAllocation"] = static_cast(decoded_value.requiresDedicatedAllocation); @@ -2845,6 +3175,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryDedicatedA { const VkMemoryDedicatedAllocateInfo& decoded_value = *data->decoded_value; const Decoded_VkMemoryDedicatedAllocateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["image"], meta_struct.image, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); @@ -2858,6 +3190,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryAllocateFl { const VkMemoryAllocateFlagsInfo& decoded_value = *data->decoded_value; const Decoded_VkMemoryAllocateFlagsInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkMemoryAllocateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["deviceMask"], decoded_value.deviceMask, options); @@ -2871,6 +3205,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupRende { const VkDeviceGroupRenderPassBeginInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupRenderPassBeginInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceMask"], decoded_value.deviceMask, options); FieldToJson(jdata["deviceRenderAreaCount"], decoded_value.deviceRenderAreaCount, options); @@ -2885,6 +3221,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupComma { const VkDeviceGroupCommandBufferBeginInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupCommandBufferBeginInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceMask"], decoded_value.deviceMask, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -2897,6 +3235,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupSubmi { const VkDeviceGroupSubmitInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupSubmitInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["waitSemaphoreCount"], decoded_value.waitSemaphoreCount, options); FieldToJson(jdata["pWaitSemaphoreDeviceIndices"], meta_struct.pWaitSemaphoreDeviceIndices, options); @@ -2914,6 +3254,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupBindS { const VkDeviceGroupBindSparseInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupBindSparseInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["resourceDeviceIndex"], decoded_value.resourceDeviceIndex, options); FieldToJson(jdata["memoryDeviceIndex"], decoded_value.memoryDeviceIndex, options); @@ -2927,6 +3269,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindBufferMemory { const VkBindBufferMemoryDeviceGroupInfo& decoded_value = *data->decoded_value; const Decoded_VkBindBufferMemoryDeviceGroupInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceIndexCount"], decoded_value.deviceIndexCount, options); FieldToJson(jdata["pDeviceIndices"], meta_struct.pDeviceIndices, options); @@ -2940,6 +3284,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindImageMemoryD { const VkBindImageMemoryDeviceGroupInfo& decoded_value = *data->decoded_value; const Decoded_VkBindImageMemoryDeviceGroupInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceIndexCount"], decoded_value.deviceIndexCount, options); FieldToJson(jdata["pDeviceIndices"], meta_struct.pDeviceIndices, options); @@ -2955,6 +3301,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceGr { const VkPhysicalDeviceGroupProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceGroupProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["physicalDeviceCount"], decoded_value.physicalDeviceCount, options); HandleToJson(jdata["physicalDevices"], &meta_struct.physicalDevices, options); @@ -2969,6 +3317,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupDevic { const VkDeviceGroupDeviceCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupDeviceCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["physicalDeviceCount"], decoded_value.physicalDeviceCount, options); HandleToJson(jdata["pPhysicalDevices"], &meta_struct.pPhysicalDevices, options); @@ -2982,6 +3332,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferMemoryRequ { const VkBufferMemoryRequirementsInfo2& decoded_value = *data->decoded_value; const Decoded_VkBufferMemoryRequirementsInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -2994,6 +3346,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageMemoryRequi { const VkImageMemoryRequirementsInfo2& decoded_value = *data->decoded_value; const Decoded_VkImageMemoryRequirementsInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["image"], meta_struct.image, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3006,6 +3360,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageSparseMemor { const VkImageSparseMemoryRequirementsInfo2& decoded_value = *data->decoded_value; const Decoded_VkImageSparseMemoryRequirementsInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["image"], meta_struct.image, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3018,6 +3374,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryRequiremen { const VkMemoryRequirements2& decoded_value = *data->decoded_value; const Decoded_VkMemoryRequirements2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryRequirements"], meta_struct.memoryRequirements, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3030,6 +3388,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseImageMemor { const VkSparseImageMemoryRequirements2& decoded_value = *data->decoded_value; const Decoded_VkSparseImageMemoryRequirements2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryRequirements"], meta_struct.memoryRequirements, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3042,6 +3402,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFe { const VkPhysicalDeviceFeatures2& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFeatures2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["features"], meta_struct.features, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3054,6 +3416,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDeviceProperties2& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceProperties2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["properties"], meta_struct.properties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3066,6 +3430,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFormatProperties { const VkFormatProperties2& decoded_value = *data->decoded_value; const Decoded_VkFormatProperties2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["formatProperties"], meta_struct.formatProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3078,6 +3444,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageFormatPrope { const VkImageFormatProperties2& decoded_value = *data->decoded_value; const Decoded_VkImageFormatProperties2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["imageFormatProperties"], meta_struct.imageFormatProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3090,6 +3458,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageFormatInfo2& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageFormatInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["type"], decoded_value.type, options); @@ -3106,6 +3476,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueueFamilyPrope { const VkQueueFamilyProperties2& decoded_value = *data->decoded_value; const Decoded_VkQueueFamilyProperties2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["queueFamilyProperties"], meta_struct.queueFamilyProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3118,6 +3490,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMemoryProperties2& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMemoryProperties2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryProperties"], meta_struct.memoryProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3130,6 +3504,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSparseImageForma { const VkSparseImageFormatProperties2& decoded_value = *data->decoded_value; const Decoded_VkSparseImageFormatProperties2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["properties"], meta_struct.properties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3142,6 +3518,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSp { const VkPhysicalDeviceSparseImageFormatInfo2& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSparseImageFormatInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["type"], decoded_value.type, options); @@ -3158,6 +3536,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePo { const VkPhysicalDevicePointClippingProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePointClippingProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pointClippingBehavior"], decoded_value.pointClippingBehavior, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3170,6 +3550,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkInputAttachmentA { const VkInputAttachmentAspectReference& decoded_value = *data->decoded_value; const Decoded_VkInputAttachmentAspectReference& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["subpass"], decoded_value.subpass, options); FieldToJson(jdata["inputAttachmentIndex"], decoded_value.inputAttachmentIndex, options); FieldToJson(VkImageAspectFlags_t(),jdata["aspectMask"], decoded_value.aspectMask, options); @@ -3182,6 +3564,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassInputA { const VkRenderPassInputAttachmentAspectCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkRenderPassInputAttachmentAspectCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["aspectReferenceCount"], decoded_value.aspectReferenceCount, options); FieldToJson(jdata["pAspectReferences"], meta_struct.pAspectReferences, options); @@ -3195,6 +3579,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewUsageCr { const VkImageViewUsageCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkImageViewUsageCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageUsageFlags_t(),jdata["usage"], decoded_value.usage, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3207,6 +3593,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineTessella { const VkPipelineTessellationDomainOriginStateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineTessellationDomainOriginStateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["domainOrigin"], decoded_value.domainOrigin, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3219,6 +3607,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassMultiv { const VkRenderPassMultiviewCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkRenderPassMultiviewCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["subpassCount"], decoded_value.subpassCount, options); FieldToJson(jdata["pViewMasks"], meta_struct.pViewMasks, options); @@ -3236,6 +3626,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultiviewFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultiviewFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["multiview"] = static_cast(decoded_value.multiview); jdata["multiviewGeometryShader"] = static_cast(decoded_value.multiviewGeometryShader); @@ -3250,6 +3642,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultiviewProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultiviewProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxMultiviewViewCount"], decoded_value.maxMultiviewViewCount, options); FieldToJson(jdata["maxMultiviewInstanceIndex"], decoded_value.maxMultiviewInstanceIndex, options); @@ -3263,6 +3657,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVa { const VkPhysicalDeviceVariablePointersFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVariablePointersFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["variablePointersStorageBuffer"] = static_cast(decoded_value.variablePointersStorageBuffer); jdata["variablePointers"] = static_cast(decoded_value.variablePointers); @@ -3276,6 +3672,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDeviceProtectedMemoryFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceProtectedMemoryFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["protectedMemory"] = static_cast(decoded_value.protectedMemory); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3288,6 +3686,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDeviceProtectedMemoryProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceProtectedMemoryProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["protectedNoFault"] = static_cast(decoded_value.protectedNoFault); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3300,6 +3700,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceQueueInfo2 { const VkDeviceQueueInfo2& decoded_value = *data->decoded_value; const Decoded_VkDeviceQueueInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceQueueCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["queueFamilyIndex"], decoded_value.queueFamilyIndex, options); @@ -3314,6 +3716,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkProtectedSubmitI { const VkProtectedSubmitInfo& decoded_value = *data->decoded_value; const Decoded_VkProtectedSubmitInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["protectedSubmit"] = static_cast(decoded_value.protectedSubmit); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3326,6 +3730,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSamplerYcbcrConv { const VkSamplerYcbcrConversionCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkSamplerYcbcrConversionCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["ycbcrModel"], decoded_value.ycbcrModel, options); @@ -3345,6 +3751,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSamplerYcbcrConv { const VkSamplerYcbcrConversionInfo& decoded_value = *data->decoded_value; const Decoded_VkSamplerYcbcrConversionInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["conversion"], meta_struct.conversion, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3357,6 +3765,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindImagePlaneMe { const VkBindImagePlaneMemoryInfo& decoded_value = *data->decoded_value; const Decoded_VkBindImagePlaneMemoryInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["planeAspect"], decoded_value.planeAspect, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3369,6 +3779,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImagePlaneMemory { const VkImagePlaneMemoryRequirementsInfo& decoded_value = *data->decoded_value; const Decoded_VkImagePlaneMemoryRequirementsInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["planeAspect"], decoded_value.planeAspect, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3381,6 +3793,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSa { const VkPhysicalDeviceSamplerYcbcrConversionFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSamplerYcbcrConversionFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["samplerYcbcrConversion"] = static_cast(decoded_value.samplerYcbcrConversion); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3393,6 +3807,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSamplerYcbcrConv { const VkSamplerYcbcrConversionImageFormatProperties& decoded_value = *data->decoded_value; const Decoded_VkSamplerYcbcrConversionImageFormatProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["combinedImageSamplerDescriptorCount"], decoded_value.combinedImageSamplerDescriptorCount, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3405,6 +3821,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorUpdate { const VkDescriptorUpdateTemplateEntry& decoded_value = *data->decoded_value; const Decoded_VkDescriptorUpdateTemplateEntry& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["dstBinding"], decoded_value.dstBinding, options); FieldToJson(jdata["dstArrayElement"], decoded_value.dstArrayElement, options); FieldToJson(jdata["descriptorCount"], decoded_value.descriptorCount, options); @@ -3420,6 +3838,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorUpdate { const VkDescriptorUpdateTemplateCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorUpdateTemplateCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDescriptorUpdateTemplateCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["descriptorUpdateEntryCount"], decoded_value.descriptorUpdateEntryCount, options); @@ -3439,6 +3859,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalMemoryPr { const VkExternalMemoryProperties& decoded_value = *data->decoded_value; const Decoded_VkExternalMemoryProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkExternalMemoryFeatureFlags_t(),jdata["externalMemoryFeatures"], decoded_value.externalMemoryFeatures, options); FieldToJson(VkExternalMemoryHandleTypeFlags_t(),jdata["exportFromImportedHandleTypes"], decoded_value.exportFromImportedHandleTypes, options); FieldToJson(VkExternalMemoryHandleTypeFlags_t(),jdata["compatibleHandleTypes"], decoded_value.compatibleHandleTypes, options); @@ -3451,6 +3873,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExternalImageFormatInfo& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExternalImageFormatInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3463,6 +3887,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalImageFor { const VkExternalImageFormatProperties& decoded_value = *data->decoded_value; const Decoded_VkExternalImageFormatProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["externalMemoryProperties"], meta_struct.externalMemoryProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3475,6 +3901,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExternalBufferInfo& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExternalBufferInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkBufferCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(VkBufferUsageFlags_t(),jdata["usage"], decoded_value.usage, options); @@ -3489,6 +3917,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalBufferPr { const VkExternalBufferProperties& decoded_value = *data->decoded_value; const Decoded_VkExternalBufferProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["externalMemoryProperties"], meta_struct.externalMemoryProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3501,6 +3931,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceID { const VkPhysicalDeviceIDProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceIDProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceUUID"], uuid_to_string(sizeof(decoded_value.deviceUUID), decoded_value.deviceUUID), options); FieldToJson(jdata["driverUUID"], uuid_to_string(sizeof(decoded_value.driverUUID), decoded_value.driverUUID), options); @@ -3517,6 +3949,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalMemoryIm { const VkExternalMemoryImageCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkExternalMemoryImageCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalMemoryHandleTypeFlags_t(),jdata["handleTypes"], decoded_value.handleTypes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3529,6 +3963,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalMemoryBu { const VkExternalMemoryBufferCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkExternalMemoryBufferCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalMemoryHandleTypeFlags_t(),jdata["handleTypes"], decoded_value.handleTypes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3541,6 +3977,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportMemoryAllo { const VkExportMemoryAllocateInfo& decoded_value = *data->decoded_value; const Decoded_VkExportMemoryAllocateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalMemoryHandleTypeFlags_t(),jdata["handleTypes"], decoded_value.handleTypes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3553,6 +3991,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExternalFenceInfo& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExternalFenceInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3565,6 +4005,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalFencePro { const VkExternalFenceProperties& decoded_value = *data->decoded_value; const Decoded_VkExternalFenceProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalFenceHandleTypeFlags_t(),jdata["exportFromImportedHandleTypes"], decoded_value.exportFromImportedHandleTypes, options); FieldToJson(VkExternalFenceHandleTypeFlags_t(),jdata["compatibleHandleTypes"], decoded_value.compatibleHandleTypes, options); @@ -3579,6 +4021,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportFenceCreat { const VkExportFenceCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkExportFenceCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalFenceHandleTypeFlags_t(),jdata["handleTypes"], decoded_value.handleTypes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3591,6 +4035,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportSemaphoreC { const VkExportSemaphoreCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkExportSemaphoreCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalSemaphoreHandleTypeFlags_t(),jdata["handleTypes"], decoded_value.handleTypes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3603,6 +4049,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExternalSemaphoreInfo& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExternalSemaphoreInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3615,6 +4063,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalSemaphor { const VkExternalSemaphoreProperties& decoded_value = *data->decoded_value; const Decoded_VkExternalSemaphoreProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalSemaphoreHandleTypeFlags_t(),jdata["exportFromImportedHandleTypes"], decoded_value.exportFromImportedHandleTypes, options); FieldToJson(VkExternalSemaphoreHandleTypeFlags_t(),jdata["compatibleHandleTypes"], decoded_value.compatibleHandleTypes, options); @@ -3629,6 +4079,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMa { const VkPhysicalDeviceMaintenance3Properties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMaintenance3Properties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxPerSetDescriptors"], decoded_value.maxPerSetDescriptors, options); FieldToJson(jdata["maxMemoryAllocationSize"], decoded_value.maxMemoryAllocationSize, options); @@ -3642,6 +4094,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetLay { const VkDescriptorSetLayoutSupport& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetLayoutSupport& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["supported"] = static_cast(decoded_value.supported); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3654,6 +4108,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderDrawParametersFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderDrawParametersFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderDrawParameters"] = static_cast(decoded_value.shaderDrawParameters); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3666,6 +4122,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVu { const VkPhysicalDeviceVulkan11Features& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVulkan11Features& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["storageBuffer16BitAccess"] = static_cast(decoded_value.storageBuffer16BitAccess); jdata["uniformAndStorageBuffer16BitAccess"] = static_cast(decoded_value.uniformAndStorageBuffer16BitAccess); @@ -3689,6 +4147,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVu { const VkPhysicalDeviceVulkan11Properties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVulkan11Properties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceUUID"], uuid_to_string(sizeof(decoded_value.deviceUUID), decoded_value.deviceUUID), options); FieldToJson(jdata["driverUUID"], uuid_to_string(sizeof(decoded_value.driverUUID), decoded_value.driverUUID), options); @@ -3715,6 +4175,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVu { const VkPhysicalDeviceVulkan12Features& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVulkan12Features& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["samplerMirrorClampToEdge"] = static_cast(decoded_value.samplerMirrorClampToEdge); jdata["drawIndirectCount"] = static_cast(decoded_value.drawIndirectCount); @@ -3773,6 +4235,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkConformanceVersi { const VkConformanceVersion& decoded_value = *data->decoded_value; const Decoded_VkConformanceVersion& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["major"], decoded_value.major, options); FieldToJson(jdata["minor"], decoded_value.minor, options); FieldToJson(jdata["subminor"], decoded_value.subminor, options); @@ -3786,6 +4250,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVu { const VkPhysicalDeviceVulkan12Properties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVulkan12Properties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["driverID"], decoded_value.driverID, options); FieldToJson(jdata["driverName"], &meta_struct.driverName, options); @@ -3849,6 +4315,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageFormatListC { const VkImageFormatListCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkImageFormatListCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["viewFormatCount"], decoded_value.viewFormatCount, options); FieldToJson(jdata["pViewFormats"], meta_struct.pViewFormats, options); @@ -3862,6 +4330,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentDescri { const VkAttachmentDescription2& decoded_value = *data->decoded_value; const Decoded_VkAttachmentDescription2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkAttachmentDescriptionFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["format"], decoded_value.format, options); @@ -3882,6 +4352,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentRefere { const VkAttachmentReference2& decoded_value = *data->decoded_value; const Decoded_VkAttachmentReference2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["attachment"], decoded_value.attachment, options); FieldToJson(jdata["layout"], decoded_value.layout, options); @@ -3896,6 +4368,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassDescripti { const VkSubpassDescription2& decoded_value = *data->decoded_value; const Decoded_VkSubpassDescription2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSubpassDescriptionFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pipelineBindPoint"], decoded_value.pipelineBindPoint, options); @@ -3918,6 +4392,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassDependenc { const VkSubpassDependency2& decoded_value = *data->decoded_value; const Decoded_VkSubpassDependency2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["srcSubpass"], decoded_value.srcSubpass, options); FieldToJson(jdata["dstSubpass"], decoded_value.dstSubpass, options); @@ -3937,6 +4413,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassCreate { const VkRenderPassCreateInfo2& decoded_value = *data->decoded_value; const Decoded_VkRenderPassCreateInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkRenderPassCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["attachmentCount"], decoded_value.attachmentCount, options); @@ -3957,6 +4435,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassBeginInfo { const VkSubpassBeginInfo& decoded_value = *data->decoded_value; const Decoded_VkSubpassBeginInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["contents"], decoded_value.contents, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -3969,6 +4449,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassEndInfo* { const VkSubpassEndInfo& decoded_value = *data->decoded_value; const Decoded_VkSubpassEndInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); } @@ -3980,6 +4462,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevice8B { const VkPhysicalDevice8BitStorageFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevice8BitStorageFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["storageBuffer8BitAccess"] = static_cast(decoded_value.storageBuffer8BitAccess); jdata["uniformAndStorageBuffer8BitAccess"] = static_cast(decoded_value.uniformAndStorageBuffer8BitAccess); @@ -3994,6 +4478,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDr { const VkPhysicalDeviceDriverProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDriverProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["driverID"], decoded_value.driverID, options); FieldToJson(jdata["driverName"], &meta_struct.driverName, options); @@ -4009,6 +4495,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderAtomicInt64Features& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderAtomicInt64Features& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderBufferInt64Atomics"] = static_cast(decoded_value.shaderBufferInt64Atomics); jdata["shaderSharedInt64Atomics"] = static_cast(decoded_value.shaderSharedInt64Atomics); @@ -4022,6 +4510,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderFloat16Int8Features& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderFloat16Int8Features& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderFloat16"] = static_cast(decoded_value.shaderFloat16); jdata["shaderInt8"] = static_cast(decoded_value.shaderInt8); @@ -4035,6 +4525,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFl { const VkPhysicalDeviceFloatControlsProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFloatControlsProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["denormBehaviorIndependence"], decoded_value.denormBehaviorIndependence, options); FieldToJson(jdata["roundingModeIndependence"], decoded_value.roundingModeIndependence, options); @@ -4063,6 +4555,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetLay { const VkDescriptorSetLayoutBindingFlagsCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetLayoutBindingFlagsCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["bindingCount"], decoded_value.bindingCount, options); FieldToJson(jdata["pBindingFlags"], meta_struct.pBindingFlags, options); @@ -4076,6 +4570,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDescriptorIndexingFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDescriptorIndexingFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderInputAttachmentArrayDynamicIndexing"] = static_cast(decoded_value.shaderInputAttachmentArrayDynamicIndexing); jdata["shaderUniformTexelBufferArrayDynamicIndexing"] = static_cast(decoded_value.shaderUniformTexelBufferArrayDynamicIndexing); @@ -4107,6 +4603,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDescriptorIndexingProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDescriptorIndexingProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxUpdateAfterBindDescriptorsInAllPools"], decoded_value.maxUpdateAfterBindDescriptorsInAllPools, options); jdata["shaderUniformBufferArrayNonUniformIndexingNative"] = static_cast(decoded_value.shaderUniformBufferArrayNonUniformIndexingNative); @@ -4141,6 +4639,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetVar { const VkDescriptorSetVariableDescriptorCountAllocateInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetVariableDescriptorCountAllocateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["descriptorSetCount"], decoded_value.descriptorSetCount, options); FieldToJson(jdata["pDescriptorCounts"], meta_struct.pDescriptorCounts, options); @@ -4154,6 +4654,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetVar { const VkDescriptorSetVariableDescriptorCountLayoutSupport& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetVariableDescriptorCountLayoutSupport& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxVariableDescriptorCount"], decoded_value.maxVariableDescriptorCount, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4166,6 +4668,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassDescripti { const VkSubpassDescriptionDepthStencilResolve& decoded_value = *data->decoded_value; const Decoded_VkSubpassDescriptionDepthStencilResolve& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["depthResolveMode"], decoded_value.depthResolveMode, options); FieldToJson(jdata["stencilResolveMode"], decoded_value.stencilResolveMode, options); @@ -4180,6 +4684,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDepthStencilResolveProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDepthStencilResolveProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkResolveModeFlags_t(),jdata["supportedDepthResolveModes"], decoded_value.supportedDepthResolveModes, options); FieldToJson(VkResolveModeFlags_t(),jdata["supportedStencilResolveModes"], decoded_value.supportedStencilResolveModes, options); @@ -4195,6 +4701,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSc { const VkPhysicalDeviceScalarBlockLayoutFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceScalarBlockLayoutFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["scalarBlockLayout"] = static_cast(decoded_value.scalarBlockLayout); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4207,6 +4715,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageStencilUsag { const VkImageStencilUsageCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkImageStencilUsageCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageUsageFlags_t(),jdata["stencilUsage"], decoded_value.stencilUsage, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4219,6 +4729,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSamplerReduction { const VkSamplerReductionModeCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkSamplerReductionModeCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["reductionMode"], decoded_value.reductionMode, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4231,6 +4743,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSa { const VkPhysicalDeviceSamplerFilterMinmaxProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSamplerFilterMinmaxProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["filterMinmaxSingleComponentFormats"] = static_cast(decoded_value.filterMinmaxSingleComponentFormats); jdata["filterMinmaxImageComponentMapping"] = static_cast(decoded_value.filterMinmaxImageComponentMapping); @@ -4244,6 +4758,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVu { const VkPhysicalDeviceVulkanMemoryModelFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVulkanMemoryModelFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["vulkanMemoryModel"] = static_cast(decoded_value.vulkanMemoryModel); jdata["vulkanMemoryModelDeviceScope"] = static_cast(decoded_value.vulkanMemoryModelDeviceScope); @@ -4258,6 +4774,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImagelessFramebufferFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImagelessFramebufferFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["imagelessFramebuffer"] = static_cast(decoded_value.imagelessFramebuffer); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4270,6 +4788,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFramebufferAttac { const VkFramebufferAttachmentImageInfo& decoded_value = *data->decoded_value; const Decoded_VkFramebufferAttachmentImageInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(VkImageUsageFlags_t(),jdata["usage"], decoded_value.usage, options); @@ -4288,6 +4808,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFramebufferAttac { const VkFramebufferAttachmentsCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkFramebufferAttachmentsCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["attachmentImageInfoCount"], decoded_value.attachmentImageInfoCount, options); FieldToJson(jdata["pAttachmentImageInfos"], meta_struct.pAttachmentImageInfos, options); @@ -4301,6 +4823,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassAttach { const VkRenderPassAttachmentBeginInfo& decoded_value = *data->decoded_value; const Decoded_VkRenderPassAttachmentBeginInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["attachmentCount"], decoded_value.attachmentCount, options); HandleToJson(jdata["pAttachments"], &meta_struct.pAttachments, options); @@ -4314,6 +4838,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceUn { const VkPhysicalDeviceUniformBufferStandardLayoutFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceUniformBufferStandardLayoutFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["uniformBufferStandardLayout"] = static_cast(decoded_value.uniformBufferStandardLayout); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4326,6 +4852,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderSubgroupExtendedTypes"] = static_cast(decoded_value.shaderSubgroupExtendedTypes); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4338,6 +4866,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSe { const VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["separateDepthStencilLayouts"] = static_cast(decoded_value.separateDepthStencilLayouts); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4350,6 +4880,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentRefere { const VkAttachmentReferenceStencilLayout& decoded_value = *data->decoded_value; const Decoded_VkAttachmentReferenceStencilLayout& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stencilLayout"], decoded_value.stencilLayout, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4362,6 +4894,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentDescri { const VkAttachmentDescriptionStencilLayout& decoded_value = *data->decoded_value; const Decoded_VkAttachmentDescriptionStencilLayout& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stencilInitialLayout"], decoded_value.stencilInitialLayout, options); FieldToJson(jdata["stencilFinalLayout"], decoded_value.stencilFinalLayout, options); @@ -4375,6 +4909,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceHo { const VkPhysicalDeviceHostQueryResetFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceHostQueryResetFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["hostQueryReset"] = static_cast(decoded_value.hostQueryReset); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4387,6 +4923,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTi { const VkPhysicalDeviceTimelineSemaphoreFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTimelineSemaphoreFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["timelineSemaphore"] = static_cast(decoded_value.timelineSemaphore); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4399,6 +4937,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTi { const VkPhysicalDeviceTimelineSemaphoreProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTimelineSemaphoreProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxTimelineSemaphoreValueDifference"], decoded_value.maxTimelineSemaphoreValueDifference, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4411,6 +4951,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreTypeCre { const VkSemaphoreTypeCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreTypeCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["semaphoreType"], decoded_value.semaphoreType, options); FieldToJson(jdata["initialValue"], decoded_value.initialValue, options); @@ -4424,6 +4966,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkTimelineSemaphor { const VkTimelineSemaphoreSubmitInfo& decoded_value = *data->decoded_value; const Decoded_VkTimelineSemaphoreSubmitInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["waitSemaphoreValueCount"], decoded_value.waitSemaphoreValueCount, options); FieldToJson(jdata["pWaitSemaphoreValues"], meta_struct.pWaitSemaphoreValues, options); @@ -4439,6 +4983,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreWaitInf { const VkSemaphoreWaitInfo& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreWaitInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSemaphoreWaitFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["semaphoreCount"], decoded_value.semaphoreCount, options); @@ -4454,6 +5000,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreSignalI { const VkSemaphoreSignalInfo& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreSignalInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(jdata["value"], decoded_value.value, options); @@ -4467,6 +5015,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceBu { const VkPhysicalDeviceBufferDeviceAddressFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceBufferDeviceAddressFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["bufferDeviceAddress"] = static_cast(decoded_value.bufferDeviceAddress); jdata["bufferDeviceAddressCaptureReplay"] = static_cast(decoded_value.bufferDeviceAddressCaptureReplay); @@ -4481,6 +5031,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferDeviceAddr { const VkBufferDeviceAddressInfo& decoded_value = *data->decoded_value; const Decoded_VkBufferDeviceAddressInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4493,6 +5045,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferOpaqueCapt { const VkBufferOpaqueCaptureAddressCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkBufferOpaqueCaptureAddressCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["opaqueCaptureAddress"], decoded_value.opaqueCaptureAddress, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4505,6 +5059,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryOpaqueCapt { const VkMemoryOpaqueCaptureAddressAllocateInfo& decoded_value = *data->decoded_value; const Decoded_VkMemoryOpaqueCaptureAddressAllocateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["opaqueCaptureAddress"], decoded_value.opaqueCaptureAddress, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4517,6 +5073,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceMemoryOpaq { const VkDeviceMemoryOpaqueCaptureAddressInfo& decoded_value = *data->decoded_value; const Decoded_VkDeviceMemoryOpaqueCaptureAddressInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["memory"], meta_struct.memory, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4529,6 +5087,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVu { const VkPhysicalDeviceVulkan13Features& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVulkan13Features& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["robustImageAccess"] = static_cast(decoded_value.robustImageAccess); jdata["inlineUniformBlock"] = static_cast(decoded_value.inlineUniformBlock); @@ -4555,6 +5115,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVu { const VkPhysicalDeviceVulkan13Properties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVulkan13Properties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minSubgroupSize"], decoded_value.minSubgroupSize, options); FieldToJson(jdata["maxSubgroupSize"], decoded_value.maxSubgroupSize, options); @@ -4611,6 +5173,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCreation { const VkPipelineCreationFeedback& decoded_value = *data->decoded_value; const Decoded_VkPipelineCreationFeedback& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkPipelineCreationFeedbackFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["duration"], decoded_value.duration, options); } @@ -4622,6 +5186,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCreation { const VkPipelineCreationFeedbackCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineCreationFeedbackCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pPipelineCreationFeedback"], meta_struct.pPipelineCreationFeedback, options); FieldToJson(jdata["pipelineStageCreationFeedbackCount"], decoded_value.pipelineStageCreationFeedbackCount, options); @@ -4636,6 +5202,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderTerminateInvocationFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderTerminateInvocationFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderTerminateInvocation"] = static_cast(decoded_value.shaderTerminateInvocation); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4648,6 +5216,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTo { const VkPhysicalDeviceToolProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceToolProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["name"], &meta_struct.name, options); FieldToJson(jdata["version"], &meta_struct.version, options); @@ -4664,6 +5234,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderDemoteToHelperInvocation"] = static_cast(decoded_value.shaderDemoteToHelperInvocation); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4676,6 +5248,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDevicePrivateDataFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePrivateDataFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["privateData"] = static_cast(decoded_value.privateData); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4688,6 +5262,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDevicePrivateDat { const VkDevicePrivateDataCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDevicePrivateDataCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["privateDataSlotRequestCount"], decoded_value.privateDataSlotRequestCount, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4700,6 +5276,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPrivateDataSlotC { const VkPrivateDataSlotCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPrivateDataSlotCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPrivateDataSlotCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4712,6 +5290,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePi { const VkPhysicalDevicePipelineCreationCacheControlFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePipelineCreationCacheControlFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["pipelineCreationCacheControl"] = static_cast(decoded_value.pipelineCreationCacheControl); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4724,6 +5304,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryBarrier2* { const VkMemoryBarrier2& decoded_value = *data->decoded_value; const Decoded_VkMemoryBarrier2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineStageFlags2_t(),jdata["srcStageMask"], decoded_value.srcStageMask, options); FieldToJson(VkAccessFlags2_t(),jdata["srcAccessMask"], decoded_value.srcAccessMask, options); @@ -4739,6 +5321,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferMemoryBarr { const VkBufferMemoryBarrier2& decoded_value = *data->decoded_value; const Decoded_VkBufferMemoryBarrier2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineStageFlags2_t(),jdata["srcStageMask"], decoded_value.srcStageMask, options); FieldToJson(VkAccessFlags2_t(),jdata["srcAccessMask"], decoded_value.srcAccessMask, options); @@ -4759,6 +5343,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageMemoryBarri { const VkImageMemoryBarrier2& decoded_value = *data->decoded_value; const Decoded_VkImageMemoryBarrier2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineStageFlags2_t(),jdata["srcStageMask"], decoded_value.srcStageMask, options); FieldToJson(VkAccessFlags2_t(),jdata["srcAccessMask"], decoded_value.srcAccessMask, options); @@ -4780,6 +5366,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDependencyInfo* { const VkDependencyInfo& decoded_value = *data->decoded_value; const Decoded_VkDependencyInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDependencyFlags_t(),jdata["dependencyFlags"], decoded_value.dependencyFlags, options); FieldToJson(jdata["memoryBarrierCount"], decoded_value.memoryBarrierCount, options); @@ -4798,6 +5386,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreSubmitI { const VkSemaphoreSubmitInfo& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreSubmitInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(jdata["value"], decoded_value.value, options); @@ -4813,6 +5403,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferSub { const VkCommandBufferSubmitInfo& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferSubmitInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["commandBuffer"], meta_struct.commandBuffer, options); FieldToJson(jdata["deviceMask"], decoded_value.deviceMask, options); @@ -4826,6 +5418,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubmitInfo2* dat { const VkSubmitInfo2& decoded_value = *data->decoded_value; const Decoded_VkSubmitInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSubmitFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["waitSemaphoreInfoCount"], decoded_value.waitSemaphoreInfoCount, options); @@ -4844,6 +5438,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSy { const VkPhysicalDeviceSynchronization2Features& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSynchronization2Features& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["synchronization2"] = static_cast(decoded_value.synchronization2); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4856,6 +5452,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceZe { const VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderZeroInitializeWorkgroupMemory"] = static_cast(decoded_value.shaderZeroInitializeWorkgroupMemory); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4868,6 +5466,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageRobustnessFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageRobustnessFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["robustImageAccess"] = static_cast(decoded_value.robustImageAccess); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -4880,6 +5480,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferCopy2* dat { const VkBufferCopy2& decoded_value = *data->decoded_value; const Decoded_VkBufferCopy2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["srcOffset"], decoded_value.srcOffset, options); FieldToJson(jdata["dstOffset"], decoded_value.dstOffset, options); @@ -4894,6 +5496,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyBufferInfo2* { const VkCopyBufferInfo2& decoded_value = *data->decoded_value; const Decoded_VkCopyBufferInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["srcBuffer"], meta_struct.srcBuffer, options); HandleToJson(jdata["dstBuffer"], meta_struct.dstBuffer, options); @@ -4909,6 +5513,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageCopy2* data { const VkImageCopy2& decoded_value = *data->decoded_value; const Decoded_VkImageCopy2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["srcSubresource"], meta_struct.srcSubresource, options); FieldToJson(jdata["srcOffset"], meta_struct.srcOffset, options); @@ -4925,6 +5531,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyImageInfo2* { const VkCopyImageInfo2& decoded_value = *data->decoded_value; const Decoded_VkCopyImageInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["srcImage"], meta_struct.srcImage, options); FieldToJson(jdata["srcImageLayout"], decoded_value.srcImageLayout, options); @@ -4942,6 +5550,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferImageCopy2 { const VkBufferImageCopy2& decoded_value = *data->decoded_value; const Decoded_VkBufferImageCopy2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["bufferOffset"], decoded_value.bufferOffset, options); FieldToJson(jdata["bufferRowLength"], decoded_value.bufferRowLength, options); @@ -4959,6 +5569,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyBufferToImag { const VkCopyBufferToImageInfo2& decoded_value = *data->decoded_value; const Decoded_VkCopyBufferToImageInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["srcBuffer"], meta_struct.srcBuffer, options); HandleToJson(jdata["dstImage"], meta_struct.dstImage, options); @@ -4975,6 +5587,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyImageToBuffe { const VkCopyImageToBufferInfo2& decoded_value = *data->decoded_value; const Decoded_VkCopyImageToBufferInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["srcImage"], meta_struct.srcImage, options); FieldToJson(jdata["srcImageLayout"], decoded_value.srcImageLayout, options); @@ -4991,6 +5605,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageBlit2* data { const VkImageBlit2& decoded_value = *data->decoded_value; const Decoded_VkImageBlit2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["srcSubresource"], meta_struct.srcSubresource, options); FieldToJson(jdata["srcOffsets"], meta_struct.srcOffsets, options); @@ -5006,6 +5622,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBlitImageInfo2* { const VkBlitImageInfo2& decoded_value = *data->decoded_value; const Decoded_VkBlitImageInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["srcImage"], meta_struct.srcImage, options); FieldToJson(jdata["srcImageLayout"], decoded_value.srcImageLayout, options); @@ -5024,6 +5642,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageResolve2* d { const VkImageResolve2& decoded_value = *data->decoded_value; const Decoded_VkImageResolve2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["srcSubresource"], meta_struct.srcSubresource, options); FieldToJson(jdata["srcOffset"], meta_struct.srcOffset, options); @@ -5040,6 +5660,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkResolveImageInfo { const VkResolveImageInfo2& decoded_value = *data->decoded_value; const Decoded_VkResolveImageInfo2& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["srcImage"], meta_struct.srcImage, options); FieldToJson(jdata["srcImageLayout"], decoded_value.srcImageLayout, options); @@ -5057,6 +5679,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSu { const VkPhysicalDeviceSubgroupSizeControlFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSubgroupSizeControlFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["subgroupSizeControl"] = static_cast(decoded_value.subgroupSizeControl); jdata["computeFullSubgroups"] = static_cast(decoded_value.computeFullSubgroups); @@ -5070,6 +5694,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSu { const VkPhysicalDeviceSubgroupSizeControlProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSubgroupSizeControlProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minSubgroupSize"], decoded_value.minSubgroupSize, options); FieldToJson(jdata["maxSubgroupSize"], decoded_value.maxSubgroupSize, options); @@ -5085,6 +5711,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineShaderSt { const VkPipelineShaderStageRequiredSubgroupSizeCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["requiredSubgroupSize"], decoded_value.requiredSubgroupSize, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5097,6 +5725,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIn { const VkPhysicalDeviceInlineUniformBlockFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceInlineUniformBlockFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["inlineUniformBlock"] = static_cast(decoded_value.inlineUniformBlock); jdata["descriptorBindingInlineUniformBlockUpdateAfterBind"] = static_cast(decoded_value.descriptorBindingInlineUniformBlockUpdateAfterBind); @@ -5110,6 +5740,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIn { const VkPhysicalDeviceInlineUniformBlockProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceInlineUniformBlockProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxInlineUniformBlockSize"], decoded_value.maxInlineUniformBlockSize, options); FieldToJson(jdata["maxPerStageDescriptorInlineUniformBlocks"], decoded_value.maxPerStageDescriptorInlineUniformBlocks, options); @@ -5126,6 +5758,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkWriteDescriptorS { const VkWriteDescriptorSetInlineUniformBlock& decoded_value = *data->decoded_value; const Decoded_VkWriteDescriptorSetInlineUniformBlock& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["dataSize"], decoded_value.dataSize, options); FieldToJson(jdata["pData"], meta_struct.pData, options); @@ -5139,6 +5773,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorPoolIn { const VkDescriptorPoolInlineUniformBlockCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkDescriptorPoolInlineUniformBlockCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxInlineUniformBlockBindings"], decoded_value.maxInlineUniformBlockBindings, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5151,6 +5787,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTe { const VkPhysicalDeviceTextureCompressionASTCHDRFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTextureCompressionASTCHDRFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["textureCompressionASTC_HDR"] = static_cast(decoded_value.textureCompressionASTC_HDR); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5163,6 +5801,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderingAttachm { const VkRenderingAttachmentInfo& decoded_value = *data->decoded_value; const Decoded_VkRenderingAttachmentInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["imageView"], meta_struct.imageView, options); FieldToJson(jdata["imageLayout"], decoded_value.imageLayout, options); @@ -5182,6 +5822,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderingInfo* d { const VkRenderingInfo& decoded_value = *data->decoded_value; const Decoded_VkRenderingInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkRenderingFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["renderArea"], meta_struct.renderArea, options); @@ -5201,6 +5843,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRenderin { const VkPipelineRenderingCreateInfo& decoded_value = *data->decoded_value; const Decoded_VkPipelineRenderingCreateInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["viewMask"], decoded_value.viewMask, options); FieldToJson(jdata["colorAttachmentCount"], decoded_value.colorAttachmentCount, options); @@ -5217,6 +5861,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDy { const VkPhysicalDeviceDynamicRenderingFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDynamicRenderingFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["dynamicRendering"] = static_cast(decoded_value.dynamicRendering); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5229,6 +5875,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferInh { const VkCommandBufferInheritanceRenderingInfo& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferInheritanceRenderingInfo& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkRenderingFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["viewMask"], decoded_value.viewMask, options); @@ -5247,6 +5895,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderIntegerDotProductFeatures& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderIntegerDotProductFeatures& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderIntegerDotProduct"] = static_cast(decoded_value.shaderIntegerDotProduct); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5259,6 +5909,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderIntegerDotProductProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderIntegerDotProductProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["integerDotProduct8BitUnsignedAccelerated"] = static_cast(decoded_value.integerDotProduct8BitUnsignedAccelerated); jdata["integerDotProduct8BitSignedAccelerated"] = static_cast(decoded_value.integerDotProduct8BitSignedAccelerated); @@ -5300,6 +5952,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTe { const VkPhysicalDeviceTexelBufferAlignmentProperties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTexelBufferAlignmentProperties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["storageTexelBufferOffsetAlignmentBytes"], decoded_value.storageTexelBufferOffsetAlignmentBytes, options); jdata["storageTexelBufferOffsetSingleTexelAlignment"] = static_cast(decoded_value.storageTexelBufferOffsetSingleTexelAlignment); @@ -5315,6 +5969,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFormatProperties { const VkFormatProperties3& decoded_value = *data->decoded_value; const Decoded_VkFormatProperties3& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkFormatFeatureFlags2_t(),jdata["linearTilingFeatures"], decoded_value.linearTilingFeatures, options); FieldToJson(VkFormatFeatureFlags2_t(),jdata["optimalTilingFeatures"], decoded_value.optimalTilingFeatures, options); @@ -5329,6 +5985,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMa { const VkPhysicalDeviceMaintenance4Features& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMaintenance4Features& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["maintenance4"] = static_cast(decoded_value.maintenance4); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5341,6 +5999,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMa { const VkPhysicalDeviceMaintenance4Properties& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMaintenance4Properties& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxBufferSize"], decoded_value.maxBufferSize, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5353,6 +6013,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceBufferMemo { const VkDeviceBufferMemoryRequirements& decoded_value = *data->decoded_value; const Decoded_VkDeviceBufferMemoryRequirements& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pCreateInfo"], meta_struct.pCreateInfo, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5365,6 +6027,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceImageMemor { const VkDeviceImageMemoryRequirements& decoded_value = *data->decoded_value; const Decoded_VkDeviceImageMemoryRequirements& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pCreateInfo"], meta_struct.pCreateInfo, options); FieldToJson(jdata["planeAspect"], decoded_value.planeAspect, options); @@ -5378,6 +6042,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceCapabilit { const VkSurfaceCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkSurfaceCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["minImageCount"], decoded_value.minImageCount, options); FieldToJson(jdata["maxImageCount"], decoded_value.maxImageCount, options); FieldToJson(jdata["currentExtent"], meta_struct.currentExtent, options); @@ -5397,6 +6063,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceFormatKHR { const VkSurfaceFormatKHR& decoded_value = *data->decoded_value; const Decoded_VkSurfaceFormatKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["colorSpace"], decoded_value.colorSpace, options); } @@ -5408,6 +6076,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainCreateI { const VkSwapchainCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkSwapchainCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSwapchainCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["surface"], meta_struct.surface, options); @@ -5435,6 +6105,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPresentInfoKHR* { const VkPresentInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPresentInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["waitSemaphoreCount"], decoded_value.waitSemaphoreCount, options); HandleToJson(jdata["pWaitSemaphores"], &meta_struct.pWaitSemaphores, options); @@ -5452,6 +6124,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageSwapchainCr { const VkImageSwapchainCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkImageSwapchainCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["swapchain"], meta_struct.swapchain, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5464,6 +6138,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindImageMemoryS { const VkBindImageMemorySwapchainInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkBindImageMemorySwapchainInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["swapchain"], meta_struct.swapchain, options); FieldToJson(jdata["imageIndex"], decoded_value.imageIndex, options); @@ -5477,6 +6153,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAcquireNextImage { const VkAcquireNextImageInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAcquireNextImageInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["swapchain"], meta_struct.swapchain, options); FieldToJson(jdata["timeout"], decoded_value.timeout, options); @@ -5493,6 +6171,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupPrese { const VkDeviceGroupPresentCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupPresentCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["presentMask"], &meta_struct.presentMask, options); FieldToJson(VkDeviceGroupPresentModeFlagsKHR_t(),jdata["modes"], decoded_value.modes, options); @@ -5506,6 +6186,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupPrese { const VkDeviceGroupPresentInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupPresentInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["swapchainCount"], decoded_value.swapchainCount, options); FieldToJson(jdata["pDeviceMasks"], meta_struct.pDeviceMasks, options); @@ -5520,6 +6202,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceGroupSwapc { const VkDeviceGroupSwapchainCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkDeviceGroupSwapchainCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceGroupPresentModeFlagsKHR_t(),jdata["modes"], decoded_value.modes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5532,6 +6216,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayModeParam { const VkDisplayModeParametersKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayModeParametersKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["visibleRegion"], meta_struct.visibleRegion, options); FieldToJson(jdata["refreshRate"], decoded_value.refreshRate, options); } @@ -5543,6 +6229,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayModeCreat { const VkDisplayModeCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayModeCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDisplayModeCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["parameters"], meta_struct.parameters, options); @@ -5556,6 +6244,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayModePrope { const VkDisplayModePropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayModePropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["displayMode"], meta_struct.displayMode, options); FieldToJson(jdata["parameters"], meta_struct.parameters, options); } @@ -5567,6 +6257,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPlaneCapa { const VkDisplayPlaneCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayPlaneCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkDisplayPlaneAlphaFlagsKHR_t(),jdata["supportedAlpha"], decoded_value.supportedAlpha, options); FieldToJson(jdata["minSrcPosition"], meta_struct.minSrcPosition, options); FieldToJson(jdata["maxSrcPosition"], meta_struct.maxSrcPosition, options); @@ -5585,6 +6277,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPlaneProp { const VkDisplayPlanePropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayPlanePropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["currentDisplay"], meta_struct.currentDisplay, options); FieldToJson(jdata["currentStackIndex"], decoded_value.currentStackIndex, options); } @@ -5596,6 +6290,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPropertie { const VkDisplayPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["display"], meta_struct.display, options); FieldToJson(jdata["displayName"], &meta_struct.displayName, options); FieldToJson(jdata["physicalDimensions"], meta_struct.physicalDimensions, options); @@ -5612,6 +6308,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplaySurfaceCr { const VkDisplaySurfaceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplaySurfaceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDisplaySurfaceCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["displayMode"], meta_struct.displayMode, options); @@ -5631,6 +6329,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPresentIn { const VkDisplayPresentInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayPresentInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["srcRect"], meta_struct.srcRect, options); FieldToJson(jdata["dstRect"], meta_struct.dstRect, options); @@ -5645,6 +6345,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkXlibSurfaceCreat { const VkXlibSurfaceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkXlibSurfaceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkXlibSurfaceCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["dpy"], meta_struct.dpy, options); @@ -5659,6 +6361,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkXcbSurfaceCreate { const VkXcbSurfaceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkXcbSurfaceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkXcbSurfaceCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["connection"], meta_struct.connection, options); @@ -5673,6 +6377,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkWaylandSurfaceCr { const VkWaylandSurfaceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkWaylandSurfaceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkWaylandSurfaceCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["display"], meta_struct.display, options); @@ -5687,6 +6393,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAndroidSurfaceCr { const VkAndroidSurfaceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAndroidSurfaceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkAndroidSurfaceCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["window"], meta_struct.window, options); @@ -5700,6 +6408,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkWin32SurfaceCrea { const VkWin32SurfaceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkWin32SurfaceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkWin32SurfaceCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["hinstance"], meta_struct.hinstance, options); @@ -5714,6 +6424,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueueFamilyQuery { const VkQueueFamilyQueryResultStatusPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkQueueFamilyQueryResultStatusPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["queryResultStatusSupport"] = static_cast(decoded_value.queryResultStatusSupport); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5726,6 +6438,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueueFamilyVideo { const VkQueueFamilyVideoPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkQueueFamilyVideoPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoCodecOperationFlagsKHR_t(),jdata["videoCodecOperations"], decoded_value.videoCodecOperations, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5738,6 +6452,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoProfileInfo { const VkVideoProfileInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoProfileInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["videoCodecOperation"], decoded_value.videoCodecOperation, options); FieldToJson(VkVideoChromaSubsamplingFlagsKHR_t(),jdata["chromaSubsampling"], decoded_value.chromaSubsampling, options); @@ -5753,6 +6469,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoProfileList { const VkVideoProfileListInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoProfileListInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["profileCount"], decoded_value.profileCount, options); FieldToJson(jdata["pProfiles"], meta_struct.pProfiles, options); @@ -5766,6 +6484,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoCapabilitie { const VkVideoCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoCapabilityFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["minBitstreamBufferOffsetAlignment"], decoded_value.minBitstreamBufferOffsetAlignment, options); @@ -5786,6 +6506,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVi { const VkPhysicalDeviceVideoFormatInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVideoFormatInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageUsageFlags_t(),jdata["imageUsage"], decoded_value.imageUsage, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5798,6 +6520,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoFormatPrope { const VkVideoFormatPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoFormatPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["componentMapping"], meta_struct.componentMapping, options); @@ -5815,6 +6539,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoPictureReso { const VkVideoPictureResourceInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoPictureResourceInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["codedOffset"], meta_struct.codedOffset, options); FieldToJson(jdata["codedExtent"], meta_struct.codedExtent, options); @@ -5830,6 +6556,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoReferenceSl { const VkVideoReferenceSlotInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoReferenceSlotInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["slotIndex"], decoded_value.slotIndex, options); FieldToJson(jdata["pPictureResource"], meta_struct.pPictureResource, options); @@ -5843,6 +6571,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoSessionMemo { const VkVideoSessionMemoryRequirementsKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoSessionMemoryRequirementsKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryBindIndex"], decoded_value.memoryBindIndex, options); FieldToJson(jdata["memoryRequirements"], meta_struct.memoryRequirements, options); @@ -5856,6 +6586,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindVideoSession { const VkBindVideoSessionMemoryInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkBindVideoSessionMemoryInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryBindIndex"], decoded_value.memoryBindIndex, options); HandleToJson(jdata["memory"], meta_struct.memory, options); @@ -5871,6 +6603,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoSessionCrea { const VkVideoSessionCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoSessionCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["queueFamilyIndex"], decoded_value.queueFamilyIndex, options); FieldToJson(VkVideoSessionCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); @@ -5891,6 +6625,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoSessionPara { const VkVideoSessionParametersCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoSessionParametersCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoSessionParametersCreateFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["videoSessionParametersTemplate"], meta_struct.videoSessionParametersTemplate, options); @@ -5905,6 +6641,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoSessionPara { const VkVideoSessionParametersUpdateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoSessionParametersUpdateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["updateSequenceCount"], decoded_value.updateSequenceCount, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5917,6 +6655,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoBeginCoding { const VkVideoBeginCodingInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoBeginCodingInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoBeginCodingFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["videoSession"], meta_struct.videoSession, options); @@ -5933,6 +6673,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEndCodingIn { const VkVideoEndCodingInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEndCodingInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEndCodingFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5945,6 +6687,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoCodingContr { const VkVideoCodingControlInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoCodingControlInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoCodingControlFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5957,6 +6701,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeCapab { const VkVideoDecodeCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoDecodeCapabilityFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5969,6 +6715,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeUsage { const VkVideoDecodeUsageInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeUsageInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoDecodeUsageFlagsKHR_t(),jdata["videoUsageHints"], decoded_value.videoUsageHints, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -5981,6 +6729,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeInfoK { const VkVideoDecodeInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoDecodeFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["srcBuffer"], meta_struct.srcBuffer, options); @@ -6000,6 +6750,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH264P { const VkVideoDecodeH264ProfileInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH264ProfileInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdProfileIdc"], decoded_value.stdProfileIdc, options); FieldToJson(jdata["pictureLayout"], decoded_value.pictureLayout, options); @@ -6013,6 +6765,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH264C { const VkVideoDecodeH264CapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH264CapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxLevelIdc"], decoded_value.maxLevelIdc, options); FieldToJson(jdata["fieldOffsetGranularity"], meta_struct.fieldOffsetGranularity, options); @@ -6026,6 +6780,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH264S { const VkVideoDecodeH264SessionParametersAddInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH264SessionParametersAddInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdSPSCount"], decoded_value.stdSPSCount, options); FieldToJson(jdata["pStdSPSs"], meta_struct.pStdSPSs, options); @@ -6041,6 +6797,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH264S { const VkVideoDecodeH264SessionParametersCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH264SessionParametersCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxStdSPSCount"], decoded_value.maxStdSPSCount, options); FieldToJson(jdata["maxStdPPSCount"], decoded_value.maxStdPPSCount, options); @@ -6055,6 +6813,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH264P { const VkVideoDecodeH264PictureInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH264PictureInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pStdPictureInfo"], meta_struct.pStdPictureInfo, options); FieldToJson(jdata["sliceCount"], decoded_value.sliceCount, options); @@ -6069,6 +6829,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH264D { const VkVideoDecodeH264DpbSlotInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH264DpbSlotInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pStdReferenceInfo"], meta_struct.pStdReferenceInfo, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6081,6 +6843,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderingFragmen { const VkRenderingFragmentShadingRateAttachmentInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkRenderingFragmentShadingRateAttachmentInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["imageView"], meta_struct.imageView, options); FieldToJson(jdata["imageLayout"], decoded_value.imageLayout, options); @@ -6095,6 +6859,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderingFragmen { const VkRenderingFragmentDensityMapAttachmentInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderingFragmentDensityMapAttachmentInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["imageView"], meta_struct.imageView, options); FieldToJson(jdata["imageLayout"], decoded_value.imageLayout, options); @@ -6108,6 +6874,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentSample { const VkAttachmentSampleCountInfoAMD& decoded_value = *data->decoded_value; const Decoded_VkAttachmentSampleCountInfoAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["colorAttachmentCount"], decoded_value.colorAttachmentCount, options); FieldToJson(jdata["pColorAttachmentSamples"], meta_struct.pColorAttachmentSamples, options); @@ -6122,6 +6890,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMultiviewPerView { const VkMultiviewPerViewAttributesInfoNVX& decoded_value = *data->decoded_value; const Decoded_VkMultiviewPerViewAttributesInfoNVX& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["perViewAttributes"] = static_cast(decoded_value.perViewAttributes); jdata["perViewAttributesPositionXOnly"] = static_cast(decoded_value.perViewAttributesPositionXOnly); @@ -6135,6 +6905,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportMemoryWin3 { const VkImportMemoryWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkImportMemoryWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["handle"], meta_struct.handle, options); @@ -6149,6 +6921,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportMemoryWin3 { const VkExportMemoryWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkExportMemoryWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pAttributes"], meta_struct.pAttributes, options); FieldToJson(jdata["dwAccess"], decoded_value.dwAccess, options); @@ -6163,6 +6937,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryWin32Handl { const VkMemoryWin32HandlePropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkMemoryWin32HandlePropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryTypeBits"], decoded_value.memoryTypeBits, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6175,6 +6951,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryGetWin32Ha { const VkMemoryGetWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkMemoryGetWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["memory"], meta_struct.memory, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -6188,6 +6966,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportMemoryFdIn { const VkImportMemoryFdInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkImportMemoryFdInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["fd"], decoded_value.fd, options); @@ -6201,6 +6981,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryFdProperti { const VkMemoryFdPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkMemoryFdPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryTypeBits"], decoded_value.memoryTypeBits, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6213,6 +6995,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryGetFdInfoK { const VkMemoryGetFdInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkMemoryGetFdInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["memory"], meta_struct.memory, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -6226,6 +7010,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkWin32KeyedMutexA { const VkWin32KeyedMutexAcquireReleaseInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkWin32KeyedMutexAcquireReleaseInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["acquireCount"], decoded_value.acquireCount, options); HandleToJson(jdata["pAcquireSyncs"], &meta_struct.pAcquireSyncs, options); @@ -6244,6 +7030,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportSemaphoreW { const VkImportSemaphoreWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkImportSemaphoreWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(VkSemaphoreImportFlags_t(),jdata["flags"], decoded_value.flags, options); @@ -6260,6 +7048,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportSemaphoreW { const VkExportSemaphoreWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkExportSemaphoreWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pAttributes"], meta_struct.pAttributes, options); FieldToJson(jdata["dwAccess"], decoded_value.dwAccess, options); @@ -6274,6 +7064,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkD3D12FenceSubmit { const VkD3D12FenceSubmitInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkD3D12FenceSubmitInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["waitSemaphoreValuesCount"], decoded_value.waitSemaphoreValuesCount, options); FieldToJson(jdata["pWaitSemaphoreValues"], meta_struct.pWaitSemaphoreValues, options); @@ -6289,6 +7081,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreGetWin3 { const VkSemaphoreGetWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreGetWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -6302,6 +7096,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportSemaphoreF { const VkImportSemaphoreFdInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkImportSemaphoreFdInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(VkSemaphoreImportFlags_t(),jdata["flags"], decoded_value.flags, options); @@ -6317,6 +7113,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreGetFdIn { const VkSemaphoreGetFdInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreGetFdInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -6330,6 +7128,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePu { const VkPhysicalDevicePushDescriptorPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePushDescriptorPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxPushDescriptors"], decoded_value.maxPushDescriptors, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6342,6 +7142,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRectLayerKHR* da { const VkRectLayerKHR& decoded_value = *data->decoded_value; const Decoded_VkRectLayerKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["offset"], meta_struct.offset, options); FieldToJson(jdata["extent"], meta_struct.extent, options); FieldToJson(jdata["layer"], decoded_value.layer, options); @@ -6354,6 +7156,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPresentRegionKHR { const VkPresentRegionKHR& decoded_value = *data->decoded_value; const Decoded_VkPresentRegionKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["rectangleCount"], decoded_value.rectangleCount, options); FieldToJson(jdata["pRectangles"], meta_struct.pRectangles, options); } @@ -6365,6 +7169,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPresentRegionsKH { const VkPresentRegionsKHR& decoded_value = *data->decoded_value; const Decoded_VkPresentRegionsKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["swapchainCount"], decoded_value.swapchainCount, options); FieldToJson(jdata["pRegions"], meta_struct.pRegions, options); @@ -6378,6 +7184,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSharedPresentSur { const VkSharedPresentSurfaceCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkSharedPresentSurfaceCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageUsageFlags_t(),jdata["sharedPresentSupportedUsageFlags"], decoded_value.sharedPresentSupportedUsageFlags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6390,6 +7198,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportFenceWin32 { const VkImportFenceWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkImportFenceWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["fence"], meta_struct.fence, options); FieldToJson(VkFenceImportFlags_t(),jdata["flags"], decoded_value.flags, options); @@ -6406,6 +7216,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportFenceWin32 { const VkExportFenceWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkExportFenceWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pAttributes"], meta_struct.pAttributes, options); FieldToJson(jdata["dwAccess"], decoded_value.dwAccess, options); @@ -6420,6 +7232,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFenceGetWin32Han { const VkFenceGetWin32HandleInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkFenceGetWin32HandleInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["fence"], meta_struct.fence, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -6433,6 +7247,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportFenceFdInf { const VkImportFenceFdInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkImportFenceFdInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["fence"], meta_struct.fence, options); FieldToJson(VkFenceImportFlags_t(),jdata["flags"], decoded_value.flags, options); @@ -6448,6 +7264,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFenceGetFdInfoKH { const VkFenceGetFdInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkFenceGetFdInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["fence"], meta_struct.fence, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -6461,6 +7279,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePe { const VkPhysicalDevicePerformanceQueryFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePerformanceQueryFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["performanceCounterQueryPools"] = static_cast(decoded_value.performanceCounterQueryPools); jdata["performanceCounterMultipleQueryPools"] = static_cast(decoded_value.performanceCounterMultipleQueryPools); @@ -6474,6 +7294,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePe { const VkPhysicalDevicePerformanceQueryPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePerformanceQueryPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["allowCommandBufferQueryCopies"] = static_cast(decoded_value.allowCommandBufferQueryCopies); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6486,6 +7308,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPerformanceCount { const VkPerformanceCounterKHR& decoded_value = *data->decoded_value; const Decoded_VkPerformanceCounterKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["unit"], decoded_value.unit, options); FieldToJson(jdata["scope"], decoded_value.scope, options); @@ -6501,6 +7325,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPerformanceCount { const VkPerformanceCounterDescriptionKHR& decoded_value = *data->decoded_value; const Decoded_VkPerformanceCounterDescriptionKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPerformanceCounterDescriptionFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["name"], &meta_struct.name, options); @@ -6516,6 +7342,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueryPoolPerform { const VkQueryPoolPerformanceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkQueryPoolPerformanceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["queueFamilyIndex"], decoded_value.queueFamilyIndex, options); FieldToJson(jdata["counterIndexCount"], decoded_value.counterIndexCount, options); @@ -6530,6 +7358,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAcquireProfiling { const VkAcquireProfilingLockInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAcquireProfilingLockInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkAcquireProfilingLockFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["timeout"], decoded_value.timeout, options); @@ -6543,6 +7373,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPerformanceQuery { const VkPerformanceQuerySubmitInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPerformanceQuerySubmitInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["counterPassIndex"], decoded_value.counterPassIndex, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6555,6 +7387,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSu { const VkPhysicalDeviceSurfaceInfo2KHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSurfaceInfo2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["surface"], meta_struct.surface, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6567,6 +7401,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceCapabilit { const VkSurfaceCapabilities2KHR& decoded_value = *data->decoded_value; const Decoded_VkSurfaceCapabilities2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["surfaceCapabilities"], meta_struct.surfaceCapabilities, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6579,6 +7415,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceFormat2KH { const VkSurfaceFormat2KHR& decoded_value = *data->decoded_value; const Decoded_VkSurfaceFormat2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["surfaceFormat"], meta_struct.surfaceFormat, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6591,6 +7429,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPropertie { const VkDisplayProperties2KHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayProperties2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["displayProperties"], meta_struct.displayProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6603,6 +7443,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPlaneProp { const VkDisplayPlaneProperties2KHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayPlaneProperties2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["displayPlaneProperties"], meta_struct.displayPlaneProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6615,6 +7457,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayModePrope { const VkDisplayModeProperties2KHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayModeProperties2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["displayModeProperties"], meta_struct.displayModeProperties, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6627,6 +7471,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPlaneInfo { const VkDisplayPlaneInfo2KHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayPlaneInfo2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["mode"], meta_struct.mode, options); FieldToJson(jdata["planeIndex"], decoded_value.planeIndex, options); @@ -6640,6 +7486,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPlaneCapa { const VkDisplayPlaneCapabilities2KHR& decoded_value = *data->decoded_value; const Decoded_VkDisplayPlaneCapabilities2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["capabilities"], meta_struct.capabilities, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6652,6 +7500,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePo { const VkPhysicalDevicePortabilitySubsetFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePortabilitySubsetFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["constantAlphaColorBlendFactors"] = static_cast(decoded_value.constantAlphaColorBlendFactors); jdata["events"] = static_cast(decoded_value.events); @@ -6678,6 +7528,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePo { const VkPhysicalDevicePortabilitySubsetPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePortabilitySubsetPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minVertexInputBindingStrideAlignment"], decoded_value.minVertexInputBindingStrideAlignment, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6690,6 +7542,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderClockFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderClockFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderSubgroupClock"] = static_cast(decoded_value.shaderSubgroupClock); jdata["shaderDeviceClock"] = static_cast(decoded_value.shaderDeviceClock); @@ -6703,6 +7557,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH265P { const VkVideoDecodeH265ProfileInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH265ProfileInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdProfileIdc"], decoded_value.stdProfileIdc, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6715,6 +7571,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH265C { const VkVideoDecodeH265CapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH265CapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxLevelIdc"], decoded_value.maxLevelIdc, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6727,6 +7585,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH265S { const VkVideoDecodeH265SessionParametersAddInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH265SessionParametersAddInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdVPSCount"], decoded_value.stdVPSCount, options); FieldToJson(jdata["pStdVPSs"], meta_struct.pStdVPSs, options); @@ -6744,6 +7604,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH265S { const VkVideoDecodeH265SessionParametersCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH265SessionParametersCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxStdVPSCount"], decoded_value.maxStdVPSCount, options); FieldToJson(jdata["maxStdSPSCount"], decoded_value.maxStdSPSCount, options); @@ -6759,6 +7621,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH265P { const VkVideoDecodeH265PictureInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH265PictureInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pStdPictureInfo"], meta_struct.pStdPictureInfo, options); FieldToJson(jdata["sliceSegmentCount"], decoded_value.sliceSegmentCount, options); @@ -6773,6 +7637,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoDecodeH265D { const VkVideoDecodeH265DpbSlotInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoDecodeH265DpbSlotInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pStdReferenceInfo"], meta_struct.pStdReferenceInfo, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6785,6 +7651,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceQueueGloba { const VkDeviceQueueGlobalPriorityCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkDeviceQueueGlobalPriorityCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["globalPriority"], decoded_value.globalPriority, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6797,6 +7665,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceGl { const VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["globalPriorityQuery"] = static_cast(decoded_value.globalPriorityQuery); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6809,6 +7679,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueueFamilyGloba { const VkQueueFamilyGlobalPriorityPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkQueueFamilyGlobalPriorityPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["priorityCount"], decoded_value.priorityCount, options); FieldToJson(jdata["priorities"], &meta_struct.priorities, options); @@ -6822,6 +7694,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFragmentShadingR { const VkFragmentShadingRateAttachmentInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkFragmentShadingRateAttachmentInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pFragmentShadingRateAttachment"], meta_struct.pFragmentShadingRateAttachment, options); FieldToJson(jdata["shadingRateAttachmentTexelSize"], meta_struct.shadingRateAttachmentTexelSize, options); @@ -6835,6 +7709,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineFragment { const VkPipelineFragmentShadingRateStateCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPipelineFragmentShadingRateStateCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["fragmentSize"], meta_struct.fragmentSize, options); FieldToJson(jdata["combinerOps"], &meta_struct.combinerOps, options); @@ -6848,6 +7724,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShadingRateFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShadingRateFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["pipelineFragmentShadingRate"] = static_cast(decoded_value.pipelineFragmentShadingRate); jdata["primitiveFragmentShadingRate"] = static_cast(decoded_value.primitiveFragmentShadingRate); @@ -6862,6 +7740,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShadingRatePropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShadingRatePropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minFragmentShadingRateAttachmentTexelSize"], meta_struct.minFragmentShadingRateAttachmentTexelSize, options); FieldToJson(jdata["maxFragmentShadingRateAttachmentTexelSize"], meta_struct.maxFragmentShadingRateAttachmentTexelSize, options); @@ -6890,6 +7770,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShadingRateKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShadingRateKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSampleCountFlags_t(),jdata["sampleCounts"], decoded_value.sampleCounts, options); FieldToJson(jdata["fragmentSize"], meta_struct.fragmentSize, options); @@ -6903,6 +7785,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceProtected { const VkSurfaceProtectedCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkSurfaceProtectedCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["supportsProtected"] = static_cast(decoded_value.supportsProtected); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6915,6 +7799,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDevicePresentWaitFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePresentWaitFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["presentWait"] = static_cast(decoded_value.presentWait); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6927,6 +7813,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePi { const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["pipelineExecutableInfo"] = static_cast(decoded_value.pipelineExecutableInfo); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6939,6 +7827,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineInfoKHR* { const VkPipelineInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPipelineInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["pipeline"], meta_struct.pipeline, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -6951,6 +7841,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineExecutab { const VkPipelineExecutablePropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPipelineExecutablePropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkShaderStageFlags_t(),jdata["stages"], decoded_value.stages, options); FieldToJson(jdata["name"], &meta_struct.name, options); @@ -6966,6 +7858,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineExecutab { const VkPipelineExecutableInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPipelineExecutableInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["pipeline"], meta_struct.pipeline, options); FieldToJson(jdata["executableIndex"], decoded_value.executableIndex, options); @@ -6979,6 +7873,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineExecutab { const VkPipelineExecutableInternalRepresentationKHR& decoded_value = *data->decoded_value; const Decoded_VkPipelineExecutableInternalRepresentationKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["name"], &meta_struct.name, options); FieldToJson(jdata["description"], &meta_struct.description, options); @@ -6995,6 +7891,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryMapInfoKHR { const VkMemoryMapInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkMemoryMapInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkMemoryMapFlags_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["memory"], meta_struct.memory, options); @@ -7010,6 +7908,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryUnmapInfoK { const VkMemoryUnmapInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkMemoryUnmapInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkMemoryUnmapFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["memory"], meta_struct.memory, options); @@ -7023,6 +7923,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineLibraryC { const VkPipelineLibraryCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPipelineLibraryCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["libraryCount"], decoded_value.libraryCount, options); HandleToJson(jdata["pLibraries"], &meta_struct.pLibraries, options); @@ -7036,6 +7938,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPresentIdKHR* da { const VkPresentIdKHR& decoded_value = *data->decoded_value; const Decoded_VkPresentIdKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["swapchainCount"], decoded_value.swapchainCount, options); FieldToJson(jdata["pPresentIds"], meta_struct.pPresentIds, options); @@ -7049,6 +7953,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDevicePresentIdFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePresentIdFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["presentId"] = static_cast(decoded_value.presentId); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7061,6 +7967,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeInfoK { const VkVideoEncodeInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["dstBuffer"], meta_struct.dstBuffer, options); @@ -7081,6 +7989,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeCapab { const VkVideoEncodeCapabilitiesKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeCapabilitiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeCapabilityFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(VkVideoEncodeRateControlModeFlagsKHR_t(),jdata["rateControlModes"], decoded_value.rateControlModes, options); @@ -7099,6 +8009,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueryPoolVideoEn { const VkQueryPoolVideoEncodeFeedbackCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkQueryPoolVideoEncodeFeedbackCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeFeedbackFlagsKHR_t(),jdata["encodeFeedbackFlags"], decoded_value.encodeFeedbackFlags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7111,6 +8023,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeUsage { const VkVideoEncodeUsageInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeUsageInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeUsageFlagsKHR_t(),jdata["videoUsageHints"], decoded_value.videoUsageHints, options); FieldToJson(VkVideoEncodeContentFlagsKHR_t(),jdata["videoContentHints"], decoded_value.videoContentHints, options); @@ -7125,6 +8039,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeRateC { const VkVideoEncodeRateControlLayerInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeRateControlLayerInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["averageBitrate"], decoded_value.averageBitrate, options); FieldToJson(jdata["maxBitrate"], decoded_value.maxBitrate, options); @@ -7140,6 +8056,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeRateC { const VkVideoEncodeRateControlInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeRateControlInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeRateControlFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["rateControlMode"], decoded_value.rateControlMode, options); @@ -7157,6 +8075,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVi { const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pVideoProfile"], meta_struct.pVideoProfile, options); FieldToJson(jdata["qualityLevel"], decoded_value.qualityLevel, options); @@ -7170,6 +8090,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeQuali { const VkVideoEncodeQualityLevelPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeQualityLevelPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["preferredRateControlMode"], decoded_value.preferredRateControlMode, options); FieldToJson(jdata["preferredRateControlLayerCount"], decoded_value.preferredRateControlLayerCount, options); @@ -7183,6 +8105,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeQuali { const VkVideoEncodeQualityLevelInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeQualityLevelInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["qualityLevel"], decoded_value.qualityLevel, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7195,6 +8119,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeSessi { const VkVideoEncodeSessionParametersGetInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeSessionParametersGetInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["videoSessionParameters"], meta_struct.videoSessionParameters, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7207,6 +8133,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeSessi { const VkVideoEncodeSessionParametersFeedbackInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeSessionParametersFeedbackInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["hasOverrides"] = static_cast(decoded_value.hasOverrides); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7219,6 +8147,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueueFamilyCheck { const VkQueueFamilyCheckpointProperties2NV& decoded_value = *data->decoded_value; const Decoded_VkQueueFamilyCheckpointProperties2NV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineStageFlags2_t(),jdata["checkpointExecutionStageMask"], decoded_value.checkpointExecutionStageMask, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7231,6 +8161,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCheckpointData2N { const VkCheckpointData2NV& decoded_value = *data->decoded_value; const Decoded_VkCheckpointData2NV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineStageFlags2_t(),jdata["stage"], decoded_value.stage, options); FieldToJson(jdata["pCheckpointMarker"], meta_struct.pCheckpointMarker, options); @@ -7244,6 +8176,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["fragmentShaderBarycentric"] = static_cast(decoded_value.fragmentShaderBarycentric); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7256,6 +8190,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["triStripVertexOrderIndependentOfProvokingVertex"] = static_cast(decoded_value.triStripVertexOrderIndependentOfProvokingVertex); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7268,6 +8204,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderSubgroupUniformControlFlow"] = static_cast(decoded_value.shaderSubgroupUniformControlFlow); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7280,6 +8218,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceWo { const VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["workgroupMemoryExplicitLayout"] = static_cast(decoded_value.workgroupMemoryExplicitLayout); jdata["workgroupMemoryExplicitLayoutScalarBlockLayout"] = static_cast(decoded_value.workgroupMemoryExplicitLayoutScalarBlockLayout); @@ -7295,6 +8235,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rayTracingMaintenance1"] = static_cast(decoded_value.rayTracingMaintenance1); jdata["rayTracingPipelineTraceRaysIndirect2"] = static_cast(decoded_value.rayTracingPipelineTraceRaysIndirect2); @@ -7308,6 +8250,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkTraceRaysIndirec { const VkTraceRaysIndirectCommand2KHR& decoded_value = *data->decoded_value; const Decoded_VkTraceRaysIndirectCommand2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["raygenShaderRecordAddress"], to_hex_variable_width(decoded_value.raygenShaderRecordAddress), options); FieldToJson(jdata["raygenShaderRecordSize"], decoded_value.raygenShaderRecordSize, options); FieldToJson(jdata["missShaderBindingTableAddress"], to_hex_variable_width(decoded_value.missShaderBindingTableAddress), options); @@ -7331,6 +8275,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMa { const VkPhysicalDeviceMaintenance5FeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMaintenance5FeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["maintenance5"] = static_cast(decoded_value.maintenance5); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7343,6 +8289,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMa { const VkPhysicalDeviceMaintenance5PropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMaintenance5PropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["earlyFragmentMultisampleCoverageAfterSampleCounting"] = static_cast(decoded_value.earlyFragmentMultisampleCoverageAfterSampleCounting); jdata["earlyFragmentSampleMaskTestBeforeSampleCounting"] = static_cast(decoded_value.earlyFragmentSampleMaskTestBeforeSampleCounting); @@ -7360,6 +8308,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderingAreaInf { const VkRenderingAreaInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkRenderingAreaInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["viewMask"], decoded_value.viewMask, options); FieldToJson(jdata["colorAttachmentCount"], decoded_value.colorAttachmentCount, options); @@ -7376,6 +8326,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageSubresource { const VkImageSubresource2KHR& decoded_value = *data->decoded_value; const Decoded_VkImageSubresource2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["imageSubresource"], meta_struct.imageSubresource, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7388,6 +8340,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceImageSubre { const VkDeviceImageSubresourceInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkDeviceImageSubresourceInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pCreateInfo"], meta_struct.pCreateInfo, options); FieldToJson(jdata["pSubresource"], meta_struct.pSubresource, options); @@ -7401,6 +8355,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubresourceLayou { const VkSubresourceLayout2KHR& decoded_value = *data->decoded_value; const Decoded_VkSubresourceLayout2KHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["subresourceLayout"], meta_struct.subresourceLayout, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7413,6 +8369,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCreateFl { const VkPipelineCreateFlags2CreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkPipelineCreateFlags2CreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCreateFlags2KHR_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7425,6 +8383,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferUsageFlags { const VkBufferUsageFlags2CreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkBufferUsageFlags2CreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkBufferUsageFlags2KHR_t(),jdata["usage"], decoded_value.usage, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7437,6 +8397,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rayTracingPositionFetch"] = static_cast(decoded_value.rayTracingPositionFetch); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7449,6 +8411,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCooperativeMatri { const VkCooperativeMatrixPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkCooperativeMatrixPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["MSize"], decoded_value.MSize, options); FieldToJson(jdata["NSize"], decoded_value.NSize, options); @@ -7469,6 +8433,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceCooperativeMatrixFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCooperativeMatrixFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["cooperativeMatrix"] = static_cast(decoded_value.cooperativeMatrix); jdata["cooperativeMatrixRobustBufferAccess"] = static_cast(decoded_value.cooperativeMatrixRobustBufferAccess); @@ -7482,6 +8448,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceCooperativeMatrixPropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCooperativeMatrixPropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkShaderStageFlags_t(),jdata["cooperativeMatrixSupportedStages"], decoded_value.cooperativeMatrixSupportedStages, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7494,6 +8462,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugReportCallb { const VkDebugReportCallbackCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugReportCallbackCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDebugReportFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pfnCallback"], to_hex_variable_width(meta_struct.pfnCallback), options); @@ -7508,6 +8478,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasteriz { const VkPipelineRasterizationStateRasterizationOrderAMD& decoded_value = *data->decoded_value; const Decoded_VkPipelineRasterizationStateRasterizationOrderAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["rasterizationOrder"], decoded_value.rasterizationOrder, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7520,6 +8492,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugMarkerObjec { const VkDebugMarkerObjectNameInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugMarkerObjectNameInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["objectType"], decoded_value.objectType, options); FieldToJson(jdata["object"], decoded_value.object, options); @@ -7534,6 +8508,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugMarkerObjec { const VkDebugMarkerObjectTagInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugMarkerObjectTagInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["objectType"], decoded_value.objectType, options); FieldToJson(jdata["object"], decoded_value.object, options); @@ -7550,6 +8526,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugMarkerMarke { const VkDebugMarkerMarkerInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugMarkerMarkerInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pMarkerName"], &meta_struct.pMarkerName, options); FieldToJson(jdata["color"], &meta_struct.color, options); @@ -7563,6 +8541,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDedicatedAllocat { const VkDedicatedAllocationImageCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkDedicatedAllocationImageCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["dedicatedAllocation"] = static_cast(decoded_value.dedicatedAllocation); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7575,6 +8555,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDedicatedAllocat { const VkDedicatedAllocationBufferCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkDedicatedAllocationBufferCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["dedicatedAllocation"] = static_cast(decoded_value.dedicatedAllocation); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7587,6 +8569,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDedicatedAllocat { const VkDedicatedAllocationMemoryAllocateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkDedicatedAllocationMemoryAllocateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["image"], meta_struct.image, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); @@ -7600,6 +8584,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTr { const VkPhysicalDeviceTransformFeedbackFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTransformFeedbackFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["transformFeedback"] = static_cast(decoded_value.transformFeedback); jdata["geometryStreams"] = static_cast(decoded_value.geometryStreams); @@ -7613,6 +8599,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTr { const VkPhysicalDeviceTransformFeedbackPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTransformFeedbackPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxTransformFeedbackStreams"], decoded_value.maxTransformFeedbackStreams, options); FieldToJson(jdata["maxTransformFeedbackBuffers"], decoded_value.maxTransformFeedbackBuffers, options); @@ -7634,6 +8622,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasteriz { const VkPipelineRasterizationStateStreamCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineRasterizationStateStreamCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineRasterizationStateStreamCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["rasterizationStream"], decoded_value.rasterizationStream, options); @@ -7647,6 +8637,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewHandleI { const VkImageViewHandleInfoNVX& decoded_value = *data->decoded_value; const Decoded_VkImageViewHandleInfoNVX& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["imageView"], meta_struct.imageView, options); FieldToJson(jdata["descriptorType"], decoded_value.descriptorType, options); @@ -7661,6 +8653,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewAddress { const VkImageViewAddressPropertiesNVX& decoded_value = *data->decoded_value; const Decoded_VkImageViewAddressPropertiesNVX& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceAddress"], to_hex_variable_width(decoded_value.deviceAddress), options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -7674,6 +8668,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264C { const VkVideoEncodeH264CapabilitiesEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264CapabilitiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeH264CapabilityFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["maxLevelIdc"], decoded_value.maxLevelIdc, options); @@ -7698,6 +8694,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264Q { const VkVideoEncodeH264QpEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264QpEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["qpI"], decoded_value.qpI, options); FieldToJson(jdata["qpP"], decoded_value.qpP, options); FieldToJson(jdata["qpB"], decoded_value.qpB, options); @@ -7710,6 +8708,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264Q { const VkVideoEncodeH264QualityLevelPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264QualityLevelPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeH264RateControlFlagsEXT_t(),jdata["preferredRateControlFlags"], decoded_value.preferredRateControlFlags, options); FieldToJson(jdata["preferredGopFrameCount"], decoded_value.preferredGopFrameCount, options); @@ -7730,6 +8730,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264S { const VkVideoEncodeH264SessionCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264SessionCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["useMaxLevelIdc"] = static_cast(decoded_value.useMaxLevelIdc); FieldToJson(jdata["maxLevelIdc"], decoded_value.maxLevelIdc, options); @@ -7743,6 +8745,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264S { const VkVideoEncodeH264SessionParametersAddInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264SessionParametersAddInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdSPSCount"], decoded_value.stdSPSCount, options); FieldToJson(jdata["pStdSPSs"], meta_struct.pStdSPSs, options); @@ -7758,6 +8762,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264S { const VkVideoEncodeH264SessionParametersCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264SessionParametersCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxStdSPSCount"], decoded_value.maxStdSPSCount, options); FieldToJson(jdata["maxStdPPSCount"], decoded_value.maxStdPPSCount, options); @@ -7772,6 +8778,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264S { const VkVideoEncodeH264SessionParametersGetInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264SessionParametersGetInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["writeStdSPS"] = static_cast(decoded_value.writeStdSPS); jdata["writeStdPPS"] = static_cast(decoded_value.writeStdPPS); @@ -7787,6 +8795,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264S { const VkVideoEncodeH264SessionParametersFeedbackInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264SessionParametersFeedbackInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["hasStdSPSOverrides"] = static_cast(decoded_value.hasStdSPSOverrides); jdata["hasStdPPSOverrides"] = static_cast(decoded_value.hasStdPPSOverrides); @@ -7800,6 +8810,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264N { const VkVideoEncodeH264NaluSliceInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264NaluSliceInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["constantQp"], decoded_value.constantQp, options); FieldToJson(jdata["pStdSliceHeader"], meta_struct.pStdSliceHeader, options); @@ -7813,6 +8825,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264P { const VkVideoEncodeH264PictureInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264PictureInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["naluSliceEntryCount"], decoded_value.naluSliceEntryCount, options); FieldToJson(jdata["pNaluSliceEntries"], meta_struct.pNaluSliceEntries, options); @@ -7828,6 +8842,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264D { const VkVideoEncodeH264DpbSlotInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264DpbSlotInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pStdReferenceInfo"], meta_struct.pStdReferenceInfo, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7840,6 +8856,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264P { const VkVideoEncodeH264ProfileInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264ProfileInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdProfileIdc"], decoded_value.stdProfileIdc, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -7852,6 +8870,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264R { const VkVideoEncodeH264RateControlInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264RateControlInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeH264RateControlFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["gopFrameCount"], decoded_value.gopFrameCount, options); @@ -7868,6 +8888,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264F { const VkVideoEncodeH264FrameSizeEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264FrameSizeEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["frameISize"], decoded_value.frameISize, options); FieldToJson(jdata["framePSize"], decoded_value.framePSize, options); FieldToJson(jdata["frameBSize"], decoded_value.frameBSize, options); @@ -7880,6 +8902,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264R { const VkVideoEncodeH264RateControlLayerInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264RateControlLayerInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["useMinQp"] = static_cast(decoded_value.useMinQp); FieldToJson(jdata["minQp"], meta_struct.minQp, options); @@ -7897,6 +8921,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH264G { const VkVideoEncodeH264GopRemainingFrameInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH264GopRemainingFrameInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["useGopRemainingFrames"] = static_cast(decoded_value.useGopRemainingFrames); FieldToJson(jdata["gopRemainingI"], decoded_value.gopRemainingI, options); @@ -7912,6 +8938,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265C { const VkVideoEncodeH265CapabilitiesEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265CapabilitiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeH265CapabilityFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["maxLevelIdc"], decoded_value.maxLevelIdc, options); @@ -7939,6 +8967,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265S { const VkVideoEncodeH265SessionCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265SessionCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["useMaxLevelIdc"] = static_cast(decoded_value.useMaxLevelIdc); FieldToJson(jdata["maxLevelIdc"], decoded_value.maxLevelIdc, options); @@ -7952,6 +8982,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265Q { const VkVideoEncodeH265QpEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265QpEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["qpI"], decoded_value.qpI, options); FieldToJson(jdata["qpP"], decoded_value.qpP, options); FieldToJson(jdata["qpB"], decoded_value.qpB, options); @@ -7964,6 +8996,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265Q { const VkVideoEncodeH265QualityLevelPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265QualityLevelPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeH265RateControlFlagsEXT_t(),jdata["preferredRateControlFlags"], decoded_value.preferredRateControlFlags, options); FieldToJson(jdata["preferredGopFrameCount"], decoded_value.preferredGopFrameCount, options); @@ -7983,6 +9017,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265S { const VkVideoEncodeH265SessionParametersAddInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265SessionParametersAddInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdVPSCount"], decoded_value.stdVPSCount, options); FieldToJson(jdata["pStdVPSs"], meta_struct.pStdVPSs, options); @@ -8000,6 +9036,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265S { const VkVideoEncodeH265SessionParametersCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265SessionParametersCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxStdVPSCount"], decoded_value.maxStdVPSCount, options); FieldToJson(jdata["maxStdSPSCount"], decoded_value.maxStdSPSCount, options); @@ -8015,6 +9053,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265S { const VkVideoEncodeH265SessionParametersGetInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265SessionParametersGetInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["writeStdVPS"] = static_cast(decoded_value.writeStdVPS); jdata["writeStdSPS"] = static_cast(decoded_value.writeStdSPS); @@ -8032,6 +9072,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265S { const VkVideoEncodeH265SessionParametersFeedbackInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265SessionParametersFeedbackInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["hasStdVPSOverrides"] = static_cast(decoded_value.hasStdVPSOverrides); jdata["hasStdSPSOverrides"] = static_cast(decoded_value.hasStdSPSOverrides); @@ -8046,6 +9088,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265N { const VkVideoEncodeH265NaluSliceSegmentInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265NaluSliceSegmentInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["constantQp"], decoded_value.constantQp, options); FieldToJson(jdata["pStdSliceSegmentHeader"], meta_struct.pStdSliceSegmentHeader, options); @@ -8059,6 +9103,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265P { const VkVideoEncodeH265PictureInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265PictureInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["naluSliceSegmentEntryCount"], decoded_value.naluSliceSegmentEntryCount, options); FieldToJson(jdata["pNaluSliceSegmentEntries"], meta_struct.pNaluSliceSegmentEntries, options); @@ -8073,6 +9119,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265D { const VkVideoEncodeH265DpbSlotInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265DpbSlotInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pStdReferenceInfo"], meta_struct.pStdReferenceInfo, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8085,6 +9133,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265P { const VkVideoEncodeH265ProfileInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265ProfileInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stdProfileIdc"], decoded_value.stdProfileIdc, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8097,6 +9147,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265R { const VkVideoEncodeH265RateControlInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265RateControlInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkVideoEncodeH265RateControlFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["gopFrameCount"], decoded_value.gopFrameCount, options); @@ -8113,6 +9165,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265F { const VkVideoEncodeH265FrameSizeEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265FrameSizeEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["frameISize"], decoded_value.frameISize, options); FieldToJson(jdata["framePSize"], decoded_value.framePSize, options); FieldToJson(jdata["frameBSize"], decoded_value.frameBSize, options); @@ -8125,6 +9179,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265R { const VkVideoEncodeH265RateControlLayerInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265RateControlLayerInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["useMinQp"] = static_cast(decoded_value.useMinQp); FieldToJson(jdata["minQp"], meta_struct.minQp, options); @@ -8142,6 +9198,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVideoEncodeH265G { const VkVideoEncodeH265GopRemainingFrameInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkVideoEncodeH265GopRemainingFrameInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["useGopRemainingFrames"] = static_cast(decoded_value.useGopRemainingFrames); FieldToJson(jdata["gopRemainingI"], decoded_value.gopRemainingI, options); @@ -8157,6 +9215,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkTextureLODGather { const VkTextureLODGatherFormatPropertiesAMD& decoded_value = *data->decoded_value; const Decoded_VkTextureLODGatherFormatPropertiesAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["supportsTextureGatherLODBiasAMD"] = static_cast(decoded_value.supportsTextureGatherLODBiasAMD); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8169,6 +9229,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkShaderResourceUs { const VkShaderResourceUsageAMD& decoded_value = *data->decoded_value; const Decoded_VkShaderResourceUsageAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["numUsedVgprs"], decoded_value.numUsedVgprs, options); FieldToJson(jdata["numUsedSgprs"], decoded_value.numUsedSgprs, options); FieldToJson(jdata["ldsSizePerLocalWorkGroup"], decoded_value.ldsSizePerLocalWorkGroup, options); @@ -8183,6 +9245,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkShaderStatistics { const VkShaderStatisticsInfoAMD& decoded_value = *data->decoded_value; const Decoded_VkShaderStatisticsInfoAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(VkShaderStageFlags_t(),jdata["shaderStageMask"], decoded_value.shaderStageMask, options); FieldToJson(jdata["resourceUsage"], meta_struct.resourceUsage, options); FieldToJson(jdata["numPhysicalVgprs"], decoded_value.numPhysicalVgprs, options); @@ -8199,6 +9263,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkStreamDescriptor { const VkStreamDescriptorSurfaceCreateInfoGGP& decoded_value = *data->decoded_value; const Decoded_VkStreamDescriptorSurfaceCreateInfoGGP& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkStreamDescriptorSurfaceCreateFlagsGGP_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["streamDescriptor"], decoded_value.streamDescriptor, options); @@ -8212,6 +9278,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceCornerSampledImageFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCornerSampledImageFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["cornerSampledImage"] = static_cast(decoded_value.cornerSampledImage); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8224,6 +9292,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalImageFor { const VkExternalImageFormatPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkExternalImageFormatPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["imageFormatProperties"], meta_struct.imageFormatProperties, options); FieldToJson(VkExternalMemoryFeatureFlagsNV_t(),jdata["externalMemoryFeatures"], decoded_value.externalMemoryFeatures, options); FieldToJson(VkExternalMemoryHandleTypeFlagsNV_t(),jdata["exportFromImportedHandleTypes"], decoded_value.exportFromImportedHandleTypes, options); @@ -8237,6 +9307,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalMemoryIm { const VkExternalMemoryImageCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkExternalMemoryImageCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalMemoryHandleTypeFlagsNV_t(),jdata["handleTypes"], decoded_value.handleTypes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8249,6 +9321,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportMemoryAllo { const VkExportMemoryAllocateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkExportMemoryAllocateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalMemoryHandleTypeFlagsNV_t(),jdata["handleTypes"], decoded_value.handleTypes, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8261,6 +9335,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportMemoryWin3 { const VkImportMemoryWin32HandleInfoNV& decoded_value = *data->decoded_value; const Decoded_VkImportMemoryWin32HandleInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkExternalMemoryHandleTypeFlagsNV_t(),jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["handle"], meta_struct.handle, options); @@ -8274,6 +9350,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExportMemoryWin3 { const VkExportMemoryWin32HandleInfoNV& decoded_value = *data->decoded_value; const Decoded_VkExportMemoryWin32HandleInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pAttributes"], meta_struct.pAttributes, options); FieldToJson(jdata["dwAccess"], decoded_value.dwAccess, options); @@ -8287,6 +9365,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkWin32KeyedMutexA { const VkWin32KeyedMutexAcquireReleaseInfoNV& decoded_value = *data->decoded_value; const Decoded_VkWin32KeyedMutexAcquireReleaseInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["acquireCount"], decoded_value.acquireCount, options); HandleToJson(jdata["pAcquireSyncs"], &meta_struct.pAcquireSyncs, options); @@ -8305,6 +9385,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkValidationFlagsE { const VkValidationFlagsEXT& decoded_value = *data->decoded_value; const Decoded_VkValidationFlagsEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["disabledValidationCheckCount"], decoded_value.disabledValidationCheckCount, options); FieldToJson(jdata["pDisabledValidationChecks"], meta_struct.pDisabledValidationChecks, options); @@ -8318,6 +9400,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkViSurfaceCreateI { const VkViSurfaceCreateInfoNN& decoded_value = *data->decoded_value; const Decoded_VkViSurfaceCreateInfoNN& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkViSurfaceCreateFlagsNN_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["window"], meta_struct.window, options); @@ -8331,6 +9415,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewASTCDec { const VkImageViewASTCDecodeModeEXT& decoded_value = *data->decoded_value; const Decoded_VkImageViewASTCDecodeModeEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["decodeMode"], decoded_value.decodeMode, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8343,6 +9429,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceAS { const VkPhysicalDeviceASTCDecodeFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceASTCDecodeFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["decodeModeSharedExponent"] = static_cast(decoded_value.decodeModeSharedExponent); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8355,6 +9443,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePi { const VkPhysicalDevicePipelineRobustnessFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePipelineRobustnessFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["pipelineRobustness"] = static_cast(decoded_value.pipelineRobustness); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8367,6 +9457,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePi { const VkPhysicalDevicePipelineRobustnessPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePipelineRobustnessPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["defaultRobustnessStorageBuffers"], decoded_value.defaultRobustnessStorageBuffers, options); FieldToJson(jdata["defaultRobustnessUniformBuffers"], decoded_value.defaultRobustnessUniformBuffers, options); @@ -8382,6 +9474,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRobustne { const VkPipelineRobustnessCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineRobustnessCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["storageBuffers"], decoded_value.storageBuffers, options); FieldToJson(jdata["uniformBuffers"], decoded_value.uniformBuffers, options); @@ -8397,6 +9491,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkConditionalRende { const VkConditionalRenderingBeginInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkConditionalRenderingBeginInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); FieldToJson(jdata["offset"], decoded_value.offset, options); @@ -8411,6 +9507,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceConditionalRenderingFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceConditionalRenderingFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["conditionalRendering"] = static_cast(decoded_value.conditionalRendering); jdata["inheritedConditionalRendering"] = static_cast(decoded_value.inheritedConditionalRendering); @@ -8424,6 +9522,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferInh { const VkCommandBufferInheritanceConditionalRenderingInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferInheritanceConditionalRenderingInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["conditionalRenderingEnable"] = static_cast(decoded_value.conditionalRenderingEnable); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8436,6 +9536,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkViewportWScaling { const VkViewportWScalingNV& decoded_value = *data->decoded_value; const Decoded_VkViewportWScalingNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["xcoeff"], decoded_value.xcoeff, options); FieldToJson(jdata["ycoeff"], decoded_value.ycoeff, options); } @@ -8447,6 +9549,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineViewport { const VkPipelineViewportWScalingStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineViewportWScalingStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["viewportWScalingEnable"] = static_cast(decoded_value.viewportWScalingEnable); FieldToJson(jdata["viewportCount"], decoded_value.viewportCount, options); @@ -8461,6 +9565,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceCapabilit { const VkSurfaceCapabilities2EXT& decoded_value = *data->decoded_value; const Decoded_VkSurfaceCapabilities2EXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minImageCount"], decoded_value.minImageCount, options); FieldToJson(jdata["maxImageCount"], decoded_value.maxImageCount, options); @@ -8483,6 +9589,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayPowerInfo { const VkDisplayPowerInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDisplayPowerInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["powerState"], decoded_value.powerState, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8495,6 +9603,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceEventInfoE { const VkDeviceEventInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceEventInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceEvent"], decoded_value.deviceEvent, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8507,6 +9617,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayEventInfo { const VkDisplayEventInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDisplayEventInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["displayEvent"], decoded_value.displayEvent, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8519,6 +9631,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainCounter { const VkSwapchainCounterCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSwapchainCounterCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSurfaceCounterFlagsEXT_t(),jdata["surfaceCounters"], decoded_value.surfaceCounters, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8531,6 +9645,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRefreshCycleDura { const VkRefreshCycleDurationGOOGLE& decoded_value = *data->decoded_value; const Decoded_VkRefreshCycleDurationGOOGLE& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["refreshDuration"], decoded_value.refreshDuration, options); } } @@ -8541,6 +9657,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPastPresentation { const VkPastPresentationTimingGOOGLE& decoded_value = *data->decoded_value; const Decoded_VkPastPresentationTimingGOOGLE& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["presentID"], decoded_value.presentID, options); FieldToJson(jdata["desiredPresentTime"], decoded_value.desiredPresentTime, options); FieldToJson(jdata["actualPresentTime"], decoded_value.actualPresentTime, options); @@ -8555,6 +9673,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPresentTimeGOOGL { const VkPresentTimeGOOGLE& decoded_value = *data->decoded_value; const Decoded_VkPresentTimeGOOGLE& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["presentID"], decoded_value.presentID, options); FieldToJson(jdata["desiredPresentTime"], decoded_value.desiredPresentTime, options); } @@ -8566,6 +9686,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPresentTimesInfo { const VkPresentTimesInfoGOOGLE& decoded_value = *data->decoded_value; const Decoded_VkPresentTimesInfoGOOGLE& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["swapchainCount"], decoded_value.swapchainCount, options); FieldToJson(jdata["pTimes"], meta_struct.pTimes, options); @@ -8579,6 +9701,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["perViewPositionAllComponents"] = static_cast(decoded_value.perViewPositionAllComponents); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8591,6 +9715,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkViewportSwizzleN { const VkViewportSwizzleNV& decoded_value = *data->decoded_value; const Decoded_VkViewportSwizzleNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["x"], decoded_value.x, options); FieldToJson(jdata["y"], decoded_value.y, options); FieldToJson(jdata["z"], decoded_value.z, options); @@ -8604,6 +9730,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineViewport { const VkPipelineViewportSwizzleStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineViewportSwizzleStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineViewportSwizzleStateCreateFlagsNV_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["viewportCount"], decoded_value.viewportCount, options); @@ -8618,6 +9746,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDi { const VkPhysicalDeviceDiscardRectanglePropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDiscardRectanglePropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxDiscardRectangles"], decoded_value.maxDiscardRectangles, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8630,6 +9760,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineDiscardR { const VkPipelineDiscardRectangleStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineDiscardRectangleStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineDiscardRectangleStateCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["discardRectangleMode"], decoded_value.discardRectangleMode, options); @@ -8645,6 +9777,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceConservativeRasterizationPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["primitiveOverestimationSize"], decoded_value.primitiveOverestimationSize, options); FieldToJson(jdata["maxExtraPrimitiveOverestimationSize"], decoded_value.maxExtraPrimitiveOverestimationSize, options); @@ -8665,6 +9799,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasteriz { const VkPipelineRasterizationConservativeStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineRasterizationConservativeStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineRasterizationConservativeStateCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["conservativeRasterizationMode"], decoded_value.conservativeRasterizationMode, options); @@ -8679,6 +9815,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDepthClipEnableFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDepthClipEnableFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["depthClipEnable"] = static_cast(decoded_value.depthClipEnable); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8691,6 +9829,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasteriz { const VkPipelineRasterizationDepthClipStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineRasterizationDepthClipStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineRasterizationDepthClipStateCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); jdata["depthClipEnable"] = static_cast(decoded_value.depthClipEnable); @@ -8704,6 +9844,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkXYColorEXT* data { const VkXYColorEXT& decoded_value = *data->decoded_value; const Decoded_VkXYColorEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["x"], decoded_value.x, options); FieldToJson(jdata["y"], decoded_value.y, options); } @@ -8715,6 +9857,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkHdrMetadataEXT* { const VkHdrMetadataEXT& decoded_value = *data->decoded_value; const Decoded_VkHdrMetadataEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["displayPrimaryRed"], meta_struct.displayPrimaryRed, options); FieldToJson(jdata["displayPrimaryGreen"], meta_struct.displayPrimaryGreen, options); @@ -8734,6 +9878,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkIOSSurfaceCreate { const VkIOSSurfaceCreateInfoMVK& decoded_value = *data->decoded_value; const Decoded_VkIOSSurfaceCreateInfoMVK& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkIOSSurfaceCreateFlagsMVK_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pView"], meta_struct.pView, options); @@ -8747,6 +9893,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMacOSSurfaceCrea { const VkMacOSSurfaceCreateInfoMVK& decoded_value = *data->decoded_value; const Decoded_VkMacOSSurfaceCreateInfoMVK& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkMacOSSurfaceCreateFlagsMVK_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pView"], meta_struct.pView, options); @@ -8760,6 +9908,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugUtilsLabelE { const VkDebugUtilsLabelEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugUtilsLabelEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pLabelName"], &meta_struct.pLabelName, options); FieldToJson(jdata["color"], &meta_struct.color, options); @@ -8773,6 +9923,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugUtilsObject { const VkDebugUtilsObjectNameInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugUtilsObjectNameInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["objectType"], decoded_value.objectType, options); HandleToJson(jdata["objectHandle"], meta_struct.objectHandle, options); @@ -8787,6 +9939,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugUtilsMessen { const VkDebugUtilsMessengerCallbackDataEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugUtilsMessengerCallbackDataEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDebugUtilsMessengerCallbackDataFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pMessageIdName"], &meta_struct.pMessageIdName, options); @@ -8808,6 +9962,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugUtilsMessen { const VkDebugUtilsMessengerCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugUtilsMessengerCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDebugUtilsMessengerCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(VkDebugUtilsMessageSeverityFlagsEXT_t(),jdata["messageSeverity"], decoded_value.messageSeverity, options); @@ -8824,6 +9980,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugUtilsObject { const VkDebugUtilsObjectTagInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDebugUtilsObjectTagInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["objectType"], decoded_value.objectType, options); HandleToJson(jdata["objectHandle"], meta_struct.objectHandle, options); @@ -8840,6 +9998,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAndroidHardwareB { const VkAndroidHardwareBufferUsageANDROID& decoded_value = *data->decoded_value; const Decoded_VkAndroidHardwareBufferUsageANDROID& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["androidHardwareBufferUsage"], decoded_value.androidHardwareBufferUsage, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8852,6 +10012,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAndroidHardwareB { const VkAndroidHardwareBufferPropertiesANDROID& decoded_value = *data->decoded_value; const Decoded_VkAndroidHardwareBufferPropertiesANDROID& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["allocationSize"], decoded_value.allocationSize, options); FieldToJson(jdata["memoryTypeBits"], decoded_value.memoryTypeBits, options); @@ -8865,6 +10027,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAndroidHardwareB { const VkAndroidHardwareBufferFormatPropertiesANDROID& decoded_value = *data->decoded_value; const Decoded_VkAndroidHardwareBufferFormatPropertiesANDROID& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["externalFormat"], decoded_value.externalFormat, options); @@ -8884,6 +10048,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportAndroidHar { const VkImportAndroidHardwareBufferInfoANDROID& decoded_value = *data->decoded_value; const Decoded_VkImportAndroidHardwareBufferInfoANDROID& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["buffer"], meta_struct.buffer, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8896,6 +10062,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryGetAndroid { const VkMemoryGetAndroidHardwareBufferInfoANDROID& decoded_value = *data->decoded_value; const Decoded_VkMemoryGetAndroidHardwareBufferInfoANDROID& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["memory"], meta_struct.memory, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8908,6 +10076,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalFormatAN { const VkExternalFormatANDROID& decoded_value = *data->decoded_value; const Decoded_VkExternalFormatANDROID& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["externalFormat"], decoded_value.externalFormat, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -8920,6 +10090,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAndroidHardwareB { const VkAndroidHardwareBufferFormatProperties2ANDROID& decoded_value = *data->decoded_value; const Decoded_VkAndroidHardwareBufferFormatProperties2ANDROID& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["externalFormat"], decoded_value.externalFormat, options); @@ -8939,6 +10111,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSampleLocationEX { const VkSampleLocationEXT& decoded_value = *data->decoded_value; const Decoded_VkSampleLocationEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["x"], decoded_value.x, options); FieldToJson(jdata["y"], decoded_value.y, options); } @@ -8950,6 +10124,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSampleLocationsI { const VkSampleLocationsInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSampleLocationsInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["sampleLocationsPerPixel"], decoded_value.sampleLocationsPerPixel, options); FieldToJson(jdata["sampleLocationGridSize"], meta_struct.sampleLocationGridSize, options); @@ -8965,6 +10141,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAttachmentSample { const VkAttachmentSampleLocationsEXT& decoded_value = *data->decoded_value; const Decoded_VkAttachmentSampleLocationsEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["attachmentIndex"], decoded_value.attachmentIndex, options); FieldToJson(jdata["sampleLocationsInfo"], meta_struct.sampleLocationsInfo, options); } @@ -8976,6 +10154,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassSampleLoc { const VkSubpassSampleLocationsEXT& decoded_value = *data->decoded_value; const Decoded_VkSubpassSampleLocationsEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["subpassIndex"], decoded_value.subpassIndex, options); FieldToJson(jdata["sampleLocationsInfo"], meta_struct.sampleLocationsInfo, options); } @@ -8987,6 +10167,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassSample { const VkRenderPassSampleLocationsBeginInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderPassSampleLocationsBeginInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["attachmentInitialSampleLocationsCount"], decoded_value.attachmentInitialSampleLocationsCount, options); FieldToJson(jdata["pAttachmentInitialSampleLocations"], meta_struct.pAttachmentInitialSampleLocations, options); @@ -9002,6 +10184,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineSampleLo { const VkPipelineSampleLocationsStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineSampleLocationsStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["sampleLocationsEnable"] = static_cast(decoded_value.sampleLocationsEnable); FieldToJson(jdata["sampleLocationsInfo"], meta_struct.sampleLocationsInfo, options); @@ -9015,6 +10199,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSa { const VkPhysicalDeviceSampleLocationsPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSampleLocationsPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkSampleCountFlags_t(),jdata["sampleLocationSampleCounts"], decoded_value.sampleLocationSampleCounts, options); FieldToJson(jdata["maxSampleLocationGridSize"], meta_struct.maxSampleLocationGridSize, options); @@ -9031,6 +10217,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMultisamplePrope { const VkMultisamplePropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkMultisamplePropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxSampleLocationGridSize"], meta_struct.maxSampleLocationGridSize, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9043,6 +10231,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceBl { const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["advancedBlendCoherentOperations"] = static_cast(decoded_value.advancedBlendCoherentOperations); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9055,6 +10245,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceBl { const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["advancedBlendMaxColorAttachments"], decoded_value.advancedBlendMaxColorAttachments, options); jdata["advancedBlendIndependentBlend"] = static_cast(decoded_value.advancedBlendIndependentBlend); @@ -9072,6 +10264,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineColorBle { const VkPipelineColorBlendAdvancedStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineColorBlendAdvancedStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["srcPremultiplied"] = static_cast(decoded_value.srcPremultiplied); jdata["dstPremultiplied"] = static_cast(decoded_value.dstPremultiplied); @@ -9086,6 +10280,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCoverage { const VkPipelineCoverageToColorStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineCoverageToColorStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCoverageToColorStateCreateFlagsNV_t(),jdata["flags"], decoded_value.flags, options); jdata["coverageToColorEnable"] = static_cast(decoded_value.coverageToColorEnable); @@ -9100,6 +10296,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCoverage { const VkPipelineCoverageModulationStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineCoverageModulationStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCoverageModulationStateCreateFlagsNV_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["coverageModulationMode"], decoded_value.coverageModulationMode, options); @@ -9116,6 +10314,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shaderSMCount"], decoded_value.shaderSMCount, options); FieldToJson(jdata["shaderWarpsPerSM"], decoded_value.shaderWarpsPerSM, options); @@ -9129,6 +10329,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderSMBuiltins"] = static_cast(decoded_value.shaderSMBuiltins); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9141,6 +10343,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrmFormatModifie { const VkDrmFormatModifierPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkDrmFormatModifierPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["drmFormatModifier"], decoded_value.drmFormatModifier, options); FieldToJson(jdata["drmFormatModifierPlaneCount"], decoded_value.drmFormatModifierPlaneCount, options); FieldToJson(VkFormatFeatureFlags_t(),jdata["drmFormatModifierTilingFeatures"], decoded_value.drmFormatModifierTilingFeatures, options); @@ -9153,6 +10357,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrmFormatModifie { const VkDrmFormatModifierPropertiesListEXT& decoded_value = *data->decoded_value; const Decoded_VkDrmFormatModifierPropertiesListEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["drmFormatModifierCount"], decoded_value.drmFormatModifierCount, options); FieldToJson(jdata["pDrmFormatModifierProperties"], meta_struct.pDrmFormatModifierProperties, options); @@ -9166,6 +10372,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageDrmFormatModifierInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["drmFormatModifier"], decoded_value.drmFormatModifier, options); FieldToJson(jdata["sharingMode"], decoded_value.sharingMode, options); @@ -9181,6 +10389,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageDrmFormatMo { const VkImageDrmFormatModifierListCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkImageDrmFormatModifierListCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["drmFormatModifierCount"], decoded_value.drmFormatModifierCount, options); FieldToJson(jdata["pDrmFormatModifiers"], meta_struct.pDrmFormatModifiers, options); @@ -9194,6 +10404,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageDrmFormatMo { const VkImageDrmFormatModifierExplicitCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkImageDrmFormatModifierExplicitCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["drmFormatModifier"], decoded_value.drmFormatModifier, options); FieldToJson(jdata["drmFormatModifierPlaneCount"], decoded_value.drmFormatModifierPlaneCount, options); @@ -9208,6 +10420,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageDrmFormatMo { const VkImageDrmFormatModifierPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkImageDrmFormatModifierPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["drmFormatModifier"], decoded_value.drmFormatModifier, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9220,6 +10434,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrmFormatModifie { const VkDrmFormatModifierProperties2EXT& decoded_value = *data->decoded_value; const Decoded_VkDrmFormatModifierProperties2EXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["drmFormatModifier"], decoded_value.drmFormatModifier, options); FieldToJson(jdata["drmFormatModifierPlaneCount"], decoded_value.drmFormatModifierPlaneCount, options); FieldToJson(VkFormatFeatureFlags2_t(),jdata["drmFormatModifierTilingFeatures"], decoded_value.drmFormatModifierTilingFeatures, options); @@ -9232,6 +10448,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrmFormatModifie { const VkDrmFormatModifierPropertiesList2EXT& decoded_value = *data->decoded_value; const Decoded_VkDrmFormatModifierPropertiesList2EXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["drmFormatModifierCount"], decoded_value.drmFormatModifierCount, options); FieldToJson(jdata["pDrmFormatModifierProperties"], meta_struct.pDrmFormatModifierProperties, options); @@ -9245,6 +10463,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkValidationCacheC { const VkValidationCacheCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkValidationCacheCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkValidationCacheCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["initialDataSize"], decoded_value.initialDataSize, options); @@ -9259,6 +10479,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkShaderModuleVali { const VkShaderModuleValidationCacheCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkShaderModuleValidationCacheCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["validationCache"], meta_struct.validationCache, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9271,6 +10493,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkShadingRatePalet { const VkShadingRatePaletteNV& decoded_value = *data->decoded_value; const Decoded_VkShadingRatePaletteNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["shadingRatePaletteEntryCount"], decoded_value.shadingRatePaletteEntryCount, options); FieldToJson(jdata["pShadingRatePaletteEntries"], meta_struct.pShadingRatePaletteEntries, options); } @@ -9282,6 +10506,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineViewport { const VkPipelineViewportShadingRateImageStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineViewportShadingRateImageStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shadingRateImageEnable"] = static_cast(decoded_value.shadingRateImageEnable); FieldToJson(jdata["viewportCount"], decoded_value.viewportCount, options); @@ -9296,6 +10522,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShadingRateImageFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShadingRateImageFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shadingRateImage"] = static_cast(decoded_value.shadingRateImage); jdata["shadingRateCoarseSampleOrder"] = static_cast(decoded_value.shadingRateCoarseSampleOrder); @@ -9309,6 +10537,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShadingRateImagePropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShadingRateImagePropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shadingRateTexelSize"], meta_struct.shadingRateTexelSize, options); FieldToJson(jdata["shadingRatePaletteSize"], decoded_value.shadingRatePaletteSize, options); @@ -9323,6 +10553,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCoarseSampleLoca { const VkCoarseSampleLocationNV& decoded_value = *data->decoded_value; const Decoded_VkCoarseSampleLocationNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["pixelX"], decoded_value.pixelX, options); FieldToJson(jdata["pixelY"], decoded_value.pixelY, options); FieldToJson(jdata["sample"], decoded_value.sample, options); @@ -9335,6 +10567,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCoarseSampleOrde { const VkCoarseSampleOrderCustomNV& decoded_value = *data->decoded_value; const Decoded_VkCoarseSampleOrderCustomNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["shadingRate"], decoded_value.shadingRate, options); FieldToJson(jdata["sampleCount"], decoded_value.sampleCount, options); FieldToJson(jdata["sampleLocationCount"], decoded_value.sampleLocationCount, options); @@ -9348,6 +10582,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineViewport { const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["sampleOrderType"], decoded_value.sampleOrderType, options); FieldToJson(jdata["customSampleOrderCount"], decoded_value.customSampleOrderCount, options); @@ -9362,6 +10598,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRayTracingShader { const VkRayTracingShaderGroupCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkRayTracingShaderGroupCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); FieldToJson(jdata["generalShader"], decoded_value.generalShader, options); @@ -9378,6 +10616,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRayTracingPipeli { const VkRayTracingPipelineCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkRayTracingPipelineCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["stageCount"], decoded_value.stageCount, options); @@ -9398,6 +10638,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGeometryTriangle { const VkGeometryTrianglesNV& decoded_value = *data->decoded_value; const Decoded_VkGeometryTrianglesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["vertexData"], meta_struct.vertexData, options); FieldToJson(jdata["vertexOffset"], decoded_value.vertexOffset, options); @@ -9420,6 +10662,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGeometryAABBNV* { const VkGeometryAABBNV& decoded_value = *data->decoded_value; const Decoded_VkGeometryAABBNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["aabbData"], meta_struct.aabbData, options); FieldToJson(jdata["numAABBs"], decoded_value.numAABBs, options); @@ -9435,6 +10679,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGeometryDataNV* { const VkGeometryDataNV& decoded_value = *data->decoded_value; const Decoded_VkGeometryDataNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["triangles"], meta_struct.triangles, options); FieldToJson(jdata["aabbs"], meta_struct.aabbs, options); } @@ -9446,6 +10692,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGeometryNV* data { const VkGeometryNV& decoded_value = *data->decoded_value; const Decoded_VkGeometryNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["geometryType"], decoded_value.geometryType, options); FieldToJson(jdata["geometry"], meta_struct.geometry, options); @@ -9460,6 +10708,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureInfoNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); FieldToJson(VkBuildAccelerationStructureFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); @@ -9476,6 +10726,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["compactedSize"], decoded_value.compactedSize, options); FieldToJson(jdata["info"], meta_struct.info, options); @@ -9489,6 +10741,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindAcceleration { const VkBindAccelerationStructureMemoryInfoNV& decoded_value = *data->decoded_value; const Decoded_VkBindAccelerationStructureMemoryInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["accelerationStructure"], meta_struct.accelerationStructure, options); HandleToJson(jdata["memory"], meta_struct.memory, options); @@ -9505,6 +10759,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkWriteDescriptorS { const VkWriteDescriptorSetAccelerationStructureNV& decoded_value = *data->decoded_value; const Decoded_VkWriteDescriptorSetAccelerationStructureNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["accelerationStructureCount"], decoded_value.accelerationStructureCount, options); HandleToJson(jdata["pAccelerationStructures"], &meta_struct.pAccelerationStructures, options); @@ -9518,6 +10774,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureMemoryRequirementsInfoNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureMemoryRequirementsInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); HandleToJson(jdata["accelerationStructure"], meta_struct.accelerationStructure, options); @@ -9531,6 +10789,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shaderGroupHandleSize"], decoded_value.shaderGroupHandleSize, options); FieldToJson(jdata["maxRecursionDepth"], decoded_value.maxRecursionDepth, options); @@ -9550,6 +10810,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkTransformMatrixK { const VkTransformMatrixKHR& decoded_value = *data->decoded_value; const Decoded_VkTransformMatrixKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["matrix"], &meta_struct.matrix, options); } } @@ -9560,6 +10822,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAabbPositionsKHR { const VkAabbPositionsKHR& decoded_value = *data->decoded_value; const Decoded_VkAabbPositionsKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["minX"], decoded_value.minX, options); FieldToJson(jdata["minY"], decoded_value.minY, options); FieldToJson(jdata["minZ"], decoded_value.minZ, options); @@ -9575,6 +10839,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureInstanceKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureInstanceKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["transform"], meta_struct.transform, options); FieldToJson(jdata["instanceCustomIndex"], decoded_value.instanceCustomIndex, options); FieldToJson(jdata["mask"], decoded_value.mask, options); @@ -9590,6 +10856,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRe { const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["representativeFragmentTest"] = static_cast(decoded_value.representativeFragmentTest); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9602,6 +10870,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRepresen { const VkPipelineRepresentativeFragmentTestStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["representativeFragmentTestEnable"] = static_cast(decoded_value.representativeFragmentTestEnable); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9614,6 +10884,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageViewImageFormatInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageViewImageFormatInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["imageViewType"], decoded_value.imageViewType, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9626,6 +10898,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFilterCubicImage { const VkFilterCubicImageViewImageFormatPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkFilterCubicImageViewImageFormatPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["filterCubic"] = static_cast(decoded_value.filterCubic); jdata["filterCubicMinmax"] = static_cast(decoded_value.filterCubicMinmax); @@ -9639,6 +10913,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportMemoryHost { const VkImportMemoryHostPointerInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkImportMemoryHostPointerInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["pHostPointer"], meta_struct.pHostPointer, options); @@ -9652,6 +10928,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryHostPointe { const VkMemoryHostPointerPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkMemoryHostPointerPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryTypeBits"], decoded_value.memoryTypeBits, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9664,6 +10942,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExternalMemoryHostPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minImportedHostPointerAlignment"], decoded_value.minImportedHostPointerAlignment, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9676,6 +10956,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCompiler { const VkPipelineCompilerControlCreateInfoAMD& decoded_value = *data->decoded_value; const Decoded_VkPipelineCompilerControlCreateInfoAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCompilerControlFlagsAMD_t(),jdata["compilerControlFlags"], decoded_value.compilerControlFlags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9688,6 +10970,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCalibratedTimest { const VkCalibratedTimestampInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCalibratedTimestampInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["timeDomain"], decoded_value.timeDomain, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9700,6 +10984,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderCorePropertiesAMD& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderCorePropertiesAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shaderEngineCount"], decoded_value.shaderEngineCount, options); FieldToJson(jdata["shaderArraysPerEngineCount"], decoded_value.shaderArraysPerEngineCount, options); @@ -9725,6 +11011,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceMemoryOver { const VkDeviceMemoryOverallocationCreateInfoAMD& decoded_value = *data->decoded_value; const Decoded_VkDeviceMemoryOverallocationCreateInfoAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["overallocationBehavior"], decoded_value.overallocationBehavior, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9737,6 +11025,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVe { const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxVertexAttribDivisor"], decoded_value.maxVertexAttribDivisor, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9749,6 +11039,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVertexInputBindi { const VkVertexInputBindingDivisorDescriptionEXT& decoded_value = *data->decoded_value; const Decoded_VkVertexInputBindingDivisorDescriptionEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["binding"], decoded_value.binding, options); FieldToJson(jdata["divisor"], decoded_value.divisor, options); } @@ -9760,6 +11052,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineVertexIn { const VkPipelineVertexInputDivisorStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineVertexInputDivisorStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["vertexBindingDivisorCount"], decoded_value.vertexBindingDivisorCount, options); FieldToJson(jdata["pVertexBindingDivisors"], meta_struct.pVertexBindingDivisors, options); @@ -9773,6 +11067,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVe { const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["vertexAttributeInstanceRateDivisor"] = static_cast(decoded_value.vertexAttributeInstanceRateDivisor); jdata["vertexAttributeInstanceRateZeroDivisor"] = static_cast(decoded_value.vertexAttributeInstanceRateZeroDivisor); @@ -9786,6 +11082,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPresentFrameToke { const VkPresentFrameTokenGGP& decoded_value = *data->decoded_value; const Decoded_VkPresentFrameTokenGGP& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["frameToken"], decoded_value.frameToken, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9798,6 +11096,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["computeDerivativeGroupQuads"] = static_cast(decoded_value.computeDerivativeGroupQuads); jdata["computeDerivativeGroupLinear"] = static_cast(decoded_value.computeDerivativeGroupLinear); @@ -9811,6 +11111,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMeshShaderFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMeshShaderFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["taskShader"] = static_cast(decoded_value.taskShader); jdata["meshShader"] = static_cast(decoded_value.meshShader); @@ -9824,6 +11126,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMeshShaderPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMeshShaderPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxDrawMeshTasksCount"], decoded_value.maxDrawMeshTasksCount, options); FieldToJson(jdata["maxTaskWorkGroupInvocations"], decoded_value.maxTaskWorkGroupInvocations, options); @@ -9848,6 +11152,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrawMeshTasksInd { const VkDrawMeshTasksIndirectCommandNV& decoded_value = *data->decoded_value; const Decoded_VkDrawMeshTasksIndirectCommandNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["taskCount"], decoded_value.taskCount, options); FieldToJson(jdata["firstTask"], decoded_value.firstTask, options); } @@ -9859,6 +11165,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderImageFootprintFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderImageFootprintFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["imageFootprint"] = static_cast(decoded_value.imageFootprint); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9871,6 +11179,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineViewport { const VkPipelineViewportExclusiveScissorStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineViewportExclusiveScissorStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["exclusiveScissorCount"], decoded_value.exclusiveScissorCount, options); FieldToJson(jdata["pExclusiveScissors"], meta_struct.pExclusiveScissors, options); @@ -9884,6 +11194,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExclusiveScissorFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExclusiveScissorFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["exclusiveScissor"] = static_cast(decoded_value.exclusiveScissor); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9896,6 +11208,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueueFamilyCheck { const VkQueueFamilyCheckpointPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkQueueFamilyCheckpointPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineStageFlags_t(),jdata["checkpointExecutionStageMask"], decoded_value.checkpointExecutionStageMask, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9908,6 +11222,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCheckpointDataNV { const VkCheckpointDataNV& decoded_value = *data->decoded_value; const Decoded_VkCheckpointDataNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stage"], decoded_value.stage, options); FieldToJson(jdata["pCheckpointMarker"], meta_struct.pCheckpointMarker, options); @@ -9921,6 +11237,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderIntegerFunctions2"] = static_cast(decoded_value.shaderIntegerFunctions2); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9933,6 +11251,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkInitializePerfor { const VkInitializePerformanceApiInfoINTEL& decoded_value = *data->decoded_value; const Decoded_VkInitializePerformanceApiInfoINTEL& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pUserData"], to_hex_variable_width(meta_struct.pUserData), options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9945,6 +11265,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueryPoolPerform { const VkQueryPoolPerformanceQueryCreateInfoINTEL& decoded_value = *data->decoded_value; const Decoded_VkQueryPoolPerformanceQueryCreateInfoINTEL& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["performanceCountersSampling"], decoded_value.performanceCountersSampling, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9957,6 +11279,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPerformanceMarke { const VkPerformanceMarkerInfoINTEL& decoded_value = *data->decoded_value; const Decoded_VkPerformanceMarkerInfoINTEL& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["marker"], decoded_value.marker, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9969,6 +11293,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPerformanceStrea { const VkPerformanceStreamMarkerInfoINTEL& decoded_value = *data->decoded_value; const Decoded_VkPerformanceStreamMarkerInfoINTEL& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["marker"], decoded_value.marker, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -9981,6 +11307,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPerformanceOverr { const VkPerformanceOverrideInfoINTEL& decoded_value = *data->decoded_value; const Decoded_VkPerformanceOverrideInfoINTEL& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); jdata["enable"] = static_cast(decoded_value.enable); @@ -9995,6 +11323,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPerformanceConfi { const VkPerformanceConfigurationAcquireInfoINTEL& decoded_value = *data->decoded_value; const Decoded_VkPerformanceConfigurationAcquireInfoINTEL& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10007,6 +11337,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePC { const VkPhysicalDevicePCIBusInfoPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePCIBusInfoPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pciDomain"], decoded_value.pciDomain, options); FieldToJson(jdata["pciBus"], decoded_value.pciBus, options); @@ -10022,6 +11354,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDisplayNativeHdr { const VkDisplayNativeHdrSurfaceCapabilitiesAMD& decoded_value = *data->decoded_value; const Decoded_VkDisplayNativeHdrSurfaceCapabilitiesAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["localDimmingSupport"] = static_cast(decoded_value.localDimmingSupport); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10034,6 +11368,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainDisplay { const VkSwapchainDisplayNativeHdrCreateInfoAMD& decoded_value = *data->decoded_value; const Decoded_VkSwapchainDisplayNativeHdrCreateInfoAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["localDimmingEnable"] = static_cast(decoded_value.localDimmingEnable); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10046,6 +11382,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImagePipeSurface { const VkImagePipeSurfaceCreateInfoFUCHSIA& decoded_value = *data->decoded_value; const Decoded_VkImagePipeSurfaceCreateInfoFUCHSIA& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImagePipeSurfaceCreateFlagsFUCHSIA_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["imagePipeHandle"], decoded_value.imagePipeHandle, options); @@ -10059,6 +11397,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMetalSurfaceCrea { const VkMetalSurfaceCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMetalSurfaceCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkMetalSurfaceCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pLayer"], meta_struct.pLayer, options); @@ -10072,6 +11412,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentDensityMapFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["fragmentDensityMap"] = static_cast(decoded_value.fragmentDensityMap); jdata["fragmentDensityMapDynamic"] = static_cast(decoded_value.fragmentDensityMapDynamic); @@ -10086,6 +11428,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentDensityMapPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minFragmentDensityTexelSize"], meta_struct.minFragmentDensityTexelSize, options); FieldToJson(jdata["maxFragmentDensityTexelSize"], meta_struct.maxFragmentDensityTexelSize, options); @@ -10100,6 +11444,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassFragme { const VkRenderPassFragmentDensityMapCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderPassFragmentDensityMapCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["fragmentDensityMapAttachment"], meta_struct.fragmentDensityMapAttachment, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10112,6 +11458,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderCoreProperties2AMD& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderCoreProperties2AMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkShaderCorePropertiesFlagsAMD_t(),jdata["shaderCoreFeatures"], decoded_value.shaderCoreFeatures, options); FieldToJson(jdata["activeComputeUnitCount"], decoded_value.activeComputeUnitCount, options); @@ -10125,6 +11473,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceCoherentMemoryFeaturesAMD& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCoherentMemoryFeaturesAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["deviceCoherentMemory"] = static_cast(decoded_value.deviceCoherentMemory); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10137,6 +11487,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderImageInt64Atomics"] = static_cast(decoded_value.shaderImageInt64Atomics); jdata["sparseImageInt64Atomics"] = static_cast(decoded_value.sparseImageInt64Atomics); @@ -10150,6 +11502,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMemoryBudgetPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMemoryBudgetPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["heapBudget"], &meta_struct.heapBudget, options); FieldToJson(jdata["heapUsage"], &meta_struct.heapUsage, options); @@ -10163,6 +11517,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMemoryPriorityFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMemoryPriorityFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["memoryPriority"] = static_cast(decoded_value.memoryPriority); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10175,6 +11531,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryPriorityAl { const VkMemoryPriorityAllocateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMemoryPriorityAllocateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["priority"], decoded_value.priority, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10187,6 +11545,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["dedicatedAllocationImageAliasing"] = static_cast(decoded_value.dedicatedAllocationImageAliasing); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10199,6 +11559,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceBu { const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["bufferDeviceAddress"] = static_cast(decoded_value.bufferDeviceAddress); jdata["bufferDeviceAddressCaptureReplay"] = static_cast(decoded_value.bufferDeviceAddressCaptureReplay); @@ -10213,6 +11575,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBufferDeviceAddr { const VkBufferDeviceAddressCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkBufferDeviceAddressCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceAddress"], to_hex_variable_width(decoded_value.deviceAddress), options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10225,6 +11589,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkValidationFeatur { const VkValidationFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkValidationFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["enabledValidationFeatureCount"], decoded_value.enabledValidationFeatureCount, options); FieldToJson(jdata["pEnabledValidationFeatures"], meta_struct.pEnabledValidationFeatures, options); @@ -10240,6 +11606,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCooperativeMatri { const VkCooperativeMatrixPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkCooperativeMatrixPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["MSize"], decoded_value.MSize, options); FieldToJson(jdata["NSize"], decoded_value.NSize, options); @@ -10259,6 +11627,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceCooperativeMatrixFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCooperativeMatrixFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["cooperativeMatrix"] = static_cast(decoded_value.cooperativeMatrix); jdata["cooperativeMatrixRobustBufferAccess"] = static_cast(decoded_value.cooperativeMatrixRobustBufferAccess); @@ -10272,6 +11642,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceCooperativeMatrixPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCooperativeMatrixPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkShaderStageFlags_t(),jdata["cooperativeMatrixSupportedStages"], decoded_value.cooperativeMatrixSupportedStages, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10284,6 +11656,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceCoverageReductionModeFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCoverageReductionModeFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["coverageReductionMode"] = static_cast(decoded_value.coverageReductionMode); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10296,6 +11670,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineCoverage { const VkPipelineCoverageReductionStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineCoverageReductionStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCoverageReductionStateCreateFlagsNV_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["coverageReductionMode"], decoded_value.coverageReductionMode, options); @@ -10309,6 +11685,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkFramebufferMixed { const VkFramebufferMixedSamplesCombinationNV& decoded_value = *data->decoded_value; const Decoded_VkFramebufferMixedSamplesCombinationNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["coverageReductionMode"], decoded_value.coverageReductionMode, options); FieldToJson(jdata["rasterizationSamples"], decoded_value.rasterizationSamples, options); @@ -10324,6 +11702,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["fragmentShaderSampleInterlock"] = static_cast(decoded_value.fragmentShaderSampleInterlock); jdata["fragmentShaderPixelInterlock"] = static_cast(decoded_value.fragmentShaderPixelInterlock); @@ -10338,6 +11718,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceYc { const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["ycbcrImageArrays"] = static_cast(decoded_value.ycbcrImageArrays); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10350,6 +11732,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDeviceProvokingVertexFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceProvokingVertexFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["provokingVertexLast"] = static_cast(decoded_value.provokingVertexLast); jdata["transformFeedbackPreservesProvokingVertex"] = static_cast(decoded_value.transformFeedbackPreservesProvokingVertex); @@ -10363,6 +11747,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDeviceProvokingVertexPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceProvokingVertexPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["provokingVertexModePerPipeline"] = static_cast(decoded_value.provokingVertexModePerPipeline); jdata["transformFeedbackPreservesTriangleFanProvokingVertex"] = static_cast(decoded_value.transformFeedbackPreservesTriangleFanProvokingVertex); @@ -10376,6 +11762,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasteriz { const VkPipelineRasterizationProvokingVertexStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["provokingVertexMode"], decoded_value.provokingVertexMode, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10388,6 +11776,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceFullScree { const VkSurfaceFullScreenExclusiveInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSurfaceFullScreenExclusiveInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["fullScreenExclusive"], decoded_value.fullScreenExclusive, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10400,6 +11790,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceCapabilit { const VkSurfaceCapabilitiesFullScreenExclusiveEXT& decoded_value = *data->decoded_value; const Decoded_VkSurfaceCapabilitiesFullScreenExclusiveEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["fullScreenExclusiveSupported"] = static_cast(decoded_value.fullScreenExclusiveSupported); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10412,6 +11804,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceFullScree { const VkSurfaceFullScreenExclusiveWin32InfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSurfaceFullScreenExclusiveWin32InfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["hmonitor"], meta_struct.hmonitor, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10424,6 +11818,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkHeadlessSurfaceC { const VkHeadlessSurfaceCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkHeadlessSurfaceCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkHeadlessSurfaceCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10436,6 +11832,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLi { const VkPhysicalDeviceLineRasterizationFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceLineRasterizationFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rectangularLines"] = static_cast(decoded_value.rectangularLines); jdata["bresenhamLines"] = static_cast(decoded_value.bresenhamLines); @@ -10453,6 +11851,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLi { const VkPhysicalDeviceLineRasterizationPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceLineRasterizationPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["lineSubPixelPrecisionBits"], decoded_value.lineSubPixelPrecisionBits, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10465,6 +11865,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasteriz { const VkPipelineRasterizationLineStateCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineRasterizationLineStateCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["lineRasterizationMode"], decoded_value.lineRasterizationMode, options); jdata["stippledLineEnable"] = static_cast(decoded_value.stippledLineEnable); @@ -10480,6 +11882,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderAtomicFloatFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderBufferFloat32Atomics"] = static_cast(decoded_value.shaderBufferFloat32Atomics); jdata["shaderBufferFloat32AtomicAdd"] = static_cast(decoded_value.shaderBufferFloat32AtomicAdd); @@ -10503,6 +11907,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIn { const VkPhysicalDeviceIndexTypeUint8FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceIndexTypeUint8FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["indexTypeUint8"] = static_cast(decoded_value.indexTypeUint8); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10515,6 +11921,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExtendedDynamicStateFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["extendedDynamicState"] = static_cast(decoded_value.extendedDynamicState); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10527,6 +11935,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceHo { const VkPhysicalDeviceHostImageCopyFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceHostImageCopyFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["hostImageCopy"] = static_cast(decoded_value.hostImageCopy); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10539,6 +11949,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceHo { const VkPhysicalDeviceHostImageCopyPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceHostImageCopyPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["copySrcLayoutCount"], decoded_value.copySrcLayoutCount, options); FieldToJson(jdata["pCopySrcLayouts"], meta_struct.pCopySrcLayouts, options); @@ -10556,6 +11968,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryToImageCop { const VkMemoryToImageCopyEXT& decoded_value = *data->decoded_value; const Decoded_VkMemoryToImageCopyEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pHostPointer"], meta_struct.pHostPointer, options); FieldToJson(jdata["memoryRowLength"], decoded_value.memoryRowLength, options); @@ -10573,6 +11987,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageToMemoryCop { const VkImageToMemoryCopyEXT& decoded_value = *data->decoded_value; const Decoded_VkImageToMemoryCopyEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pHostPointer"], meta_struct.pHostPointer, options); FieldToJson(jdata["memoryRowLength"], decoded_value.memoryRowLength, options); @@ -10590,6 +12006,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyMemoryToImag { const VkCopyMemoryToImageInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCopyMemoryToImageInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkHostImageCopyFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["dstImage"], meta_struct.dstImage, options); @@ -10606,6 +12024,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyImageToMemor { const VkCopyImageToMemoryInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCopyImageToMemoryInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkHostImageCopyFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["srcImage"], meta_struct.srcImage, options); @@ -10622,6 +12042,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyImageToImage { const VkCopyImageToImageInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCopyImageToImageInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkHostImageCopyFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); HandleToJson(jdata["srcImage"], meta_struct.srcImage, options); @@ -10640,6 +12062,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkHostImageLayoutT { const VkHostImageLayoutTransitionInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkHostImageLayoutTransitionInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["image"], meta_struct.image, options); FieldToJson(jdata["oldLayout"], decoded_value.oldLayout, options); @@ -10655,6 +12079,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubresourceHostM { const VkSubresourceHostMemcpySizeEXT& decoded_value = *data->decoded_value; const Decoded_VkSubresourceHostMemcpySizeEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["size"], decoded_value.size, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10667,6 +12093,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkHostImageCopyDev { const VkHostImageCopyDevicePerformanceQueryEXT& decoded_value = *data->decoded_value; const Decoded_VkHostImageCopyDevicePerformanceQueryEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["optimalDeviceAccess"] = static_cast(decoded_value.optimalDeviceAccess); jdata["identicalMemoryLayout"] = static_cast(decoded_value.identicalMemoryLayout); @@ -10680,6 +12108,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderBufferFloat16Atomics"] = static_cast(decoded_value.shaderBufferFloat16Atomics); jdata["shaderBufferFloat16AtomicAdd"] = static_cast(decoded_value.shaderBufferFloat16AtomicAdd); @@ -10703,6 +12133,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfacePresentMo { const VkSurfacePresentModeEXT& decoded_value = *data->decoded_value; const Decoded_VkSurfacePresentModeEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["presentMode"], decoded_value.presentMode, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10715,6 +12147,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfacePresentSc { const VkSurfacePresentScalingCapabilitiesEXT& decoded_value = *data->decoded_value; const Decoded_VkSurfacePresentScalingCapabilitiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPresentScalingFlagsEXT_t(),jdata["supportedPresentScaling"], decoded_value.supportedPresentScaling, options); FieldToJson(VkPresentGravityFlagsEXT_t(),jdata["supportedPresentGravityX"], decoded_value.supportedPresentGravityX, options); @@ -10731,6 +12165,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfacePresentMo { const VkSurfacePresentModeCompatibilityEXT& decoded_value = *data->decoded_value; const Decoded_VkSurfacePresentModeCompatibilityEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["presentModeCount"], decoded_value.presentModeCount, options); FieldToJson(jdata["pPresentModes"], meta_struct.pPresentModes, options); @@ -10744,6 +12180,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSw { const VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["swapchainMaintenance1"] = static_cast(decoded_value.swapchainMaintenance1); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10756,6 +12194,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainPresent { const VkSwapchainPresentFenceInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSwapchainPresentFenceInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["swapchainCount"], decoded_value.swapchainCount, options); HandleToJson(jdata["pFences"], &meta_struct.pFences, options); @@ -10769,6 +12209,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainPresent { const VkSwapchainPresentModesCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSwapchainPresentModesCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["presentModeCount"], decoded_value.presentModeCount, options); FieldToJson(jdata["pPresentModes"], meta_struct.pPresentModes, options); @@ -10782,6 +12224,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainPresent { const VkSwapchainPresentModeInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSwapchainPresentModeInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["swapchainCount"], decoded_value.swapchainCount, options); FieldToJson(jdata["pPresentModes"], meta_struct.pPresentModes, options); @@ -10795,6 +12239,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainPresent { const VkSwapchainPresentScalingCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSwapchainPresentScalingCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPresentScalingFlagsEXT_t(),jdata["scalingBehavior"], decoded_value.scalingBehavior, options); FieldToJson(VkPresentGravityFlagsEXT_t(),jdata["presentGravityX"], decoded_value.presentGravityX, options); @@ -10809,6 +12255,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkReleaseSwapchain { const VkReleaseSwapchainImagesInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkReleaseSwapchainImagesInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["swapchain"], meta_struct.swapchain, options); FieldToJson(jdata["imageIndexCount"], decoded_value.imageIndexCount, options); @@ -10823,6 +12271,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxGraphicsShaderGroupCount"], decoded_value.maxGraphicsShaderGroupCount, options); FieldToJson(jdata["maxIndirectSequenceCount"], decoded_value.maxIndirectSequenceCount, options); @@ -10843,6 +12293,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["deviceGeneratedCommands"] = static_cast(decoded_value.deviceGeneratedCommands); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -10855,6 +12307,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGraphicsShaderGr { const VkGraphicsShaderGroupCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkGraphicsShaderGroupCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["stageCount"], decoded_value.stageCount, options); FieldToJson(jdata["pStages"], meta_struct.pStages, options); @@ -10870,6 +12324,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGraphicsPipeline { const VkGraphicsPipelineShaderGroupsCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkGraphicsPipelineShaderGroupsCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["groupCount"], decoded_value.groupCount, options); FieldToJson(jdata["pGroups"], meta_struct.pGroups, options); @@ -10885,6 +12341,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindShaderGroupI { const VkBindShaderGroupIndirectCommandNV& decoded_value = *data->decoded_value; const Decoded_VkBindShaderGroupIndirectCommandNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["groupIndex"], decoded_value.groupIndex, options); } } @@ -10895,6 +12353,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindIndexBufferI { const VkBindIndexBufferIndirectCommandNV& decoded_value = *data->decoded_value; const Decoded_VkBindIndexBufferIndirectCommandNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["bufferAddress"], to_hex_variable_width(decoded_value.bufferAddress), options); FieldToJson(jdata["size"], decoded_value.size, options); FieldToJson(jdata["indexType"], decoded_value.indexType, options); @@ -10907,6 +12367,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindVertexBuffer { const VkBindVertexBufferIndirectCommandNV& decoded_value = *data->decoded_value; const Decoded_VkBindVertexBufferIndirectCommandNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["bufferAddress"], to_hex_variable_width(decoded_value.bufferAddress), options); FieldToJson(jdata["size"], decoded_value.size, options); FieldToJson(jdata["stride"], decoded_value.stride, options); @@ -10919,6 +12381,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSetStateFlagsInd { const VkSetStateFlagsIndirectCommandNV& decoded_value = *data->decoded_value; const Decoded_VkSetStateFlagsIndirectCommandNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["data"], decoded_value.data, options); } } @@ -10929,6 +12393,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkIndirectCommands { const VkIndirectCommandsStreamNV& decoded_value = *data->decoded_value; const Decoded_VkIndirectCommandsStreamNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); HandleToJson(jdata["buffer"], meta_struct.buffer, options); FieldToJson(jdata["offset"], decoded_value.offset, options); } @@ -10940,6 +12406,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkIndirectCommands { const VkIndirectCommandsLayoutTokenNV& decoded_value = *data->decoded_value; const Decoded_VkIndirectCommandsLayoutTokenNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["tokenType"], decoded_value.tokenType, options); FieldToJson(jdata["stream"], decoded_value.stream, options); @@ -10964,6 +12432,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkIndirectCommands { const VkIndirectCommandsLayoutCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkIndirectCommandsLayoutCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkIndirectCommandsLayoutUsageFlagsNV_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pipelineBindPoint"], decoded_value.pipelineBindPoint, options); @@ -10981,6 +12451,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGeneratedCommand { const VkGeneratedCommandsInfoNV& decoded_value = *data->decoded_value; const Decoded_VkGeneratedCommandsInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pipelineBindPoint"], decoded_value.pipelineBindPoint, options); HandleToJson(jdata["pipeline"], meta_struct.pipeline, options); @@ -11005,6 +12477,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGeneratedCommand { const VkGeneratedCommandsMemoryRequirementsInfoNV& decoded_value = *data->decoded_value; const Decoded_VkGeneratedCommandsMemoryRequirementsInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pipelineBindPoint"], decoded_value.pipelineBindPoint, options); HandleToJson(jdata["pipeline"], meta_struct.pipeline, options); @@ -11020,6 +12494,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIn { const VkPhysicalDeviceInheritedViewportScissorFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceInheritedViewportScissorFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["inheritedViewportScissor2D"] = static_cast(decoded_value.inheritedViewportScissor2D); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11032,6 +12508,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferInh { const VkCommandBufferInheritanceViewportScissorInfoNV& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferInheritanceViewportScissorInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["viewportScissor2D"] = static_cast(decoded_value.viewportScissor2D); FieldToJson(jdata["viewportDepthCount"], decoded_value.viewportDepthCount, options); @@ -11046,6 +12524,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTe { const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["texelBufferAlignment"] = static_cast(decoded_value.texelBufferAlignment); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11058,6 +12538,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassTransf { const VkRenderPassTransformBeginInfoQCOM& decoded_value = *data->decoded_value; const Decoded_VkRenderPassTransformBeginInfoQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["transform"], decoded_value.transform, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11070,6 +12552,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCommandBufferInh { const VkCommandBufferInheritanceRenderPassTransformInfoQCOM& decoded_value = *data->decoded_value; const Decoded_VkCommandBufferInheritanceRenderPassTransformInfoQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["transform"], decoded_value.transform, options); FieldToJson(jdata["renderArea"], meta_struct.renderArea, options); @@ -11083,6 +12567,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDepthBiasControlFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDepthBiasControlFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["depthBiasControl"] = static_cast(decoded_value.depthBiasControl); jdata["leastRepresentableValueForceUnormRepresentation"] = static_cast(decoded_value.leastRepresentableValueForceUnormRepresentation); @@ -11098,6 +12584,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDepthBiasInfoEXT { const VkDepthBiasInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDepthBiasInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["depthBiasConstantFactor"], decoded_value.depthBiasConstantFactor, options); FieldToJson(jdata["depthBiasClamp"], decoded_value.depthBiasClamp, options); @@ -11112,6 +12600,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDepthBiasReprese { const VkDepthBiasRepresentationInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDepthBiasRepresentationInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["depthBiasRepresentation"], decoded_value.depthBiasRepresentation, options); jdata["depthBiasExact"] = static_cast(decoded_value.depthBiasExact); @@ -11125,6 +12615,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDeviceMemoryReportFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["deviceMemoryReport"] = static_cast(decoded_value.deviceMemoryReport); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11137,6 +12629,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceMemoryRepo { const VkDeviceMemoryReportCallbackDataEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceMemoryReportCallbackDataEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceMemoryReportFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["type"], decoded_value.type, options); @@ -11155,6 +12649,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceDeviceMemo { const VkDeviceDeviceMemoryReportCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceDeviceMemoryReportCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceMemoryReportFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pfnUserCallback"], to_hex_variable_width(meta_struct.pfnUserCallback), options); @@ -11169,6 +12665,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRo { const VkPhysicalDeviceRobustness2FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRobustness2FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["robustBufferAccess2"] = static_cast(decoded_value.robustBufferAccess2); jdata["robustImageAccess2"] = static_cast(decoded_value.robustImageAccess2); @@ -11183,6 +12681,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRo { const VkPhysicalDeviceRobustness2PropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRobustness2PropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["robustStorageBufferAccessSizeAlignment"], decoded_value.robustStorageBufferAccessSizeAlignment, options); FieldToJson(jdata["robustUniformBufferAccessSizeAlignment"], decoded_value.robustUniformBufferAccessSizeAlignment, options); @@ -11196,6 +12696,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSamplerCustomBor { const VkSamplerCustomBorderColorCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSamplerCustomBorderColorCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["customBorderColor"], meta_struct.customBorderColor, options); FieldToJson(jdata["format"], decoded_value.format, options); @@ -11209,6 +12711,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCu { const VkPhysicalDeviceCustomBorderColorPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCustomBorderColorPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxCustomBorderColorSamplers"], decoded_value.maxCustomBorderColorSamplers, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11221,6 +12725,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCu { const VkPhysicalDeviceCustomBorderColorFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceCustomBorderColorFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["customBorderColors"] = static_cast(decoded_value.customBorderColors); jdata["customBorderColorWithoutFormat"] = static_cast(decoded_value.customBorderColorWithoutFormat); @@ -11234,6 +12740,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDevicePresentBarrierFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePresentBarrierFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["presentBarrier"] = static_cast(decoded_value.presentBarrier); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11246,6 +12754,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSurfaceCapabilit { const VkSurfaceCapabilitiesPresentBarrierNV& decoded_value = *data->decoded_value; const Decoded_VkSurfaceCapabilitiesPresentBarrierNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["presentBarrierSupported"] = static_cast(decoded_value.presentBarrierSupported); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11258,6 +12768,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSwapchainPresent { const VkSwapchainPresentBarrierCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkSwapchainPresentBarrierCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["presentBarrierEnable"] = static_cast(decoded_value.presentBarrierEnable); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11270,6 +12782,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDi { const VkPhysicalDeviceDiagnosticsConfigFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDiagnosticsConfigFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["diagnosticsConfig"] = static_cast(decoded_value.diagnosticsConfig); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11282,6 +12796,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceDiagnostic { const VkDeviceDiagnosticsConfigCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkDeviceDiagnosticsConfigCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceDiagnosticsConfigFlagsNV_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11294,6 +12810,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkQueryLowLatencyS { const VkQueryLowLatencySupportNV& decoded_value = *data->decoded_value; const Decoded_VkQueryLowLatencySupportNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pQueriedLowLatencyData"], meta_struct.pQueriedLowLatencyData, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11306,6 +12824,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceGr { const VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["graphicsPipelineLibrary"] = static_cast(decoded_value.graphicsPipelineLibrary); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11318,6 +12838,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceGr { const VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["graphicsPipelineLibraryFastLinking"] = static_cast(decoded_value.graphicsPipelineLibraryFastLinking); jdata["graphicsPipelineLibraryIndependentInterpolationDecoration"] = static_cast(decoded_value.graphicsPipelineLibraryIndependentInterpolationDecoration); @@ -11331,6 +12853,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkGraphicsPipeline { const VkGraphicsPipelineLibraryCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkGraphicsPipelineLibraryCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkGraphicsPipelineLibraryFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11343,6 +12867,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderEarlyAndLateFragmentTests"] = static_cast(decoded_value.shaderEarlyAndLateFragmentTests); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11355,6 +12881,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["fragmentShadingRateEnums"] = static_cast(decoded_value.fragmentShadingRateEnums); jdata["supersampleFragmentShadingRates"] = static_cast(decoded_value.supersampleFragmentShadingRates); @@ -11369,6 +12897,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxFragmentShadingRateInvocationCount"], decoded_value.maxFragmentShadingRateInvocationCount, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11381,6 +12911,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineFragment { const VkPipelineFragmentShadingRateEnumStateCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineFragmentShadingRateEnumStateCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shadingRateType"], decoded_value.shadingRateType, options); FieldToJson(jdata["shadingRate"], decoded_value.shadingRate, options); @@ -11395,6 +12927,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureGeometryMotionTrianglesDataNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureGeometryMotionTrianglesDataNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["vertexData"], meta_struct.vertexData, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11407,6 +12941,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureMotionInfoNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureMotionInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxInstances"], decoded_value.maxInstances, options); FieldToJson(VkAccelerationStructureMotionInfoFlagsNV_t(),jdata["flags"], decoded_value.flags, options); @@ -11420,6 +12956,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureMatrixMotionInstanceNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureMatrixMotionInstanceNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["transformT0"], meta_struct.transformT0, options); FieldToJson(jdata["transformT1"], meta_struct.transformT1, options); FieldToJson(jdata["instanceCustomIndex"], decoded_value.instanceCustomIndex, options); @@ -11436,6 +12974,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSRTDataNV* data, { const VkSRTDataNV& decoded_value = *data->decoded_value; const Decoded_VkSRTDataNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sx"], decoded_value.sx, options); FieldToJson(jdata["a"], decoded_value.a, options); FieldToJson(jdata["b"], decoded_value.b, options); @@ -11461,6 +13001,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureSRTMotionInstanceNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureSRTMotionInstanceNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["transformT0"], meta_struct.transformT0, options); FieldToJson(jdata["transformT1"], meta_struct.transformT1, options); FieldToJson(jdata["instanceCustomIndex"], decoded_value.instanceCustomIndex, options); @@ -11477,6 +13019,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingMotionBlurFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingMotionBlurFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rayTracingMotionBlur"] = static_cast(decoded_value.rayTracingMotionBlur); jdata["rayTracingMotionBlurPipelineTraceRaysIndirect"] = static_cast(decoded_value.rayTracingMotionBlurPipelineTraceRaysIndirect); @@ -11490,6 +13034,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceYc { const VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["ycbcr2plane444Formats"] = static_cast(decoded_value.ycbcr2plane444Formats); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11502,6 +13048,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentDensityMap2FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["fragmentDensityMapDeferred"] = static_cast(decoded_value.fragmentDensityMapDeferred); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11514,6 +13062,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentDensityMap2PropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentDensityMap2PropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["subsampledLoads"] = static_cast(decoded_value.subsampledLoads); jdata["subsampledCoarseReconstructionEarlyAccess"] = static_cast(decoded_value.subsampledCoarseReconstructionEarlyAccess); @@ -11529,6 +13079,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyCommandTrans { const VkCopyCommandTransformInfoQCOM& decoded_value = *data->decoded_value; const Decoded_VkCopyCommandTransformInfoQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["transform"], decoded_value.transform, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11541,6 +13093,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageCompressionControlFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageCompressionControlFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["imageCompressionControl"] = static_cast(decoded_value.imageCompressionControl); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11553,6 +13107,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageCompression { const VkImageCompressionControlEXT& decoded_value = *data->decoded_value; const Decoded_VkImageCompressionControlEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageCompressionFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["compressionControlPlaneCount"], decoded_value.compressionControlPlaneCount, options); @@ -11567,6 +13123,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageCompression { const VkImageCompressionPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkImageCompressionPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkImageCompressionFlagsEXT_t(),jdata["imageCompressionFlags"], decoded_value.imageCompressionFlags, options); FieldToJson(VkImageCompressionFixedRateFlagsEXT_t(),jdata["imageCompressionFixedRateFlags"], decoded_value.imageCompressionFixedRateFlags, options); @@ -11580,6 +13138,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceAt { const VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["attachmentFeedbackLoopLayout"] = static_cast(decoded_value.attachmentFeedbackLoopLayout); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11592,6 +13152,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevice44 { const VkPhysicalDevice4444FormatsFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevice4444FormatsFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["formatA4R4G4B4"] = static_cast(decoded_value.formatA4R4G4B4); jdata["formatA4B4G4R4"] = static_cast(decoded_value.formatA4B4G4R4); @@ -11605,6 +13167,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFa { const VkPhysicalDeviceFaultFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFaultFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["deviceFault"] = static_cast(decoded_value.deviceFault); jdata["deviceFaultVendorBinary"] = static_cast(decoded_value.deviceFaultVendorBinary); @@ -11618,6 +13182,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceFaultCount { const VkDeviceFaultCountsEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceFaultCountsEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["addressInfoCount"], decoded_value.addressInfoCount, options); FieldToJson(jdata["vendorInfoCount"], decoded_value.vendorInfoCount, options); @@ -11632,6 +13198,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceFaultAddre { const VkDeviceFaultAddressInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceFaultAddressInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["addressType"], decoded_value.addressType, options); FieldToJson(jdata["reportedAddress"], to_hex_variable_width(decoded_value.reportedAddress), options); FieldToJson(jdata["addressPrecision"], decoded_value.addressPrecision, options); @@ -11644,6 +13212,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceFaultVendo { const VkDeviceFaultVendorInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceFaultVendorInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["description"], &meta_struct.description, options); FieldToJson(jdata["vendorFaultCode"], decoded_value.vendorFaultCode, options); FieldToJson(jdata["vendorFaultData"], decoded_value.vendorFaultData, options); @@ -11656,6 +13226,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceFaultInfoE { const VkDeviceFaultInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceFaultInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["description"], &meta_struct.description, options); FieldToJson(jdata["pAddressInfos"], meta_struct.pAddressInfos, options); @@ -11671,6 +13243,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceFaultVendo { const VkDeviceFaultVendorBinaryHeaderVersionOneEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceFaultVendorBinaryHeaderVersionOneEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["headerSize"], decoded_value.headerSize, options); FieldToJson(jdata["headerVersion"], decoded_value.headerVersion, options); FieldToJson(jdata["vendorID"], decoded_value.vendorID, options); @@ -11691,6 +13265,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rasterizationOrderColorAttachmentAccess"] = static_cast(decoded_value.rasterizationOrderColorAttachmentAccess); jdata["rasterizationOrderDepthAttachmentAccess"] = static_cast(decoded_value.rasterizationOrderDepthAttachmentAccess); @@ -11705,6 +13281,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRG { const VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["formatRgba10x6WithoutYCbCrSampler"] = static_cast(decoded_value.formatRgba10x6WithoutYCbCrSampler); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11717,6 +13295,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDirectFBSurfaceC { const VkDirectFBSurfaceCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkDirectFBSurfaceCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDirectFBSurfaceCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["dfb"], meta_struct.dfb, options); @@ -11731,6 +13311,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["mutableDescriptorType"] = static_cast(decoded_value.mutableDescriptorType); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11743,6 +13325,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMutableDescripto { const VkMutableDescriptorTypeListEXT& decoded_value = *data->decoded_value; const Decoded_VkMutableDescriptorTypeListEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["descriptorTypeCount"], decoded_value.descriptorTypeCount, options); FieldToJson(jdata["pDescriptorTypes"], meta_struct.pDescriptorTypes, options); } @@ -11754,6 +13338,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMutableDescripto { const VkMutableDescriptorTypeCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMutableDescriptorTypeCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["mutableDescriptorTypeListCount"], decoded_value.mutableDescriptorTypeListCount, options); FieldToJson(jdata["pMutableDescriptorTypeLists"], meta_struct.pMutableDescriptorTypeLists, options); @@ -11767,6 +13353,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceVe { const VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["vertexInputDynamicState"] = static_cast(decoded_value.vertexInputDynamicState); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11779,6 +13367,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVertexInputBindi { const VkVertexInputBindingDescription2EXT& decoded_value = *data->decoded_value; const Decoded_VkVertexInputBindingDescription2EXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["binding"], decoded_value.binding, options); FieldToJson(jdata["stride"], decoded_value.stride, options); @@ -11794,6 +13384,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkVertexInputAttri { const VkVertexInputAttributeDescription2EXT& decoded_value = *data->decoded_value; const Decoded_VkVertexInputAttributeDescription2EXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["location"], decoded_value.location, options); FieldToJson(jdata["binding"], decoded_value.binding, options); @@ -11809,6 +13401,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDr { const VkPhysicalDeviceDrmPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDrmPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["hasPrimary"] = static_cast(decoded_value.hasPrimary); jdata["hasRender"] = static_cast(decoded_value.hasRender); @@ -11826,6 +13420,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceAd { const VkPhysicalDeviceAddressBindingReportFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceAddressBindingReportFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["reportAddressBinding"] = static_cast(decoded_value.reportAddressBinding); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11838,6 +13434,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDeviceAddressBin { const VkDeviceAddressBindingCallbackDataEXT& decoded_value = *data->decoded_value; const Decoded_VkDeviceAddressBindingCallbackDataEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDeviceAddressBindingFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["baseAddress"], to_hex_variable_width(decoded_value.baseAddress), options); @@ -11853,6 +13451,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDepthClipControlFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDepthClipControlFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["depthClipControl"] = static_cast(decoded_value.depthClipControl); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11865,6 +13465,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineViewport { const VkPipelineViewportDepthClipControlCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineViewportDepthClipControlCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["negativeOneToOne"] = static_cast(decoded_value.negativeOneToOne); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11877,6 +13479,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["primitiveTopologyListRestart"] = static_cast(decoded_value.primitiveTopologyListRestart); jdata["primitiveTopologyPatchListRestart"] = static_cast(decoded_value.primitiveTopologyPatchListRestart); @@ -11890,6 +13494,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportMemoryZirc { const VkImportMemoryZirconHandleInfoFUCHSIA& decoded_value = *data->decoded_value; const Decoded_VkImportMemoryZirconHandleInfoFUCHSIA& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); FieldToJson(jdata["handle"], decoded_value.handle, options); @@ -11903,6 +13509,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryZirconHand { const VkMemoryZirconHandlePropertiesFUCHSIA& decoded_value = *data->decoded_value; const Decoded_VkMemoryZirconHandlePropertiesFUCHSIA& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["memoryTypeBits"], decoded_value.memoryTypeBits, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11915,6 +13523,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryGetZirconH { const VkMemoryGetZirconHandleInfoFUCHSIA& decoded_value = *data->decoded_value; const Decoded_VkMemoryGetZirconHandleInfoFUCHSIA& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["memory"], meta_struct.memory, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -11928,6 +13538,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImportSemaphoreZ { const VkImportSemaphoreZirconHandleInfoFUCHSIA& decoded_value = *data->decoded_value; const Decoded_VkImportSemaphoreZirconHandleInfoFUCHSIA& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(VkSemaphoreImportFlags_t(),jdata["flags"], decoded_value.flags, options); @@ -11943,6 +13555,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSemaphoreGetZirc { const VkSemaphoreGetZirconHandleInfoFUCHSIA& decoded_value = *data->decoded_value; const Decoded_VkSemaphoreGetZirconHandleInfoFUCHSIA& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["semaphore"], meta_struct.semaphore, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -11956,6 +13570,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIn { const VkPhysicalDeviceInvocationMaskFeaturesHUAWEI& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceInvocationMaskFeaturesHUAWEI& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["invocationMask"] = static_cast(decoded_value.invocationMask); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11968,6 +13584,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMemoryGetRemoteA { const VkMemoryGetRemoteAddressInfoNV& decoded_value = *data->decoded_value; const Decoded_VkMemoryGetRemoteAddressInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["memory"], meta_struct.memory, options); FieldToJson(jdata["handleType"], decoded_value.handleType, options); @@ -11981,6 +13599,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExternalMemoryRDMAFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExternalMemoryRDMAFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["externalMemoryRDMA"] = static_cast(decoded_value.externalMemoryRDMA); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -11993,6 +13613,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["multisampledRenderToSingleSampled"] = static_cast(decoded_value.multisampledRenderToSingleSampled); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12005,6 +13627,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassResolvePe { const VkSubpassResolvePerformanceQueryEXT& decoded_value = *data->decoded_value; const Decoded_VkSubpassResolvePerformanceQueryEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["optimal"] = static_cast(decoded_value.optimal); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12017,6 +13641,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMultisampledRend { const VkMultisampledRenderToSingleSampledInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMultisampledRenderToSingleSampledInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["multisampledRenderToSingleSampledEnable"] = static_cast(decoded_value.multisampledRenderToSingleSampledEnable); FieldToJson(jdata["rasterizationSamples"], decoded_value.rasterizationSamples, options); @@ -12030,6 +13656,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExtendedDynamicState2FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["extendedDynamicState2"] = static_cast(decoded_value.extendedDynamicState2); jdata["extendedDynamicState2LogicOp"] = static_cast(decoded_value.extendedDynamicState2LogicOp); @@ -12044,6 +13672,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkScreenSurfaceCre { const VkScreenSurfaceCreateInfoQNX& decoded_value = *data->decoded_value; const Decoded_VkScreenSurfaceCreateInfoQNX& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkScreenSurfaceCreateFlagsQNX_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["context"], meta_struct.context, options); @@ -12058,6 +13688,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCo { const VkPhysicalDeviceColorWriteEnableFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceColorWriteEnableFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["colorWriteEnable"] = static_cast(decoded_value.colorWriteEnable); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12070,6 +13702,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineColorWri { const VkPipelineColorWriteCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineColorWriteCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["attachmentCount"], decoded_value.attachmentCount, options); VkBool32ToJson(jdata["pColorWriteEnables"], &meta_struct.pColorWriteEnables); @@ -12083,6 +13717,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePr { const VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["primitivesGeneratedQuery"] = static_cast(decoded_value.primitivesGeneratedQuery); jdata["primitivesGeneratedQueryWithRasterizerDiscard"] = static_cast(decoded_value.primitivesGeneratedQueryWithRasterizerDiscard); @@ -12097,6 +13733,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageViewMinLodFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageViewMinLodFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["minLod"] = static_cast(decoded_value.minLod); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12109,6 +13747,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewMinLodC { const VkImageViewMinLodCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkImageViewMinLodCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["minLod"], decoded_value.minLod, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12121,6 +13761,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultiDrawFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultiDrawFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["multiDraw"] = static_cast(decoded_value.multiDraw); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12133,6 +13775,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultiDrawPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultiDrawPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxMultiDrawCount"], decoded_value.maxMultiDrawCount, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12145,6 +13789,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMultiDrawInfoEXT { const VkMultiDrawInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMultiDrawInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["firstVertex"], decoded_value.firstVertex, options); FieldToJson(jdata["vertexCount"], decoded_value.vertexCount, options); } @@ -12156,6 +13802,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMultiDrawIndexed { const VkMultiDrawIndexedInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMultiDrawIndexedInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["firstIndex"], decoded_value.firstIndex, options); FieldToJson(jdata["indexCount"], decoded_value.indexCount, options); FieldToJson(jdata["vertexOffset"], decoded_value.vertexOffset, options); @@ -12168,6 +13816,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImage2DViewOf3DFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImage2DViewOf3DFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["image2DViewOf3D"] = static_cast(decoded_value.image2DViewOf3D); jdata["sampler2DViewOf3D"] = static_cast(decoded_value.sampler2DViewOf3D); @@ -12181,6 +13831,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderTileImageFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderTileImageFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderTileImageColorReadAccess"] = static_cast(decoded_value.shaderTileImageColorReadAccess); jdata["shaderTileImageDepthReadAccess"] = static_cast(decoded_value.shaderTileImageDepthReadAccess); @@ -12195,6 +13847,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderTileImagePropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderTileImagePropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderTileImageCoherentReadAccelerated"] = static_cast(decoded_value.shaderTileImageCoherentReadAccelerated); jdata["shaderTileImageReadSampleFromPixelRateInvocation"] = static_cast(decoded_value.shaderTileImageReadSampleFromPixelRateInvocation); @@ -12209,6 +13863,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMicromapUsageEXT { const VkMicromapUsageEXT& decoded_value = *data->decoded_value; const Decoded_VkMicromapUsageEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["count"], decoded_value.count, options); FieldToJson(jdata["subdivisionLevel"], decoded_value.subdivisionLevel, options); FieldToJson(jdata["format"], decoded_value.format, options); @@ -12221,6 +13877,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMicromapBuildInf { const VkMicromapBuildInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMicromapBuildInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); FieldToJson(VkBuildMicromapFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); @@ -12243,6 +13901,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMicromapCreateIn { const VkMicromapCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMicromapCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkMicromapCreateFlagsEXT_t(),jdata["createFlags"], decoded_value.createFlags, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); @@ -12260,6 +13920,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceOp { const VkPhysicalDeviceOpacityMicromapFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceOpacityMicromapFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["micromap"] = static_cast(decoded_value.micromap); jdata["micromapCaptureReplay"] = static_cast(decoded_value.micromapCaptureReplay); @@ -12274,6 +13936,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceOp { const VkPhysicalDeviceOpacityMicromapPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceOpacityMicromapPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxOpacity2StateSubdivisionLevel"], decoded_value.maxOpacity2StateSubdivisionLevel, options); FieldToJson(jdata["maxOpacity4StateSubdivisionLevel"], decoded_value.maxOpacity4StateSubdivisionLevel, options); @@ -12287,6 +13951,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMicromapVersionI { const VkMicromapVersionInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMicromapVersionInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pVersionData"], meta_struct.pVersionData, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12299,6 +13965,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyMicromapToMe { const VkCopyMicromapToMemoryInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCopyMicromapToMemoryInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["src"], meta_struct.src, options); FieldToJson(jdata["dst"], meta_struct.dst, options); @@ -12313,6 +13981,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyMemoryToMicr { const VkCopyMemoryToMicromapInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCopyMemoryToMicromapInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["src"], meta_struct.src, options); HandleToJson(jdata["dst"], meta_struct.dst, options); @@ -12327,6 +13997,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyMicromapInfo { const VkCopyMicromapInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkCopyMicromapInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["src"], meta_struct.src, options); HandleToJson(jdata["dst"], meta_struct.dst, options); @@ -12341,6 +14013,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMicromapBuildSiz { const VkMicromapBuildSizesInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkMicromapBuildSizesInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["micromapSize"], decoded_value.micromapSize, options); FieldToJson(jdata["buildScratchSize"], decoded_value.buildScratchSize, options); @@ -12355,6 +14029,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureTrianglesOpacityMicromapEXT& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureTrianglesOpacityMicromapEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["indexType"], decoded_value.indexType, options); FieldToJson(jdata["indexBuffer"], meta_struct.indexBuffer, options); @@ -12374,6 +14050,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMicromapTriangle { const VkMicromapTriangleEXT& decoded_value = *data->decoded_value; const Decoded_VkMicromapTriangleEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["dataOffset"], decoded_value.dataOffset, options); FieldToJson(jdata["subdivisionLevel"], decoded_value.subdivisionLevel, options); FieldToJson(jdata["format"], decoded_value.format, options); @@ -12386,6 +14064,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDi { const VkPhysicalDeviceDisplacementMicromapFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDisplacementMicromapFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["displacementMicromap"] = static_cast(decoded_value.displacementMicromap); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12398,6 +14078,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDi { const VkPhysicalDeviceDisplacementMicromapPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDisplacementMicromapPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxDisplacementMicromapSubdivisionLevel"], decoded_value.maxDisplacementMicromapSubdivisionLevel, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12410,6 +14092,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureTrianglesDisplacementMicromapNV& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureTrianglesDisplacementMicromapNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["displacementBiasAndScaleFormat"], decoded_value.displacementBiasAndScaleFormat, options); FieldToJson(jdata["displacementVectorFormat"], decoded_value.displacementVectorFormat, options); @@ -12437,6 +14121,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCl { const VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["clustercullingShader"] = static_cast(decoded_value.clustercullingShader); jdata["multiviewClusterCullingShader"] = static_cast(decoded_value.multiviewClusterCullingShader); @@ -12450,6 +14136,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceCl { const VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxWorkGroupCount"], &meta_struct.maxWorkGroupCount, options); FieldToJson(jdata["maxWorkGroupSize"], &meta_struct.maxWorkGroupSize, options); @@ -12465,6 +14153,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceBo { const VkPhysicalDeviceBorderColorSwizzleFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceBorderColorSwizzleFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["borderColorSwizzle"] = static_cast(decoded_value.borderColorSwizzle); jdata["borderColorSwizzleFromImage"] = static_cast(decoded_value.borderColorSwizzleFromImage); @@ -12478,6 +14168,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSamplerBorderCol { const VkSamplerBorderColorComponentMappingCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkSamplerBorderColorComponentMappingCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["components"], meta_struct.components, options); jdata["srgb"] = static_cast(decoded_value.srgb); @@ -12491,6 +14183,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePa { const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["pageableDeviceLocalMemory"] = static_cast(decoded_value.pageableDeviceLocalMemory); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12503,6 +14197,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderCorePropertiesARM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderCorePropertiesARM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pixelRate"], decoded_value.pixelRate, options); FieldToJson(jdata["texelRate"], decoded_value.texelRate, options); @@ -12517,6 +14213,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["imageSlicedViewOf3D"] = static_cast(decoded_value.imageSlicedViewOf3D); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12529,6 +14227,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewSlicedC { const VkImageViewSlicedCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkImageViewSlicedCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["sliceOffset"], decoded_value.sliceOffset, options); FieldToJson(jdata["sliceCount"], decoded_value.sliceCount, options); @@ -12542,6 +14242,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["descriptorSetHostMapping"] = static_cast(decoded_value.descriptorSetHostMapping); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12554,6 +14256,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetBin { const VkDescriptorSetBindingReferenceVALVE& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetBindingReferenceVALVE& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["descriptorSetLayout"], meta_struct.descriptorSetLayout, options); FieldToJson(jdata["binding"], decoded_value.binding, options); @@ -12567,6 +14271,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDescriptorSetLay { const VkDescriptorSetLayoutHostMappingInfoVALVE& decoded_value = *data->decoded_value; const Decoded_VkDescriptorSetLayoutHostMappingInfoVALVE& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["descriptorOffset"], decoded_value.descriptorOffset, options); FieldToJson(jdata["descriptorSize"], decoded_value.descriptorSize, options); @@ -12580,6 +14286,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDepthClampZeroOneFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDepthClampZeroOneFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["depthClampZeroOne"] = static_cast(decoded_value.depthClampZeroOne); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12592,6 +14300,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceNo { const VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["nonSeamlessCubeMap"] = static_cast(decoded_value.nonSeamlessCubeMap); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12604,6 +14314,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["fragmentDensityMapOffset"] = static_cast(decoded_value.fragmentDensityMapOffset); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12616,6 +14328,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceFr { const VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["fragmentDensityOffsetGranularity"], meta_struct.fragmentDensityOffsetGranularity, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12628,6 +14342,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSubpassFragmentD { const VkSubpassFragmentDensityMapOffsetEndInfoQCOM& decoded_value = *data->decoded_value; const Decoded_VkSubpassFragmentDensityMapOffsetEndInfoQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["fragmentDensityOffsetCount"], decoded_value.fragmentDensityOffsetCount, options); FieldToJson(jdata["pFragmentDensityOffsets"], meta_struct.pFragmentDensityOffsets, options); @@ -12641,6 +14357,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDe { const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["deviceGeneratedCompute"] = static_cast(decoded_value.deviceGeneratedCompute); jdata["deviceGeneratedComputePipelines"] = static_cast(decoded_value.deviceGeneratedComputePipelines); @@ -12655,6 +14373,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkComputePipelineI { const VkComputePipelineIndirectBufferInfoNV& decoded_value = *data->decoded_value; const Decoded_VkComputePipelineIndirectBufferInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["deviceAddress"], to_hex_variable_width(decoded_value.deviceAddress), options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -12669,6 +14389,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineIndirect { const VkPipelineIndirectDeviceAddressInfoNV& decoded_value = *data->decoded_value; const Decoded_VkPipelineIndirectDeviceAddressInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pipelineBindPoint"], decoded_value.pipelineBindPoint, options); HandleToJson(jdata["pipeline"], meta_struct.pipeline, options); @@ -12682,6 +14404,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindPipelineIndi { const VkBindPipelineIndirectCommandNV& decoded_value = *data->decoded_value; const Decoded_VkBindPipelineIndirectCommandNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["pipelineAddress"], to_hex_variable_width(decoded_value.pipelineAddress), options); } } @@ -12692,6 +14416,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLi { const VkPhysicalDeviceLinearColorAttachmentFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceLinearColorAttachmentFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["linearColorAttachment"] = static_cast(decoded_value.linearColorAttachment); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12704,6 +14430,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["imageCompressionControlSwapchain"] = static_cast(decoded_value.imageCompressionControlSwapchain); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12716,6 +14444,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageViewSampleW { const VkImageViewSampleWeightCreateInfoQCOM& decoded_value = *data->decoded_value; const Decoded_VkImageViewSampleWeightCreateInfoQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["filterCenter"], meta_struct.filterCenter, options); FieldToJson(jdata["filterSize"], meta_struct.filterSize, options); @@ -12730,6 +14460,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageProcessingFeaturesQCOM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageProcessingFeaturesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["textureSampleWeighted"] = static_cast(decoded_value.textureSampleWeighted); jdata["textureBoxFilter"] = static_cast(decoded_value.textureBoxFilter); @@ -12744,6 +14476,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceIm { const VkPhysicalDeviceImageProcessingPropertiesQCOM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceImageProcessingPropertiesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxWeightFilterPhases"], decoded_value.maxWeightFilterPhases, options); FieldToJson(jdata["maxWeightFilterDimension"], meta_struct.maxWeightFilterDimension, options); @@ -12759,6 +14493,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkExternalMemoryAc { const VkExternalMemoryAcquireUnmodifiedEXT& decoded_value = *data->decoded_value; const Decoded_VkExternalMemoryAcquireUnmodifiedEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["acquireUnmodifiedMemory"] = static_cast(decoded_value.acquireUnmodifiedMemory); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12771,6 +14507,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExtendedDynamicState3FeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExtendedDynamicState3FeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["extendedDynamicState3TessellationDomainOrigin"] = static_cast(decoded_value.extendedDynamicState3TessellationDomainOrigin); jdata["extendedDynamicState3DepthClampEnable"] = static_cast(decoded_value.extendedDynamicState3DepthClampEnable); @@ -12813,6 +14551,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx { const VkPhysicalDeviceExtendedDynamicState3PropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceExtendedDynamicState3PropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["dynamicPrimitiveTopologyUnrestricted"] = static_cast(decoded_value.dynamicPrimitiveTopologyUnrestricted); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12825,6 +14565,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkColorBlendEquati { const VkColorBlendEquationEXT& decoded_value = *data->decoded_value; const Decoded_VkColorBlendEquationEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["srcColorBlendFactor"], decoded_value.srcColorBlendFactor, options); FieldToJson(jdata["dstColorBlendFactor"], decoded_value.dstColorBlendFactor, options); FieldToJson(jdata["colorBlendOp"], decoded_value.colorBlendOp, options); @@ -12840,6 +14582,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkColorBlendAdvanc { const VkColorBlendAdvancedEXT& decoded_value = *data->decoded_value; const Decoded_VkColorBlendAdvancedEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["advancedBlendOp"], decoded_value.advancedBlendOp, options); jdata["srcPremultiplied"] = static_cast(decoded_value.srcPremultiplied); jdata["dstPremultiplied"] = static_cast(decoded_value.dstPremultiplied); @@ -12854,6 +14598,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSu { const VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["subpassMergeFeedback"] = static_cast(decoded_value.subpassMergeFeedback); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12866,6 +14612,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassCreati { const VkRenderPassCreationControlEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderPassCreationControlEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["disallowMerging"] = static_cast(decoded_value.disallowMerging); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12878,6 +14626,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassCreati { const VkRenderPassCreationFeedbackInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderPassCreationFeedbackInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["postMergeSubpassCount"], decoded_value.postMergeSubpassCount, options); } } @@ -12888,6 +14638,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassCreati { const VkRenderPassCreationFeedbackCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderPassCreationFeedbackCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pRenderPassFeedback"], meta_struct.pRenderPassFeedback, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12900,6 +14652,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassSubpas { const VkRenderPassSubpassFeedbackInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderPassSubpassFeedbackInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["subpassMergeStatus"], decoded_value.subpassMergeStatus, options); FieldToJson(jdata["description"], &meta_struct.description, options); FieldToJson(jdata["postMergeIndex"], decoded_value.postMergeIndex, options); @@ -12912,6 +14666,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRenderPassSubpas { const VkRenderPassSubpassFeedbackCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkRenderPassSubpassFeedbackCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pSubpassFeedback"], meta_struct.pSubpassFeedback, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12924,6 +14680,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDirectDriverLoad { const VkDirectDriverLoadingInfoLUNARG& decoded_value = *data->decoded_value; const Decoded_VkDirectDriverLoadingInfoLUNARG& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkDirectDriverLoadingFlagsLUNARG_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["pfnGetInstanceProcAddr"], to_hex_variable_width(meta_struct.pfnGetInstanceProcAddr), options); @@ -12937,6 +14695,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDirectDriverLoad { const VkDirectDriverLoadingListLUNARG& decoded_value = *data->decoded_value; const Decoded_VkDirectDriverLoadingListLUNARG& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["mode"], decoded_value.mode, options); FieldToJson(jdata["driverCount"], decoded_value.driverCount, options); @@ -12951,6 +14711,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderModuleIdentifier"] = static_cast(decoded_value.shaderModuleIdentifier); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12963,6 +14725,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shaderModuleIdentifierAlgorithmUUID"], uuid_to_string(sizeof(decoded_value.shaderModuleIdentifierAlgorithmUUID), decoded_value.shaderModuleIdentifierAlgorithmUUID), options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -12975,6 +14739,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineShaderSt { const VkPipelineShaderStageModuleIdentifierCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkPipelineShaderStageModuleIdentifierCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["identifierSize"], decoded_value.identifierSize, options); FieldToJson(jdata["pIdentifier"], meta_struct.pIdentifier, options); @@ -12988,6 +14754,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkShaderModuleIden { const VkShaderModuleIdentifierEXT& decoded_value = *data->decoded_value; const Decoded_VkShaderModuleIdentifierEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["identifierSize"], decoded_value.identifierSize, options); FieldToJson(jdata["identifier"], &meta_struct.identifier, options); @@ -13001,6 +14769,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceOp { const VkPhysicalDeviceOpticalFlowFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceOpticalFlowFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["opticalFlow"] = static_cast(decoded_value.opticalFlow); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13013,6 +14783,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceOp { const VkPhysicalDeviceOpticalFlowPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceOpticalFlowPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkOpticalFlowGridSizeFlagsNV_t(),jdata["supportedOutputGridSizes"], decoded_value.supportedOutputGridSizes, options); FieldToJson(VkOpticalFlowGridSizeFlagsNV_t(),jdata["supportedHintGridSizes"], decoded_value.supportedHintGridSizes, options); @@ -13035,6 +14807,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkOpticalFlowImage { const VkOpticalFlowImageFormatInfoNV& decoded_value = *data->decoded_value; const Decoded_VkOpticalFlowImageFormatInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkOpticalFlowUsageFlagsNV_t(),jdata["usage"], decoded_value.usage, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13047,6 +14821,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkOpticalFlowImage { const VkOpticalFlowImageFormatPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkOpticalFlowImageFormatPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["format"], decoded_value.format, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13059,6 +14835,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkOpticalFlowSessi { const VkOpticalFlowSessionCreateInfoNV& decoded_value = *data->decoded_value; const Decoded_VkOpticalFlowSessionCreateInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["width"], decoded_value.width, options); FieldToJson(jdata["height"], decoded_value.height, options); @@ -13079,6 +14857,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkOpticalFlowSessi { const VkOpticalFlowSessionCreatePrivateDataInfoNV& decoded_value = *data->decoded_value; const Decoded_VkOpticalFlowSessionCreatePrivateDataInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["id"], decoded_value.id, options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -13093,6 +14873,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkOpticalFlowExecu { const VkOpticalFlowExecuteInfoNV& decoded_value = *data->decoded_value; const Decoded_VkOpticalFlowExecuteInfoNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkOpticalFlowExecuteFlagsNV_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["regionCount"], decoded_value.regionCount, options); @@ -13107,6 +14889,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLe { const VkPhysicalDeviceLegacyDitheringFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceLegacyDitheringFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["legacyDithering"] = static_cast(decoded_value.legacyDithering); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13119,6 +14903,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePi { const VkPhysicalDevicePipelineProtectedAccessFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePipelineProtectedAccessFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["pipelineProtectedAccess"] = static_cast(decoded_value.pipelineProtectedAccess); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13131,6 +14917,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderObjectFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderObjectFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderObject"] = static_cast(decoded_value.shaderObject); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13143,6 +14931,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderObjectPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderObjectPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shaderBinaryUUID"], uuid_to_string(sizeof(decoded_value.shaderBinaryUUID), decoded_value.shaderBinaryUUID), options); FieldToJson(jdata["shaderBinaryVersion"], decoded_value.shaderBinaryVersion, options); @@ -13156,6 +14946,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkShaderCreateInfo { const VkShaderCreateInfoEXT& decoded_value = *data->decoded_value; const Decoded_VkShaderCreateInfoEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkShaderCreateFlagsEXT_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["stage"], decoded_value.stage, options); @@ -13179,6 +14971,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceTi { const VkPhysicalDeviceTilePropertiesFeaturesQCOM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceTilePropertiesFeaturesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["tileProperties"] = static_cast(decoded_value.tileProperties); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13191,6 +14985,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkTilePropertiesQC { const VkTilePropertiesQCOM& decoded_value = *data->decoded_value; const Decoded_VkTilePropertiesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["tileSize"], meta_struct.tileSize, options); FieldToJson(jdata["apronSize"], meta_struct.apronSize, options); @@ -13205,6 +15001,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceAm { const VkPhysicalDeviceAmigoProfilingFeaturesSEC& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceAmigoProfilingFeaturesSEC& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["amigoProfiling"] = static_cast(decoded_value.amigoProfiling); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13217,6 +15015,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAmigoProfilingSu { const VkAmigoProfilingSubmitInfoSEC& decoded_value = *data->decoded_value; const Decoded_VkAmigoProfilingSubmitInfoSEC& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["firstDrawTimestamp"], decoded_value.firstDrawTimestamp, options); FieldToJson(jdata["swapBufferTimestamp"], decoded_value.swapBufferTimestamp, options); @@ -13230,6 +15030,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["multiviewPerViewViewports"] = static_cast(decoded_value.multiviewPerViewViewports); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13242,6 +15044,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["rayTracingInvocationReorderReorderingHint"], decoded_value.rayTracingInvocationReorderReorderingHint, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13254,6 +15058,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rayTracingInvocationReorder"] = static_cast(decoded_value.rayTracingInvocationReorder); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13266,6 +15072,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["shaderCoreBuiltins"] = static_cast(decoded_value.shaderCoreBuiltins); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13278,6 +15086,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh { const VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shaderCoreMask"], decoded_value.shaderCoreMask, options); FieldToJson(jdata["shaderCoreCount"], decoded_value.shaderCoreCount, options); @@ -13292,6 +15102,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDevicePi { const VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["pipelineLibraryGroupHandles"] = static_cast(decoded_value.pipelineLibraryGroupHandles); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13304,6 +15116,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDy { const VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["dynamicRenderingUnusedAttachments"] = static_cast(decoded_value.dynamicRenderingUnusedAttachments); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13316,6 +15130,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMu { const VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["multiviewPerViewRenderAreas"] = static_cast(decoded_value.multiviewPerViewRenderAreas); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13328,6 +15144,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkMultiviewPerView { const VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM& decoded_value = *data->decoded_value; const Decoded_VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["perViewRenderAreaCount"], decoded_value.perViewRenderAreaCount, options); FieldToJson(jdata["pPerViewRenderAreas"], meta_struct.pPerViewRenderAreas, options); @@ -13341,6 +15159,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceAt { const VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["attachmentFeedbackLoopDynamicState"] = static_cast(decoded_value.attachmentFeedbackLoopDynamicState); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13353,6 +15173,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureBuildRangeInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureBuildRangeInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["primitiveCount"], decoded_value.primitiveCount, options); FieldToJson(jdata["primitiveOffset"], decoded_value.primitiveOffset, options); FieldToJson(jdata["firstVertex"], decoded_value.firstVertex, options); @@ -13366,6 +15188,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureGeometryTrianglesDataKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureGeometryTrianglesDataKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["vertexFormat"], decoded_value.vertexFormat, options); FieldToJson(jdata["vertexData"], meta_struct.vertexData, options); @@ -13384,6 +15208,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureGeometryAabbsDataKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureGeometryAabbsDataKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["data"], meta_struct.data, options); FieldToJson(jdata["stride"], decoded_value.stride, options); @@ -13397,6 +15223,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureGeometryInstancesDataKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureGeometryInstancesDataKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["arrayOfPointers"] = static_cast(decoded_value.arrayOfPointers); FieldToJson(jdata["data"], meta_struct.data, options); @@ -13410,6 +15238,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureBuildGeometryInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureBuildGeometryInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); FieldToJson(VkBuildAccelerationStructureFlagsKHR_t(),jdata["flags"], decoded_value.flags, options); @@ -13430,6 +15260,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkAccelerationStructureCreateFlagsKHR_t(),jdata["createFlags"], decoded_value.createFlags, options); HandleToJson(jdata["buffer"], meta_struct.buffer, options); @@ -13447,6 +15279,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkWriteDescriptorS { const VkWriteDescriptorSetAccelerationStructureKHR& decoded_value = *data->decoded_value; const Decoded_VkWriteDescriptorSetAccelerationStructureKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["accelerationStructureCount"], decoded_value.accelerationStructureCount, options); HandleToJson(jdata["pAccelerationStructures"], &meta_struct.pAccelerationStructures, options); @@ -13460,6 +15294,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceAc { const VkPhysicalDeviceAccelerationStructureFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceAccelerationStructureFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["accelerationStructure"] = static_cast(decoded_value.accelerationStructure); jdata["accelerationStructureCaptureReplay"] = static_cast(decoded_value.accelerationStructureCaptureReplay); @@ -13476,6 +15312,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceAc { const VkPhysicalDeviceAccelerationStructurePropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceAccelerationStructurePropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxGeometryCount"], decoded_value.maxGeometryCount, options); FieldToJson(jdata["maxInstanceCount"], decoded_value.maxInstanceCount, options); @@ -13495,6 +15333,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureDeviceAddressInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureDeviceAddressInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["accelerationStructure"], meta_struct.accelerationStructure, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13507,6 +15347,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureVersionInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureVersionInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["pVersionData"], meta_struct.pVersionData, options); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13519,6 +15361,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyAcceleration { const VkCopyAccelerationStructureToMemoryInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkCopyAccelerationStructureToMemoryInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["src"], meta_struct.src, options); FieldToJson(jdata["dst"], meta_struct.dst, options); @@ -13533,6 +15377,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyMemoryToAcce { const VkCopyMemoryToAccelerationStructureInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkCopyMemoryToAccelerationStructureInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["src"], meta_struct.src, options); HandleToJson(jdata["dst"], meta_struct.dst, options); @@ -13547,6 +15393,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkCopyAcceleration { const VkCopyAccelerationStructureInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkCopyAccelerationStructureInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); HandleToJson(jdata["src"], meta_struct.src, options); HandleToJson(jdata["dst"], meta_struct.dst, options); @@ -13561,6 +15409,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStru { const VkAccelerationStructureBuildSizesInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkAccelerationStructureBuildSizesInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["accelerationStructureSize"], decoded_value.accelerationStructureSize, options); FieldToJson(jdata["updateScratchSize"], decoded_value.updateScratchSize, options); @@ -13575,6 +15425,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRayTracingShader { const VkRayTracingShaderGroupCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkRayTracingShaderGroupCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["type"], decoded_value.type, options); FieldToJson(jdata["generalShader"], decoded_value.generalShader, options); @@ -13592,6 +15444,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRayTracingPipeli { const VkRayTracingPipelineInterfaceCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkRayTracingPipelineInterfaceCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxPipelineRayPayloadSize"], decoded_value.maxPipelineRayPayloadSize, options); FieldToJson(jdata["maxPipelineRayHitAttributeSize"], decoded_value.maxPipelineRayHitAttributeSize, options); @@ -13605,6 +15459,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkRayTracingPipeli { const VkRayTracingPipelineCreateInfoKHR& decoded_value = *data->decoded_value; const Decoded_VkRayTracingPipelineCreateInfoKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(VkPipelineCreateFlags_t(),jdata["flags"], decoded_value.flags, options); FieldToJson(jdata["stageCount"], decoded_value.stageCount, options); @@ -13628,6 +15484,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingPipelineFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingPipelineFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rayTracingPipeline"] = static_cast(decoded_value.rayTracingPipeline); jdata["rayTracingPipelineShaderGroupHandleCaptureReplay"] = static_cast(decoded_value.rayTracingPipelineShaderGroupHandleCaptureReplay); @@ -13644,6 +15502,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayTracingPipelinePropertiesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayTracingPipelinePropertiesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["shaderGroupHandleSize"], decoded_value.shaderGroupHandleSize, options); FieldToJson(jdata["maxRayRecursionDepth"], decoded_value.maxRayRecursionDepth, options); @@ -13663,6 +15523,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkStridedDeviceAdd { const VkStridedDeviceAddressRegionKHR& decoded_value = *data->decoded_value; const Decoded_VkStridedDeviceAddressRegionKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["deviceAddress"], to_hex_variable_width(decoded_value.deviceAddress), options); FieldToJson(jdata["stride"], decoded_value.stride, options); FieldToJson(jdata["size"], decoded_value.size, options); @@ -13675,6 +15537,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkTraceRaysIndirec { const VkTraceRaysIndirectCommandKHR& decoded_value = *data->decoded_value; const Decoded_VkTraceRaysIndirectCommandKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["width"], decoded_value.width, options); FieldToJson(jdata["height"], decoded_value.height, options); FieldToJson(jdata["depth"], decoded_value.depth, options); @@ -13687,6 +15551,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa { const VkPhysicalDeviceRayQueryFeaturesKHR& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceRayQueryFeaturesKHR& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["rayQuery"] = static_cast(decoded_value.rayQuery); FieldToJson(jdata["pNext"], meta_struct.pNext, options); @@ -13699,6 +15565,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMeshShaderFeaturesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMeshShaderFeaturesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); jdata["taskShader"] = static_cast(decoded_value.taskShader); jdata["meshShader"] = static_cast(decoded_value.meshShader); @@ -13715,6 +15583,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMe { const VkPhysicalDeviceMeshShaderPropertiesEXT& decoded_value = *data->decoded_value; const Decoded_VkPhysicalDeviceMeshShaderPropertiesEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["sType"], decoded_value.sType, options); FieldToJson(jdata["maxTaskWorkGroupTotalCount"], decoded_value.maxTaskWorkGroupTotalCount, options); FieldToJson(jdata["maxTaskWorkGroupCount"], &meta_struct.maxTaskWorkGroupCount, options); @@ -13754,6 +15624,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDrawMeshTasksInd { const VkDrawMeshTasksIndirectCommandEXT& decoded_value = *data->decoded_value; const Decoded_VkDrawMeshTasksIndirectCommandEXT& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); FieldToJson(jdata["groupCountX"], decoded_value.groupCountX, options); FieldToJson(jdata["groupCountY"], decoded_value.groupCountY, options); FieldToJson(jdata["groupCountZ"], decoded_value.groupCountZ, options); diff --git a/framework/generated/vulkan_generators/vulkan_struct_to_json_body_generator.py b/framework/generated/vulkan_generators/vulkan_struct_to_json_body_generator.py index c83129d2e9..76ccfff8cd 100644 --- a/framework/generated/vulkan_generators/vulkan_struct_to_json_body_generator.py +++ b/framework/generated/vulkan_generators/vulkan_struct_to_json_body_generator.py @@ -164,6 +164,8 @@ def generate_feature(self): {{ const {0}& decoded_value = *data->decoded_value; const Decoded_{0}& meta_struct = *data; + GFXRECON_UNREFERENCED_PARAMETER(decoded_value); + GFXRECON_UNREFERENCED_PARAMETER(meta_struct); '''.format(struct)) body += '\n' body += self.makeStructBody(struct, self.feature_struct_members[struct]) diff --git a/framework/graphics/fps_info.h b/framework/graphics/fps_info.h index 536674c822..00640fad59 100644 --- a/framework/graphics/fps_info.h +++ b/framework/graphics/fps_info.h @@ -64,9 +64,9 @@ class FpsInfo uint64_t replay_start_time_; int64_t replay_start_frame_; - bool has_measurement_range_; bool quit_after_range_; bool flush_measurement_range_; + bool has_measurement_range_; bool started_measurement_; bool ended_measurement_; diff --git a/framework/graphics/vulkan_util.cpp b/framework/graphics/vulkan_util.cpp index b4f40e84e1..6f69356cca 100644 --- a/framework/graphics/vulkan_util.cpp +++ b/framework/graphics/vulkan_util.cpp @@ -27,6 +27,8 @@ GFXRECON_BEGIN_NAMESPACE(gfxrecon) GFXRECON_BEGIN_NAMESPACE(graphics) +const char* kVulkanVrFrameDelimiterString = "vr-marker,frame_end,type,application"; + util::platform::LibraryHandle InitializeLoader() { return util::platform::OpenLibrary(kLoaderLibNames); diff --git a/framework/graphics/vulkan_util.h b/framework/graphics/vulkan_util.h index e016baa94e..9f5468d279 100644 --- a/framework/graphics/vulkan_util.h +++ b/framework/graphics/vulkan_util.h @@ -61,7 +61,7 @@ static T* GetPNextStruct(const Parent_T* parent, VkStructureType struct_type) return nullptr; } -static const char* kVulkanVrFrameDelimiterString = "vr-marker,frame_end,type,application"; +extern const char* kVulkanVrFrameDelimiterString; GFXRECON_END_NAMESPACE(graphics) GFXRECON_END_NAMESPACE(gfxrecon) diff --git a/framework/util/CMakeLists.txt b/framework/util/CMakeLists.txt index 4d7bbb4821..f1beeeb64f 100644 --- a/framework/util/CMakeLists.txt +++ b/framework/util/CMakeLists.txt @@ -109,9 +109,14 @@ target_sources(gfxrecon_util target_include_directories(gfxrecon_util - PUBLIC - ${CMAKE_SOURCE_DIR}/framework - $<$:${CMAKE_SOURCE_DIR}/external/AgilitySDK/inc>) + SYSTEM PUBLIC + ${CMAKE_SOURCE_DIR}/framework + $<$:${CMAKE_SOURCE_DIR}/external/AgilitySDK/inc>) + +target_include_directories(gfxrecon_util + SYSTEM PUBLIC + ${CMAKE_SOURCE_DIR}/framework/format) + target_link_libraries(gfxrecon_util platform_specific vulkan_registry nlohmann_json::nlohmann_json ${CMAKE_DL_LIBS}) target_link_libraries(gfxrecon_util $<$:version.lib>) @@ -174,7 +179,7 @@ if (TARGET ZLIB::ZLIB) target_link_libraries(gfxrecon_util ZLIB::ZLIB) target_include_directories(gfxrecon_util - PUBLIC + SYSTEM PUBLIC ${CMAKE_SOURCE_DIR}/external/stb) endif() diff --git a/framework/util/custom_common_to_string.h b/framework/util/custom_common_to_string.h index 5aea075d73..d6448e62a5 100644 --- a/framework/util/custom_common_to_string.h +++ b/framework/util/custom_common_to_string.h @@ -23,7 +23,7 @@ #ifndef GFXRECON_CUSTOM_COMMON_TO_STRING_H #define GFXRECON_CUSTOM_COMMON_TO_STRING_H -#include "format/platform_types.h" +#include "platform_types.h" #include "util/to_string.h" #include diff --git a/framework/util/driver_info.cpp b/framework/util/driver_info.cpp index 9dc48357fd..051f777960 100644 --- a/framework/util/driver_info.cpp +++ b/framework/util/driver_info.cpp @@ -307,10 +307,10 @@ std::string ConvertDataToVersionNumber(uint64_t data) { uint16_t version[4] = {}; std::string str_version = ""; - version[0] = (unsigned int)((data & 0xFFFF000000000000) >> 16 * 3); - version[1] = (unsigned int)((data & 0x0000FFFF00000000) >> 16 * 2); - version[2] = (unsigned int)((data & 0x00000000FFFF0000) >> 16 * 1); - version[3] = (unsigned int)((data & 0x000000000000FFFF)); + version[0] = static_cast((data & 0xFFFF000000000000) >> 16 * 3); + version[1] = static_cast((data & 0x0000FFFF00000000) >> 16 * 2); + version[2] = static_cast((data & 0x00000000FFFF0000) >> 16 * 1); + version[3] = static_cast((data & 0x000000000000FFFF)); str_version = std::to_string(version[0]) + "." + std::to_string(version[1]) + "." + std::to_string(version[2]) + "." + std::to_string(version[3]); diff --git a/framework/util/image_writer.cpp b/framework/util/image_writer.cpp index c083a10bc2..7c54ba595b 100644 --- a/framework/util/image_writer.cpp +++ b/framework/util/image_writer.cpp @@ -40,7 +40,7 @@ uint8_t* GFXRECON_zlib_compress2(uint8_t* data, int32_t data_len, int32_t* out_l unsigned long ret_len = data_len; if (Z_OK == compress2(target, &ret_len, data, data_len, quality)) { - *out_len = ret_len; + *out_len = static_cast(ret_len); return target; } free(target); diff --git a/framework/util/keyboard.cpp b/framework/util/keyboard.cpp index 7693dc23c3..d983351a69 100644 --- a/framework/util/keyboard.cpp +++ b/framework/util/keyboard.cpp @@ -133,7 +133,6 @@ bool Keyboard::GetKeyState(const std::string& key) auto iterator_key_code = xcb_key_code_map.find(key); if (iterator_key_code != xcb_key_code_map.end()) { - int key_state = 0; xcb_key_symbols_t* hot_key_symbol = xcb_keysyms.key_symbols_alloc(xcb_connection_); if (hot_key_symbol != nullptr) { diff --git a/framework/util/lz4_compressor.cpp b/framework/util/lz4_compressor.cpp index 9618212fd8..12aa957c13 100644 --- a/framework/util/lz4_compressor.cpp +++ b/framework/util/lz4_compressor.cpp @@ -54,7 +54,7 @@ size_t Lz4Compressor::Compress(const size_t uncompressed_size, int compressed_size_generated = LZ4_compress_fast(reinterpret_cast(uncompressed_data), reinterpret_cast(compressed_data->data() + compressed_data_offset), - static_cast(uncompressed_size), + static_cast(uncompressed_size), static_cast(lz4_compressed_size), 1); diff --git a/framework/util/options.cpp b/framework/util/options.cpp index ae485b2510..f8b8e09291 100644 --- a/framework/util/options.cpp +++ b/framework/util/options.cpp @@ -141,7 +141,6 @@ std::vector GetUintRanges(const char* args, const char* option_name) } else { - const auto& back = ranges.back(); GFXRECON_LOG_WARNING("Ignoring invalid range \"%s\" for %s, where the range \"%s\" overlaps with the " "previous range \"%s\"", range.c_str(), @@ -184,13 +183,13 @@ bool ParseBoolString(const std::string& value_string, bool default_value) uint32_t ParseUintString(const std::string& value_string, uint32_t default_value) { - auto result = default_value; + uint32_t result = default_value; try { if (!value_string.empty()) { - result = std::stoul(value_string); + result = static_cast(std::stoul(value_string)); } } catch (...) diff --git a/framework/util/strings.cpp b/framework/util/strings.cpp index 7ea7f9d47a..318b43058e 100644 --- a/framework/util/strings.cpp +++ b/framework/util/strings.cpp @@ -57,7 +57,6 @@ std::vector SplitString(const std::string_view compound, const char else { // Split string on separator. - bool invalid = false; std::istringstream range_input; range_input.str(std::string{ compound }); diff --git a/framework/util/test/main.cpp b/framework/util/test/main.cpp index 396b2ce3a8..a162b1a0cd 100644 --- a/framework/util/test/main.cpp +++ b/framework/util/test/main.cpp @@ -157,7 +157,6 @@ TEST_CASE("SplitString", "[strings]") TEST_CASE("RemoveWhitespace", "[strings]") { using std::string; - auto s = [](auto x) { return string{ x }; }; gfxrecon::util::Log::Init(gfxrecon::util::Log::kDebugSeverity); diff --git a/layer/test/main.cpp b/layer/test/main.cpp index dc8e09cd30..388d6ed140 100644 --- a/layer/test/main.cpp +++ b/layer/test/main.cpp @@ -33,7 +33,7 @@ namespace { -bool operator==(const VkExtensionProperties& l, const VkExtensionProperties& r) +inline bool operator==(const VkExtensionProperties& l, const VkExtensionProperties& r) { return l.specVersion == r.specVersion && (strncmp(l.extensionName, r.extensionName, VK_MAX_EXTENSION_NAME_SIZE) == 0); diff --git a/layer/trace_layer.cpp b/layer/trace_layer.cpp index 56b60d4f2c..a734422262 100644 --- a/layer/trace_layer.cpp +++ b/layer/trace_layer.cpp @@ -188,7 +188,6 @@ VKAPI_ATTR VkResult VKAPI_CALL dispatch_CreateInstance(const VkInstanceCreateInf if (fpCreateInstance) { // Advance the link info for the next element on the chain - auto pLayerInfo = chain_info->u.pLayerInfo; chain_info->u.pLayerInfo = chain_info->u.pLayerInfo->pNext; result = fpCreateInstance(pCreateInfo, pAllocator, pInstance); diff --git a/tools/compress/CMakeLists.txt b/tools/compress/CMakeLists.txt index 7bb54855e9..e7b7916c56 100644 --- a/tools/compress/CMakeLists.txt +++ b/tools/compress/CMakeLists.txt @@ -31,6 +31,8 @@ add_executable(gfxrecon-compress "") target_sources(gfxrecon-compress PRIVATE ${CMAKE_CURRENT_LIST_DIR}/main.cpp + ${CMAKE_CURRENT_LIST_DIR}/../../tools/tool_settings.h + ${CMAKE_CURRENT_LIST_DIR}/../../tools/tool_settings.cpp ${CMAKE_CURRENT_LIST_DIR}/compression_converter.h ${CMAKE_CURRENT_LIST_DIR}/compression_converter.cpp ${CMAKE_CURRENT_LIST_DIR}/../platform_debug_helper.cpp diff --git a/tools/compress/main.cpp b/tools/compress/main.cpp index ba181c6b74..d97b36df61 100644 --- a/tools/compress/main.cpp +++ b/tools/compress/main.cpp @@ -23,6 +23,7 @@ #include "project_version.h" #include "compression_converter.h" +#include "../tool_settings.h" #include "decode/file_processor.h" #include "format/format.h" @@ -35,11 +36,6 @@ #include #include -const char kHelpShortOption[] = "-h"; -const char kHelpLongOption[] = "--help"; -const char kVersionOption[] = "--version"; -const char kNoDebugPopup[] = "--no-debug-popup"; - const char kOptions[] = "-h|--help,--version,--no-debug-popup"; const char kArgNone[] = "NONE"; @@ -48,11 +44,11 @@ const char kArgZlib[] = "ZLIB"; const char kArgZstd[] = "ZSTD"; const char kArgUnknown[] = ""; -static void PrintUsage(const char* exe_name) +void PrintUsage(const char* exe_name) { std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } @@ -84,42 +80,6 @@ static void PrintUsage(const char* exe_name) #endif } -static bool CheckOptionPrintUsage(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) -{ - if (arg_parser.IsOptionSet(kHelpShortOption) || arg_parser.IsOptionSet(kHelpLongOption)) - { - PrintUsage(exe_name); - return true; - } - - return false; -} - -static bool CheckOptionPrintVersion(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) -{ - if (arg_parser.IsOptionSet(kVersionOption)) - { - std::string app_name = exe_name; - size_t dir_location = app_name.find_last_of("/\\"); - - if (dir_location >= 0) - { - app_name.replace(0, dir_location + 1, ""); - } - - GFXRECON_WRITE_CONSOLE("%s version info:", app_name.c_str()); - GFXRECON_WRITE_CONSOLE(" GFXReconstruct Version %s", GFXRECON_PROJECT_VERSION_STRING); - GFXRECON_WRITE_CONSOLE(" Vulkan Header Version %u.%u.%u", - VK_VERSION_MAJOR(VK_HEADER_VERSION_COMPLETE), - VK_VERSION_MINOR(VK_HEADER_VERSION_COMPLETE), - VK_VERSION_PATCH(VK_HEADER_VERSION_COMPLETE)); - - return true; - } - - return false; -} - static std::string GetCompressionTypeName(uint32_t type) { switch (type) diff --git a/tools/convert/CMakeLists.txt b/tools/convert/CMakeLists.txt index 1946ad0cbf..e1a497c810 100644 --- a/tools/convert/CMakeLists.txt +++ b/tools/convert/CMakeLists.txt @@ -28,6 +28,7 @@ add_executable(gfxrecon-convert "") target_sources(gfxrecon-convert PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../tool_settings.h + ${CMAKE_CURRENT_LIST_DIR}/../tool_settings.cpp ${CMAKE_CURRENT_LIST_DIR}/main.cpp ${CMAKE_CURRENT_LIST_DIR}/../platform_debug_helper.cpp ) diff --git a/tools/convert/main.cpp b/tools/convert/main.cpp index d7ce4b8d3f..cae613ee83 100644 --- a/tools/convert/main.cpp +++ b/tools/convert/main.cpp @@ -39,11 +39,11 @@ const char kOptions[] = "-h|--help,--version,--no-debug-popup,--file-per-frame,- const char kArguments[] = "--output,--format"; -static void PrintUsage(const char* exe_name) +void PrintUsage(const char* exe_name) { std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } diff --git a/tools/extract/main.cpp b/tools/extract/main.cpp index fcb25609d6..c995964994 100644 --- a/tools/extract/main.cpp +++ b/tools/extract/main.cpp @@ -40,16 +40,19 @@ const char kHelpShortOption[] = "-h"; const char kHelpLongOption[] = "--help"; const char kVersionOption[] = "--version"; const char kDirectoryArgument[] = "--dir"; -const char kNoDebugPopup[] = "--no-debug-popup"; const char kOptions[] = "-h|--help,--version,--no-debug-popup"; const char kArguments[] = "--dir"; -static void PrintUsage(const char* exe_name) +#if defined(WIN32) && defined(_DEBUG) +const char kNoDebugPopup[] = "--no-debug-popup"; +#endif + +void PrintUsage(const char* exe_name) { std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } @@ -90,7 +93,7 @@ static bool CheckOptionPrintVersion(const char* exe_name, const gfxrecon::util:: std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } @@ -192,7 +195,7 @@ int main(int argc, const char** argv) { extract_dir = input_filename; size_t dir_location = extract_dir.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { extract_dir.replace(0, dir_location + 1, ""); } diff --git a/tools/info/main.cpp b/tools/info/main.cpp index 6d67b899b0..6d16a4dacf 100644 --- a/tools/info/main.cpp +++ b/tools/info/main.cpp @@ -59,9 +59,15 @@ const char kHelpShortOption[] = "-h"; const char kHelpLongOption[] = "--help"; const char kVersionOption[] = "--version"; -const char kNoDebugPopup[] = "--no-debug-popup"; const char kExeInfoOnlyOption[] = "--exe-info-only"; -const char kEnumGpuIndices[] = "--enum-gpu-indices"; + +#if defined(WIN32) && defined(_DEBUG) +const char kNoDebugPopup[] = "--no-debug-popup"; +#endif + +#if defined(D3D12_SUPPORT) +const char kEnumGpuIndices[] = "--enum-gpu-indices"; +#endif const char kOptions[] = "-h|--help,--version,--no-debug-popup,--exe-info-only,--enum-gpu-indices"; @@ -90,11 +96,11 @@ std::string AdapterTypeToString(gfxrecon::format::AdapterType type) } } -static void PrintUsage(const char* exe_name) +void PrintUsage(const char* exe_name) { std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } @@ -134,7 +140,7 @@ static bool CheckOptionPrintVersion(const char* exe_name, const gfxrecon::util:: std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } diff --git a/tools/optimize/CMakeLists.txt b/tools/optimize/CMakeLists.txt index 4a405470e2..4efc8aa3e4 100644 --- a/tools/optimize/CMakeLists.txt +++ b/tools/optimize/CMakeLists.txt @@ -31,6 +31,8 @@ add_executable(gfxrecon-optimize "") target_sources(gfxrecon-optimize PRIVATE ${CMAKE_CURRENT_LIST_DIR}/main.cpp + ${CMAKE_CURRENT_LIST_DIR}/../tool_settings.h + ${CMAKE_CURRENT_LIST_DIR}/../tool_settings.cpp ${CMAKE_CURRENT_LIST_DIR}/file_optimizer.h ${CMAKE_CURRENT_LIST_DIR}/file_optimizer.cpp $<$:${CMAKE_CURRENT_LIST_DIR}/dx12_file_optimizer.h> diff --git a/tools/optimize/main.cpp b/tools/optimize/main.cpp index 1741026587..8ac80568a0 100644 --- a/tools/optimize/main.cpp +++ b/tools/optimize/main.cpp @@ -67,11 +67,11 @@ const char kD3d12PsoRemoval[] = "--d3d12-pso-removal"; const char kDx12OptimizeDxr[] = "--dxr"; const char kDx12OptimizeDxrExperimental[] = "--dxr-experimental"; -static void PrintUsage(const char* exe_name) +void PrintUsage(const char* exe_name) { std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } diff --git a/tools/replay/CMakeLists.txt b/tools/replay/CMakeLists.txt index 386f4b210f..b0f61377fc 100644 --- a/tools/replay/CMakeLists.txt +++ b/tools/replay/CMakeLists.txt @@ -31,6 +31,7 @@ add_executable(gfxrecon-replay "") target_sources(gfxrecon-replay PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../tool_settings.h + ${CMAKE_CURRENT_LIST_DIR}/../tool_settings.cpp ${CMAKE_CURRENT_LIST_DIR}/replay_settings.h ${CMAKE_CURRENT_LIST_DIR}/desktop_main.cpp ${CMAKE_CURRENT_LIST_DIR}/../platform_debug_helper.cpp diff --git a/tools/replay/desktop_main.cpp b/tools/replay/desktop_main.cpp index ee061c081c..e2d7772707 100644 --- a/tools/replay/desktop_main.cpp +++ b/tools/replay/desktop_main.cpp @@ -23,6 +23,7 @@ */ #include "replay_settings.h" +#include "../tool_settings.h" #include "application/application.h" #include "decode/file_processor.h" diff --git a/tools/replay/replay_settings.h b/tools/replay/replay_settings.h index 2da060c62f..a0b1a44417 100644 --- a/tools/replay/replay_settings.h +++ b/tools/replay/replay_settings.h @@ -38,12 +38,12 @@ const char kArguments[] = "screenshot-dir,--screenshot-prefix,--screenshot-size,--screenshot-scale,--mfr|--measurement-frame-range,--fw|--" "force-windowed"; -static void PrintUsage(const char* exe_name) +void PrintUsage(const char* exe_name) { std::string app_name = exe_name; size_t dir_location = app_name.find_last_of("/\\"); - if (dir_location >= 0) + if (dir_location != std::string::npos) { app_name.replace(0, dir_location + 1, ""); } diff --git a/tools/tool_settings.cpp b/tools/tool_settings.cpp new file mode 100644 index 0000000000..f3a963ab3f --- /dev/null +++ b/tools/tool_settings.cpp @@ -0,0 +1,795 @@ +/* +** Copyright (c) 2023 LunarG, Inc. +** Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and associated documentation files (the "Software"), +** to deal in the Software without restriction, including without limitation +** the rights to use, copy, modify, merge, publish, distribute, sublicense, +** and/or sell copies of the Software, and to permit persons to whom the +** Software is furnished to do so, subject to the following conditions: +** +** The above copyright notice and this permission notice shall be included in +** all copies or substantial portions of the Software. +** +** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +** FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +** DEALINGS IN THE SOFTWARE. +*/ + +#include "tool_settings.h" + +void ProcessDisableDebugPopup(const gfxrecon::util::ArgumentParser& arg_parser) +{ +#if defined(WIN32) && defined(_DEBUG) + if (arg_parser.IsOptionSet(kNoDebugPopup)) + { + _set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT); + } +#endif +} + +void CheckActiveLayers(const std::string& list) +{ + if (!list.empty()) + { + // Check for the presence of the layer name in the list of active layers. + size_t start = list.find(kCaptureLayer); + + if (start != std::string::npos) + { + size_t end = start + gfxrecon::util::platform::StringLength(kCaptureLayer); + bool match_start = false; + bool match_end = false; + + // For an exact match, the start of the layer name is either at the start of the list or comes after a path + // separator. + if ((start == 0) || ((list[start - 1] == ';') || (list[start - 1] == ':'))) + { + match_start = true; + } + + // For an exact match, the end of the layer name is either at the end of the list or comes before a path + // separator. + if ((list.length() == end) || ((list[end] == ';') || (list[end] == ':'))) + { + match_end = true; + } + + if (match_start && match_end) + { + GFXRECON_LOG_WARNING("Replay tool has detected that the capture layer is enabled"); + } + } + } +} + +gfxrecon::decode::VulkanResourceAllocator* CreateDefaultAllocator() +{ + return new gfxrecon::decode::VulkanDefaultAllocator( + "Try replay with the '-m remap' or '-m rebind' options to enable memory translation."); +} + +gfxrecon::decode::VulkanResourceAllocator* CreateRemapAllocator() +{ + return new gfxrecon::decode::VulkanRemapAllocator( + "Try replay with the '-m rebind' option to enable advanced memory translation."); +} + +gfxrecon::decode::VulkanResourceAllocator* CreateRebindAllocator() +{ + return new gfxrecon::decode::VulkanRebindAllocator(); +} + +gfxrecon::decode::CreateResourceAllocator +InitRealignAllocatorCreateFunc(const std::string& filename, + const gfxrecon::decode::VulkanReplayOptions& replay_options, + gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table) +{ + // Enable first pass of replay to generate resource tracking information. + GFXRECON_WRITE_CONSOLE("First pass of replay resource tracking for realign memory portability mode. This may take " + "some time. Please wait..."); + + gfxrecon::decode::FileProcessor file_processor_resource_tracking; + gfxrecon::decode::VulkanDecoder decoder; + + auto resource_tracking_consumer = + new gfxrecon::decode::VulkanResourceTrackingConsumer(replay_options, tracked_object_info_table); + + if (file_processor_resource_tracking.Initialize(filename)) + { + decoder.AddConsumer(resource_tracking_consumer); + file_processor_resource_tracking.AddDecoder(&decoder); + file_processor_resource_tracking.ProcessAllFrames(); + file_processor_resource_tracking.RemoveDecoder(&decoder); + decoder.RemoveConsumer(resource_tracking_consumer); + } + + // Sort the bound resources according to the binding offsets. + resource_tracking_consumer->SortMemoriesBoundResourcesByOffset(); + + // calculate the replay binding offset of the bound resources and replay memory allocation size + resource_tracking_consumer->CalculateReplayBindingOffsetAndMemoryAllocationSize(); + + GFXRECON_WRITE_CONSOLE("First pass of replay resource tracking done."); + + return [tracked_object_info_table]() -> gfxrecon::decode::VulkanResourceAllocator* { + return new gfxrecon::decode::VulkanRealignAllocator( + tracked_object_info_table, "Try replay with the '-m rebind' option to enable advanced memory translation."); + }; +} + +uint32_t GetPauseFrame(const gfxrecon::util::ArgumentParser& arg_parser) +{ + uint32_t pause_frame = 0; + const auto& value = arg_parser.GetArgumentValue(kPauseFrameArgument); + + if (arg_parser.IsOptionSet(kPausedOption)) + { + pause_frame = 1; + } + else if (!value.empty()) + { + pause_frame = std::stoi(value); + } + + return pause_frame; +} + +WsiPlatform GetWsiPlatform(const gfxrecon::util::ArgumentParser& arg_parser) +{ + WsiPlatform wsi_platform = WsiPlatform::kAuto; + const auto& value = arg_parser.GetArgumentValue(kWsiArgument); + + if (!value.empty()) + { + if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformAuto, value.c_str()) == 0) + { + wsi_platform = WsiPlatform::kAuto; + } + else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformWin32, value.c_str()) == 0) + { +#if defined(VK_USE_PLATFORM_WIN32_KHR) + wsi_platform = WsiPlatform::kWin32; +#else + GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); +#endif + } + else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformXlib, value.c_str()) == 0) + { +#if defined(VK_USE_PLATFORM_XLIB_KHR) + wsi_platform = WsiPlatform::kXlib; +#else + GFXRECON_LOG_WARNING("Ignoring wsi option %s, which is not enabled on this system", value.c_str()); +#endif + } + else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformXcb, value.c_str()) == 0) + { +#if defined(VK_USE_PLATFORM_XCB_KHR) + wsi_platform = WsiPlatform::kXcb; +#else + GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); +#endif + } + else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformWayland, value.c_str()) == 0) + { +#if defined(VK_USE_PLATFORM_WAYLAND_KHR) + wsi_platform = WsiPlatform::kWayland; +#else + GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); +#endif + } + else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformDisplay, value.c_str()) == 0) + { +#if defined(VK_USE_PLATFORM_DISPLAY_KHR) + wsi_platform = WsiPlatform::kDisplay; +#else + GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); +#endif + } + else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformHeadless, value.c_str()) == 0) + { +#if defined(VK_USE_PLATFORM_HEADLESS) + wsi_platform = WsiPlatform::kHeadless; +#else + GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); +#endif + } + else + { + GFXRECON_LOG_WARNING("Ignoring unrecognized wsi option \"%s\"", value.c_str()); + } + } + + return wsi_platform; +} + +std::string GetWsiExtensionName(WsiPlatform wsi_platform) +{ + switch (wsi_platform) + { +#if defined(VK_USE_PLATFORM_WIN32_KHR) + case WsiPlatform::kWin32: + { + return VK_KHR_WIN32_SURFACE_EXTENSION_NAME; + } +#endif +#if defined(VK_USE_PLATFORM_XLIB_KHR) + case WsiPlatform::kXlib: + { + return VK_KHR_XLIB_SURFACE_EXTENSION_NAME; + } +#endif +#if defined(VK_USE_PLATFORM_XCB_KHR) + case WsiPlatform::kXcb: + { + return VK_KHR_XCB_SURFACE_EXTENSION_NAME; + } +#endif +#if defined(VK_USE_PLATFORM_WAYLAND_KHR) + case WsiPlatform::kWayland: + { + return VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME; + } +#endif +#if defined(VK_USE_PLATFORM_HEADLESS) + case WsiPlatform::kHeadless: + { + return VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME; + } +#endif + default: + { + return std::string(); + } + } +} + +std::string GetWsiArgString() +{ + std::string wsi_args = kWsiPlatformAuto; +#if defined(VK_USE_PLATFORM_WIN32_KHR) + wsi_args += ','; + wsi_args += kWsiPlatformWin32; +#endif +#if defined(VK_USE_PLATFORM_XLIB_KHR) + wsi_args += ','; + wsi_args += kWsiPlatformXlib; +#endif +#if defined(VK_USE_PLATFORM_XCB_KHR) + wsi_args += ','; + wsi_args += kWsiPlatformXcb; +#endif +#if defined(VK_USE_PLATFORM_WAYLAND_KHR) + wsi_args += ','; + wsi_args += kWsiPlatformWayland; +#endif +#if defined(VK_USE_PLATFORM_DISPLAY_KHR) + wsi_args += ','; + wsi_args += kWsiPlatformDisplay; +#endif +#if defined(VK_USE_PLATFORM_HEADLESS) + wsi_args += ','; + wsi_args += kWsiPlatformHeadless; +#endif + return wsi_args; +} + +// Modifies settings parameter with values set via command line +void GetLogSettings(const gfxrecon::util::ArgumentParser& arg_parser, gfxrecon::util::Log::Settings& log_settings) +{ + // Parse log level + gfxrecon::util::Log::Severity log_level; + const std::string& value_string = arg_parser.GetArgumentValue(kLogLevelArgument); + if (value_string.empty() || !gfxrecon::util::Log::StringToSeverity(value_string, log_level)) + { + log_level = gfxrecon::decode::kDefaultLogLevel; + if (!value_string.empty()) + { + GFXRECON_LOG_WARNING("Ignoring unrecognized log level option value \"%s\"", value_string.c_str()); + } + } + + // Update settings + log_settings.min_severity = log_level; + log_settings.file_name = arg_parser.GetArgumentValue(kLogFileArgument); + log_settings.output_to_os_debug_string = arg_parser.IsOptionSet(kLogDebugView); +} + +gfxrecon::util::ScreenshotFormat GetScreenshotFormat(const gfxrecon::util::ArgumentParser& arg_parser) +{ + gfxrecon::util::ScreenshotFormat format = gfxrecon::util::ScreenshotFormat::kBmp; + const auto& value = arg_parser.GetArgumentValue(kScreenshotFormatArgument); + + if (!value.empty()) + { + if (gfxrecon::util::platform::StringCompareNoCase(kScreenshotFormatBmp, value.c_str()) == 0) + { + format = gfxrecon::util::ScreenshotFormat::kBmp; + } + else if (gfxrecon::util::platform::StringCompareNoCase(kScreenshotFormatPng, value.c_str()) == 0) + { + format = gfxrecon::util::ScreenshotFormat::kPng; + } + else + { + GFXRECON_LOG_WARNING("Ignoring unrecognized screenshot format option \"%s\"", value.c_str()); + } + } + + return format; +} + +std::string GetScreenshotDir(const gfxrecon::util::ArgumentParser& arg_parser) +{ + const auto& value = arg_parser.GetArgumentValue(kScreenshotDirArgument); + + if (!value.empty()) + { + return value; + } + + return kDefaultScreenshotDir; +} + +void GetScreenshotSize(const gfxrecon::util::ArgumentParser& arg_parser, uint32_t& width, uint32_t& height) +{ + const auto& value = arg_parser.GetArgumentValue(kScreenshotSizeArgument); + + if (!value.empty()) + { + std::size_t x = value.find("x"); + if (x != std::string::npos) + { + try + { + width = static_cast(std::stoul(value.substr(0, x))); + height = static_cast(std::stoul(value.substr(x + 1))); + } + catch (std::exception&) + { + GFXRECON_LOG_WARNING("Ignoring invalid screenshot width x height option. Expected format is " + "--screenshot-size [width]x[height]"); + width = height = 0; + } + } + else + { + width = height = 0; + } + } + else + { + width = height = 0; + } +} + +float GetScreenshotScale(const gfxrecon::util::ArgumentParser& arg_parser) +{ + const auto& value = arg_parser.GetArgumentValue(kScreenshotScaleArgument); + + float scale = 0.0f; + + if (!value.empty()) + { + try + { + scale = std::stof(value); + } + catch (std::exception&) + { + GFXRECON_LOG_WARNING( + "Ignoring invalid screenshot scale option. Expected format is --screenshot-scale [scale]"); + } + } + + return scale; +} + +std::vector GetScreenshotRanges(const gfxrecon::util::ArgumentParser& arg_parser) +{ + std::vector ranges; + + if (arg_parser.IsOptionSet(kScreenshotAllOption)) + { + gfxrecon::decode::ScreenshotRange screenshot_range; + screenshot_range.first = 1; + screenshot_range.last = std::numeric_limits::max(); + ranges.emplace_back(std::move(screenshot_range)); + } + else + { + const auto& value = arg_parser.GetArgumentValue(kScreenshotRangeArgument); + + if (!value.empty()) + { + std::vector frame_ranges = + gfxrecon::util::GetUintRanges(value.c_str(), "screenshot frames"); + + for (uint32_t i = 0; i < frame_ranges.size(); ++i) + { + gfxrecon::decode::ScreenshotRange range{}; + range.first = frame_ranges[i].first; + range.last = frame_ranges[i].last; + ranges.push_back(range); + } + } + } + + return ranges; +} + +bool GetMeasurementFrameRange(const gfxrecon::util::ArgumentParser& arg_parser, + uint32_t& start_frame, + uint32_t& end_frame) +{ + start_frame = 1; + end_frame = std::numeric_limits::max(); + + const auto& value = arg_parser.GetArgumentValue(kMeasurementRangeArgument); + if (!value.empty()) + { + std::vector values = gfxrecon::util::strings::SplitString(value, '-'); + bool invalid = false; + + if (values.size() != 2) + { + GFXRECON_LOG_WARNING( + "Ignoring invalid measurement frame range \"%s\". Must have format: -", + value.c_str()); + invalid = true; + } + + for (std::string& num : values) + { + gfxrecon::util::strings::RemoveWhitespace(num); + + // Check that the range string only contains numbers. + const size_t count = std::count_if(num.begin(), num.end(), ::isdigit); + if (count != num.length()) + { + GFXRECON_LOG_WARNING( + "Ignoring invalid measurement frame range \"%s\", which contains non-numeric values", + value.c_str()); + invalid = true; + break; + } + } + + if (!invalid) + { + uint32_t start_frame_arg = std::stoi(values[0]); + uint32_t end_frame_arg = std::stoi(values[1]); + + if (start_frame_arg >= end_frame_arg) + { + GFXRECON_LOG_WARNING("Ignoring invalid measurement frame range \"%s\", where first frame is " + "greater than or equal to the last frame", + value.c_str()); + + return false; + } + + start_frame = start_frame_arg; + end_frame = end_frame_arg; + return true; + } + } + + return false; +} + +gfxrecon::decode::CreateResourceAllocator +GetCreateResourceAllocatorFunc(const gfxrecon::util::ArgumentParser& arg_parser, + const std::string& filename, + const gfxrecon::decode::VulkanReplayOptions& replay_options, + gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table) +{ + gfxrecon::decode::CreateResourceAllocator func = CreateDefaultAllocator; + const auto& value = arg_parser.GetArgumentValue(kMemoryPortabilityShortOption); + + if (!value.empty()) + { + if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationRebind, value.c_str()) == 0) + { + func = CreateRebindAllocator; + } + else if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationRemap, value.c_str()) == 0) + { + func = CreateRemapAllocator; + } + else if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationRealign, value.c_str()) == 0) + { + func = InitRealignAllocatorCreateFunc(filename, replay_options, tracked_object_info_table); + } + else if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationNone, value.c_str()) != 0) + { + GFXRECON_LOG_WARNING("Ignoring unrecognized memory translation option \"%s\"", value.c_str()); + } + } + + return func; +} + +#if defined(WIN32) +bool IsApiFamilyIdEnabled(const gfxrecon::util::ArgumentParser& arg_parser, gfxrecon::format::ApiFamilyId api) +{ + const std::string& value = arg_parser.GetArgumentValue(kApiFamilyOption); + + // If the --api argument was specified, parse the option. + if (!value.empty()) + { + if (gfxrecon::util::platform::StringCompareNoCase(kApiFamilyAll, value.c_str()) == 0) + { + return true; + } + else if (gfxrecon::util::platform::StringCompareNoCase(kApiFamilyVulkan, value.c_str()) == 0) + { + return (api == gfxrecon::format::ApiFamilyId::ApiFamily_Vulkan); + } + else if (gfxrecon::util::platform::StringCompareNoCase(kApiFamilyD3D12, value.c_str()) == 0) + { + return (api == gfxrecon::format::ApiFamilyId::ApiFamily_D3D12); + } + else + { + GFXRECON_LOG_WARNING("Ignoring unrecognized API option \"%s\"", value.c_str()); + return true; + } + } + // If the --api argument was not specified, default so that all APIs are enabled. + else + { + return true; + } +} +#endif + +void IsForceWindowed(gfxrecon::decode::ReplayOptions& options, const gfxrecon::util::ArgumentParser& arg_parser) +{ + auto value = arg_parser.GetArgumentValue(kForceWindowedShortArgument); + + if (value.empty()) + { + value = arg_parser.GetArgumentValue(kForceWindowedLongArgument); + } + if (!value.empty()) + { + options.force_windowed = true; + + std::istringstream value_input; + value_input.str(value); + std::string val; + + std::getline(value_input, val, ','); + options.windowed_width = std::stoi(val); + std::getline(value_input, val, ','); + options.windowed_height = std::stoi(val); + } +} + +std::vector GetFilteredMsgs(const gfxrecon::util::ArgumentParser& arg_parser, const char* filter_messages) +{ + const auto& value = arg_parser.GetArgumentValue(filter_messages); + std::vector msgs; + if (!value.empty()) + { + std::vector values; + std::istringstream value_input; + value_input.str(value); + + for (std::string val; std::getline(value_input, val, ',');) + { + size_t count = std::count_if(val.begin(), val.end(), ::isdigit); + if (count == val.length()) + { + msgs.push_back(std::stoi(val)); + } + else + { + GFXRECON_LOG_WARNING("Ignoring invalid filter messages\"%s\", which contains non-numeric values", + val.c_str()); + break; + } + } + } + return msgs; +} + +void GetReplayOptions(gfxrecon::decode::ReplayOptions& options, const gfxrecon::util::ArgumentParser& arg_parser) +{ + if (arg_parser.IsOptionSet(kValidateOption)) + { + options.enable_validation_layer = true; + } + + if (arg_parser.IsOptionSet(kDebugDeviceLostOption)) + { + options.enable_debug_device_lost = true; + } + + if (arg_parser.IsOptionSet(kSyncOption)) + { + options.sync_queue_submissions = true; + } + + if (arg_parser.IsOptionSet(kCreateDummyAllocationsOption)) + { + options.create_dummy_allocations = true; + } + + if (arg_parser.IsOptionSet(kOmitNullHardwareBuffersLongOption) || + arg_parser.IsOptionSet(kOmitNullHardwareBuffersShortOption)) + { + options.omit_null_hardware_buffers = true; + } + + if (arg_parser.IsOptionSet(kQuitAfterMeasurementRangeOption)) + { + options.quit_after_measurement_frame_range = true; + } + + if (arg_parser.IsOptionSet(kFlushMeasurementRangeOption)) + { + options.flush_measurement_frame_range = true; + } + + const auto& override_gpu = arg_parser.GetArgumentValue(kOverrideGpuArgument); + if (!override_gpu.empty()) + { + options.override_gpu_index = std::stoi(override_gpu); + } + + IsForceWindowed(options, arg_parser); +} + +gfxrecon::decode::VulkanReplayOptions +GetVulkanReplayOptions(const gfxrecon::util::ArgumentParser& arg_parser, + const std::string& filename, + gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table) +{ + gfxrecon::decode::VulkanReplayOptions replay_options; + GetReplayOptions(replay_options, arg_parser); + +#if defined(WIN32) + replay_options.enable_vulkan = IsApiFamilyIdEnabled(arg_parser, gfxrecon::format::ApiFamily_Vulkan); +#else + replay_options.enable_vulkan = true; +#endif + + const auto& override_gpu_group = arg_parser.GetArgumentValue(kOverrideGpuGroupArgument); + if (!override_gpu_group.empty()) + { + replay_options.override_gpu_group_index = std::stoi(override_gpu_group); + } + + if (arg_parser.IsOptionSet(kRemoveUnsupportedOption)) + { + replay_options.remove_unsupported_features = true; + } + + if (arg_parser.IsOptionSet(kSkipFailedAllocationLongOption) || + arg_parser.IsOptionSet(kSkipFailedAllocationShortOption)) + { + replay_options.skip_failed_allocations = true; + } + + if (arg_parser.IsOptionSet(kOmitPipelineCacheDataLongOption) || + arg_parser.IsOptionSet(kOmitPipelineCacheDataShortOption)) + { + replay_options.omit_pipeline_cache_data = true; + } + + if (arg_parser.IsOptionSet(kEnableUseCapturedSwapchainIndices)) + { + replay_options.enable_use_captured_swapchain_indices = true; + } + + replay_options.replace_dir = arg_parser.GetArgumentValue(kShaderReplaceArgument); + replay_options.create_resource_allocator = + GetCreateResourceAllocatorFunc(arg_parser, filename, replay_options, tracked_object_info_table); + + replay_options.screenshot_ranges = GetScreenshotRanges(arg_parser); + replay_options.screenshot_format = GetScreenshotFormat(arg_parser); + replay_options.screenshot_dir = GetScreenshotDir(arg_parser); + replay_options.screenshot_file_prefix = arg_parser.GetArgumentValue(kScreenshotFilePrefixArgument); + GetScreenshotSize(arg_parser, replay_options.screenshot_width, replay_options.screenshot_height); + replay_options.screenshot_scale = GetScreenshotScale(arg_parser); + + if (arg_parser.IsOptionSet(kQuitAfterMeasurementRangeOption)) + { + replay_options.quit_after_measurement_frame_range = true; + } + + if (arg_parser.IsOptionSet(kFlushMeasurementRangeOption)) + { + replay_options.flush_measurement_frame_range = true; + } + + std::string surface_index = arg_parser.GetArgumentValue(kSurfaceIndexArgument); + if (!surface_index.empty()) + { + replay_options.surface_index = std::stoi(surface_index); + } + + return replay_options; +} + +#if defined(D3D12_SUPPORT) +gfxrecon::decode::DxReplayOptions GetDxReplayOptions(const gfxrecon::util::ArgumentParser& arg_parser) +{ + gfxrecon::decode::DxReplayOptions replay_options; + GetReplayOptions(replay_options, arg_parser); + + replay_options.enable_d3d12 = IsApiFamilyIdEnabled(arg_parser, gfxrecon::format::ApiFamily_D3D12); + replay_options.DeniedDebugMessages = GetFilteredMsgs(arg_parser, kDeniedMessages); + replay_options.AllowedDebugMessages = GetFilteredMsgs(arg_parser, kAllowedMessages); + + if (arg_parser.IsOptionSet(kDxTwoPassReplay)) + { + replay_options.enable_d3d12_two_pass_replay = true; + } + + if (arg_parser.IsOptionSet(kDiscardCachedPsosLongOption) || arg_parser.IsOptionSet(kDiscardCachedPsosShortOption)) + { + GFXRECON_LOG_WARNING("The parameters --dcp and --discard-cached-psos have been deprecated in favor for " + "--use-cached-psos"); + } + + if (arg_parser.IsOptionSet(kUseCachedPsosOption)) + { + replay_options.use_cached_psos = true; + } + + if (arg_parser.IsOptionSet(kDxOverrideObjectNames)) + { + replay_options.override_object_names = true; + } + + replay_options.screenshot_ranges = GetScreenshotRanges(arg_parser); + replay_options.screenshot_format = GetScreenshotFormat(arg_parser); + replay_options.screenshot_dir = GetScreenshotDir(arg_parser); + replay_options.screenshot_file_prefix = arg_parser.GetArgumentValue(kScreenshotFilePrefixArgument); + return replay_options; +} +#endif + +bool CheckOptionPrintVersion(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) +{ + if (arg_parser.IsOptionSet(kVersionOption)) + { + std::string app_name = exe_name; + size_t dir_location = app_name.find_last_of("/\\"); + + if (dir_location != std::string::npos) + { + app_name.replace(0, dir_location + 1, ""); + } + + GFXRECON_WRITE_CONSOLE("%s version info:", app_name.c_str()); + GFXRECON_WRITE_CONSOLE(" GFXReconstruct Version %s", GFXRECON_PROJECT_VERSION_STRING); + GFXRECON_WRITE_CONSOLE(" Vulkan Header Version %u.%u.%u", + VK_VERSION_MAJOR(VK_HEADER_VERSION_COMPLETE), + VK_VERSION_MINOR(VK_HEADER_VERSION_COMPLETE), + VK_VERSION_PATCH(VK_HEADER_VERSION_COMPLETE)); + + return true; + } + + return false; +} + +bool CheckOptionPrintUsage(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) +{ + if (arg_parser.IsOptionSet(kHelpShortOption) || arg_parser.IsOptionSet(kHelpLongOption)) + { + PrintUsage(exe_name); + return true; + } + + return false; +} diff --git a/tools/tool_settings.h b/tools/tool_settings.h index 9e59473232..d4968c2f4b 100644 --- a/tools/tool_settings.h +++ b/tools/tool_settings.h @@ -152,778 +152,73 @@ const char kDefaultScreenshotDir[] = "/sdcard"; const char kDefaultScreenshotDir[] = ""; #endif -static void ProcessDisableDebugPopup(const gfxrecon::util::ArgumentParser& arg_parser) -{ -#if defined(WIN32) && defined(_DEBUG) - if (arg_parser.IsOptionSet(kNoDebugPopup)) - { - _set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT); - } -#endif -} +void ProcessDisableDebugPopup(const gfxrecon::util::ArgumentParser& arg_parser); -static void CheckActiveLayers(const std::string& list) -{ - if (!list.empty()) - { - // Check for the presence of the layer name in the list of active layers. - size_t start = list.find(kCaptureLayer); - - if (start != std::string::npos) - { - size_t end = start + gfxrecon::util::platform::StringLength(kCaptureLayer); - bool match_start = false; - bool match_end = false; - - // For an exact match, the start of the layer name is either at the start of the list or comes after a path - // separator. - if ((start == 0) || ((list[start - 1] == ';') || (list[start - 1] == ':'))) - { - match_start = true; - } - - // For an exact match, the end of the layer name is either at the end of the list or comes before a path - // separator. - if ((list.length() == end) || ((list[end] == ';') || (list[end] == ':'))) - { - match_end = true; - } - - if (match_start && match_end) - { - GFXRECON_LOG_WARNING("Replay tool has detected that the capture layer is enabled"); - } - } - } -} - -static gfxrecon::decode::VulkanResourceAllocator* CreateDefaultAllocator() -{ - return new gfxrecon::decode::VulkanDefaultAllocator( - "Try replay with the '-m remap' or '-m rebind' options to enable memory translation."); -} +void CheckActiveLayers(const std::string& list); -static gfxrecon::decode::VulkanResourceAllocator* CreateRemapAllocator() -{ - return new gfxrecon::decode::VulkanRemapAllocator( - "Try replay with the '-m rebind' option to enable advanced memory translation."); -} +gfxrecon::decode::VulkanResourceAllocator* CreateDefaultAllocator(); -static gfxrecon::decode::VulkanResourceAllocator* CreateRebindAllocator() -{ - return new gfxrecon::decode::VulkanRebindAllocator(); -} +gfxrecon::decode::VulkanResourceAllocator* CreateRemapAllocator(); + +gfxrecon::decode::VulkanResourceAllocator* CreateRebindAllocator(); -static gfxrecon::decode::CreateResourceAllocator +gfxrecon::decode::CreateResourceAllocator InitRealignAllocatorCreateFunc(const std::string& filename, const gfxrecon::decode::VulkanReplayOptions& replay_options, - gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table) -{ - // Enable first pass of replay to generate resource tracking information. - GFXRECON_WRITE_CONSOLE("First pass of replay resource tracking for realign memory portability mode. This may take " - "some time. Please wait..."); - - gfxrecon::decode::FileProcessor file_processor_resource_tracking; - gfxrecon::decode::VulkanDecoder decoder; + gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table); - auto resource_tracking_consumer = - new gfxrecon::decode::VulkanResourceTrackingConsumer(replay_options, tracked_object_info_table); +uint32_t GetPauseFrame(const gfxrecon::util::ArgumentParser& arg_parser); - if (file_processor_resource_tracking.Initialize(filename)) - { - decoder.AddConsumer(resource_tracking_consumer); - file_processor_resource_tracking.AddDecoder(&decoder); - file_processor_resource_tracking.ProcessAllFrames(); - file_processor_resource_tracking.RemoveDecoder(&decoder); - decoder.RemoveConsumer(resource_tracking_consumer); - } +WsiPlatform GetWsiPlatform(const gfxrecon::util::ArgumentParser& arg_parser); - // Sort the bound resources according to the binding offsets. - resource_tracking_consumer->SortMemoriesBoundResourcesByOffset(); +std::string GetWsiExtensionName(WsiPlatform wsi_platform); - // calculate the replay binding offset of the bound resources and replay memory allocation size - resource_tracking_consumer->CalculateReplayBindingOffsetAndMemoryAllocationSize(); +std::string GetWsiArgString(); - GFXRECON_WRITE_CONSOLE("First pass of replay resource tracking done."); - - return [tracked_object_info_table]() -> gfxrecon::decode::VulkanResourceAllocator* { - return new gfxrecon::decode::VulkanRealignAllocator( - tracked_object_info_table, "Try replay with the '-m rebind' option to enable advanced memory translation."); - }; -} - -static uint32_t GetPauseFrame(const gfxrecon::util::ArgumentParser& arg_parser) -{ - uint32_t pause_frame = 0; - const auto& value = arg_parser.GetArgumentValue(kPauseFrameArgument); - - if (arg_parser.IsOptionSet(kPausedOption)) - { - pause_frame = 1; - } - else if (!value.empty()) - { - pause_frame = std::stoi(value); - } - - return pause_frame; -} - -static WsiPlatform GetWsiPlatform(const gfxrecon::util::ArgumentParser& arg_parser) -{ - WsiPlatform wsi_platform = WsiPlatform::kAuto; - const auto& value = arg_parser.GetArgumentValue(kWsiArgument); - - if (!value.empty()) - { - if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformAuto, value.c_str()) == 0) - { - wsi_platform = WsiPlatform::kAuto; - } - else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformWin32, value.c_str()) == 0) - { -#if defined(VK_USE_PLATFORM_WIN32_KHR) - wsi_platform = WsiPlatform::kWin32; -#else - GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); -#endif - } - else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformXlib, value.c_str()) == 0) - { -#if defined(VK_USE_PLATFORM_XLIB_KHR) - wsi_platform = WsiPlatform::kXlib; -#else - GFXRECON_LOG_WARNING("Ignoring wsi option %s, which is not enabled on this system", value.c_str()); -#endif - } - else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformXcb, value.c_str()) == 0) - { -#if defined(VK_USE_PLATFORM_XCB_KHR) - wsi_platform = WsiPlatform::kXcb; -#else - GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); -#endif - } - else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformWayland, value.c_str()) == 0) - { -#if defined(VK_USE_PLATFORM_WAYLAND_KHR) - wsi_platform = WsiPlatform::kWayland; -#else - GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); -#endif - } - else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformDisplay, value.c_str()) == 0) - { -#if defined(VK_USE_PLATFORM_DISPLAY_KHR) - wsi_platform = WsiPlatform::kDisplay; -#else - GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); -#endif - } - else if (gfxrecon::util::platform::StringCompareNoCase(kWsiPlatformHeadless, value.c_str()) == 0) - { -#if defined(VK_USE_PLATFORM_HEADLESS) - wsi_platform = WsiPlatform::kHeadless; -#else - GFXRECON_LOG_WARNING("Ignoring wsi option \"%s\", which is not enabled on this system", value.c_str()); -#endif - } - else - { - GFXRECON_LOG_WARNING("Ignoring unrecognized wsi option \"%s\"", value.c_str()); - } - } +// Modifies settings parameter with values set via command line +void GetLogSettings(const gfxrecon::util::ArgumentParser& arg_parser, gfxrecon::util::Log::Settings& log_settings); - return wsi_platform; -} +std::string GetScreenshotDir(const gfxrecon::util::ArgumentParser& arg_parser); -static std::string GetWsiExtensionName(WsiPlatform wsi_platform) -{ - switch (wsi_platform) - { -#if defined(VK_USE_PLATFORM_WIN32_KHR) - case WsiPlatform::kWin32: - { - return VK_KHR_WIN32_SURFACE_EXTENSION_NAME; - } -#endif -#if defined(VK_USE_PLATFORM_XLIB_KHR) - case WsiPlatform::kXlib: - { - return VK_KHR_XLIB_SURFACE_EXTENSION_NAME; - } -#endif -#if defined(VK_USE_PLATFORM_XCB_KHR) - case WsiPlatform::kXcb: - { - return VK_KHR_XCB_SURFACE_EXTENSION_NAME; - } -#endif -#if defined(VK_USE_PLATFORM_WAYLAND_KHR) - case WsiPlatform::kWayland: - { - return VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME; - } -#endif -#if defined(VK_USE_PLATFORM_HEADLESS) - case WsiPlatform::kHeadless: - { - return VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME; - } -#endif - default: - { - return std::string(); - } - } -} - -static std::string GetWsiArgString() -{ - std::string wsi_args = kWsiPlatformAuto; -#if defined(VK_USE_PLATFORM_WIN32_KHR) - wsi_args += ','; - wsi_args += kWsiPlatformWin32; -#endif -#if defined(VK_USE_PLATFORM_XLIB_KHR) - wsi_args += ','; - wsi_args += kWsiPlatformXlib; -#endif -#if defined(VK_USE_PLATFORM_XCB_KHR) - wsi_args += ','; - wsi_args += kWsiPlatformXcb; -#endif -#if defined(VK_USE_PLATFORM_WAYLAND_KHR) - wsi_args += ','; - wsi_args += kWsiPlatformWayland; -#endif -#if defined(VK_USE_PLATFORM_DISPLAY_KHR) - wsi_args += ','; - wsi_args += kWsiPlatformDisplay; -#endif -#if defined(VK_USE_PLATFORM_HEADLESS) - wsi_args += ','; - wsi_args += kWsiPlatformHeadless; -#endif - return wsi_args; -} +void GetScreenshotSize(const gfxrecon::util::ArgumentParser& arg_parser, uint32_t& width, uint32_t& height); -// Modifies settings parameter with values set via command line -static void GetLogSettings(const gfxrecon::util::ArgumentParser& arg_parser, - gfxrecon::util::Log::Settings& log_settings) -{ - // Parse log level - gfxrecon::util::Log::Severity log_level; - const std::string& value_string = arg_parser.GetArgumentValue(kLogLevelArgument); - if (value_string.empty() || !gfxrecon::util::Log::StringToSeverity(value_string, log_level)) - { - log_level = gfxrecon::decode::kDefaultLogLevel; - if (!value_string.empty()) - { - GFXRECON_LOG_WARNING("Ignoring unrecognized log level option value \"%s\"", value_string.c_str()); - } - } - - // Update settings - log_settings.min_severity = log_level; - log_settings.file_name = arg_parser.GetArgumentValue(kLogFileArgument); - log_settings.output_to_os_debug_string = arg_parser.IsOptionSet(kLogDebugView); -} - -static gfxrecon::util::ScreenshotFormat GetScreenshotFormat(const gfxrecon::util::ArgumentParser& arg_parser) -{ - gfxrecon::util::ScreenshotFormat format = gfxrecon::util::ScreenshotFormat::kBmp; - const auto& value = arg_parser.GetArgumentValue(kScreenshotFormatArgument); - - if (!value.empty()) - { - if (gfxrecon::util::platform::StringCompareNoCase(kScreenshotFormatBmp, value.c_str()) == 0) - { - format = gfxrecon::util::ScreenshotFormat::kBmp; - } - else if (gfxrecon::util::platform::StringCompareNoCase(kScreenshotFormatPng, value.c_str()) == 0) - { - format = gfxrecon::util::ScreenshotFormat::kPng; - } - else - { - GFXRECON_LOG_WARNING("Ignoring unrecognized screenshot format option \"%s\"", value.c_str()); - } - } - - return format; -} - -static std::string GetScreenshotDir(const gfxrecon::util::ArgumentParser& arg_parser) -{ - const auto& value = arg_parser.GetArgumentValue(kScreenshotDirArgument); +float GetScreenshotScale(const gfxrecon::util::ArgumentParser& arg_parser); - if (!value.empty()) - { - return value; - } +std::vector GetScreenshotRanges(const gfxrecon::util::ArgumentParser& arg_parser); - return kDefaultScreenshotDir; -} +bool GetMeasurementFrameRange(const gfxrecon::util::ArgumentParser& arg_parser, + uint32_t& start_frame, + uint32_t& end_frame); -static void GetScreenshotSize(const gfxrecon::util::ArgumentParser& arg_parser, uint32_t& width, uint32_t& height) -{ - const auto& value = arg_parser.GetArgumentValue(kScreenshotSizeArgument); - - if (!value.empty()) - { - std::size_t x = value.find("x"); - if (x != std::string::npos) - { - try - { - width = std::stoul(value.substr(0, x)); - height = std::stoul(value.substr(x + 1)); - } - catch (std::exception&) - { - GFXRECON_LOG_WARNING("Ignoring invalid screenshot width x height option. Expected format is " - "--screenshot-size [width]x[height]"); - width = height = 0; - } - } - else - { - width = height = 0; - } - } - else - { - width = height = 0; - } -} - -static float GetScreenshotScale(const gfxrecon::util::ArgumentParser& arg_parser) -{ - const auto& value = arg_parser.GetArgumentValue(kScreenshotScaleArgument); - - float scale = 0.0f; - - if (!value.empty()) - { - try - { - scale = std::stof(value); - } - catch (std::exception&) - { - GFXRECON_LOG_WARNING( - "Ignoring invalid screenshot scale option. Expected format is --screenshot-scale [scale]"); - } - } - - return scale; -} - -static std::vector -GetScreenshotRanges(const gfxrecon::util::ArgumentParser& arg_parser) -{ - std::vector ranges; - - if (arg_parser.IsOptionSet(kScreenshotAllOption)) - { - gfxrecon::decode::ScreenshotRange screenshot_range; - screenshot_range.first = 1; - screenshot_range.last = std::numeric_limits::max(); - ranges.emplace_back(std::move(screenshot_range)); - } - else - { - const auto& value = arg_parser.GetArgumentValue(kScreenshotRangeArgument); - - if (!value.empty()) - { - std::vector frame_ranges = - gfxrecon::util::GetUintRanges(value.c_str(), "screenshot frames"); - - for (uint32_t i = 0; i < frame_ranges.size(); ++i) - { - gfxrecon::decode::ScreenshotRange range{}; - range.first = frame_ranges[i].first; - range.last = frame_ranges[i].last; - ranges.push_back(range); - } - } - } - - return ranges; -} - -static bool -GetMeasurementFrameRange(const gfxrecon::util::ArgumentParser& arg_parser, uint32_t& start_frame, uint32_t& end_frame) -{ - start_frame = 1; - end_frame = std::numeric_limits::max(); - - const auto& value = arg_parser.GetArgumentValue(kMeasurementRangeArgument); - if (!value.empty()) - { - std::vector values = gfxrecon::util::strings::SplitString(value, '-'); - bool invalid = false; - - if (values.size() != 2) - { - GFXRECON_LOG_WARNING( - "Ignoring invalid measurement frame range \"%s\". Must have format: -", - value.c_str()); - invalid = true; - } - - for (std::string& num : values) - { - gfxrecon::util::strings::RemoveWhitespace(num); - - // Check that the range string only contains numbers. - const size_t count = std::count_if(num.begin(), num.end(), ::isdigit); - if (count != num.length()) - { - GFXRECON_LOG_WARNING( - "Ignoring invalid measurement frame range \"%s\", which contains non-numeric values", - value.c_str()); - invalid = true; - break; - } - } - - if (!invalid) - { - uint32_t start_frame_arg = std::stoi(values[0]); - uint32_t end_frame_arg = std::stoi(values[1]); - - if (start_frame_arg >= end_frame_arg) - { - GFXRECON_LOG_WARNING("Ignoring invalid measurement frame range \"%s\", where first frame is " - "greater than or equal to the last frame", - value.c_str()); - - return false; - } - - start_frame = start_frame_arg; - end_frame = end_frame_arg; - return true; - } - } - - return false; -} -static gfxrecon::decode::CreateResourceAllocator +gfxrecon::decode::CreateResourceAllocator GetCreateResourceAllocatorFunc(const gfxrecon::util::ArgumentParser& arg_parser, const std::string& filename, const gfxrecon::decode::VulkanReplayOptions& replay_options, - gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table) -{ - gfxrecon::decode::CreateResourceAllocator func = CreateDefaultAllocator; - const auto& value = arg_parser.GetArgumentValue(kMemoryPortabilityShortOption); - - if (!value.empty()) - { - if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationRebind, value.c_str()) == 0) - { - func = CreateRebindAllocator; - } - else if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationRemap, value.c_str()) == 0) - { - func = CreateRemapAllocator; - } - else if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationRealign, value.c_str()) == 0) - { - func = InitRealignAllocatorCreateFunc(filename, replay_options, tracked_object_info_table); - } - else if (gfxrecon::util::platform::StringCompareNoCase(kMemoryTranslationNone, value.c_str()) != 0) - { - GFXRECON_LOG_WARNING("Ignoring unrecognized memory translation option \"%s\"", value.c_str()); - } - } - - return func; -} + gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table); #if defined(WIN32) -static bool IsApiFamilyIdEnabled(const gfxrecon::util::ArgumentParser& arg_parser, gfxrecon::format::ApiFamilyId api) -{ - const std::string& value = arg_parser.GetArgumentValue(kApiFamilyOption); - - // If the --api argument was specified, parse the option. - if (!value.empty()) - { - if (gfxrecon::util::platform::StringCompareNoCase(kApiFamilyAll, value.c_str()) == 0) - { - return true; - } - else if (gfxrecon::util::platform::StringCompareNoCase(kApiFamilyVulkan, value.c_str()) == 0) - { - return (api == gfxrecon::format::ApiFamilyId::ApiFamily_Vulkan); - } - else if (gfxrecon::util::platform::StringCompareNoCase(kApiFamilyD3D12, value.c_str()) == 0) - { - return (api == gfxrecon::format::ApiFamilyId::ApiFamily_D3D12); - } - else - { - GFXRECON_LOG_WARNING("Ignoring unrecognized API option \"%s\"", value.c_str()); - return true; - } - } - // If the --api argument was not specified, default so that all APIs are enabled. - else - { - return true; - } -} +bool IsApiFamilyIdEnabled(const gfxrecon::util::ArgumentParser& arg_parser, gfxrecon::format::ApiFamilyId api); #endif -static void IsForceWindowed(gfxrecon::decode::ReplayOptions& options, const gfxrecon::util::ArgumentParser& arg_parser) -{ - auto value = arg_parser.GetArgumentValue(kForceWindowedShortArgument); - - if (value.empty()) - { - value = arg_parser.GetArgumentValue(kForceWindowedLongArgument); - } - if (!value.empty()) - { - options.force_windowed = true; - - std::istringstream value_input; - value_input.str(value); - std::string val; - - std::getline(value_input, val, ','); - options.windowed_width = std::stoi(val); - std::getline(value_input, val, ','); - options.windowed_height = std::stoi(val); - } -} - -static std::vector GetFilteredMsgs(const gfxrecon::util::ArgumentParser& arg_parser, - const char* filter_messages) -{ - const auto& value = arg_parser.GetArgumentValue(filter_messages); - std::vector msgs; - if (!value.empty()) - { - std::vector values; - std::istringstream value_input; - value_input.str(value); - - for (std::string val; std::getline(value_input, val, ',');) - { - size_t count = std::count_if(val.begin(), val.end(), ::isdigit); - if (count == val.length()) - { - msgs.push_back(std::stoi(val)); - } - else - { - GFXRECON_LOG_WARNING("Ignoring invalid filter messages\"%s\", which contains non-numeric values", - val.c_str()); - break; - } - } - } - return msgs; -} - -static void GetReplayOptions(gfxrecon::decode::ReplayOptions& options, const gfxrecon::util::ArgumentParser& arg_parser) -{ - if (arg_parser.IsOptionSet(kValidateOption)) - { - options.enable_validation_layer = true; - } - - if (arg_parser.IsOptionSet(kDebugDeviceLostOption)) - { - options.enable_debug_device_lost = true; - } - - if (arg_parser.IsOptionSet(kSyncOption)) - { - options.sync_queue_submissions = true; - } - - if (arg_parser.IsOptionSet(kCreateDummyAllocationsOption)) - { - options.create_dummy_allocations = true; - } - - if (arg_parser.IsOptionSet(kOmitNullHardwareBuffersLongOption) || - arg_parser.IsOptionSet(kOmitNullHardwareBuffersShortOption)) - { - options.omit_null_hardware_buffers = true; - } - - if (arg_parser.IsOptionSet(kQuitAfterMeasurementRangeOption)) - { - options.quit_after_measurement_frame_range = true; - } - - if (arg_parser.IsOptionSet(kFlushMeasurementRangeOption)) - { - options.flush_measurement_frame_range = true; - } - - const auto& override_gpu = arg_parser.GetArgumentValue(kOverrideGpuArgument); - if (!override_gpu.empty()) - { - options.override_gpu_index = std::stoi(override_gpu); - } - - IsForceWindowed(options, arg_parser); -} - -static gfxrecon::decode::VulkanReplayOptions -GetVulkanReplayOptions(const gfxrecon::util::ArgumentParser& arg_parser, - const std::string& filename, - gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table) -{ - gfxrecon::decode::VulkanReplayOptions replay_options; - GetReplayOptions(replay_options, arg_parser); +void IsForceWindowed(gfxrecon::decode::ReplayOptions& options, const gfxrecon::util::ArgumentParser& arg_parser); -#if defined(WIN32) - replay_options.enable_vulkan = IsApiFamilyIdEnabled(arg_parser, gfxrecon::format::ApiFamily_Vulkan); -#else - replay_options.enable_vulkan = true; -#endif +std::vector GetFilteredMsgs(const gfxrecon::util::ArgumentParser& arg_parser, const char* filter_messages); - const auto& override_gpu_group = arg_parser.GetArgumentValue(kOverrideGpuGroupArgument); - if (!override_gpu_group.empty()) - { - replay_options.override_gpu_group_index = std::stoi(override_gpu_group); - } - - if (arg_parser.IsOptionSet(kRemoveUnsupportedOption)) - { - replay_options.remove_unsupported_features = true; - } - - if (arg_parser.IsOptionSet(kSkipFailedAllocationLongOption) || - arg_parser.IsOptionSet(kSkipFailedAllocationShortOption)) - { - replay_options.skip_failed_allocations = true; - } - - if (arg_parser.IsOptionSet(kOmitPipelineCacheDataLongOption) || - arg_parser.IsOptionSet(kOmitPipelineCacheDataShortOption)) - { - replay_options.omit_pipeline_cache_data = true; - } - - if (arg_parser.IsOptionSet(kEnableUseCapturedSwapchainIndices)) - { - replay_options.enable_use_captured_swapchain_indices = true; - } - - replay_options.replace_dir = arg_parser.GetArgumentValue(kShaderReplaceArgument); - replay_options.create_resource_allocator = - GetCreateResourceAllocatorFunc(arg_parser, filename, replay_options, tracked_object_info_table); - - replay_options.screenshot_ranges = GetScreenshotRanges(arg_parser); - replay_options.screenshot_format = GetScreenshotFormat(arg_parser); - replay_options.screenshot_dir = GetScreenshotDir(arg_parser); - replay_options.screenshot_file_prefix = arg_parser.GetArgumentValue(kScreenshotFilePrefixArgument); - GetScreenshotSize(arg_parser, replay_options.screenshot_width, replay_options.screenshot_height); - replay_options.screenshot_scale = GetScreenshotScale(arg_parser); - - if (arg_parser.IsOptionSet(kQuitAfterMeasurementRangeOption)) - { - replay_options.quit_after_measurement_frame_range = true; - } - - if (arg_parser.IsOptionSet(kFlushMeasurementRangeOption)) - { - replay_options.flush_measurement_frame_range = true; - } - - std::string surface_index = arg_parser.GetArgumentValue(kSurfaceIndexArgument); - if (!surface_index.empty()) - { - replay_options.surface_index = std::stoi(surface_index); - } - - return replay_options; -} +void GetReplayOptions(gfxrecon::decode::ReplayOptions& options, const gfxrecon::util::ArgumentParser& arg_parser); + +gfxrecon::decode::VulkanReplayOptions +GetVulkanReplayOptions(const gfxrecon::util::ArgumentParser& arg_parser, + const std::string& filename, + gfxrecon::decode::VulkanTrackedObjectInfoTable* tracked_object_info_table); #if defined(D3D12_SUPPORT) -static gfxrecon::decode::DxReplayOptions GetDxReplayOptions(const gfxrecon::util::ArgumentParser& arg_parser) -{ - gfxrecon::decode::DxReplayOptions replay_options; - GetReplayOptions(replay_options, arg_parser); - - replay_options.enable_d3d12 = IsApiFamilyIdEnabled(arg_parser, gfxrecon::format::ApiFamily_D3D12); - replay_options.DeniedDebugMessages = GetFilteredMsgs(arg_parser, kDeniedMessages); - replay_options.AllowedDebugMessages = GetFilteredMsgs(arg_parser, kAllowedMessages); - - if (arg_parser.IsOptionSet(kDxTwoPassReplay)) - { - replay_options.enable_d3d12_two_pass_replay = true; - } - - if (arg_parser.IsOptionSet(kDiscardCachedPsosLongOption) || arg_parser.IsOptionSet(kDiscardCachedPsosShortOption)) - { - GFXRECON_LOG_WARNING("The parameters --dcp and --discard-cached-psos have been deprecated in favor for " - "--use-cached-psos"); - } - - if (arg_parser.IsOptionSet(kUseCachedPsosOption)) - { - replay_options.use_cached_psos = true; - } - - if (arg_parser.IsOptionSet(kDxOverrideObjectNames)) - { - replay_options.override_object_names = true; - } - - replay_options.screenshot_ranges = GetScreenshotRanges(arg_parser); - replay_options.screenshot_format = GetScreenshotFormat(arg_parser); - replay_options.screenshot_dir = GetScreenshotDir(arg_parser); - replay_options.screenshot_file_prefix = arg_parser.GetArgumentValue(kScreenshotFilePrefixArgument); - return replay_options; -} +gfxrecon::decode::DxReplayOptions GetDxReplayOptions(const gfxrecon::util::ArgumentParser& arg_parser); #endif -static bool CheckOptionPrintVersion(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) -{ - if (arg_parser.IsOptionSet(kVersionOption)) - { - std::string app_name = exe_name; - size_t dir_location = app_name.find_last_of("/\\"); - - if (dir_location >= 0) - { - app_name.replace(0, dir_location + 1, ""); - } +bool CheckOptionPrintVersion(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser); - GFXRECON_WRITE_CONSOLE("%s version info:", app_name.c_str()); - GFXRECON_WRITE_CONSOLE(" GFXReconstruct Version %s", GFXRECON_PROJECT_VERSION_STRING); - GFXRECON_WRITE_CONSOLE(" Vulkan Header Version %u.%u.%u", - VK_VERSION_MAJOR(VK_HEADER_VERSION_COMPLETE), - VK_VERSION_MINOR(VK_HEADER_VERSION_COMPLETE), - VK_VERSION_PATCH(VK_HEADER_VERSION_COMPLETE)); +void PrintUsage(const char* exe_name); - return true; - } - - return false; -} - -static void PrintUsage(const char* exe_name); - -static bool CheckOptionPrintUsage(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser) -{ - if (arg_parser.IsOptionSet(kHelpShortOption) || arg_parser.IsOptionSet(kHelpLongOption)) - { - PrintUsage(exe_name); - return true; - } - - return false; -} +bool CheckOptionPrintUsage(const char* exe_name, const gfxrecon::util::ArgumentParser& arg_parser); #endif // GFXRECON_PLATFORM_SETTINGS_H