anv/pass: Avoid accessing attachment array out of bounds
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 27 Feb 2017 18:23:33 +0000 (10:23 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 2 Mar 2017 21:17:54 +0000 (13:17 -0800)
commit178f9e5f29f3fe83eb5af99a69d7c583c30d21d1
tree266671228dba6febbd56fd872343cca130fbcb4d
parentcd2b55e536dc806f9358f71db438dd9c246cdb14
anv/pass: Avoid accessing attachment array out of bounds

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_pass.c