anv/image: Drop assertions on SURFTYPE extent limits
authorChad Versace <chad.versace@intel.com>
Thu, 3 Dec 2015 02:27:35 +0000 (18:27 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 3 Dec 2015 23:29:52 +0000 (15:29 -0800)
commit594e673fcc777ed8d8579db75a920aa35af048be
treec37c33a74293312909a17cbfef4cdee8e8ebbf7f
parentb36938964063a4072abfd779f5607743dbc3b6f1
anv/image: Drop assertions on SURFTYPE extent limits

In anv_image_create(), stop asserting that VkImageCreateInfo::extent
does not exceed the hardware limits for the given SURFTYPE. The
assertions were incorrect because they did not take into account the
hardware gen. Anyways, these types of assertions belong in isl, not
anvil.
src/vulkan/anv_image.c