[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libclc / generic / include / clc / image / image_defines.h
blob0b3350b7694d73f2bf15917967404499e64f77ad
1 /* get_image_channel_data_type flags */
2 #define CLK_SNORM_INT8 0x10D0
3 #define CLK_SNORM_INT16 0x10D1
4 #define CLK_UNORM_INT8 0x10D2
5 #define CLK_UNORM_INT16 0x10D3
6 #define CLK_UNORM_SHORT_565 0x10D4
7 #define CLK_UNORM_SHORT_555 0x10D5
8 #define CLK_UNORM_SHORT_101010 0x10D6
9 #define CLK_SIGNED_INT8 0x10D7
10 #define CLK_SIGNED_INT16 0x10D8
11 #define CLK_SIGNED_INT32 0x10D9
12 #define CLK_UNSIGNED_INT8 0x10DA
13 #define CLK_UNSIGNED_INT16 0x10DB
14 #define CLK_UNSIGNED_INT32 0x10DC
15 #define CLK_HALF_FLOAT 0x10DD
16 #define CLK_FLOAT 0x10DE
18 /* get_image_channel_order flags */
19 #define CLK_R 0x10B0
20 #define CLK_A 0x10B1
21 #define CLK_RG 0x10B2
22 #define CLK_RA 0x10B3
23 #define CLK_RGB 0x10B4
24 #define CLK_RGBA 0x10B5
25 #define CLK_BGRA 0x10B6
26 #define CLK_ARGB 0x10B7
27 #define CLK_INTENSITY 0x10B8
28 #define CLK_LUMINANCE 0x10B9
29 #define CLK_Rx 0x10BA
30 #define CLK_RGx 0x10BB
31 #define CLK_RGBx 0x10BC
33 /* sampler normalized coords */
34 #define CLK_NORMALIZED_COORDS_FALSE 0x0000
35 #define CLK_NORMALIZED_COORDS_TRUE 0x0001
36 #define __CLC_NORMALIZED_COORDS_MASK 0x0001
38 /* sampler addressing mode */
39 #define CLK_ADDRESS_NONE 0x0000
40 #define CLK_ADDRESS_CLAMP_TO_EDGE 0x0002
41 #define CLK_ADDRESS_CLAMP 0x0004
42 #define CLK_ADDRESS_REPEAT 0x0006
43 #define CLK_ADDRESS_MIRRORED_REPEAT 0x0008
44 #define __CLC_ADDRESS_MASK 0x000E
46 /* sampler filter mode */
47 #define CLK_FILTER_NEAREST 0x0000
48 #define CLK_FILTER_LINEAR 0x0010
49 #define __CLC_FILTER_MASK 0x0010