diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-07-01 04:04:23 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-07-06 02:33:43 +0200 |
commit | aec129c1ab333292c37e28bd6b76670e9d0a1acf (patch) | |
tree | a2a537d2f04c4a7d6924064b93ad348d398f67a5 /src/video_core/surface.h | |
parent | Merge pull request #8486 from liushuyu/github-actions-verify (diff) | |
download | yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.gz yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.bz2 yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.lz yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.xz yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.zst yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/surface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index 75e055592..0175432ff 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -94,6 +94,7 @@ enum class PixelFormat { ASTC_2D_10X8_SRGB, ASTC_2D_6X6_UNORM, ASTC_2D_6X6_SRGB, + ASTC_2D_10X6_UNORM, ASTC_2D_10X10_UNORM, ASTC_2D_10X10_SRGB, ASTC_2D_12X12_UNORM, @@ -227,6 +228,7 @@ constexpr std::array<u8, MaxPixelFormat> BLOCK_WIDTH_TABLE = {{ 10, // ASTC_2D_10X8_SRGB 6, // ASTC_2D_6X6_UNORM 6, // ASTC_2D_6X6_SRGB + 10, // ASTC_2D_10X6_UNORM 10, // ASTC_2D_10X10_UNORM 10, // ASTC_2D_10X10_SRGB 12, // ASTC_2D_12X12_UNORM @@ -329,6 +331,7 @@ constexpr std::array<u8, MaxPixelFormat> BLOCK_HEIGHT_TABLE = {{ 8, // ASTC_2D_10X8_SRGB 6, // ASTC_2D_6X6_UNORM 6, // ASTC_2D_6X6_SRGB + 6, // ASTC_2D_10X6_UNORM 10, // ASTC_2D_10X10_UNORM 10, // ASTC_2D_10X10_SRGB 12, // ASTC_2D_12X12_UNORM @@ -431,6 +434,7 @@ constexpr std::array<u8, MaxPixelFormat> BITS_PER_BLOCK_TABLE = {{ 128, // ASTC_2D_10X8_SRGB 128, // ASTC_2D_6X6_UNORM 128, // ASTC_2D_6X6_SRGB + 128, // ASTC_2D_10X6_UNORM 128, // ASTC_2D_10X10_UNORM 128, // ASTC_2D_10X10_SRGB 128, // ASTC_2D_12X12_UNORM |