radv: add radv_image_is_tc_compat_htile() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 21 Mar 2018 20:30:40 +0000 (21:30 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 23 Mar 2018 09:05:54 +0000 (10:05 +0100)
commit9b8e75bee3291f68c36e68c07a7d19316cd6d080
treef6efdd2230fa76934945ac6e17a68dcc1b721133
parent884d27bcf688d36c3bbe01bceca525595add3b33
radv: add radv_image_is_tc_compat_htile() helper

Instead of that huge conditional that's going to be crazy.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_image.c