Skip to content

Commit 165c6cc

Browse files
committed
add a comment for __clc_schar_t type define
1 parent f7ef3fe commit 165c6cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libclc/libspirv/include/libspirv/lp64_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ typedef char __clc_vec4_char_t __attribute__((ext_vector_type(4)));
2222
typedef char __clc_vec8_char_t __attribute__((ext_vector_type(8)));
2323
typedef char __clc_vec16_char_t __attribute__((ext_vector_type(16)));
2424

25+
// Typedef some signed char types that SPIR-V requires as the destination of
26+
// certain conversion builtins.
2527
typedef signed char __clc_schar_t;
2628
typedef signed char __clc_vec2_schar_t __attribute__((ext_vector_type(2)));
2729
typedef signed char __clc_vec3_schar_t __attribute__((ext_vector_type(3)));

0 commit comments

Comments
 (0)