2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #4016 from ReinUsesLisp/invocation-info

shader/other: Fix hardcoded value in S2R INVOCATION_INFO
This commit is contained in:
LC 2020-06-02 09:47:53 -04:00 committed by GitHub
commit 9a0c1456e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
return Operation(OperationCode::YNegate); return Operation(OperationCode::YNegate);
case SystemVariable::InvocationInfo: case SystemVariable::InvocationInfo:
LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete"); LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete");
return Immediate(0U); return Immediate(0x00ff'0000U);
case SystemVariable::WscaleFactorXY: case SystemVariable::WscaleFactorXY:
UNIMPLEMENTED_MSG("S2R WscaleFactorXY is not implemented"); UNIMPLEMENTED_MSG("S2R WscaleFactorXY is not implemented");
return Immediate(0U); return Immediate(0U);