summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-04 12:16:06 -0400
committerGitHub <noreply@github.com>2018-09-04 12:16:06 -0400
commit9a07e9f8057323dbec477a8e90e626bf80fc1a61 (patch)
tree12fa8788cbe0e913bbcbee452ccbac65fdef742f /src/video_core/gpu.h
parented37b68fb5717f173b617f888980c012dc5c6a04 (diff)
parentdce624e3f12f1fb8bab66a3e974037501653b3ed (diff)
Merge pull request #1237 from degasus/optimizations
Optimizations
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 2c3dbd97b..d29f31f52 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -4,8 +4,8 @@
#pragma once
+#include <array>
#include <memory>
-#include <unordered_map>
#include "common/common_types.h"
#include "core/hle/service/nvflinger/buffer_queue.h"
#include "video_core/memory_manager.h"
@@ -136,7 +136,7 @@ private:
std::unique_ptr<Tegra::MemoryManager> memory_manager;
/// Mapping of command subchannels to their bound engine ids.
- std::unordered_map<u32, EngineID> bound_engines;
+ std::array<EngineID, 8> bound_engines = {};
/// 3D engine
std::unique_ptr<Engines::Maxwell3D> maxwell_3d;