1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

vk: front_diff_color typo fix (#2016)

* vk: typo fix

* continue in for loop
This commit is contained in:
raven02 2016-08-02 23:54:49 +08:00 committed by GitHub
parent c618e02695
commit 208f4c3e27
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ void VKFragmentDecompilerThread::insertMainStart(std::stringstream & OS)
if (PI.name == "fogc")
{
vk::insert_fog_declaration(OS, m_prog.fog_equation);
return;
continue;
}
}
}

View File

@ -264,7 +264,7 @@ void VKVertexDecompilerThread::insertMainEnd(std::stringstream & OS)
{
if (m_parr.HasParam(PF_PARAM_NONE, "vec4", i.src_reg))
{
if (i.name == "front_spec_color")
if (i.name == "front_diff_color")
insert_front_diffuse = false;
if (i.name == "front_spec_color")