diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-09 02:38:26 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-14 22:21:42 +0100 |
commit | 48a1687f515110b602c64ffbc27eacef3e57a575 (patch) | |
tree | 16a9945ee8d4f01e2d1a7c0dde0313464e1f9c18 /src/video_core/surface.h | |
parent | Merge pull request #3110 from greggameplayer/CompleteRGBA16UI (diff) | |
download | yuzu-48a1687f515110b602c64ffbc27eacef3e57a575.tar yuzu-48a1687f515110b602c64ffbc27eacef3e57a575.tar.gz yuzu-48a1687f515110b602c64ffbc27eacef3e57a575.tar.bz2 yuzu-48a1687f515110b602c64ffbc27eacef3e57a575.tar.lz yuzu-48a1687f515110b602c64ffbc27eacef3e57a575.tar.xz yuzu-48a1687f515110b602c64ffbc27eacef3e57a575.tar.zst yuzu-48a1687f515110b602c64ffbc27eacef3e57a575.zip |
Diffstat (limited to 'src/video_core/surface.h')
-rw-r--r-- | src/video_core/surface.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index d3bcd38c5..a3bf2a5b2 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -109,15 +109,6 @@ enum class PixelFormat { static constexpr std::size_t MaxPixelFormat = static_cast<std::size_t>(PixelFormat::Max); -enum class ComponentType { - Invalid = 0, - SNorm = 1, - UNorm = 2, - SInt = 3, - UInt = 4, - Float = 5, -}; - enum class SurfaceType { ColorTexture = 0, Depth = 1, @@ -613,14 +604,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format, Tegra::Texture::ComponentType component_type, bool is_srgb); -ComponentType ComponentTypeFromTexture(Tegra::Texture::ComponentType type); - -ComponentType ComponentTypeFromRenderTarget(Tegra::RenderTargetFormat format); - PixelFormat PixelFormatFromGPUPixelFormat(Tegra::FramebufferConfig::PixelFormat format); -ComponentType ComponentTypeFromDepthFormat(Tegra::DepthFormat format); - SurfaceType GetFormatType(PixelFormat pixel_format); bool IsPixelFormatASTC(PixelFormat format); |