diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-21 05:38:38 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:35 +0200 |
commit | 64337f004d9249c4408fec75bd1bbcc0f2a1408d (patch) | |
tree | 401c988bd203d3b69f005640d31b154702888c6c /src/shader_recompiler/backend/glsl/emit_context.h | |
parent | glsl: Initial backend (diff) | |
download | yuzu-64337f004d9249c4408fec75bd1bbcc0f2a1408d.tar yuzu-64337f004d9249c4408fec75bd1bbcc0f2a1408d.tar.gz yuzu-64337f004d9249c4408fec75bd1bbcc0f2a1408d.tar.bz2 yuzu-64337f004d9249c4408fec75bd1bbcc0f2a1408d.tar.lz yuzu-64337f004d9249c4408fec75bd1bbcc0f2a1408d.tar.xz yuzu-64337f004d9249c4408fec75bd1bbcc0f2a1408d.tar.zst yuzu-64337f004d9249c4408fec75bd1bbcc0f2a1408d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/glsl/emit_context.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.h b/src/shader_recompiler/backend/glsl/emit_context.h index ffc97007d..8d093a853 100644 --- a/src/shader_recompiler/backend/glsl/emit_context.h +++ b/src/shader_recompiler/backend/glsl/emit_context.h @@ -45,18 +45,14 @@ public: code += '\n'; } - std::string AllocVar() { - return fmt::format("var_{}", var_num++); - } - std::string code; RegAlloc reg_alloc; const Info& info; const Profile& profile; - u64 var_num{}; private: void DefineConstantBuffers(); + void DefineStorageBuffers(); }; } // namespace Shader::Backend::GLSL |