From 67f0388eae898f6feaa9e0e1025de045e805392a Mon Sep 17 00:00:00 2001 From: Samuliak Date: Tue, 11 Mar 2025 08:40:21 +0100 Subject: [PATCH] metal: remove unused texture functions --- include/renderer_mtl/mtl_texture.hpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/renderer_mtl/mtl_texture.hpp b/include/renderer_mtl/mtl_texture.hpp index 667fcb33..a2f111e5 100644 --- a/include/renderer_mtl/mtl_texture.hpp +++ b/include/renderer_mtl/mtl_texture.hpp @@ -54,18 +54,6 @@ namespace Metal { void free(); u64 sizeInBytes(); - u8 decodeTexelBGR8ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelA1BGR5ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelB5G6R5ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelABGR4ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelAI8ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelI8ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelAI4ToRGBA4(u32 u, u32 v, std::span data); - u8 decodeTexelAI4ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelI4ToRGBA4(u32 u, u32 v, std::span data); - u8 decodeTexelI4ToRGBA8(u32 u, u32 v, std::span data); - u8 decodeTexelA4ToA8(u32 u, u32 v, std::span data); - // Returns the format of this texture as a string std::string_view formatToString() { return PICA::textureFormatToString(format); } };