radv: disable 1d/2d linear optimisation on gfx9.
authorDave Airlie <airlied@redhat.com>
Tue, 22 Aug 2017 02:47:09 +0000 (12:47 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Sep 2017 02:06:08 +0000 (03:06 +0100)
commitd118ff876559e468d2d243470947eee53171fe57
tree7adac2bfa3d54bfc165c7a799633859bfa2429ae
parentb880cd3b597ea0ce514bdf88091e4cc5ec6c3785
radv: disable 1d/2d linear optimisation on gfx9.

This causes hangs in some of the CTS tests with a 2d
1536x2 texture.

This fixes hangs with:
dEQP-VK.pipeline.image.suballocation.sampling_type.combined.iew_type.1d_aray.format.r4g4b4a4_unorm_pack16.count_1.size.512x1_array_of_3
if we reenable it, make sure these don't regress.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c