Skip to content

Commit 60df17b

Browse files
author
devsh
committed
HLSL STL cleanup crusade
1 parent 09c0483 commit 60df17b

File tree

4 files changed

+0
-31
lines changed

4 files changed

+0
-31
lines changed

include/nbl/builtin/hlsl/math/equations/cubic.hlsl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77

88
#include <nbl/builtin/hlsl/cpp_compat.hlsl>
99

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-
1510
namespace nbl
1611
{
1712
namespace hlsl

include/nbl/builtin/hlsl/math/equations/quadratic.hlsl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,6 @@
77

88
#include <nbl/builtin/hlsl/portable/vector_t.hlsl>
99

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-
2110
namespace nbl
2211
{
2312
namespace hlsl

include/nbl/builtin/hlsl/math/equations/quartic.hlsl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
#include <nbl/builtin/hlsl/math/equations/cubic.hlsl>
1010
#include <nbl/builtin/hlsl/tgmath.hlsl>
1111

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-
1712
namespace nbl
1813
{
1914
namespace hlsl

include/nbl/builtin/hlsl/shapes/beziers.hlsl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@
1414
#include <nbl/builtin/hlsl/portable/vector_t.hlsl>
1515
#include <nbl/builtin/hlsl/portable/matrix_t.hlsl>
1616

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)
2717

2818
namespace nbl
2919
{

0 commit comments

Comments
 (0)