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 7
7
8
8
#include < string>
9
9
10
- using namespace nbl ::asset;
11
-
12
10
13
11
namespace nbl ::video
14
12
{
15
13
16
14
class NBL_API2 CJITIncludeLoader : public IShaderCompiler::IIncludeLoader
17
15
{
18
16
public:
19
- CJITIncludeLoader ();
17
+ CJITIncludeLoader (const SPhysicalDeviceLimits& limits, const SPhysicalDeviceFeatures& features );
20
18
std::optional<std::string> getInclude (const system::path& searchPath, const std::string& includeName) const override ;
21
19
22
20
private:
23
21
core::unordered_map<system::path, std::string> m_includes;
24
22
std::string collectDeviceCaps (const SPhysicalDeviceLimits& limits, const SPhysicalDeviceFeatures& features);
23
+
25
24
};
26
25
27
- } // nbl::asset
26
+ } // nbl::video
28
27
29
28
#endif // CJITINCLUDELOADER_H
Original file line number Diff line number Diff line change 2
2
#include " CJITIncludeLoader.h"
3
3
4
4
5
- CJITIncludeLoader::CJITIncludeLoader ()
5
+ CJITIncludeLoader::CJITIncludeLoader (const SPhysicalDeviceLimits& limits, const SPhysicalDeviceFeatures& features )
6
6
{
7
7
m_includes[" nbl/builtin/hlsl/jit/device_capabilities.hlsl" ] = collectDeviceCaps (limits, features);
8
8
}
You can’t perform that action at this time.
0 commit comments