[OpenCL] opencl-c.h: Fix incorrect get_image_width guard

`cl_khr_3d_image_writes` should not guard `read_only image3d_t`.
This commit is contained in:
Sven van Haastregt 2022-02-25 11:05:56 +00:00
parent 317a2b1f60
commit b48e3c805c
1 changed files with 0 additions and 2 deletions

View File

@ -15715,9 +15715,7 @@ void __ovld write_imageh(read_write image1d_buffer_t, int, half4);
int __ovld __cnfn get_image_width(read_only image1d_t); int __ovld __cnfn get_image_width(read_only image1d_t);
int __ovld __cnfn get_image_width(read_only image1d_buffer_t); int __ovld __cnfn get_image_width(read_only image1d_buffer_t);
int __ovld __cnfn get_image_width(read_only image2d_t); int __ovld __cnfn get_image_width(read_only image2d_t);
#ifdef cl_khr_3d_image_writes
int __ovld __cnfn get_image_width(read_only image3d_t); int __ovld __cnfn get_image_width(read_only image3d_t);
#endif
int __ovld __cnfn get_image_width(read_only image1d_array_t); int __ovld __cnfn get_image_width(read_only image1d_array_t);
int __ovld __cnfn get_image_width(read_only image2d_array_t); int __ovld __cnfn get_image_width(read_only image2d_array_t);
#ifdef cl_khr_depth_images #ifdef cl_khr_depth_images