[Chore] (MG_Impl/Texture): convert base internal format to sized ones (on a best-effort basis)

This commit is contained in:
2026-01-08 10:19:20 +08:00
parent a601307d6f
commit d7e1aee645
8 changed files with 163 additions and 17 deletions
@@ -14,7 +14,6 @@ namespace MobileGL {
SizeT GetSizedInternalFormatSizeInBytes(TextureInternalFormat internal) {
switch (internal) {
case TextureInternalFormat::R8:
case TextureInternalFormat::Red:
case TextureInternalFormat::R8Snorm:
case TextureInternalFormat::R8I:
case TextureInternalFormat::R8UI: