X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fblend_backend.h;fp=source%2Fbackends%2Fvulkan%2Fblend_backend.h;h=c2f9b49f51d6549638274691225184a2c2c9e58b;hb=99ca354f18119f82f1adeca100cd665a8f640317;hp=0000000000000000000000000000000000000000;hpb=4cd245dafe6a7ee5c93edca5aee2d146f1155309;p=libs%2Fgl.git diff --git a/source/backends/vulkan/blend_backend.h b/source/backends/vulkan/blend_backend.h new file mode 100644 index 00000000..c2f9b49f --- /dev/null +++ b/source/backends/vulkan/blend_backend.h @@ -0,0 +1,18 @@ +#ifndef MSP_GL_BLEND_BACKEND_H_ +#define MSP_GL_BLEND_BACKEND_H_ + +#ifndef MSP_GL_BLEND_H_ +#error "blend_backend.h requires blend.h" +#endif + +namespace Msp { +namespace GL { + +unsigned get_vulkan_blend_equation(BlendEquation); +unsigned get_vulkan_blend_factor(BlendFactor); +unsigned get_vulkan_color_mask(ColorWriteMask); + +} // namespace GL +} // namespace Msp + +#endif