projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41f539
)
radeonsi: disable HTILE for 1D-tiled depth-stencil buffers
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 27 Dec 2013 18:14:55 +0000
(19:14 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 6 Jan 2014 17:40:41 +0000
(18:40 +0100)
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 c7ef2777c20f8bc41551619f69fe400fee9a4cdc..caf3743e72fe3aaa4402e6ef4f93bc55f9803e02 100644
(file)
--- a/
src/gallium/drivers/radeon/r600_texture.c
+++ b/
src/gallium/drivers/radeon/r600_texture.c
@@
-466,6
+466,11
@@
static unsigned si_texture_htile_alloc_size(struct r600_common_screen *rscreen,
unsigned slice_elements, slice_bytes, pipe_interleave_bytes, base_align;
unsigned num_pipes = rscreen->tiling_info.num_channels;
+ /* HTILE doesn't work with 1D tiling (there's massive corruption
+ * in glxgears). */
+ if (rtex->surface.level[0].mode != RADEON_SURF_MODE_2D)
+ return 0;
+
switch (num_pipes) {
case 2:
cl_width = 32;