projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295a025
)
llvmpipe: added some assertions
author
Brian Paul
<brianp@vmware.com>
Thu, 11 Feb 2010 01:07:38 +0000
(18:07 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 24 Feb 2010 01:57:17 +0000
(18:57 -0700)
src/gallium/drivers/llvmpipe/lp_scene.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_scene.c
b/src/gallium/drivers/llvmpipe/lp_scene.c
index b7116297ece0b01ad8c2acb5e2eb5c55d52d1984..cba0e2129851f08781c4523492ecccd997de126f 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_scene.c
+++ b/
src/gallium/drivers/llvmpipe/lp_scene.c
@@
-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);