summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_texture.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-05-01 13:56:01 +0200
committerMarek Olšák <marek.olsak@amd.com>2016-05-02 22:49:25 +0200
commitc8aac4fc0dce61a8061bccb8d63a94f1eacd5348 (patch)
treec2d566261dd462bba18e6524c578577f5952c838 /src/gallium/drivers/radeon/r600_texture.c
parentdc970c4f4e03e17e32132734c1707d845ab610c9 (diff)
downloadexternal_mesa3d-c8aac4fc0dce61a8061bccb8d63a94f1eacd5348.zip
external_mesa3d-c8aac4fc0dce61a8061bccb8d63a94f1eacd5348.tar.gz
external_mesa3d-c8aac4fc0dce61a8061bccb8d63a94f1eacd5348.tar.bz2
winsys/amdgpu: pass PIPE_CONFIG to addrlib on texture import
This hasn't been needed, but I think we should set it. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index 4841078..9aca0c2 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -1031,6 +1031,7 @@ static struct pipe_resource *r600_texture_from_handle(struct pipe_screen *screen
rscreen->ws->buffer_get_metadata(buf, &metadata);
+ surface.pipe_config = metadata.pipe_config;
surface.bankw = metadata.bankw;
surface.bankh = metadata.bankh;
surface.tile_split = metadata.tile_split;