diff --git a/warning-fix.patch b/warning-fix.patch index 146ab3f..55cb208 100644 --- a/warning-fix.patch +++ b/warning-fix.patch @@ -1,12 +1,12 @@ -diff -up Vulkan-ValidationLayers-sdk-1.3.231.1/layers/best_practices_utils.cpp.dma Vulkan-ValidationLayers-sdk-1.3.231.1/layers/best_practices_utils.cpp ---- Vulkan-ValidationLayers-sdk-1.3.231.1/layers/best_practices_utils.cpp.dma 2022-11-10 13:11:09.083237236 +1000 -+++ Vulkan-ValidationLayers-sdk-1.3.231.1/layers/best_practices_utils.cpp 2022-11-10 13:11:31.616633169 +1000 -@@ -1922,7 +1922,7 @@ void BestPractices::RecordCmdBeginRender - if (VendorCheckEnabled(kBPVendorNVIDIA)) { - std::shared_ptr depth_image_view_shared_ptr; - IMAGE_VIEW_STATE* depth_image_view = nullptr; -- layer_data::optional load_op; -+ layer_data::optional load_op = VK_ATTACHMENT_LOAD_OP_DONT_CARE; - - if (rp->use_dynamic_rendering || rp->use_dynamic_rendering_inherited) { - const auto depth_attachment = rp->dynamic_rendering_begin_rendering_info.pDepthAttachment; +diff -up Vulkan-ValidationLayers-sdk-1.3.224.0/layers/best_practices_utils.cpp.dma Vulkan-ValidationLayers-sdk-1.3.224.0/layers/best_practices_utils.cpp +--- Vulkan-ValidationLayers-sdk-1.3.224.0/layers/best_practices_utils.cpp.dma 2022-08-20 02:26:32.000000000 +1000 ++++ Vulkan-ValidationLayers-sdk-1.3.224.0/layers/best_practices_utils.cpp 2022-11-10 13:23:37.383472546 +1000 +@@ -1966,7 +1966,7 @@ void BestPractices::RecordCmdBeginRender + } else { + RecordUnbindZcullScope(*cmd_state); + } +- if (load_op) { ++ if (*load_op) { + if (*load_op == VK_ATTACHMENT_LOAD_OP_CLEAR || *load_op == VK_ATTACHMENT_LOAD_OP_DONT_CARE) { + RecordResetScopeZcullDirection(*cmd_state); + }