summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar LC2020-06-02 09:47:53 -0400
committerGravatar GitHub2020-06-02 09:47:53 -0400
commit9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b (patch)
tree69f404e74ebf7b1094c82c76e60f9abbcf829170 /src
parentMerge pull request #4033 from ReinUsesLisp/vk-r16ui (diff)
parentshader/other: Fix hardcoded value in S2R INVOCATION_INFO (diff)
downloadyuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar.gz
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.tar.xz
yuzu-9a0c1456e3a1d54abf73a6b0a3d68652e9ec620b.zip
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.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) {
83 return Operation(OperationCode::YNegate); 83 return Operation(OperationCode::YNegate);
84 case SystemVariable::InvocationInfo: 84 case SystemVariable::InvocationInfo:
85 LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete"); 85 LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete");
86 return Immediate(0U); 86 return Immediate(0x00ff'0000U);
87 case SystemVariable::WscaleFactorXY: 87 case SystemVariable::WscaleFactorXY:
88 UNIMPLEMENTED_MSG("S2R WscaleFactorXY is not implemented"); 88 UNIMPLEMENTED_MSG("S2R WscaleFactorXY is not implemented");
89 return Immediate(0U); 89 return Immediate(0U);