mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 10:48:08 +02:00
[g3dvl] rgba surfaces are clearing if the alpha channel is one
This commit is contained in:
parent
a67a0bb60c
commit
6a5d2d7967
1 changed files with 1 additions and 1 deletions
|
|
@ -645,7 +645,7 @@ vl_compositor_set_rgba_layer(struct pipe_video_compositor *compositor,
|
|||
assert(layer < VL_COMPOSITOR_MAX_LAYERS);
|
||||
|
||||
c->used_layers |= 1 << layer;
|
||||
c->layers[layer].clearing = false;
|
||||
c->layers[layer].clearing = rgba->swizzle_a == PIPE_SWIZZLE_ONE;
|
||||
c->layers[layer].fs = c->fs_rgba;
|
||||
c->layers[layer].samplers[0] = c->sampler_linear;
|
||||
c->layers[layer].samplers[1] = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue