1 /* Used with the ocl_types.cl test */
4 typedef image1d_t img1d_t
;
7 typedef image1d_array_t img1darr_t
;
10 typedef image1d_buffer_t img1dbuff_t
;
13 typedef image2d_t img2d_t
;
16 typedef image2d_array_t img2darr_t
;
19 typedef image3d_t img3d_t
;
22 typedef sampler_t smp_t
;
25 typedef event_t evt_t
;
27 #if __OPENCL_VERSION__ >= 200
30 typedef clk_event_t clkevt_t
;
36 typedef reserve_id_t reserveid_t
;
39 typedef image2d_depth_t img2ddep_t
;
41 // image2d_array_depth_t
42 typedef image2d_array_depth_t img2darr_dep_t
;
44 #pragma OPENCL EXTENSION cl_khr_gl_msaa_sharing : enable
46 typedef image2d_msaa_t img2dmsaa_t
;
48 // image2d_array_msaa_t
49 typedef image2d_array_msaa_t img2darrmsaa_t
;
51 // image2d_msaa_depth_t
52 typedef image2d_msaa_depth_t img2dmsaadep_t
;
54 // image2d_array_msaa_depth_t
55 typedef image2d_array_msaa_depth_t img2darrmsaadep_t
;
59 typedef struct _person
{
64 void int_pipe_function(pipe
int);
66 void person_pipe_function(pipe Person
);