sna: Nullify extra fill.ops
I forgot that the initial memset(&fill, 0, sizeof(fill)) was no longer performed and we rely on explicit initialisation during the setup, so add the missing fields. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76088 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
923b158e5c
commit
5d8ded0dd6
|
|
@ -2985,6 +2985,7 @@ gen2_render_fill(struct sna *sna, uint8_t alu,
|
|||
tmp->blt = gen2_render_fill_op_blt;
|
||||
tmp->box = gen2_render_fill_op_box;
|
||||
tmp->boxes = gen2_render_fill_op_boxes;
|
||||
tmp->points = NULL;
|
||||
tmp->done = gen2_render_fill_op_done;
|
||||
|
||||
gen2_emit_fill_state(sna, &tmp->base);
|
||||
|
|
|
|||
|
|
@ -6084,6 +6084,7 @@ gen3_render_fill(struct sna *sna, uint8_t alu,
|
|||
tmp->blt = gen3_render_fill_op_blt;
|
||||
tmp->box = gen3_render_fill_op_box;
|
||||
tmp->boxes = gen3_render_fill_op_boxes;
|
||||
tmp->points = NULL;
|
||||
tmp->done = gen3_render_fill_op_done;
|
||||
|
||||
gen3_align_vertex(sna, &tmp->base);
|
||||
|
|
|
|||
|
|
@ -2852,6 +2852,7 @@ gen4_render_fill(struct sna *sna, uint8_t alu,
|
|||
op->blt = gen4_render_fill_op_blt;
|
||||
op->box = gen4_render_fill_op_box;
|
||||
op->boxes = gen4_render_fill_op_boxes;
|
||||
op->points = NULL;
|
||||
op->done = gen4_render_fill_op_done;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2917,6 +2917,7 @@ gen5_render_fill(struct sna *sna, uint8_t alu,
|
|||
op->blt = gen5_render_fill_op_blt;
|
||||
op->box = gen5_render_fill_op_box;
|
||||
op->boxes = gen5_render_fill_op_boxes;
|
||||
op->points = NULL;
|
||||
op->done = gen5_render_fill_op_done;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3300,6 +3300,7 @@ gen6_render_fill(struct sna *sna, uint8_t alu,
|
|||
op->blt = gen6_render_op_fill_blt;
|
||||
op->box = gen6_render_op_fill_box;
|
||||
op->boxes = gen6_render_op_fill_boxes;
|
||||
op->points = NULL;
|
||||
op->done = gen6_render_op_fill_done;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3565,6 +3565,7 @@ gen7_render_fill(struct sna *sna, uint8_t alu,
|
|||
op->blt = gen7_render_fill_op_blt;
|
||||
op->box = gen7_render_fill_op_box;
|
||||
op->boxes = gen7_render_fill_op_boxes;
|
||||
op->points = NULL;
|
||||
op->done = gen7_render_fill_op_done;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3325,6 +3325,7 @@ gen8_render_fill(struct sna *sna, uint8_t alu,
|
|||
op->blt = gen8_render_fill_op_blt;
|
||||
op->box = gen8_render_fill_op_box;
|
||||
op->boxes = gen8_render_fill_op_boxes;
|
||||
op->points = NULL;
|
||||
op->done = gen8_render_fill_op_done;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue