diff options
| author | 2018-10-14 14:44:24 -0400 | |
|---|---|---|
| committer | 2018-10-14 14:44:24 -0400 | |
| commit | 14286f70f069f1db3c0c3ad42fc78b5d5504da7d (patch) | |
| tree | eed1628a39d2c85a45fd22f0b0d88a55a100505d /src/video_core/textures/decoders.cpp | |
| parent | Merge pull request #1491 from lioncash/reference (diff) | |
| parent | Added ASTC 5x4; 8x5 (diff) | |
| download | yuzu-14286f70f069f1db3c0c3ad42fc78b5d5504da7d.tar.gz yuzu-14286f70f069f1db3c0c3ad42fc78b5d5504da7d.tar.xz yuzu-14286f70f069f1db3c0c3ad42fc78b5d5504da7d.zip | |
Merge pull request #1488 from Hexagon12/astc-types
video_core: Added ASTC 5x4; 8x5 types
Diffstat (limited to 'src/video_core/textures/decoders.cpp')
| -rw-r--r-- | src/video_core/textures/decoders.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp index 0fe91622e..18ab723f7 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp | |||
| @@ -200,7 +200,9 @@ u32 BytesPerPixel(TextureFormat format) { | |||
| 200 | case TextureFormat::R32_G32_B32: | 200 | case TextureFormat::R32_G32_B32: |
| 201 | return 12; | 201 | return 12; |
| 202 | case TextureFormat::ASTC_2D_4X4: | 202 | case TextureFormat::ASTC_2D_4X4: |
| 203 | case TextureFormat::ASTC_2D_5X4: | ||
| 203 | case TextureFormat::ASTC_2D_8X8: | 204 | case TextureFormat::ASTC_2D_8X8: |
| 205 | case TextureFormat::ASTC_2D_8X5: | ||
| 204 | case TextureFormat::A8R8G8B8: | 206 | case TextureFormat::A8R8G8B8: |
| 205 | case TextureFormat::A2B10G10R10: | 207 | case TextureFormat::A2B10G10R10: |
| 206 | case TextureFormat::BF10GF11RF11: | 208 | case TextureFormat::BF10GF11RF11: |