diff --git a/GPU/Vulkan/TextureCacheVulkan.cpp b/GPU/Vulkan/TextureCacheVulkan.cpp index d9e23a783b..7cf7844871 100644 --- a/GPU/Vulkan/TextureCacheVulkan.cpp +++ b/GPU/Vulkan/TextureCacheVulkan.cpp @@ -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); diff --git a/GPU/Vulkan/TextureCacheVulkan.h b/GPU/Vulkan/TextureCacheVulkan.h index 13d1f1a6e3..2eec101800 100644 --- a/GPU/Vulkan/TextureCacheVulkan.h +++ b/GPU/Vulkan/TextureCacheVulkan.h @@ -78,8 +78,6 @@ public: void GetStats(char *ptr, size_t size); - VulkanDeviceAllocator *GetAllocator() { return allocator_; } - std::vector 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_; diff --git a/UI/ImDebugger/ImGe.cpp b/UI/ImDebugger/ImGe.cpp index c2e83373c4..31abd49a90 100644 --- a/UI/ImDebugger/ImGe.cpp +++ b/UI/ImDebugger/ImGe.cpp @@ -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);