mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 20:24:01 +01:00
ImDebugger: Add a basic texture browser
This commit is contained in:
1 parent
27f08d705b
commit
e4adc112ff
21 files changed
+152
-18
No files matched your search
@@ -867,7 +867,7 @@ std::string TextureCacheVulkan::DebugGetSamplerString(const std::string &id, Deb
|
||||
return samplerCache_.DebugGetSamplerString(id, stringType);
|
||||
}
|
||||
|
||||
void *TextureCacheVulkan::GetNativeTextureView(const TexCacheEntry *entry) {
|
||||
VkImageView view = entry->vkTex->GetImageArrayView();
|
||||
void *TextureCacheVulkan::GetNativeTextureView(const TexCacheEntry *entry, bool flat) const {
|
||||
VkImageView view = flat ? entry->vkTex->GetImageView() : entry->vkTex->GetImageArrayView();
|
||||
return (void *)view;
|
||||
}
|
||||
Reference in new issue
Block a user