summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-30 01:21:48 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-30 06:49:14 +0200
commitf2d1aa97ad52f5f78ae30b70c59559bfe0b950c5 (patch)
treed0e3aae2290e4ef2aabdfb8a9a8d44c0cd4845f2
parentMerge pull request #3991 from ReinUsesLisp/depth-sampling (diff)
downloadyuzu-f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5.tar
yuzu-f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5.tar.gz
yuzu-f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5.tar.bz2
yuzu-f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5.tar.lz
yuzu-f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5.tar.xz
yuzu-f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5.tar.zst
yuzu-f2d1aa97ad52f5f78ae30b70c59559bfe0b950c5.zip
-rw-r--r--src/video_core/shader/decode/other.cpp2
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 694b325e1..045f5abb5 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);