| //===----- hlsl_intrinsics.h - HLSL definitions for intrinsics ----------===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef _HLSL_HLSL_INTRINSICS_H_ |
| #define _HLSL_HLSL_INTRINSICS_H_ |
| |
| __attribute__((clang_builtin_alias(__builtin_hlsl_wave_active_count_bits))) uint |
| WaveActiveCountBits(bool bBit); |
| |
| #endif //_HLSL_HLSL_INTRINSICS_H_ |