diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-19 02:50:00 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:30 +0100 |
commit | 16017ac4503603bcf8189583120ad8888242b0e1 (patch) | |
tree | 6ce351a11c53df3134efde1ca821aa2145bd9342 /src/video_core/surface.h | |
parent | gl_texture_cache: Fix depth and integer format scaling blits (diff) | |
download | yuzu-16017ac4503603bcf8189583120ad8888242b0e1.tar yuzu-16017ac4503603bcf8189583120ad8888242b0e1.tar.gz yuzu-16017ac4503603bcf8189583120ad8888242b0e1.tar.bz2 yuzu-16017ac4503603bcf8189583120ad8888242b0e1.tar.lz yuzu-16017ac4503603bcf8189583120ad8888242b0e1.tar.xz yuzu-16017ac4503603bcf8189583120ad8888242b0e1.tar.zst yuzu-16017ac4503603bcf8189583120ad8888242b0e1.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 1503db81f..3bb24abb7 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -460,6 +460,8 @@ bool IsPixelFormatASTC(PixelFormat format); bool IsPixelFormatSRGB(PixelFormat format); +bool IsPixelFormatInteger(PixelFormat format); + std::pair<u32, u32> GetASTCBlockSize(PixelFormat format); u64 EstimatedDecompressedSize(u64 base_size, PixelFormat format); |