radv: Add bound checking workaround for dynamic buffers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 19 Apr 2018 05:29:03 +0000 (07:29 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 19 Apr 2018 14:13:25 +0000 (16:13 +0200)
commitd1ce31d36c0e12cc50fc825eef16eb566259a080
treea25954a4caee377ab380af0ba2d48e88d61eec7e
parente0c08183fb20399128ff363467e00aa1e8767886
radv: Add bound checking workaround for dynamic buffers.

I have seen a few applications and games do the dynamic buffer bounds incorrectly, this
make it easier to work around, e.g. for debugging.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c