anv: Reject VkMemoryAllocateInfo::allocationSize == 0
authorChad Versace <chadversary@chromium.org>
Thu, 17 Nov 2016 20:45:26 +0000 (12:45 -0800)
committerChad Versace <chadversary@chromium.org>
Wed, 14 Dec 2016 20:04:58 +0000 (12:04 -0800)
commit72ffe8318d13a1f5ed86af7999a5c5723f2ff774
treebea1f19d5338c5bf29bdbb97496bef4709fafc01
parent5e97b8f5ce975dfb66cc46e6b4cc1e89eb8c1dc0
anv: Reject VkMemoryAllocateInfo::allocationSize == 0

The Vulkan 1.0.33 spec says "allocationSize must be greater than 0".

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/anv_device.c