mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
radeonsi/gfx9: don't check array_mode for allowing TC-compatible HTILE
GFX9 supports this with all modes except linear. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
6f09b0d076
commit
7fcad40ca5
1 changed files with 2 additions and 1 deletions
|
|
@ -222,7 +222,8 @@ static int r600_init_surface(struct r600_common_screen *rscreen,
|
|||
flags |= RADEON_SURF_ZBUFFER;
|
||||
|
||||
if (tc_compatible_htile &&
|
||||
array_mode == RADEON_SURF_MODE_2D) {
|
||||
(rscreen->chip_class >= GFX9 ||
|
||||
array_mode == RADEON_SURF_MODE_2D)) {
|
||||
/* TC-compatible HTILE only supports Z32_FLOAT.
|
||||
* GFX9 also supports Z16_UNORM.
|
||||
* On VI, promote Z16 to Z32. DB->CB copies will convert
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue