mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 16:32:53 +00:00
Merge pull request #4361 from ReinUsesLisp/lane-id
decode/other: Implement S2R.LaneId
This commit is contained in:
commit
9ea9a60e17
|
@ -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