ac/radeonsi: add ac_compute_surface to automatically switch gfx6 vs. gfx9
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 10 May 2017 18:40:14 +0000 (20:40 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 18 May 2017 09:48:52 +0000 (11:48 +0200)
commit00f466bad93e13adf3da04bdc0746d76f75b6c1b
treef79a6bee36dd3f986c2bceb4e5587aa07707c824
parent8aabed64c37c70b0914e5628f0168264ed7e21c7
ac/radeonsi: add ac_compute_surface to automatically switch gfx6 vs. gfx9

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c