diff options
| author | 2020-04-04 03:37:51 -0300 | |
|---|---|---|
| committer | 2020-04-04 03:37:51 -0300 | |
| commit | 8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67 (patch) | |
| tree | c24ecb09424253d2dd2cd71865ddb3da6d5e6ad5 /src/video_core/shader/decode | |
| parent | shader_bytecode: Add encoding for BAR (diff) | |
| download | yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar.gz yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar.xz yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.zip | |
shader_bytecode: Rename MOV_SYS to S2R
Diffstat (limited to 'src/video_core/shader/decode')
| -rw-r--r-- | src/video_core/shader/decode/other.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp index 4944e9d69..94e39c125 100644 --- a/src/video_core/shader/decode/other.cpp +++ b/src/video_core/shader/decode/other.cpp | |||
| @@ -66,18 +66,18 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) { | |||
| 66 | bb.push_back(Operation(OperationCode::Discard)); | 66 | bb.push_back(Operation(OperationCode::Discard)); |
| 67 | break; | 67 | break; |
| 68 | } | 68 | } |
| 69 | case OpCode::Id::MOV_SYS: { | 69 | case OpCode::Id::S2R: { |
| 70 | const Node value = [this, instr] { | 70 | const Node value = [this, instr] { |
| 71 | switch (instr.sys20) { | 71 | switch (instr.sys20) { |
| 72 | case SystemVariable::LaneId: | 72 | case SystemVariable::LaneId: |
| 73 | LOG_WARNING(HW_GPU, "MOV_SYS instruction with LaneId is incomplete"); | 73 | LOG_WARNING(HW_GPU, "S2R instruction with LaneId is incomplete"); |
| 74 | return Immediate(0U); | 74 | return Immediate(0U); |
| 75 | case SystemVariable::InvocationId: | 75 | case SystemVariable::InvocationId: |
| 76 | return Operation(OperationCode::InvocationId); | 76 | return Operation(OperationCode::InvocationId); |
| 77 | case SystemVariable::Ydirection: | 77 | case SystemVariable::Ydirection: |
| 78 | return Operation(OperationCode::YNegate); | 78 | return Operation(OperationCode::YNegate); |
| 79 | case SystemVariable::InvocationInfo: | 79 | case SystemVariable::InvocationInfo: |
| 80 | LOG_WARNING(HW_GPU, "MOV_SYS 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::Tid: { | 82 | case SystemVariable::Tid: { |
| 83 | Node value = Immediate(0); | 83 | Node value = Immediate(0); |