GPU: Unify command table (cmdInfo_)

This commit is contained in:
Henrik Rydgård committed 2018-02-26 11:44:02 +01:00
1 parent a8a34fef9c
commit 8cef1f0f8d
10 files changed
+35 -139

No files matched your search

-8
View File
@@ -62,12 +62,6 @@ public:
fullInfo = reportingFullInfo_;
}
typedef void (GPU_Vulkan::*CmdFunc)(u32 op, u32 diff);
struct CommandInfo {
uint64_t flags;
GPU_Vulkan::CmdFunc func;
};
// Using string because it's generic - makes no assumptions on the size of the shader IDs of this backend.
std::vector<std::string> DebugGetShaderIDs(DebugShaderType shader) override;
std::string DebugGetShaderString(std::string id, DebugShaderType shader, DebugShaderStringType stringType) override;
@@ -95,8 +89,6 @@ private:
void InitDeviceObjects();
void DestroyDeviceObjects();
static CommandInfo cmdInfo_[256];
VulkanContext *vulkan_;
FramebufferManagerVulkan *framebufferManagerVulkan_;
TextureCacheVulkan *textureCacheVulkan_;