summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2020-07-21 04:50:45 -0300
committerGravatar GitHub2020-07-21 04:50:45 -0300
commit9ea9a60e17676fb704055c15cf09d61f083575de (patch)
tree7ef5558a06d3eed063890ac2d565c91ae5d25d32
parentMerge pull request #4306 from ReinUsesLisp/bsd-network (diff)
parentdecode/other: Implement S2R.LaneId (diff)
downloadyuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar.gz
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.tar.xz
yuzu-9ea9a60e17676fb704055c15cf09d61f083575de.zip
Merge pull request #4361 from ReinUsesLisp/lane-id
decode/other: Implement S2R.LaneId
Diffstat (limited to '')
-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) {
75 const Node value = [this, instr] { 75 const Node value = [this, instr] {
76 switch (instr.sys20) { 76 switch (instr.sys20) {
77 case SystemVariable::LaneId: 77 case SystemVariable::LaneId:
78 LOG_WARNING(HW_GPU, "S2R instruction with LaneId is incomplete"); 78 return Operation(OperationCode::ThreadId);
79 return Immediate(0U);
80 case SystemVariable::InvocationId: 79 case SystemVariable::InvocationId:
81 return Operation(OperationCode::InvocationId); 80 return Operation(OperationCode::InvocationId);
82 case SystemVariable::Ydirection: 81 case SystemVariable::Ydirection: