diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-13 05:17:26 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-13 05:27:04 +0200 |
commit | 99e23bd0fdb705903f83e7cd5bb4222a2ce5c542 (patch) | |
tree | c87bb539ac697b54dfe78e8aa2dda8aa3171b4fb /src/video_core/surface.h | |
parent | Merge pull request #2823 from ReinUsesLisp/shr-clamp (diff) | |
download | yuzu-99e23bd0fdb705903f83e7cd5bb4222a2ce5c542.tar yuzu-99e23bd0fdb705903f83e7cd5bb4222a2ce5c542.tar.gz yuzu-99e23bd0fdb705903f83e7cd5bb4222a2ce5c542.tar.bz2 yuzu-99e23bd0fdb705903f83e7cd5bb4222a2ce5c542.tar.lz yuzu-99e23bd0fdb705903f83e7cd5bb4222a2ce5c542.tar.xz yuzu-99e23bd0fdb705903f83e7cd5bb4222a2ce5c542.tar.zst yuzu-99e23bd0fdb705903f83e7cd5bb4222a2ce5c542.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/surface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index 83f31c12c..19268b7cd 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -547,6 +547,8 @@ SurfaceType GetFormatType(PixelFormat pixel_format); bool IsPixelFormatASTC(PixelFormat format); +bool IsPixelFormatSRGB(PixelFormat format); + std::pair<u32, u32> GetASTCBlockSize(PixelFormat format); /// Returns true if the specified PixelFormat is a BCn format, e.g. DXT or DXN |