File tree Expand file tree Collapse file tree 4 files changed +0
-31
lines changed Expand file tree Collapse file tree 4 files changed +0
-31
lines changed Original file line number Diff line number Diff line change 7
7
8
8
#include <nbl/builtin/hlsl/cpp_compat.hlsl>
9
9
10
- // TODO: Later include from correct hlsl header
11
- #ifndef nbl_hlsl_FLT_EPSILON
12
- #define nbl_hlsl_FLT_EPSILON 5. 96046447754e-08
13
- #endif
14
-
15
10
namespace nbl
16
11
{
17
12
namespace hlsl
Original file line number Diff line number Diff line change 7
7
8
8
#include <nbl/builtin/hlsl/portable/vector_t.hlsl>
9
9
10
- // TODO: Later include from correct hlsl header
11
- #ifndef nbl_hlsl_FLT_EPSILON
12
- #define nbl_hlsl_FLT_EPSILON 5. 96046447754e-08
13
- #endif
14
-
15
- #define SHADER_CRASHING_ASSERT (expr) \
16
- do { \
17
- [branch] if (!(expr)) \
18
- vk::RawBufferStore<uint32_t>(0xdeadbeefBADC0FFbull,0x45u,4u); \
19
- } while (true )
20
-
21
10
namespace nbl
22
11
{
23
12
namespace hlsl
Original file line number Diff line number Diff line change 9
9
#include <nbl/builtin/hlsl/math/equations/cubic.hlsl>
10
10
#include <nbl/builtin/hlsl/tgmath.hlsl>
11
11
12
- // TODO: Later include from correct hlsl header
13
- #ifndef nbl_hlsl_FLT_EPSILON
14
- #define nbl_hlsl_FLT_EPSILON 5. 96046447754e-08
15
- #endif
16
-
17
12
namespace nbl
18
13
{
19
14
namespace hlsl
Original file line number Diff line number Diff line change 14
14
#include <nbl/builtin/hlsl/portable/vector_t.hlsl>
15
15
#include <nbl/builtin/hlsl/portable/matrix_t.hlsl>
16
16
17
- // TODO: Later include from correct hlsl header (numeric_limits.hlsl)
18
- #ifndef nbl_hlsl_FLT_EPSILON
19
- #define nbl_hlsl_FLT_EPSILON NBL_FP64_LITERAL (5. 96046447754e-08 )
20
- #endif
21
-
22
- #define SHADER_CRASHING_ASSERT (expr) \
23
- do { \
24
- [branch] if (!(expr)) \
25
- vk::RawBufferStore<uint32_t>(0xdeadbeefBADC0FFbull,0x45u,4u); \
26
- } while (true )
27
17
28
18
namespace nbl
29
19
{
You can’t perform that action at this time.
0 commit comments