mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 13:59:57 +00:00
decode/other: Implement S2R.LaneId
This maps to host's thread id. - Fixes graphical issues on Paper Mario.
This commit is contained in:
parent
263200f982
commit
210cc0204d
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue