mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 18:00:24 +01:00
gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0
This commit is contained in:
parent
6c59de9a7b
commit
5ee218a021
1 changed files with 2 additions and 0 deletions
|
|
@ -55,7 +55,9 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
|
|||
|
||||
if (ps == sp_tile_cache_get_surface(softpipe->zsbuf_cache)) {
|
||||
sp_tile_cache_clear(softpipe->zsbuf_cache, clearValue);
|
||||
#if TILE_CLEAR_OPTIMIZATION
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
for (i = 0; i < softpipe->framebuffer.num_cbufs; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue