diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-21 20:29:29 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-29 21:53:11 +0100 |
commit | 270177f38a79ed8ff4bba631c7b952d53d11c9e3 (patch) | |
tree | 1904dce30520f62b6e2e09dff79672394c4739f2 | |
parent | buffer_cache: Delay buffer destructions (diff) | |
download | yuzu-270177f38a79ed8ff4bba631c7b952d53d11c9e3.tar yuzu-270177f38a79ed8ff4bba631c7b952d53d11c9e3.tar.gz yuzu-270177f38a79ed8ff4bba631c7b952d53d11c9e3.tar.bz2 yuzu-270177f38a79ed8ff4bba631c7b952d53d11c9e3.tar.lz yuzu-270177f38a79ed8ff4bba631c7b952d53d11c9e3.tar.xz yuzu-270177f38a79ed8ff4bba631c7b952d53d11c9e3.tar.zst yuzu-270177f38a79ed8ff4bba631c7b952d53d11c9e3.zip |
-rw-r--r-- | src/video_core/shader/decode/other.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp index 7321698b2..bf8aac308 100644 --- a/src/video_core/shader/decode/other.cpp +++ b/src/video_core/shader/decode/other.cpp @@ -69,13 +69,16 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) { case OpCode::Id::MOV_SYS: { const Node value = [this, instr] { switch (instr.sys20) { + case SystemVariable::LaneId: + LOG_WARNING(HW_GPU, "MOV_SYS 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"); - return Immediate(0u); + return Immediate(0U); case SystemVariable::Tid: { Node value = Immediate(0); value = BitfieldInsert(value, Operation(OperationCode::LocalInvocationIdX), 0, 9); |