summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-05 14:22:10 (GMT)
committerBrian Paul <brianp@vmware.com>2010-05-05 14:22:12 (GMT)
commit5c2f6a3e9ff933444e0d0b2e844702dd91cc2ce2 (patch)
tree3a960eeae96580638492a275c4d686d33373d5d7
parent6ddd6403652231bacfe66f84d0ec7be38953b785 (diff)
llvmpipe: added a new assertion as a hint to Coverity
Looks like coverity found a false positive for an out of bounds array write.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h
index 7714748..22d619f 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.h
+++ b/src/gallium/drivers/llvmpipe/lp_scene.h
@@ -274,6 +274,7 @@ lp_scene_bin_command( struct lp_scene *scene,
/* out of memory - simply ignore this command (for now) */
return;
}
+ assert(tail->count == 0);
}
{