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

@ -421,7 +421,7 @@ namespace GX2
{
if(aluRegisterOffset&0x8000)
{
cemuLog_logDebug(LogType::Force, "_GX2SubmitUniformReg(): Unhandled loop const special case or invalid offset");
cemuLog_logDebugOnce(LogType::Force, "_GX2SubmitUniformReg(): Unhandled loop const special case or invalid offset");
return;
}
if((aluRegisterOffset+sizeInU32s) > 0x400)