mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 10:55:46 -04:00
Common/Vulkan: Remove unused methods in staging texture
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user