projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90d919f
)
radeonsi: Enable 1D tiling for non-depth resources as well.
author
Michel Dänzer
<michel.daenzer@amd.com>
Thu, 17 Jan 2013 18:16:49 +0000
(19:16 +0100)
committer
Michel Dänzer
<michel@daenzer.net>
Mon, 21 Jan 2013 13:10:52 +0000
(14:10 +0100)
No piglit regressions anymore thanks to fixes in libdrm_radeon and here.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/r600_texture.c
b/src/gallium/drivers/radeonsi/r600_texture.c
index 580af540f7457e73bfee048e71e45bf0654c4965..4c6ca6eb3a75bb1f84bb13bba02ac2cac7725c0f 100644
(file)
--- 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;
}