diff options
author | Marek Olšák <[email protected]> | 2017-02-16 00:11:58 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | bd1da6b33975d7fb3be6b2150899e1002c666ef7 (patch) | |
tree | d2e7f8096fee074ab505865158cbe6f6cfed91ef /src/gallium/drivers/radeonsi/si_descriptors.c | |
parent | 3685a12bad497bd979abf94d2c64ed9dcf1cdc5a (diff) |
radeonsi/gfx9: add radeon_surf.gfx9.surf_offset
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_descriptors.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_descriptors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index 58d35dabde2..fb82f8f3ee9 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -398,6 +398,8 @@ void si_set_mutable_tex_desc_fields(struct si_screen *sscreen, /* Only stencil_offset needs to be added here. */ if (is_stencil) va += tex->surface.u.gfx9.stencil_offset; + else + va += tex->surface.u.gfx9.surf_offset; } else { va += base_level_info->offset; } |