[libc++][Android] BuildKite CI: update Clang and sysroot versions (#116151)
[llvm-project.git] / libclc / r600 / lib / image / read_imagef.cl
blobaf80adad189de85b63db9d15b6f427bb254ed0b3
1 #include <clc/clc.h>
3 _CLC_DECL float4 __clc_read_imagef_tex(image2d_t, sampler_t, float2);
5 _CLC_OVERLOAD _CLC_DEF float4 read_imagef(image2d_t image, sampler_t sampler,
6 int2 coord) {
7 float2 coord_float = (float2)(coord.x, coord.y);
8 return __clc_read_imagef_tex(image, sampler, coord_float);
11 _CLC_OVERLOAD _CLC_DEF float4 read_imagef(image2d_t image, sampler_t sampler,
12 float2 coord) {
13 return __clc_read_imagef_tex(image, sampler, coord);