We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c06b07 commit 457c179Copy full SHA for 457c179
clang/lib/Headers/hlsl/hlsl_basic_types.h
@@ -12,6 +12,13 @@
12
namespace hlsl {
13
// built-in scalar data types:
14
15
+/// \typedef template<typename Ty, int Size> using vector = Ty
16
+/// __attribute__((ext_vector_type(Size)))
17
+///
18
+/// \tparam Ty The base type of the vector may be any builtin integral or
19
+/// floating point type.
20
+/// \tparam Size The size of the vector may be any value between 1 and 4.
21
+
22
#ifdef __HLSL_ENABLE_16_BIT
23
// 16-bit integer.
24
typedef unsigned short uint16_t;
0 commit comments