mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
iris: Fix SourceAlphaBlendFactor
This commit is contained in:
parent
89833eddab
commit
b2c04aa3a0
1 changed files with 2 additions and 2 deletions
|
|
@ -795,7 +795,7 @@ iris_create_blend_state(struct pipe_context *ctx,
|
|||
pb.ColorBufferBlendEnable = state->rt[0].blend_enable;
|
||||
|
||||
pb.SourceBlendFactor = state->rt[0].rgb_src_factor;
|
||||
pb.SourceAlphaBlendFactor = state->rt[0].alpha_func;
|
||||
pb.SourceAlphaBlendFactor = state->rt[0].alpha_src_factor;
|
||||
pb.DestinationBlendFactor = state->rt[0].rgb_dst_factor;
|
||||
pb.DestinationAlphaBlendFactor = state->rt[0].alpha_dst_factor;
|
||||
}
|
||||
|
|
@ -828,7 +828,7 @@ iris_create_blend_state(struct pipe_context *ctx,
|
|||
be.ColorBlendFunction = rt->rgb_func;
|
||||
be.AlphaBlendFunction = rt->alpha_func;
|
||||
be.SourceBlendFactor = rt->rgb_src_factor;
|
||||
be.SourceAlphaBlendFactor = rt->alpha_func;
|
||||
be.SourceAlphaBlendFactor = rt->alpha_src_factor;
|
||||
be.DestinationBlendFactor = rt->rgb_dst_factor;
|
||||
be.DestinationAlphaBlendFactor = rt->alpha_dst_factor;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue