radv/winsys: remove useless check when binding virtual buffers/images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 21 Jul 2020 13:51:13 +0000 (15:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 15:06:20 +0000 (15:06 +0000)
commit4b58e35a2a8d2c0fe4d1425631e7169e39884562
tree4e52c7f117878ff839816475cf040eb485d54cc6
parentf0112fa13cc68d3a20ddfec71540cb863b315f23
radv/winsys: remove useless check when binding virtual buffers/images

Size must be greater than 0.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5872>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c