summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-09-04 15:24:45 +0200
committerMarek Olšák <[email protected]>2014-09-04 15:48:38 +0200
commit8bd67231797e5d79d72a4e91b37ea81da30c6df3 (patch)
treef43edf28e27ad593e5c2efae3fcef96c7b62b2d0
parent2d6206140afe9ecb551822ea00c36eeeef7edfbf (diff)
Revert "r600g,radeonsi: initialize HTILE to fully-expanded state"
This reverts commit f05fe294e7e8dfb08be172f426252192c0ba17ab. Apparently the hw doesn't like this. Revert to the "cleared" state. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83418
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index f879f2a9eca..17aca01ad9f 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -559,9 +559,7 @@ static void r600_texture_allocate_htile(struct r600_common_screen *rscreen,
* without htile buffer */
R600_ERR("Failed to create buffer object for htile buffer.\n");
} else {
- /* Clear to fully-expanded state. */
- r600_screen_clear_buffer(rscreen, &rtex->htile_buffer->b.b, 0,
- htile_size, 0xffffffff);
+ r600_screen_clear_buffer(rscreen, &rtex->htile_buffer->b.b, 0, htile_size, 0);
}
}