radv: check buffer size in vkCreateBuffer()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 8 Apr 2020 08:55:37 +0000 (10:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 8 Apr 2020 11:03:35 +0000 (11:03 +0000)
commitcc678c9ce934c1c83f6ed26696f896ca96ddefc1
treef3a30cf1687fda91b6b30c6e2aec618997002dc1
parenta3682670c821d34a6c6ffdcb0c68d4ed42916f98
radv: check buffer size in vkCreateBuffer()

Fixes:

   dEQP-VK.api.buffer.basic.size_max_uint64

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4487>
src/amd/vulkan/radv_device.c