From 91e22aa4e48a19cd2086182bacb9c5e4f8fdcf8b Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 22 Jun 2025 15:45:56 +0300 Subject: [PATCH] vk: Fix FS stencil mirror binding location overwrites causing holes in descriptor layout --- rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp b/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp index 7aee3c7d95..94012840ec 100644 --- a/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp +++ b/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp @@ -92,7 +92,7 @@ void VKFragmentDecompilerThread::prepareBindingTable() { for (auto& stencil_location : vk_prog->binding_table.ftex_stencil_location) { - if (stencil_location == umax) + if (stencil_location != 0) { continue; }