66#include " spirv/builtin/CArchive.h"
77#include " boost/builtin/CArchive.h"
88#include " nbl/devicegen/builtin/CArchive.h"
9+ #include " nbl/builtin/hlsl/spirv_intrinsics/CArchive.h"
910#endif // NBL_EMBED_BUILTIN_RESOURCES
1011
1112#include " nbl/system/CArchiveLoaderZip.h"
@@ -25,12 +26,14 @@ ISystem::ISystem(core::smart_refctd_ptr<ISystem::ICaller>&& caller) : m_dispatch
2526 mount (core::make_smart_refctd_ptr<spirv::builtin::CArchive>(nullptr ));
2627 mount (core::make_smart_refctd_ptr<boost::builtin::CArchive>(nullptr ));
2728 mount (core::make_smart_refctd_ptr<nbl::devicegen::builtin::CArchive>(nullptr ));
29+ mount (core::make_smart_refctd_ptr<nbl::builtin::hlsl::spirv_intrinsics::CArchive>(nullptr ));
2830 #else
2931 // TODO: absolute default entry paths? we should do something with it
3032 mount (core::make_smart_refctd_ptr<nbl::system::CMountDirectoryArchive>(NBL_BUILTIN_RESOURCES_DIRECTORY_PATH, nullptr , this ), " nbl/builtin" );
3133 mount (core::make_smart_refctd_ptr<nbl::system::CMountDirectoryArchive>(SPIRV_BUILTIN_RESOURCES_DIRECTORY_PATH, nullptr , this ), " spirv" );
3234 mount (core::make_smart_refctd_ptr<nbl::system::CMountDirectoryArchive>(BOOST_BUILTIN_RESOURCES_DIRECTORY_PATH, nullptr , this ), " boost" );
3335 mount (core::make_smart_refctd_ptr<nbl::system::CMountDirectoryArchive>(DEVICEGEN_BUILTIN_RESOURCES_DIRECTORY_PATH, nullptr , this ), " nbl/video" );
36+ mount (core::make_smart_refctd_ptr<nbl::system::CMountDirectoryArchive>(NBL_SPRIV_INTRINSICS_GEN_RESOURCES_TO_EMBED, nullptr , this ), " nbl/builtin/hlsl/spirv_intrinsics" );
3437#endif
3538}
3639
0 commit comments