Merge pull request #1657 from kd-11/vulkan-wip

vulkan: Properly handle ssa variable as local
This commit is contained in:
vlj 2016-04-06 01:37:13 +02:00
commit 4eb1267c5c

View File

@ -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 &reg = vk::get_varying_register(PI.name);
std::string var_name = PI.name;