clang
24.0.0git
lib
Headers
hlsl
hlsl_debugging.h
Go to the documentation of this file.
1
//===----- hlsl_debugging.h - HLSL debugging functions -------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef _HLSL_HLSL_DEBUGGING_H_
10
#define _HLSL_HLSL_DEBUGGING_H_
11
12
namespace
hlsl
{
13
14
_HLSL_AVAILABILITY
(shadermodel, 6.10)
15
void inline
DebugBreak
() { __builtin_debugtrap(); }
16
17
}
// namespace hlsl
18
19
#endif
// _HLSL_HLSL_DEBUGGING_H_
_HLSL_AVAILABILITY
#define _HLSL_AVAILABILITY(platform, version)
Definition
hlsl.h:19
hlsl
Definition
hlsl_alias_intrinsics.h:12
hlsl::DebugBreak
void DebugBreak()
Definition
hlsl_debugging.h:15
Generated on
for clang by
1.14.0