summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/formatter.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-04-13 17:01:57 +0200
committerLiam <byteslice@airmail.cc>2022-04-14 17:06:27 +0200
commitf783883bf89311b51aef76b6b8b07d112369eca7 (patch)
tree840182ad79bb2b6025aa79e01adf8a063f8c7ea6 /src/video_core/texture_cache/formatter.h
parentbuffer_cache: cap vertex buffer sizes (diff)
downloadyuzu-f783883bf89311b51aef76b6b8b07d112369eca7.tar
yuzu-f783883bf89311b51aef76b6b8b07d112369eca7.tar.gz
yuzu-f783883bf89311b51aef76b6b8b07d112369eca7.tar.bz2
yuzu-f783883bf89311b51aef76b6b8b07d112369eca7.tar.lz
yuzu-f783883bf89311b51aef76b6b8b07d112369eca7.tar.xz
yuzu-f783883bf89311b51aef76b6b8b07d112369eca7.tar.zst
yuzu-f783883bf89311b51aef76b6b8b07d112369eca7.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/texture_cache/formatter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/formatter.h b/src/video_core/texture_cache/formatter.h
index b2c81057b..6f5afc5a9 100644
--- a/src/video_core/texture_cache/formatter.h
+++ b/src/video_core/texture_cache/formatter.h
@@ -38,6 +38,8 @@ struct fmt::formatter<VideoCore::Surface::PixelFormat> : fmt::formatter<fmt::str
return "A2B10G10R10_UINT";
case PixelFormat::A1B5G5R5_UNORM:
return "A1B5G5R5_UNORM";
+ case PixelFormat::A5B5G5R1_UNORM:
+ return "A5B5G5R1_UNORM";
case PixelFormat::R8_UNORM:
return "R8_UNORM";
case PixelFormat::R8_SNORM:
@@ -152,6 +154,8 @@ struct fmt::formatter<VideoCore::Surface::PixelFormat> : fmt::formatter<fmt::str
return "BC7_SRGB";
case PixelFormat::A4B4G4R4_UNORM:
return "A4B4G4R4_UNORM";
+ case PixelFormat::R4G4_UNORM:
+ return "R4G4_UNORM";
case PixelFormat::ASTC_2D_4X4_SRGB:
return "ASTC_2D_4X4_SRGB";
case PixelFormat::ASTC_2D_8X8_SRGB: