anv/state: Allow levelCount to be 0
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Dec 2015 01:27:35 +0000 (17:27 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Dec 2015 01:34:57 +0000 (17:34 -0800)
commitc643e9cea87b4676e648e431d5c39f2880a1454c
treebfd1160456c40b6263ef993a6b026dce89ae99c9
parentb2fe8b4673c5c52b6c85c7db4ec7f626e1cb6b79
anv/state: Allow levelCount to be 0

This can happen if the client is creating an image view of a textureable
surface and they only ever intend to render to that view.
src/vulkan/gen7_state.c
src/vulkan/gen8_state.c