summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_scene.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-01-13 21:51:47 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-01-13 21:51:47 +0000
commita1acbff299c444913418e65da473745cd901a2db (patch)
tree703a522d50872a584529032a8a6b0b9f6a86fb6b /src/gallium/drivers/llvmpipe/lp_scene.h
parent4231006e29cbf9fb54c72acf35009f3b18fe62ab (diff)
llvmpipe: Reset the bin when shading a whole tile with an opaque shader.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h
index b59b687002..4b6527d67c 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.h
+++ b/src/gallium/drivers/llvmpipe/lp_scene.h
@@ -215,6 +215,10 @@ lp_scene_get_bin(struct lp_scene *scene, unsigned x, unsigned y)
}
+/** Remove all commands from a bin */
+void
+lp_scene_bin_reset(struct lp_scene *scene, unsigned x, unsigned y);
+
/* Add a command to bin[x][y].
*/