diff options
author | José Fonseca <[email protected]> | 2010-06-24 20:57:21 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-06-30 10:19:50 +0100 |
commit | 4ca3e0d84ba21ac4e37ecea0eed05a0bfcb3f098 (patch) | |
tree | 3f2237ab7c4d287eeaae4e9eb3fddd404f09b02a | |
parent | f914cd1796845164109c837a111c39ba64852ad4 (diff) |
llvmpipe: Don't reset the bin when there's a zsbuf bound.
The previous rendering may have secondary effects on the zsbuf.
Fixes the missing tiles on gearbox.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 0557d35f8b1..4e2e17f77b1 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -611,7 +611,8 @@ do_triangle_ccw(struct lp_setup_context *setup, /* triangle covers the whole tile- shade whole tile */ LP_COUNT(nr_fully_covered_64); in = TRUE; - if (setup->fs.current.variant->opaque) { + if (setup->fs.current.variant->opaque && + !setup->fb.zsbuf) { lp_scene_bin_reset( scene, x, y ); lp_scene_bin_command( scene, x, y, lp_rast_set_state, |