summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2022-10-06 16:45:40 +0200
committerGravatar Fernando Sahmkow2022-10-06 16:45:40 +0200
commit1a49991676fa3311cb2efdfd4f250a0f63063d5f (patch)
treefc4638c6128890246ab6dc65215c0df025a873ee /src/video_core/surface.cpp
parentMerge pull request #9013 from liamwhite/spinning-a-yarn (diff)
downloadyuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar.gz
yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar.xz
yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.zip
Texture Cache: Add ASTC 10x5 Format.
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 079d5f028..a2bf08294 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -247,6 +247,8 @@ bool IsPixelFormatASTC(PixelFormat format) {
247 case PixelFormat::ASTC_2D_6X6_UNORM: 247 case PixelFormat::ASTC_2D_6X6_UNORM:
248 case PixelFormat::ASTC_2D_6X6_SRGB: 248 case PixelFormat::ASTC_2D_6X6_SRGB:
249 case PixelFormat::ASTC_2D_10X6_UNORM: 249 case PixelFormat::ASTC_2D_10X6_UNORM:
250 case PixelFormat::ASTC_2D_10X5_UNORM:
251 case PixelFormat::ASTC_2D_10X5_SRGB:
250 case PixelFormat::ASTC_2D_10X10_UNORM: 252 case PixelFormat::ASTC_2D_10X10_UNORM:
251 case PixelFormat::ASTC_2D_10X10_SRGB: 253 case PixelFormat::ASTC_2D_10X10_SRGB:
252 case PixelFormat::ASTC_2D_12X12_UNORM: 254 case PixelFormat::ASTC_2D_12X12_UNORM:
@@ -276,6 +278,7 @@ bool IsPixelFormatSRGB(PixelFormat format) {
276 case PixelFormat::ASTC_2D_5X5_SRGB: 278 case PixelFormat::ASTC_2D_5X5_SRGB:
277 case PixelFormat::ASTC_2D_10X8_SRGB: 279 case PixelFormat::ASTC_2D_10X8_SRGB:
278 case PixelFormat::ASTC_2D_6X6_SRGB: 280 case PixelFormat::ASTC_2D_6X6_SRGB:
281 case PixelFormat::ASTC_2D_10X5_SRGB:
279 case PixelFormat::ASTC_2D_10X10_SRGB: 282 case PixelFormat::ASTC_2D_10X10_SRGB:
280 case PixelFormat::ASTC_2D_12X12_SRGB: 283 case PixelFormat::ASTC_2D_12X12_SRGB:
281 case PixelFormat::ASTC_2D_8X6_SRGB: 284 case PixelFormat::ASTC_2D_8X6_SRGB: