summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-07-21 09:50:45 +0200
committerGitHub <noreply@github.com>2020-07-21 09:50:45 +0200
commit9ea9a60e17676fb704055c15cf09d61f083575de (patch)
tree7ef5558a06d3eed063890ac2d565c91ae5d25d32 /src/video_core
parentMerge pull request #4306 from ReinUsesLisp/bsd-network (diff)
parentdecode/other: Implement S2R.LaneId (diff)
downloadyuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar.gz
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar.bz2
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar.lz
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar.xz
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar.zst
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/decode/other.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp
index c0a8f233f..29a7cfbfe 100644
--- a/src/video_core/shader/decode/other.cpp
+++ b/src/video_core/shader/decode/other.cpp
@@ -75,8 +75,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
const Node value = [this, instr] {
switch (instr.sys20) {
case SystemVariable::LaneId:
- LOG_WARNING(HW_GPU, "S2R instruction with LaneId is incomplete");
- return Immediate(0U);
+ return Operation(OperationCode::ThreadId);
case SystemVariable::InvocationId:
return Operation(OperationCode::InvocationId);
case SystemVariable::Ydirection: