anv: Compact render targets
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Mar 2016 01:28:00 +0000 (17:28 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Mar 2016 23:40:11 +0000 (15:40 -0800)
commitcce65471b8667e1752754c53361031cded5b39d1
tree178546b008cbd296c8a3e21a617f8e5404c35add
parent75af420cb1145f5fc34af6728047a2404b5f1add
anv: Compact render targets

Previously, we would always emit all of the render targets in the subpass.
This commit changes it so that we compact render targets just like we do
with other resources.  Render targets are represented in the surface map by
using a descriptor set index of UINT16_MAX.
src/intel/vulkan/anv_cmd_buffer.c
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/gen8_pipeline.c