diff options
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_context.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_context.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_context.cpp b/src/shader_recompiler/backend/glasm/emit_context.cpp index 0f7d79843..b5b0e2204 100644 --- a/src/shader_recompiler/backend/glasm/emit_context.cpp +++ b/src/shader_recompiler/backend/glasm/emit_context.cpp | |||
| @@ -30,9 +30,8 @@ bool IsInputArray(Stage stage) { | |||
| 30 | 30 | ||
| 31 | EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile& profile_, | 31 | EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile& profile_, |
| 32 | const RuntimeInfo& runtime_info_) | 32 | const RuntimeInfo& runtime_info_) |
| 33 | : profile{profile_}, runtime_info{runtime_info_} { | 33 | : info{program.info}, profile{profile_}, runtime_info{runtime_info_} { |
| 34 | // FIXME: Temporary partial implementation | 34 | // FIXME: Temporary partial implementation |
| 35 | const auto& info{program.info}; | ||
| 36 | u32 cbuf_index{}; | 35 | u32 cbuf_index{}; |
| 37 | for (const auto& desc : info.constant_buffer_descriptors) { | 36 | for (const auto& desc : info.constant_buffer_descriptors) { |
| 38 | if (desc.count != 1) { | 37 | if (desc.count != 1) { |