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 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-
1510namespace nbl
1611{
1712namespace hlsl
Original file line number Diff line number Diff line change 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-
2110namespace nbl
2211{
2312namespace hlsl
Original file line number Diff line number Diff line change 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-
1712namespace nbl
1813{
1914namespace hlsl
Original file line number Diff line number Diff line change 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
2818namespace nbl
2919{
You can’t perform that action at this time.
0 commit comments