]> git.tdb.fi Git - libs/gl.git/blob - source/backends/vulkan/pixelformat_backend.h
Only do layout transitions in render pass for swapchain images
[libs/gl.git] / source / backends / vulkan / pixelformat_backend.h
1 #ifndef MSP_GL_PIXELFORMAT_BACKEND_H_
2 #define MSP_GL_PIXELFORMAT_BACKEND_H_
3
4 #ifndef MSP_GL_PIXELFORMAT_H_
5 #error "pixelformat_backend.h requires pixelformat.h"
6 #endif
7
8 namespace Msp {
9 namespace GL {
10
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);
16
17 } // namespace GL
18 } // namespace Msp
19
20 #endif