diff options
| author | 2021-06-21 01:07:10 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:39 -0400 | |
| commit | 808ef97a086e7cc58a3ceded1de516ad6a6be5d3 (patch) | |
| tree | b79be02801ddadb44940d2c77fa0ae5c571dc557 /src/shader_recompiler/frontend/ir/ir_emitter.cpp | |
| parent | gl_graphics_pipeline: Fix assembly shaders check for transform feedbacks (diff) | |
| download | yuzu-808ef97a086e7cc58a3ceded1de516ad6a6be5d3.tar.gz yuzu-808ef97a086e7cc58a3ceded1de516ad6a6be5d3.tar.xz yuzu-808ef97a086e7cc58a3ceded1de516ad6a6be5d3.zip | |
shader: Move loop safety tests to code emission
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp index d2ac2acac..2e75208e6 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp +++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp | |||
| @@ -147,14 +147,6 @@ void IREmitter::SetIndirectBranchVariable(const U32& value) { | |||
| 147 | Inst(Opcode::SetIndirectBranchVariable, value); | 147 | Inst(Opcode::SetIndirectBranchVariable, value); |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | U32 IREmitter::GetLoopSafetyVariable(u32 id) { | ||
| 151 | return Inst<U32>(Opcode::GetLoopSafetyVariable, id); | ||
| 152 | } | ||
| 153 | |||
| 154 | void IREmitter::SetLoopSafetyVariable(u32 id, const U32& counter) { | ||
| 155 | Inst(Opcode::SetLoopSafetyVariable, id, counter); | ||
| 156 | } | ||
| 157 | |||
| 158 | U32 IREmitter::GetCbuf(const U32& binding, const U32& byte_offset) { | 150 | U32 IREmitter::GetCbuf(const U32& binding, const U32& byte_offset) { |
| 159 | return Inst<U32>(Opcode::GetCbufU32, binding, byte_offset); | 151 | return Inst<U32>(Opcode::GetCbufU32, binding, byte_offset); |
| 160 | } | 152 | } |