mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 13:30:11 +01:00
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.
This commit is contained in:
parent
f914cd1796
commit
4ca3e0d84b
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue