aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/compatible_formats.h
blob: a7ce2c198c38ba8fb2d264ba358b0544630cceb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "video_core/surface.h"

namespace VideoCore::Surface {

bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b, bool broken_views,
                      bool native_bgr);

bool IsCopyCompatible(PixelFormat format_a, PixelFormat format_b, bool native_bgr);

} // namespace VideoCore::Surface