ac/surface: increment surf_index only when tile swizzle is allowed
authorMarek Olšák <marek.olsak@amd.com>
Fri, 28 Jul 2017 21:08:10 +0000 (23:08 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Aug 2017 00:10:04 +0000 (02:10 +0200)
commit59144d4bf5e49cb4085ae723b7e77715922abd61
tree8fea336ce8cb5bd3096d4d02f838089ebe16df93
parent90594002474fa2118555d1a08d67c1fee8f2c24c
ac/surface: increment surf_index only when tile swizzle is allowed

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_image.c
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c