summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2013-01-17 19:16:49 +0100
committerMichel Dänzer <[email protected]>2013-01-21 14:10:52 +0100
commitf0ffbbc9fff190f014709bb5c5067bf5faae181e (patch)
tree74a3ae74ad1f5b7c4e7b04f96438c540e94cf7e5 /src/gallium/drivers/radeonsi
parent90d919fcd0ef5a09a462871cc6b2174db6e82411 (diff)
radeonsi: Enable 1D tiling for non-depth resources as well.
No piglit regressions anymore thanks to fixes in libdrm_radeon and here. Reviewed-by: Christian König <[email protected]> Signed-off-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/r600_texture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c
index 580af540f74..4c6ca6eb3a7 100644
--- a/src/gallium/drivers/radeonsi/r600_texture.c
+++ b/src/gallium/drivers/radeonsi/r600_texture.c
@@ -522,8 +522,7 @@ struct pipe_resource *si_texture_create(struct pipe_screen *screen,
int r;
if (!(templ->flags & R600_RESOURCE_FLAG_TRANSFER) &&
- !(templ->bind & PIPE_BIND_SCANOUT) &&
- util_format_is_depth_or_stencil(templ->format)) {
+ !(templ->bind & PIPE_BIND_SCANOUT)) {
if (permit_hardware_blit(screen, templ)) {
array_mode = V_009910_ARRAY_1D_TILED_THIN1;
}