diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-12 04:10:38 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:40 +0200 |
commit | 49946cf780c317b4c5ccabb52ec433eba01c1970 (patch) | |
tree | 628060b15b133cf3a1aaf716fba3517fc5c983f0 /src/shader_recompiler/backend/glasm/reg_alloc.h | |
parent | main: Update Shader Cache menu options (diff) | |
download | yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.gz yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.bz2 yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.lz yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.xz yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.zst yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glasm/reg_alloc.h')
-rw-r--r-- | src/shader_recompiler/backend/glasm/reg_alloc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/reg_alloc.h b/src/shader_recompiler/backend/glasm/reg_alloc.h index 5a703daf2..82aec66c6 100644 --- a/src/shader_recompiler/backend/glasm/reg_alloc.h +++ b/src/shader_recompiler/backend/glasm/reg_alloc.h @@ -86,7 +86,7 @@ struct ScalarF64 : Value {}; class RegAlloc { public: - RegAlloc(EmitContext& ctx_) : ctx{ctx_} {} + RegAlloc() = default; Register Define(IR::Inst& inst); @@ -142,7 +142,6 @@ private: void Free(Id id); - EmitContext& ctx; size_t num_used_registers{}; size_t num_used_long_registers{}; std::bitset<NUM_REGS> register_use{}; |