mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 21:08:34 -05:00
Merge pull request #5891 from ameerj/bgra-ogl
renderer_opengl: Use compute shaders to swizzle BGR textures on copy
This commit is contained in:
@ -93,6 +93,11 @@ struct TextureCacheRuntime {
|
||||
// No known Vulkan driver has broken image views
|
||||
return false;
|
||||
}
|
||||
|
||||
bool HasNativeBgr() const noexcept {
|
||||
// All known Vulkan drivers can natively handle BGR textures
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
class Image : public VideoCommon::ImageBase {
|
||||
|
Reference in New Issue
Block a user