Fix compilation issues (#2)

This commit is contained in:
InoriRus
2021-12-06 17:23:53 +10:00
parent 0242926a7c
commit ba00d71a33
6 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -492,7 +492,7 @@ KYTY_SHADER_PARSER(shader_parse_sopp)
if (inst.type == ShaderInstructionType::SCbranchScc0 || inst.type == ShaderInstructionType::SCbranchExecz)
{
dst->GetLabels().Add({inst.pc + 4 + inst.src[0].constant.i, inst.pc});
dst->GetLabels().Add(ShaderLabel({inst.pc + 4 + inst.src[0].constant.i, inst.pc}));
}
return 1;