diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/decode/other.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp index 94e39c125..8262d4d4b 100644 --- a/src/video_core/shader/decode/other.cpp +++ b/src/video_core/shader/decode/other.cpp | |||
| @@ -79,6 +79,12 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) { | |||
| 79 | case SystemVariable::InvocationInfo: | 79 | case SystemVariable::InvocationInfo: |
| 80 | LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete"); | 80 | LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete"); |
| 81 | return Immediate(0U); | 81 | return Immediate(0U); |
| 82 | case SystemVariable::WscaleFactorXY: | ||
| 83 | UNIMPLEMENTED_MSG("S2R WscaleFactorXY is not implemented"); | ||
| 84 | return Immediate(0U); | ||
| 85 | case SystemVariable::WscaleFactorZ: | ||
| 86 | UNIMPLEMENTED_MSG("S2R WscaleFactorZ is not implemented"); | ||
| 87 | return Immediate(0U); | ||
| 82 | case SystemVariable::Tid: { | 88 | case SystemVariable::Tid: { |
| 83 | Node value = Immediate(0); | 89 | Node value = Immediate(0); |
| 84 | value = BitfieldInsert(value, Operation(OperationCode::LocalInvocationIdX), 0, 9); | 90 | value = BitfieldInsert(value, Operation(OperationCode::LocalInvocationIdX), 0, 9); |