anv/pipeline: Add a input_attachment_index to the bindings
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Nov 2016 23:21:08 +0000 (15:21 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 21:44:55 +0000 (13:44 -0800)
commit0acb28e0cfcb961a6b0650626adcabeea6f4d371
treedc70153da174d37266e2217a16ae12722391739e
parent3f1eda0b42eae5009a96b7f3c088b2d85eea44db
anv/pipeline: Add a input_attachment_index to the bindings

This allows us to go from the binding to either the descriptor or the input
attachment at will.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_private.h