diff options
-rw-r--r-- | src/gallium/drivers/radeonsi/r600_texture.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c index 8992f9a1fa2..282d4f24253 100644 --- a/src/gallium/drivers/radeonsi/r600_texture.c +++ b/src/gallium/drivers/radeonsi/r600_texture.c @@ -532,7 +532,10 @@ struct pipe_resource *si_texture_create(struct pipe_screen *screen, if (util_format_is_compressed(templ->format)) { array_mode = V_009910_ARRAY_1D_TILED_THIN1; } else { - array_mode = V_009910_ARRAY_2D_TILED_THIN1; + if (rscreen->chip_class >= CIK) + array_mode = V_009910_ARRAY_1D_TILED_THIN1; /* XXX fix me */ + else + array_mode = V_009910_ARRAY_2D_TILED_THIN1; } } |