OSDN Git Service

radv: Fix off by one in MAX_VBS assert.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 25 Aug 2017 12:14:12 +0000 (14:14 +0200)
committerAndres Gomez <agomez@igalia.com>
Wed, 6 Sep 2017 15:05:10 +0000 (18:05 +0300)
commitba87ab0543b460f0a4af37df53f1db0c5c8d0bf0
tree9b58dbe8d32e1f16959dd2254651523bba6e8847
parent371d75334ca411c49f2b2389efa61afa0603c862
radv: Fix off by one in MAX_VBS assert.

e.g. 0 + 32 <= 32 should be valid.

Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit fba0e078695847bf1e4fdc9e6a44099bf901f4cf)
src/amd/vulkan/radv_cmd_buffer.c