diff options
author | Marek Olšák <[email protected]> | 2017-07-29 01:40:48 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-03-21 13:40:06 -0400 |
commit | f7ffa504a065dc2631fd38cc5fe885b277f4e7e7 (patch) | |
tree | 4a091283cc9aadaf290165d5e550d740449b14df /src/gallium/winsys/amdgpu/drm | |
parent | 9f0c9c6d18dfb0027bde20647083395e24ce9825 (diff) |
ac/surface: compute tile swizzle for GFX9
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c index fabc6ccd93b..fc5c9d5a127 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c @@ -100,6 +100,8 @@ static int amdgpu_surface_init(struct radeon_winsys *rws, else config.info.surf_index = NULL; + config.info.fmask_surf_index = &ws->surf_index_fmask; + return ac_compute_surface(ws->addrlib, &ws->info, &config, mode, surf); } |