aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-29 01:40:48 +0200
committerMarek Olšák <[email protected]>2018-03-21 13:40:06 -0400
commitf7ffa504a065dc2631fd38cc5fe885b277f4e7e7 (patch)
tree4a091283cc9aadaf290165d5e550d740449b14df /src/gallium/drivers/radeon
parent9f0c9c6d18dfb0027bde20647083395e24ce9825 (diff)
ac/surface: compute tile swizzle for GFX9
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-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 125e7ef4089..3a0a79187b8 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -848,6 +848,7 @@ void si_texture_get_fmask_info(struct si_screen *sscreen,
if (sscreen->info.chip_class >= GFX9) {
out->alignment = rtex->surface.u.gfx9.fmask_alignment;
out->size = rtex->surface.u.gfx9.fmask_size;
+ out->tile_swizzle = rtex->surface.u.gfx9.fmask_tile_swizzle;
return;
}