shader: Move LaneId to the warp emission file and fix AMD
This commit is contained in:
parent
7f8b92cc2d
commit
8ec58e16b2
5 changed files with 11 additions and 7 deletions
|
@ -343,11 +343,11 @@ void VisitUsages(Info& info, IR::Inst& inst) {
|
|||
case IR::Opcode::LocalInvocationId:
|
||||
info.uses_local_invocation_id = true;
|
||||
break;
|
||||
case IR::Opcode::LaneId:
|
||||
case IR::Opcode::ShuffleIndex:
|
||||
case IR::Opcode::ShuffleUp:
|
||||
case IR::Opcode::ShuffleDown:
|
||||
case IR::Opcode::ShuffleButterfly:
|
||||
case IR::Opcode::LaneId:
|
||||
info.uses_subgroup_invocation_id = true;
|
||||
break;
|
||||
case IR::Opcode::GetCbufU8:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue