summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_scene.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-27 13:10:56 -0600
committerBrian Paul <[email protected]>2010-04-28 11:26:37 -0600
commitb73c9ba9195ac436960b90649db35bb11d23f9d0 (patch)
treef87f1b948babc50d847a888ebb99cc509b4813ea /src/gallium/drivers/llvmpipe/lp_scene.c
parentce0844b44cb3924323ed1fd2b75cda4dbd0013c7 (diff)
llvmpipe: remove unused write_depth
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.c b/src/gallium/drivers/llvmpipe/lp_scene.c
index 02a1b6a20b4..1482a777ff8 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.c
+++ b/src/gallium/drivers/llvmpipe/lp_scene.c
@@ -427,8 +427,7 @@ void lp_scene_begin_binning( struct lp_scene *scene,
void lp_scene_rasterize( struct lp_scene *scene,
- struct lp_rasterizer *rast,
- boolean write_depth )
+ struct lp_rasterizer *rast )
{
if (0) {
unsigned x, y;
@@ -442,9 +441,6 @@ void lp_scene_rasterize( struct lp_scene *scene,
}
}
- scene->write_depth = (scene->fb.zsbuf != NULL &&
- write_depth);
-
/* Enqueue the scene for rasterization, then immediately wait for
* it to finish.
*/