Common/Vulkan: Remove unused methods in staging texture

This commit is contained in:
Connor McLaughlin
2020-10-21 23:13:34 +10:00
parent b6a8da34fe
commit bf46461dd6
4 changed files with 6 additions and 20 deletions

View File

@ -9,6 +9,7 @@
#include "../string_util.h"
#include "context.h"
#include "shader_compiler.h"
Log_SetChannel(Vulkan::Util);
namespace Vulkan {
namespace Util {
@ -80,6 +81,10 @@ u32 GetTexelSize(VkFormat format)
case VK_FORMAT_B8G8R8A8_UNORM:
return 4;
case VK_FORMAT_R5G5B5A1_UNORM_PACK16:
case VK_FORMAT_A1R5G5B5_UNORM_PACK16:
return 2;
case VK_FORMAT_BC1_RGBA_UNORM_BLOCK:
return 8;