From e338503c6b1e3f82782b5c6a5f1944a8be00c71a Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Fri, 21 Feb 2020 09:33:03 +0100 Subject: [PATCH] v3dv: declare that we support robust buffer access This is actually mandatory for any implementation so there is no point in not supporting it. This probably doesn't work yet and we might need to patch the compiler to emit bounds testing code for TMU accesses. Part-of: --- src/broadcom/vulkan/v3dv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index ce242eb..4f4b8d7 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -536,7 +536,7 @@ v3dv_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, memset(pFeatures, 0, sizeof(*pFeatures)); *pFeatures = (VkPhysicalDeviceFeatures) { - .robustBufferAccess = false, + .robustBufferAccess = true, /* This feature is mandatory */ .fullDrawIndexUint32 = false, .imageCubeArray = false, .independentBlend = false, -- 2.7.4