mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-05 06:47:53 +00:00
7d904fef2e
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.
15 lines
397 B
C++
15 lines
397 B
C++
// Copyright 2020 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "video_core/surface.h"
|
|
|
|
namespace VideoCore::Surface {
|
|
|
|
bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b, bool broken_views);
|
|
|
|
bool IsCopyCompatible(PixelFormat format_a, PixelFormat format_b);
|
|
|
|
} // namespace VideoCore::Surface
|