mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
r600: user correct alpha blend factor
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
f7285bdffc
commit
5101215a64
1 changed files with 2 additions and 2 deletions
|
|
@ -467,10 +467,10 @@ static void r700SetBlendState(GLcontext * ctx)
|
|||
eqn, COLOR_COMB_FCN_shift, COLOR_COMB_FCN_mask);
|
||||
|
||||
SETfield(blend_reg,
|
||||
blend_factor(ctx->Color.BlendSrcRGB, GL_TRUE),
|
||||
blend_factor(ctx->Color.BlendSrcA, GL_TRUE),
|
||||
ALPHA_SRCBLEND_shift, ALPHA_SRCBLEND_mask);
|
||||
SETfield(blend_reg,
|
||||
blend_factor(ctx->Color.BlendDstRGB, GL_FALSE),
|
||||
blend_factor(ctx->Color.BlendDstA, GL_FALSE),
|
||||
ALPHA_DESTBLEND_shift, ALPHA_DESTBLEND_mask);
|
||||
|
||||
switch (ctx->Color.BlendEquationA) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue