mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
llvmpipe: added some assertions
This commit is contained in:
parent
295a02549d
commit
c8aaa24f2d
1 changed files with 3 additions and 0 deletions
|
|
@ -100,6 +100,9 @@ lp_scene_bin_reset(struct lp_scene *scene, unsigned x, unsigned y)
|
|||
struct cmd_block *block;
|
||||
struct cmd_block *tmp;
|
||||
|
||||
assert(x < TILES_X);
|
||||
assert(y < TILES_Y);
|
||||
|
||||
for (block = list->head; block != list->tail; block = tmp) {
|
||||
tmp = block->next;
|
||||
FREE(block);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue