summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-04 14:23:07 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-04 14:23:07 +0200
commiteca3d16e548451f403cc4cc2e9fb38ed96693102 (patch)
tree43e47d6b09fe97361da3ea7a8357eb95d72ec254
parentMark parameters as const (diff)
downloadyuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar.gz
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar.bz2
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar.lz
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar.xz
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar.zst
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.zip
-rw-r--r--src/video_core/engines/maxwell_3d.cpp2
-rw-r--r--src/video_core/macro/macro_jit_x64.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 14ad40250..951016c3e 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -25,7 +25,7 @@ constexpr u32 MacroRegistersStart = 0xE00;
Maxwell3D::Maxwell3D(Core::System& system, VideoCore::RasterizerInterface& rasterizer,
MemoryManager& memory_manager)
: system{system}, rasterizer{rasterizer}, memory_manager{memory_manager},
- macro_engine(GetMacroEngine(*this)), upload_state{memory_manager, regs.upload} {
+ macro_engine{GetMacroEngine(*this)}, upload_state{memory_manager, regs.upload} {
dirty.flags.flip();
InitializeRegisterDefaults();
}
diff --git a/src/video_core/macro/macro_jit_x64.h b/src/video_core/macro/macro_jit_x64.h
index 6152cb501..21ee157cf 100644
--- a/src/video_core/macro/macro_jit_x64.h
+++ b/src/video_core/macro/macro_jit_x64.h
@@ -85,7 +85,7 @@ private:
std::optional<Macro::Opcode> next_opcode{};
ProgramType program{nullptr};
- std::array<Xbyak::Label, MAX_CODE_SIZE> labels;
+ std::array<Xbyak::Label, MAX_CODE_SIZE> labels{};
std::array<Xbyak::Label, MAX_CODE_SIZE> delay_skip{};
Xbyak::Label end_of_code{};