mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Remove dead code, minor ge debugger change
This commit is contained in:
1 parent
96761197ca
commit
4c8aae50b2
3 files changed
+1
-7
No files matched your search
@@ -232,8 +232,6 @@ void TextureCacheVulkan::DeviceLost() {
|
||||
void TextureCacheVulkan::DeviceRestore(Draw::DrawContext *draw) {
|
||||
draw_ = draw;
|
||||
|
||||
_assert_(!allocator_);
|
||||
|
||||
VulkanContext *vulkan = (VulkanContext *)draw->GetNativeObject(Draw::NativeObject::CONTEXT);
|
||||
_assert_(vulkan);
|
||||
|
||||
|
||||
@@ -78,8 +78,6 @@ public:
|
||||
|
||||
void GetStats(char *ptr, size_t size);
|
||||
|
||||
VulkanDeviceAllocator *GetAllocator() { return allocator_; }
|
||||
|
||||
std::vector<std::string> DebugGetSamplerIDs() const;
|
||||
std::string DebugGetSamplerString(const std::string &id, DebugShaderStringType stringType);
|
||||
|
||||
@@ -102,8 +100,6 @@ private:
|
||||
|
||||
void CompileScalingShader();
|
||||
|
||||
VulkanDeviceAllocator *allocator_ = nullptr;
|
||||
|
||||
VulkanComputeShaderManager computeShaderManager_;
|
||||
|
||||
SamplerCache samplerCache_;
|
||||
|
||||
@@ -1288,7 +1288,7 @@ void ImGeDebuggerWindow::Draw(ImConfig &cfg, ImControl &control, GPUDebugInterfa
|
||||
TextureCacheCommon *texcache = gpuDebug->GetTextureCacheCommon();
|
||||
TexCacheEntry *tex = texcache ? texcache->SetTexture() : nullptr;
|
||||
if (tex) {
|
||||
ImGui::Text("Texture: ");
|
||||
ImGui::Text("Texture: %08x", tex->addr);
|
||||
texcache->ApplyTexture(false);
|
||||
|
||||
void *nativeView = texcache->GetNativeTextureView(tex, true);
|
||||
|
||||
Reference in new issue
Block a user