forked from eden-emu/eden
shader_recompiler, video_core: Resolve clang errors
Silences the following warnings-turned-errors: -Wsign-conversion -Wunused-private-field -Wbraced-scalar-init -Wunused-variable And some other errors
This commit is contained in:
parent
4e4b8775b5
commit
49946cf780
14 changed files with 40 additions and 44 deletions
|
@ -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{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue