summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-09 07:26:30 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-11-15 00:57:10 +0100
commit80eacdf89b55528a66b2e94391e640e641e8cb57 (patch)
tree38f52e7744ba4db1aba6252837459b1ca72fa465 /src/video_core/surface.h
parenttexture_cache: Drop abstracted ComponentType (diff)
downloadyuzu-80eacdf89b55528a66b2e94391e640e641e8cb57.tar
yuzu-80eacdf89b55528a66b2e94391e640e641e8cb57.tar.gz
yuzu-80eacdf89b55528a66b2e94391e640e641e8cb57.tar.bz2
yuzu-80eacdf89b55528a66b2e94391e640e641e8cb57.tar.lz
yuzu-80eacdf89b55528a66b2e94391e640e641e8cb57.tar.xz
yuzu-80eacdf89b55528a66b2e94391e640e641e8cb57.tar.zst
yuzu-80eacdf89b55528a66b2e94391e640e641e8cb57.zip
Diffstat (limited to 'src/video_core/surface.h')
-rw-r--r--src/video_core/surface.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h
index a3bf2a5b2..0d17a93ed 100644
--- a/src/video_core/surface.h
+++ b/src/video_core/surface.h
@@ -106,7 +106,6 @@ enum class PixelFormat {
Max = MaxDepthStencilFormat,
Invalid = 255,
};
-
static constexpr std::size_t MaxPixelFormat = static_cast<std::size_t>(PixelFormat::Max);
enum class SurfaceType {
@@ -600,10 +599,6 @@ PixelFormat PixelFormatFromDepthFormat(Tegra::DepthFormat format);
PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format);
-PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
- Tegra::Texture::ComponentType component_type,
- bool is_srgb);
-
PixelFormat PixelFormatFromGPUPixelFormat(Tegra::FramebufferConfig::PixelFormat format);
SurfaceType GetFormatType(PixelFormat pixel_format);