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 77
88#include < string>
99
10- using namespace nbl ::asset;
11-
1210
1311namespace nbl ::video
1412{
1513
1614class NBL_API2 CJITIncludeLoader : public IShaderCompiler::IIncludeLoader
1715{
1816public:
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
2220private:
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
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments