summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2020-06-02 15:47:53 +0200
committerGitHub <noreply@github.com>2020-06-02 15:47:53 +0200
commit9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b (patch)
tree69f404e74ebf7b1094c82c76e60f9abbcf829170 /src/video_core/shader
parentMerge pull request #4033 from ReinUsesLisp/vk-r16ui (diff)
parentshader/other: Fix hardcoded value in S2R INVOCATION_INFO (diff)
downloadyuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar.gz
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar.bz2
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar.lz
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar.xz
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar.zst
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.zip
Diffstat (limited to 'src/video_core/shader')
-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 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);