diff options
| author | 2018-09-16 22:47:02 +0800 | |
|---|---|---|
| committer | 2018-09-17 01:04:27 +0800 | |
| commit | 2845348608ccccd0ce36a351cc4a35e753d84837 (patch) | |
| tree | 939d05956e81fbebb7bb7b2afd1258fcf3050c4d /src/video_core/textures | |
| parent | Merge pull request #1273 from Subv/ld_sizes (diff) | |
| download | yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar.gz yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar.xz yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.zip | |
Implement ASTC_2D_8X8 (Bayonetta 2)
Diffstat (limited to 'src/video_core/textures')
| -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 272294c62..58b65de1a 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp | |||
| @@ -63,6 +63,7 @@ u32 BytesPerPixel(TextureFormat format) { | |||
| 63 | case TextureFormat::R32_G32_B32: | 63 | case TextureFormat::R32_G32_B32: |
| 64 | return 12; | 64 | return 12; |
| 65 | case TextureFormat::ASTC_2D_4X4: | 65 | case TextureFormat::ASTC_2D_4X4: |
| 66 | case TextureFormat::ASTC_2D_8X8: | ||
| 66 | case TextureFormat::A8R8G8B8: | 67 | case TextureFormat::A8R8G8B8: |
| 67 | case TextureFormat::A2B10G10R10: | 68 | case TextureFormat::A2B10G10R10: |
| 68 | case TextureFormat::BF10GF11RF11: | 69 | case TextureFormat::BF10GF11RF11: |
| @@ -111,6 +112,7 @@ std::vector<u8> DecodeTexture(const std::vector<u8>& texture_data, TextureFormat | |||
| 111 | case TextureFormat::BC6H_UF16: | 112 | case TextureFormat::BC6H_UF16: |
| 112 | case TextureFormat::BC6H_SF16: | 113 | case TextureFormat::BC6H_SF16: |
| 113 | case TextureFormat::ASTC_2D_4X4: | 114 | case TextureFormat::ASTC_2D_4X4: |
| 115 | case TextureFormat::ASTC_2D_8X8: | ||
| 114 | case TextureFormat::A8R8G8B8: | 116 | case TextureFormat::A8R8G8B8: |
| 115 | case TextureFormat::A2B10G10R10: | 117 | case TextureFormat::A2B10G10R10: |
| 116 | case TextureFormat::A1B5G5R5: | 118 | case TextureFormat::A1B5G5R5: |