Latte: Add support for shader instructions MIN_UINT and MAX_UINT

Seen in the eShop version of Fatal Frame
Also made some warnings less spammy since this game seems to trigger it a lot
This commit is contained in:
Exzap 2024-11-16 13:45:33 +01:00
parent 2065ac5f63
commit c3e29fb619
6 changed files with 20 additions and 10 deletions

View file

@ -60,6 +60,8 @@
#define ALU_OP2_INST_SUB_INT (0x035) // integer instruction
#define ALU_OP2_INST_MAX_INT (0x036) // integer instruction
#define ALU_OP2_INST_MIN_INT (0x037) // integer instruction
#define ALU_OP2_INST_MAX_UINT (0x038) // integer instruction
#define ALU_OP2_INST_MIN_UINT (0x039) // integer instruction
#define ALU_OP2_INST_SETE_INT (0x03A) // integer instruction
#define ALU_OP2_INST_SETGT_INT (0x03B) // integer instruction
#define ALU_OP2_INST_SETGE_INT (0x03C) // integer instruction