summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_texture.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-11-14 16:03:48 +0100
committerMarek Olšák <[email protected]>2019-07-03 15:51:12 -0400
commit595a7f7c47d3b9bbb55d67907b3de77f1486e0b3 (patch)
tree3496d0f69c0125df2d90ee5813aea642c058f032 /src/gallium/drivers/radeonsi/si_texture.c
parent4afce5efdd47a5140a20246895f1a729e24b7b9b (diff)
radeonsi/gfx10: add pipe_screen::make_texture_descriptor
Texture descriptors in gfx10 are very different. Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c
index 324669b4d62..37641c4a102 100644
--- a/src/gallium/drivers/radeonsi/si_texture.c
+++ b/src/gallium/drivers/radeonsi/si_texture.c
@@ -683,7 +683,7 @@ static void si_set_tex_bo_metadata(struct si_screen *sscreen,
bool is_array = util_texture_is_array(res->target);
uint32_t desc[8];
- si_make_texture_descriptor(sscreen, tex, true,
+ sscreen->make_texture_descriptor(sscreen, tex, true,
res->target, res->format,
swizzle, 0, res->last_level, 0,
is_array ? res->array_size - 1 : 0,