sna: Missing chunks from last commit
And update the check for reusing the blit! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
292aebfcdc
commit
c05e90aa99
|
|
@ -166,7 +166,7 @@ static bool sna_blt_fill_init(struct sna *sna,
|
|||
_kgem_set_mode(kgem, KGEM_BLT);
|
||||
}
|
||||
|
||||
if (sna->blt_state.fill_bo != bo->handle ||
|
||||
if (sna->blt_state.fill_bo != bo->unique_id ||
|
||||
sna->blt_state.fill_pixel != pixel ||
|
||||
sna->blt_state.fill_alu != alu)
|
||||
{
|
||||
|
|
@ -1913,7 +1913,7 @@ Bool sna_blt_fill_boxes(struct sna *sna, uint8_t alu,
|
|||
_kgem_set_mode(kgem, KGEM_BLT);
|
||||
}
|
||||
|
||||
if (sna->blt_state.fill_bo != bo->handle ||
|
||||
if (sna->blt_state.fill_bo != bo->unique_id ||
|
||||
sna->blt_state.fill_pixel != pixel ||
|
||||
sna->blt_state.fill_alu != alu)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue