summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorHexagon12 <benassdo@gmail.com>2018-10-13 16:10:26 +0200
committerHexagon12 <benassdo@gmail.com>2018-10-13 16:10:26 +0200
commitcbf723896f221c782edef9feb6428c29c69fa2fc (patch)
tree9fa847296aedbc3c1cd5b52cee30aff029d496bf /src/video_core/textures
parentMerge pull request #1458 from FernandoS27/fix-render-target-block-settings (diff)
downloadyuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar
yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.gz
yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.bz2
yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.lz
yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.xz
yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.zst
yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.zip
Diffstat (limited to 'src/video_core/textures')
-rw-r--r--src/video_core/textures/decoders.cpp2
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) {
case TextureFormat::R32_G32_B32:
return 12;
case TextureFormat::ASTC_2D_4X4:
+ case TextureFormat::ASTC_2D_5X4:
case TextureFormat::ASTC_2D_8X8:
+ case TextureFormat::ASTC_2D_8X5:
case TextureFormat::A8R8G8B8:
case TextureFormat::A2B10G10R10:
case TextureFormat::BF10GF11RF11: