From 595a7f7c47d3b9bbb55d67907b3de77f1486e0b3 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Tue, 14 Nov 2017 16:03:48 +0100 Subject: radeonsi/gfx10: add pipe_screen::make_texture_descriptor Texture descriptors in gfx10 are very different. Acked-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeonsi/si_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi/si_texture.c') 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, -- cgit v1.2.3