projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
573313c
)
r600g,radeonsi: initialize HTILE to fully-expanded state
author
Marek Olšák
<marek.olsak@amd.com>
Sat, 23 Aug 2014 13:48:21 +0000
(15:48 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 1 Sep 2014 19:18:52 +0000
(21:18 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_texture.c
b/src/gallium/drivers/radeon/r600_texture.c
index 17aca01ad9f41a617ff9fea2c2c04c8c27e4ac85..f879f2a9eca6f296d3f29560cb304c725337bb1d 100644
(file)
--- a/
src/gallium/drivers/radeon/r600_texture.c
+++ b/
src/gallium/drivers/radeon/r600_texture.c
@@
-559,7
+559,9
@@
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 {
- r600_screen_clear_buffer(rscreen, &rtex->htile_buffer->b.b, 0, htile_size, 0);
+ /* Clear to fully-expanded state. */
+ r600_screen_clear_buffer(rscreen, &rtex->htile_buffer->b.b, 0,
+ htile_size, 0xffffffff);
}
}