1 #ifndef MSP_GL_PIXELFORMAT_BACKEND_H_
2 #define MSP_GL_PIXELFORMAT_BACKEND_H_
4 #ifndef MSP_GL_PIXELFORMAT_H_
5 #error "pixelformat_backend.h requires pixelformat.h"
11 unsigned get_vulkan_pixelformat(PixelFormat);
12 unsigned get_vulkan_aspect(PixelComponents);
13 unsigned get_vulkan_attachment_layout(PixelComponents);
14 PixelFormat pixelformat_from_vulkan(unsigned);
15 const unsigned *get_vulkan_swizzle(ComponentSwizzle);