Separate blend modes/operands for rgb/alpha are now supported, and min/max blend modes are supported too. To avoid code bloat, the operands are now no longer implemented as separate permutations in the table, but using a small table and a mask. I haven't tested performance but it shouldn't be much worse (and this is the "general" fallback case anyway, which should prioritize correctness) and the number of functions is significantly reduced. A bug was fixed regarding sRGB behavior when only the blue channel is enabled. M_subtract and M_inv_subtract are still left unimplemented. |
||
|---|---|---|
| .. | ||
| metalibs | ||
| src | ||
| CMakeLists.txt | ||