mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 02:15:45 +00:00
shader: Implement SR_LaneId
This commit is contained in:
parent
595806fb1c
commit
45d547af11
7 changed files with 15 additions and 0 deletions
|
@ -355,6 +355,10 @@ U32 IREmitter::LocalInvocationIdZ() {
|
|||
return U32{CompositeExtract(Inst(Opcode::LocalInvocationId), 2)};
|
||||
}
|
||||
|
||||
U32 IREmitter::LaneId() {
|
||||
return Inst<U32>(Opcode::LaneId);
|
||||
}
|
||||
|
||||
U32 IREmitter::LoadGlobalU8(const U64& address) {
|
||||
return Inst<U32>(Opcode::LoadGlobalU8, address);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue