mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
shader: Implement SR_LaneId
This commit is contained in:
parent
e98900a16b
commit
5a6eb31578
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