From e9766f1b765c06573597246b5d605345398bc09e Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 2 Apr 2016 18:19:06 +0300 Subject: [PATCH] Properly handle ssa input type (non-varying) Properly handle ssa input as local (non-varying) --- rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp b/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp index 97c22d81cc..c2951f181e 100644 --- a/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp +++ b/rpcs3/Emu/RSX/VK/VKFragmentProgram.cpp @@ -54,6 +54,9 @@ void VKFragmentDecompilerThread::insertIntputs(std::stringstream & OS) { for (const ParamItem& PI : PT.items) { + //ssa is defined in the program body and is not a varying type + if (PI.name == "ssa") continue; + const vk::varying_register_t ® = vk::get_varying_register(PI.name); std::string var_name = PI.name;