Shader decompiler: Add FLR/SLT/SLTI/SGE/SGEI

This commit is contained in:
wheremyfoodat 2024-07-28 17:48:16 +03:00
parent 6c738e821d
commit d125180847
3 changed files with 9 additions and 3 deletions

View file

@ -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;
}
}
};