mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
Cell: check tile status before wait_on_mask()
This commit is contained in:
parent
41bdf4cf4c
commit
0d3f60ec64
1 changed files with 2 additions and 2 deletions
|
|
@ -278,7 +278,7 @@ do_depth_test(struct setup_stage *setup, int x, int y, unsigned mask)
|
|||
/* now, _really_ clear the tile */
|
||||
clear_z_tile(&ztile);
|
||||
}
|
||||
else {
|
||||
else if (tile_status_z[setup->ty][setup->tx] != TILE_STATUS_DIRTY) {
|
||||
/* make sure we've got the tile from main mem */
|
||||
wait_on_mask(1 << TAG_READ_TILE_Z);
|
||||
}
|
||||
|
|
@ -403,7 +403,7 @@ emit_quad( struct setup_stage *setup, int x, int y, unsigned mask )
|
|||
/* now, _really_ clear the tile */
|
||||
clear_c_tile(&ctile);
|
||||
}
|
||||
else {
|
||||
else if (tile_status[setup->ty][setup->tx] != TILE_STATUS_DIRTY) {
|
||||
/* make sure we've got the tile from main mem */
|
||||
wait_on_mask(1 << TAG_READ_TILE_COLOR);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue