VERY experimental Nintendo Switch 2 emulator
C++
shader/other: Fix hardcoded value in S2R INVOCATION_INFO
ReinUsesLispb62b8c8a5d9d
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cppindex 694b325e14..045f5abb50 100644--- a/src/video_core/shader/decode/other.cpp+++ b/src/video_core/shader/decode/other.cpp@@ -83,7 +83,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {return Operation(OperationCode::YNegate);case SystemVariable::InvocationInfo:LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete");- return Immediate(0U);+ return Immediate(0x00ff'0000U);case SystemVariable::WscaleFactorXY:UNIMPLEMENTED_MSG("S2R WscaleFactorXY is not implemented");return Immediate(0U);