Go to the documentation of this file.
15#pragma clang diagnostic push
16#pragma clang diagnostic ignored "-Whlsl-dxc-compatability"
19#define _HLSL_AVAILABILITY(platform, version) \
20 __attribute__((availability(platform, introduced = version)))
22#define _HLSL_AVAILABILITY_STAGE(platform, version, stage) \
24 availability(platform, introduced = version, environment = stage)))
26#define _HLSL_BUILTIN_ALIAS(builtin) \
27 __attribute__((clang_builtin_alias(builtin)))
36#if __HLSL_VERSION <= __HLSL_202x
47#pragma clang diagnostic pop