diff options
author | LC <mathew1800@gmail.com> | 2020-06-02 09:47:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 09:47:53 -0400 |
commit | 9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b (patch) | |
tree | 69f404e74ebf7b1094c82c76e60f9abbcf829170 /src | |
parent | c5de3c1059ed22f21cc74b8affec3119267f3060 (diff) | |
parent | f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5 (diff) |
Merge pull request #4016 from ReinUsesLisp/invocation-info
shader/other: Fix hardcoded value in S2R INVOCATION_INFO
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/shader/decode/other.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp index d00e10913..c0a8f233f 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); |