mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +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 *block;
|
||||||
struct cmd_block *tmp;
|
struct cmd_block *tmp;
|
||||||
|
|
||||||
|
assert(x < TILES_X);
|
||||||
|
assert(y < TILES_Y);
|
||||||
|
|
||||||
for (block = list->head; block != list->tail; block = tmp) {
|
for (block = list->head; block != list->tail; block = tmp) {
|
||||||
tmp = block->next;
|
tmp = block->next;
|
||||||
FREE(block);
|
FREE(block);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue