summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-04 08:37:51 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-04 08:37:51 +0200
commit8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67 (patch)
treec24ecb09424253d2dd2cd71865ddb3da6d5e6ad5 /src/video_core/shader
parentshader_bytecode: Add encoding for BAR (diff)
downloadyuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar
yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar.gz
yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar.bz2
yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar.lz
yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar.xz
yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.tar.zst
yuzu-8b719e9e1d55786c1e5ed7c14aa469f59a4f5b67.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/decode/other.cpp6
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) {
bb.push_back(Operation(OperationCode::Discard));
break;
}
- case OpCode::Id::MOV_SYS: {
+ case OpCode::Id::S2R: {
const Node value = [this, instr] {
switch (instr.sys20) {
case SystemVariable::LaneId:
- LOG_WARNING(HW_GPU, "MOV_SYS instruction with LaneId is incomplete");
+ LOG_WARNING(HW_GPU, "S2R instruction with LaneId is incomplete");
return Immediate(0U);
case SystemVariable::InvocationId:
return Operation(OperationCode::InvocationId);
case SystemVariable::Ydirection:
return Operation(OperationCode::YNegate);
case SystemVariable::InvocationInfo:
- LOG_WARNING(HW_GPU, "MOV_SYS instruction with InvocationInfo is incomplete");
+ LOG_WARNING(HW_GPU, "S2R instruction with InvocationInfo is incomplete");
return Immediate(0U);
case SystemVariable::Tid: {
Node value = Immediate(0);