diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp index 2fd90303f..b5f61956a 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp +++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp | |||
| @@ -355,6 +355,10 @@ U32 IREmitter::LocalInvocationIdZ() { | |||
| 355 | return U32{CompositeExtract(Inst(Opcode::LocalInvocationId), 2)}; | 355 | return U32{CompositeExtract(Inst(Opcode::LocalInvocationId), 2)}; |
| 356 | } | 356 | } |
| 357 | 357 | ||
| 358 | U32 IREmitter::LaneId() { | ||
| 359 | return Inst<U32>(Opcode::LaneId); | ||
| 360 | } | ||
| 361 | |||
| 358 | U32 IREmitter::LoadGlobalU8(const U64& address) { | 362 | U32 IREmitter::LoadGlobalU8(const U64& address) { |
| 359 | return Inst<U32>(Opcode::LoadGlobalU8, address); | 363 | return Inst<U32>(Opcode::LoadGlobalU8, address); |
| 360 | } | 364 | } |