mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 13:40:29 +01:00
r300g: 8x8-compressed zbuffer can only be point-sampled
This commit is contained in:
parent
2050f2ab96
commit
baf2a795eb
1 changed files with 2 additions and 1 deletions
|
|
@ -367,7 +367,8 @@ static void r300_setup_zmask_flags(struct r300_screen *screen,
|
|||
|
||||
/* The 8x8 compression mode needs macrotiling. */
|
||||
compsize = screen->caps.z_compress == R300_ZCOMP_8X8 &&
|
||||
desc->macrotile[i] ? 8 : 4;
|
||||
desc->macrotile[i] &&
|
||||
desc->b.b.nr_samples <= 1 ? 8 : 4;
|
||||
|
||||
/* Get the zbuffer size (with the aligned width and height). */
|
||||
numdw = align(desc->stride_in_pixels[i],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue