mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-18 00:50:13 +00:00
svga: add comment about unsupported blend modes
This commit is contained in:
parent
b1772651b7
commit
93779b87a1
@ -37,6 +37,9 @@
|
||||
static inline unsigned
|
||||
svga_translate_blend_factor(const struct svga_context *svga, unsigned factor)
|
||||
{
|
||||
/* Note: there is no SVGA3D_BLENDOP_[INV]BLENDFACTORALPHA so
|
||||
* we can't translate PIPE_BLENDFACTOR_[INV_]CONST_ALPHA properly.
|
||||
*/
|
||||
switch (factor) {
|
||||
case PIPE_BLENDFACTOR_ZERO: return SVGA3D_BLENDOP_ZERO;
|
||||
case PIPE_BLENDFACTOR_SRC_ALPHA: return SVGA3D_BLENDOP_SRCALPHA;
|
||||
|
Loading…
x
Reference in New Issue
Block a user