radv: allocate thin textures as linear.
authorDave Airlie <airlied@redhat.com>
Thu, 13 Apr 2017 04:12:28 +0000 (14:12 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Apr 2017 10:31:38 +0000 (20:31 +1000)
commit4bcebe10ca322c1237d93a0bb786b91731f90589
tree368fd40e240a3bdf543f5f6b2612210554b91423
parent9ced105a52896dddf272a6052412275f65efe3b6
radv: allocate thin textures as linear.

This is ported from radeonsi, and avoids the bug in the
addrlib code. This should probably be something addrlib
does for us, but for now this fixes the regression without
changing addrlib and aligns us with radeonsi.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c