anv/cmd_buffer: Add helpers for computing resolve predicates
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 24 Feb 2018 05:00:52 +0000 (21:00 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Mar 2018 22:07:58 +0000 (14:07 -0800)
commit1805c483b1cb68c5a5dfc95f4c992f4de052224f
treea2b39a759d5311f426fe69132afce4969926e90f
parenta0a319f16ef376d957ae9b5f3979a4e7745a554a
anv/cmd_buffer: Add helpers for computing resolve predicates

We'll want to re-use the complex resolve predicate computations for MCS
resolves so it's nice to have them as helper functions.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/vulkan/genX_cmd_buffer.c