diff options
| author | 2018-10-13 17:10:26 +0300 | |
|---|---|---|
| committer | 2018-10-13 17:10:26 +0300 | |
| commit | cbf723896f221c782edef9feb6428c29c69fa2fc (patch) | |
| tree | 9fa847296aedbc3c1cd5b52cee30aff029d496bf /src/video_core/textures/decoders.cpp | |
| parent | Merge pull request #1458 from FernandoS27/fix-render-target-block-settings (diff) | |
| download | yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.gz yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.xz yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.zip | |
Added ASTC 5x4; 8x5
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 3d5476e5d..8d2daa284 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp | |||
| @@ -125,7 +125,9 @@ u32 BytesPerPixel(TextureFormat format) { | |||
| 125 | case TextureFormat::R32_G32_B32: | 125 | case TextureFormat::R32_G32_B32: |
| 126 | return 12; | 126 | return 12; |
| 127 | case TextureFormat::ASTC_2D_4X4: | 127 | case TextureFormat::ASTC_2D_4X4: |
| 128 | case TextureFormat::ASTC_2D_5X4: | ||
| 128 | case TextureFormat::ASTC_2D_8X8: | 129 | case TextureFormat::ASTC_2D_8X8: |
| 130 | case TextureFormat::ASTC_2D_8X5: | ||
| 129 | case TextureFormat::A8R8G8B8: | 131 | case TextureFormat::A8R8G8B8: |
| 130 | case TextureFormat::A2B10G10R10: | 132 | case TextureFormat::A2B10G10R10: |
| 131 | case TextureFormat::BF10GF11RF11: | 133 | case TextureFormat::BF10GF11RF11: |