You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
move device header targets into Nabla's sources (its was never a tool!), refactor its builtin resources creation, add NBL_HOOK_INTERNAL_BUILTIN_RESOURCES function & use it with internal BRs, move the device header target's inputs to src/video/device_capabilities
option(NBL_EXPLICIT_MODULE_LOAD_LOG"Enable Runtime logs for external dynamic module loading"OFF)
108
108
option(NBL_CPACK_NO_BUILD_DIRECTORY_MODULES"Disable searching for modules in developer's build directory in install mode"OFF)
109
109
110
+
add_subdirectory(deviceEXCLUDE_FROM_ALL)
111
+
110
112
if(NBL_BUILD_ANDROID)
111
113
set(_NBL_COMPILE_WITH_BAW_LOADER_OFFCACHEBOOL"Off for Android purposes at the moment"FORCE) # TODO - remove when BAW-v4 is done
112
114
set(_NBL_COMPILE_WITH_BAW_WRITER_OFFCACHEBOOL"Off for Android purposes at the moment"FORCE) # TODO - remove when BAW-v4 is done
113
115
set(NBL_BUILD_MITSUBA_LOADEROFFCACHEBOOL"Android doesn't need this loader, if you want it, pay us.'"FORCE)
114
116
endif()
115
117
116
-
# must do this because of https://github.com/Devsh-Graphics-Programming/Nabla/commit/4123d103f2a0964686cb94bb5eb632666b6abdbd#diff-62f5e9686ac3eb0f38e0efb8720c787bbccb383e66c0fa788f804a4a32e190b4R62, bad design but will work
117
-
# TODO: once the TODO from above is done update remove the bellow and put to devicegen CMake
target_include_directories(spirvBuiltinResourceDataPUBLIC"${_NABLA_INCLUDE_DIRECTORIES_}") # the reason behind the patch is because this internal BR target gets created before Nabla
649
-
target_include_directories(boostBuiltinResourceDataPUBLIC"${_NABLA_INCLUDE_DIRECTORIES_}") # the reason behind the patch is because this internal BR target gets created before Nabla
get_filename_component(NBL_DEVICE_GEN_INCLUDE_DIR"${CMAKE_CURRENT_BINARY_DIR}/include"ABSOLUTE) # TODO: fix a bug in checking for GENERATED property which doesnt eveluate properly generator expressions so $<CONFIG> fails
0 commit comments