mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
llvmpipe: debug checks: make sure scene is empty at key points
This commit is contained in:
parent
c560b97b17
commit
ec9cfac768
1 changed files with 4 additions and 0 deletions
|
|
@ -116,6 +116,8 @@ lp_scene_reset(struct lp_scene *scene )
|
|||
}
|
||||
}
|
||||
|
||||
assert(lp_scene_is_empty(scene));
|
||||
|
||||
/* Free all but last binned data block:
|
||||
*/
|
||||
{
|
||||
|
|
@ -163,6 +165,8 @@ void
|
|||
lp_scene_set_framebuffer_size( struct lp_scene *scene,
|
||||
unsigned width, unsigned height )
|
||||
{
|
||||
assert(lp_scene_is_empty(scene));
|
||||
|
||||
scene->tiles_x = align(width, TILE_SIZE) / TILE_SIZE;
|
||||
scene->tiles_y = align(height, TILE_SIZE) / TILE_SIZE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue