mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 00:07:47 +00: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:
parent
77e7412d3e
commit
d8569c3af4
11 changed files with 48 additions and 21 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace VideoCore::Surface {
|
||||
|
||||
bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b);
|
||||
bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b, bool broken_views);
|
||||
|
||||
bool IsCopyCompatible(PixelFormat format_a, PixelFormat format_b);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue