anv: Ignore unused dimensions in vkCreateImage's anv_image
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 18 Feb 2016 01:20:03 +0000 (17:20 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 18 Feb 2016 01:32:26 +0000 (17:32 -0800)
commit9963af8bbdcf424c4f1ff16d2122d003f7c99154
treee85e0ab7f7f95b021e42100b146ada9f8d61e6f3
parentb8da261dc7e842f3a5f5256ea424c403543d40c9
anv: Ignore unused dimensions in vkCreateImage's anv_image

We ignore unused dimensions in the isl surface; do the same for the
resulting anv_image.

Reviewed-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_image.c