forked from OSchip/llvm-project
[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:
parent
317a2b1f60
commit
b48e3c805c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue