sna/gen2: Only emit the mask texcoord if there is a mask
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
4fb7784e1e
commit
a89fc7181b
|
|
@ -753,7 +753,8 @@ gen2_emit_composite_vertex(struct sna *sna,
|
|||
{
|
||||
gen2_emit_composite_dstcoord(sna, dstX, dstY);
|
||||
gen2_emit_composite_texcoord(sna, &op->src, srcX, srcY);
|
||||
gen2_emit_composite_texcoord(sna, &op->mask, mskX, mskY);
|
||||
if (op->mask.bo)
|
||||
gen2_emit_composite_texcoord(sna, &op->mask, mskX, mskY);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in New Issue