summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIago Toral Quiroga <itoral@igalia.com>2020-02-21 09:33:03 +0100
committerMarge Bot <eric+marge@anholt.net>2020-10-13 21:21:27 +0000
commite338503c6b1e3f82782b5c6a5f1944a8be00c71a (patch)
tree666be2418f399e5c9896d935fef04a68bfa6b99c
parent5dca6dc751ebe3fad2e47813b9c0d22477d31e72 (diff)
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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
-rw-r--r--src/broadcom/vulkan/v3dv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c
index ce242eb0744..4f4b8d736d3 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,