File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 44#ifndef _NBL_BUILTIN_HLSL_MPL_INCLUDED_
55#define _NBL_BUILTIN_HLSL_MPL_INCLUDED_
66
7- #ifdef __HLSL_VERSION
7+
88#include <nbl/builtin/hlsl/type_traits.hlsl>
99#include <nbl/builtin/hlsl/bit.hlsl>
10- #else
11- #include <bit>
1210
13- #endif
1411
1512namespace nbl
1613{
Original file line number Diff line number Diff line change 77// C++ headers
88#ifndef __HLSL_VERSION
99#include <type_traits>
10- #include <nbl/builtin/hlsl/cpp_compat/matrix .hlsl>
1110#endif
1211
12+ // include cpp_compat.hlsl through matrix.hlsl for HLSL and glm::* typedefs for C++
13+
14+ #include <nbl/builtin/hlsl/cpp_compat/matrix .hlsl>
1315// Since HLSL currently doesnt allow type aliases we declare them as seperate structs thus they are (WORKAROUND)s
1416/*
1517 // helper class
You can’t perform that action at this time.
0 commit comments