radv/si: fix optimal micro tile selection
authorDave Airlie <airlied@redhat.com>
Thu, 24 Nov 2016 00:04:35 +0000 (10:04 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 27 Nov 2016 23:03:20 +0000 (23:03 +0000)
commit9838db8f643354e485f74664b92b902fe0b95c4f
tree55eccd8fd8e477fb8378ea294d0b757f241c9829
parenta025c5b2c7c9c6862006b13c9b8ab46c3acf8e53
radv/si: fix optimal micro tile selection

The same fix was posted for radeonsi, so port it here.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c