anv: Make subpass::depth_stencil_attachment a pointer
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Jun 2018 16:22:20 +0000 (09:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 9 Jul 2018 17:11:53 +0000 (10:11 -0700)
commit208be8eafa30be6c5e79fe3235f5404fd803baf1
tree6a2e335488b896df7b3a52c36f5111c29e14ce1c
parent75e308fc44a02e80e6c83b7bbe5266b01cea1fce
anv: Make subpass::depth_stencil_attachment a pointer

This makes certain checks a bit easier and means that we don't have
the attachment information duplicated in the attachment list and in
depth_stencil_attachment.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_cmd_buffer.c
src/intel/vulkan/anv_pass.c
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/gen7_cmd_buffer.c
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_pipeline.c