diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-07-10 13:16:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-10 13:16:23 +0200 |
commit | 6c72b7f01109300f98a7ba6465285657f330df4c (patch) | |
tree | a6662d424de9e4e420e0cca15d41e02056ad58fa /src/video_core/surface.h | |
parent | Merge pull request #8561 from Kelebek1/Audio-CoreTiming (diff) | |
parent | renderer_(gl/vk): Implement ASTC_10x6_UNORM (diff) | |
download | yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.gz yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.bz2 yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.lz yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.xz yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.zst yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.zip |
Diffstat (limited to 'src/video_core/surface.h')
-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 |