summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.h
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-10-19 19:41:57 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-16 22:11:31 +0100
commit826a350e2b6aadb4f123189c28f065b0e7926264 (patch)
tree313ea78b62cee597b3c6f36ff2ca2bd37f29319d /src/video_core/surface.h
parentTexture cache: fix Intel with rescaler. (diff)
downloadyuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar
yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar.gz
yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar.bz2
yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar.lz
yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar.xz
yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.tar.zst
yuzu-826a350e2b6aadb4f123189c28f065b0e7926264.zip
Diffstat (limited to 'src/video_core/surface.h')
-rw-r--r--src/video_core/surface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h
index 3bb24abb7..2ce7c7d33 100644
--- a/src/video_core/surface.h
+++ b/src/video_core/surface.h
@@ -462,6 +462,10 @@ bool IsPixelFormatSRGB(PixelFormat format);
bool IsPixelFormatInteger(PixelFormat format);
+bool IsPixelFormatSignedInteger(PixelFormat format);
+
+size_t PixelComponentSizeBitsInteger(PixelFormat format);
+
std::pair<u32, u32> GetASTCBlockSize(PixelFormat format);
u64 EstimatedDecompressedSize(u64 base_size, PixelFormat format);