summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-05 08:22:10 -0600
committerBrian Paul <[email protected]>2010-05-05 08:22:12 -0600
commit5c2f6a3e9ff933444e0d0b2e844702dd91cc2ce2 (patch)
tree3a960eeae96580638492a275c4d686d33373d5d7 /src
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.
Diffstat (limited to 'src')
-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 7714748daff..22d619fdbc3 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);
}
{