mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Shader decompiler: Implement proper output semantic mapping
This commit is contained in:
parent
37d7bad5aa
commit
9ee1c3964a
2 changed files with 47 additions and 11 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue