Skip to content

Commit 049f9e1

Browse files
committed
minor fixes
1 parent adcb78a commit 049f9e1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

include/nbl/asset/utils/CJITIncludeLoader.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,22 @@
77

88
#include <string>
99

10-
using namespace nbl::asset;
11-
1210

1311
namespace nbl::video
1412
{
1513

1614
class NBL_API2 CJITIncludeLoader : public IShaderCompiler::IIncludeLoader
1715
{
1816
public:
19-
CJITIncludeLoader();
17+
CJITIncludeLoader(const SPhysicalDeviceLimits& limits, const SPhysicalDeviceFeatures& features);
2018
std::optional<std::string> getInclude(const system::path& searchPath, const std::string& includeName) const override;
2119

2220
private:
2321
core::unordered_map<system::path, std::string> m_includes;
2422
std::string collectDeviceCaps(const SPhysicalDeviceLimits& limits, const SPhysicalDeviceFeatures& features);
23+
2524
};
2625

27-
} //nbl::asset
26+
} //nbl::video
2827

2928
#endif // CJITINCLUDELOADER_H

src/nbl/asset/utils/CJITIncludeLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "CJITIncludeLoader.h"
33

44

5-
CJITIncludeLoader::CJITIncludeLoader()
5+
CJITIncludeLoader::CJITIncludeLoader(const SPhysicalDeviceLimits& limits, const SPhysicalDeviceFeatures& features)
66
{
77
m_includes["nbl/builtin/hlsl/jit/device_capabilities.hlsl"] = collectDeviceCaps(limits, features);
88
}

0 commit comments

Comments
 (0)