clang 24.0.0git
hlsl.h File Reference

Go to the source code of this file.

Macros

#define _HLSL_AVAILABILITY(platform, version)
#define _HLSL_AVAILABILITY_STAGE(platform, version, stage)
#define _HLSL_BUILTIN_ALIAS(builtin)

Macro Definition Documentation

◆ _HLSL_AVAILABILITY

#define _HLSL_AVAILABILITY ( platform,
version )
Value:
__attribute__((availability(platform, introduced = version)))
_Float16 __2f16 __attribute__((ext_vector_type(2)))
Zeroes the upper 128 bits (bits 255:128) of all YMM registers.

Definition at line 19 of file hlsl.h.

◆ _HLSL_AVAILABILITY_STAGE

#define _HLSL_AVAILABILITY_STAGE ( platform,
version,
stage )
Value:
availability(platform, introduced = version, environment = stage)))

Definition at line 22 of file hlsl.h.

◆ _HLSL_BUILTIN_ALIAS

#define _HLSL_BUILTIN_ALIAS ( builtin)
Value:
__attribute__((clang_builtin_alias(builtin)))

Definition at line 26 of file hlsl.h.