clover: Add a stub implementation of clCreateImage() v3
[mesa.git] / src / gallium / state_trackers / clover / api / dispatch.hpp
index 833fb0e800831ddf0289a1afcf6e2f97a42b9c8a..ffae1ae6e122c18462ee248579d147c3e830f024 100644 (file)
@@ -653,7 +653,13 @@ struct _cl_icd_dispatch {
    CL_API_ENTRY cl_int (CL_API_CALL *clReleaseDevice)(
       cl_device_id device);
 
-   void *clCreateImage;
+   CL_API_ENTRY cl_mem (CL_API_CALL *clCreateImage)(
+      cl_context context,
+      cl_mem_flags flags,
+      const cl_image_format *image_format,
+      const cl_image_desc *image_desc,
+      void *host_ptr,
+      cl_int *errcode_ret);
 
    CL_API_ENTRY cl_program (CL_API_CALL *clCreateProgramWithBuiltInKernels)(
       cl_context context,