diff options
author | Nicolai Hähnle <[email protected]> | 2017-11-14 16:03:48 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-03 15:51:12 -0400 |
commit | 595a7f7c47d3b9bbb55d67907b3de77f1486e0b3 (patch) | |
tree | 3496d0f69c0125df2d90ee5813aea642c058f032 /src/gallium/drivers/radeonsi/si_texture.c | |
parent | 4afce5efdd47a5140a20246895f1a729e24b7b9b (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.c | 2 |
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, |