1
0
Fork 0
forked from wry/wry

vulkan: implement all alpha modes

This commit is contained in:
Julian Orth 2026-02-21 14:10:59 +01:00
parent 69ca5d92e7
commit 56a6012a7c
12 changed files with 62 additions and 11 deletions

View file

@ -0,0 +1,8 @@
#ifndef ALPHA_MODES_GLSL
#define ALPHA_MODES_GLSL
#define AM_PREMULTIPLIED_ELECTRICAL 0
#define AM_PREMULTIPLIED_OPTICAL 1
#define AM_STRAIGHT 2
#endif