mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 09:18:40 -05:00
gl_texture_cache: Avoid format views on Intel and AMD
Intel and AMD proprietary drivers are incapable of rendering to texture views of different formats than the original texture. Avoid creating these at a cache level. This will consume more memory, emulating them with copies.
This commit is contained in:
@ -104,6 +104,11 @@ struct TextureCacheRuntime {
|
||||
}
|
||||
|
||||
void InsertUploadMemoryBarrier() {}
|
||||
|
||||
bool HasBrokenTextureViewFormats() const noexcept {
|
||||
// No known Vulkan driver has broken image views
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
class Image : public VideoCommon::ImageBase {
|
||||
|
Reference in New Issue
Block a user