mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
shader: Initial OpenGL implementation
This commit is contained in:
parent
5ad12292a6
commit
5ca5988c63
38 changed files with 1427 additions and 705 deletions
|
@ -355,6 +355,10 @@ U32 IREmitter::WorkgroupIdZ() {
|
|||
return U32{CompositeExtract(Inst(Opcode::WorkgroupId), 2)};
|
||||
}
|
||||
|
||||
Value IREmitter::LocalInvocationId() {
|
||||
return Inst(Opcode::LocalInvocationId);
|
||||
}
|
||||
|
||||
U32 IREmitter::LocalInvocationIdX() {
|
||||
return U32{CompositeExtract(Inst(Opcode::LocalInvocationId), 0)};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue