[Vulkan] Disable sparse binding default (#24738)
Sparse binding feature does not fallback correctly to non-sparse binding
if unavailable.
Disable by default.
https://github.com/iree-org/iree/issues/24717
Signed-off-by: Tobias Fuchs <fuchs@roofline.ai>
diff --git a/runtime/src/iree/hal/drivers/vulkan/registration/driver_module.c b/runtime/src/iree/hal/drivers/vulkan/registration/driver_module.c
index 382d21b..4c807ce 100644
--- a/runtime/src/iree/hal/drivers/vulkan/registration/driver_module.c
+++ b/runtime/src/iree/hal/drivers/vulkan/registration/driver_module.c
@@ -31,9 +31,9 @@
"Requests Vulkan events in HAL profiling streams.");
IREE_FLAG(bool, vulkan_robust_buffer_access, false,
"Requests robust buffer access.");
-IREE_FLAG(bool, vulkan_sparse_binding, true,
+IREE_FLAG(bool, vulkan_sparse_binding, false,
"Requests sparse binding for large virtual buffers.");
-IREE_FLAG(bool, vulkan_sparse_residency, true,
+IREE_FLAG(bool, vulkan_sparse_residency, false,
"Requests sparse residency and aliased sparse buffer mappings.");
IREE_FLAG(bool, vulkan_buffer_device_addresses, true,
"Requests buffer device addresses for pointer-first executables.");