Shader decompiler: Implement proper output semantic mapping

This commit is contained in:
wheremyfoodat 2024-07-28 15:36:22 +03:00
parent 37d7bad5aa
commit 9ee1c3964a
2 changed files with 47 additions and 11 deletions

View file

@ -36,7 +36,7 @@ namespace PICA {
outputCount = regs[PICA::InternalRegs::ShaderOutputCount] & 7;
outputMask = regs[PICA::InternalRegs::VertexShaderOutputMask];
for (int i = 0; i < outputCount; i++) {
outputMask = regs[PICA::InternalRegs::ShaderOutmap0 + i];
outmaps[i] = regs[PICA::InternalRegs::ShaderOutmap0 + i];
}
}
};