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/winsys/amdgpu | |
parent | 3685a12bad497bd979abf94d2c64ed9dcf1cdc5a (diff) |
radeonsi/gfx9: add radeon_surf.gfx9.surf_offset
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c index dd3a154c14b..fd9e4dd482f 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c @@ -902,6 +902,7 @@ static int gfx9_surface_init(struct radeon_winsys *rws, surf->surf_size = 0; surf->dcc_size = 0; surf->htile_size = 0; + surf->u.gfx9.surf_offset = 0; surf->u.gfx9.stencil_offset = 0; surf->u.gfx9.fmask_size = 0; surf->u.gfx9.cmask_size = 0; |