anv/pipeline: Grow the param array for images
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 29 Sep 2017 18:10:22 +0000 (11:10 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 05:39:31 +0000 (22:39 -0700)
commit6b31229592df76eefc1aa41d5b936ad2bb6b5598
treeb7bea6bde45b61644995b2a78d659aea9b96280c
parent63c938fd1838d372674db70b7ff0199594a85cd0
anv/pipeline: Grow the param array for images

Before, we were calculating up-front and then filling in later.  Now we
just grow as needed in anv_nir_apply_pipeline_layout.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_pipeline.c