[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libclc / generic / include / clc / image / image.h
blob0a3707468bbf88501b4f091934925b195887df2a
1 _CLC_OVERLOAD _CLC_DECL int get_image_width (image2d_t image);
2 _CLC_OVERLOAD _CLC_DECL int get_image_width (image3d_t image);
4 _CLC_OVERLOAD _CLC_DECL int get_image_height (image2d_t image);
5 _CLC_OVERLOAD _CLC_DECL int get_image_height (image3d_t image);
7 _CLC_OVERLOAD _CLC_DECL int get_image_depth (image3d_t image);
9 _CLC_OVERLOAD _CLC_DECL int get_image_channel_data_type (image2d_t image);
10 _CLC_OVERLOAD _CLC_DECL int get_image_channel_data_type (image3d_t image);
12 _CLC_OVERLOAD _CLC_DECL int get_image_channel_order (image2d_t image);
13 _CLC_OVERLOAD _CLC_DECL int get_image_channel_order (image3d_t image);
15 _CLC_OVERLOAD _CLC_DECL int2 get_image_dim (image2d_t image);
16 _CLC_OVERLOAD _CLC_DECL int4 get_image_dim (image3d_t image);
18 _CLC_OVERLOAD _CLC_DECL void
19 write_imagef(image2d_t image, int2 coord, float4 color);
20 _CLC_OVERLOAD _CLC_DECL void
21 write_imagei(image2d_t image, int2 coord, int4 color);
22 _CLC_OVERLOAD _CLC_DECL void
23 write_imageui(image2d_t image, int2 coord, uint4 color);
25 _CLC_OVERLOAD _CLC_DECL float4
26 read_imagef(image2d_t image, sampler_t sampler, int2 coord);
27 _CLC_OVERLOAD _CLC_DECL float4
28 read_imagef(image2d_t image, sampler_t sampler, float2 coord);
29 _CLC_OVERLOAD _CLC_DECL int4
30 read_imagei(image2d_t image, sampler_t sampler, int2 coord);
31 _CLC_OVERLOAD _CLC_DECL int4
32 read_imagei(image2d_t image, sampler_t sampler, float2 coord);
33 _CLC_OVERLOAD _CLC_DECL uint4
34 read_imageui(image2d_t image, sampler_t sampler, int2 coord);
35 _CLC_OVERLOAD _CLC_DECL uint4
36 read_imageui(image2d_t image, sampler_t sampler, float2 coord);