mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Shader decompiler: Add FLR/SLT/SLTI/SGE/SGEI
This commit is contained in:
parent
6c738e821d
commit
d125180847
3 changed files with 9 additions and 3 deletions
|
@ -36,7 +36,8 @@ namespace PICA {
|
|||
outputCount = regs[PICA::InternalRegs::ShaderOutputCount] & 7;
|
||||
outputMask = regs[PICA::InternalRegs::VertexShaderOutputMask];
|
||||
for (int i = 0; i < outputCount; i++) {
|
||||
outmaps[i] = regs[PICA::InternalRegs::ShaderOutmap0 + i];
|
||||
// Mask out unused bits
|
||||
outmaps[i] = regs[PICA::InternalRegs::ShaderOutmap0 + i] & 0x1F1F1F1F;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue