diff options
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r-- | src/sna/gen6_render.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index fc2fc471..838819d1 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -2793,6 +2793,7 @@ gen6_render_fill(struct sna *sna, uint8_t alu, op->base.dst.height = dst->drawable.height; op->base.dst.format = sna_format_for_depth(dst->drawable.depth); op->base.dst.bo = dst_bo; + op->base.dst.x = op->base.dst.y = 0; op->base.src.bo = sna_render_get_solid(sna, @@ -2801,6 +2802,10 @@ gen6_render_fill(struct sna *sna, uint8_t alu, op->base.src.filter = SAMPLER_FILTER_NEAREST; op->base.src.repeat = SAMPLER_EXTEND_REPEAT; + op->base.mask.bo = NULL; + op->base.mask.filter = SAMPLER_FILTER_NEAREST; + op->base.mask.repeat = SAMPLER_EXTEND_NONE; + op->base.is_affine = TRUE; op->base.floats_per_vertex = 3; op->base.floats_per_rect = 9; |