mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Add way to bind cached textures to a DrawContext
This commit is contained in:
1 parent
f745e94899
commit
abd58199ce
10 files changed
+33
-6
No files matched your search
@@ -857,3 +857,8 @@ std::vector<std::string> TextureCacheVulkan::DebugGetSamplerIDs() const {
|
||||
std::string TextureCacheVulkan::DebugGetSamplerString(std::string id, DebugShaderStringType stringType) {
|
||||
return samplerCache_.DebugGetSamplerString(id, stringType);
|
||||
}
|
||||
|
||||
void *TextureCacheVulkan::GetNativeTextureView(const TexCacheEntry *entry) {
|
||||
VkImageView view = entry->vkTex->GetImageView();
|
||||
return (void *)view;
|
||||
}
|
||||
Reference in new issue
Block a user