Bug 14084 - Improve type safety and remove polymorphism
diff --git a/icd/intel/buf.c b/icd/intel/buf.c
index 2a0d6fb..1932a8d 100644
--- a/icd/intel/buf.c
+++ b/icd/intel/buf.c
@@ -97,3 +97,14 @@
 
     return intel_buf_create(dev, pCreateInfo, (struct intel_buf **) pBuffer);
 }
+
+ICD_EXPORT VkResult VKAPI vkDestroyBuffer(
+    VkDevice                                device,
+    VkBuffer                                buffer)
+
+ {
+    struct intel_obj *obj = intel_obj(buffer.handle);
+
+    obj->destroy(obj);
+    return VK_SUCCESS;
+ }