Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
f523ef3
initial examples_tests submodule change
May 27, 2025
87e11e5
clean up the `nbl::hlsl::shapes` namespace a bit
May 28, 2025
0824014
new classes to replace IMeshBuffer and IMesh
May 28, 2025
3cf9d25
add a general polygon geometry
May 28, 2025
3c5e81f
correct typos and allow different geometries in a collection
May 28, 2025
7f65993
add a set transform callback to `exportForBLAS` this lets us know the…
May 28, 2025
65e9b72
add important methods and metadata for the `SDataViewBase::encodedDat…
May 28, 2025
f37cca7
add all missing data streams from ICPUMeshBuffer to IPolygonGeometry
May 28, 2025
4c7fcb7
Move the requirement for the Position View to be formatted from `IGeo…
May 28, 2025
30adb9c
correct header name to `ICPUPolygonGeometry` and implement `IAsset` m…
May 28, 2025
a0a006c
implement visitor properly
May 28, 2025
30e3bed
add the element encode/decode functions for `IGeometry::SDataView`
May 28, 2025
57f8905
excise Mesh and MeshBuffer from the asset namespace, reassign Asset T…
May 28, 2025
3001e24
correct a slight encapsulation leak
May 28, 2025
07e7176
get rid of now useless metadata classes
May 28, 2025
c9e8ca8
start cleaning up the mesh manipulator into a geometry manipulator
May 28, 2025
6a64ede
remove the renderpass independent pipeline from nbl::asset::
May 28, 2025
fef2ebc
Mesh Packers don't make much sense anymore with programmable vertex p…
May 28, 2025
7f1302c
add ICPUGeometryCollection
May 29, 2025
18adf44
hoist most of the BLAS geometry export out of IGeometryCollection
May 29, 2025
40a8df3
implement ICPUMorphTargets
May 29, 2025
2c9b860
start removing unnecessary things from PolygonGeometryManipulator
May 29, 2025
c91f2d7
correct typos, get stuff compiling
May 29, 2025
0a37d24
fight for more compilation
May 29, 2025
fd87ce7
outline some ideas about dealing with indexing schemes
May 29, 2025
144299d
finalize my indexing abstraction logic
May 31, 2025
0215b88
cauterize more stuff, start working on the Geometry Creator
May 31, 2025
b5830e7
correct a bunch of typos
May 31, 2025
c077d6e
get one step closer to compiling
Jun 3, 2025
e217665
OBJ should really be a scene loader in the future (just no lights)
Jun 3, 2025
8f1564a
in thre interest of thread safety we should not have default manipula…
Jun 3, 2025
c0dffe3
get Nabla compiling
Jun 3, 2025
cb6d148
update submodule pointer
Jun 3, 2025
7077a04
remove last remnanst, and turn off STL /PLY writers for now to let CI…
Jun 3, 2025
99efe2a
fix include bug of beziers.hlsl tested with CAD playground example
Jun 3, 2025
1f51c33
Merge pull request #885 from Devsh-Graphics-Programming/master
devshgraphicsprogramming Jun 3, 2025
2aa2395
a cry for help to @AnastaZIuk
Jun 4, 2025
7f85f18
on road to rework examples PCH and cleaning build system a bit, updat…
AnastaZIuk Jun 11, 2025
2227505
wipe _NBL_APP_NAME_ define reference from nbl/application_templates/M…
AnastaZIuk Jun 11, 2025
afac36d
update examples_tests submodule
AnastaZIuk Jun 11, 2025
ef0f206
add missing EXCLUDE_FROM_ALL for examples_tests
AnastaZIuk Jun 11, 2025
c18c8ae
create NBL_ADJUST_FOLDERS and use for a few namespaces to group targe…
AnastaZIuk Jun 11, 2025
c02e5b1
add `Container – Build Examples` step to .github/workflows/build-nabl…
AnastaZIuk Jun 11, 2025
4dedfd6
EXCLUDE_FROM_ALL nite, correct building examples and installing targets
AnastaZIuk Jun 12, 2025
30eff84
implement cube geometry creation
Jun 16, 2025
d654a25
get stuff to compile
Jun 16, 2025
aae0623
remove cruft
Jun 16, 2025
bb6f9e5
add conversion operator from SBufferRange to SBufferBinding
Jun 16, 2025
fa02163
implement `fast_affine.hlsl`
Jun 16, 2025
5b066f8
get stuff to compile
Jun 16, 2025
16b7c53
fix geometry memory issues
Jun 16, 2025
8ed377a
implement rectangle and disk
Jun 16, 2025
65c2047
fix bad (reverse) implementation of checking validity of `SDataView`
Jun 16, 2025
569839e
add `IGPUPolygonGeometry` and attempt AssetConverter implementation f…
Jun 17, 2025
1403f33
improve `CAssetConverter` to take into account that not every `asset_…
Jun 17, 2025
4eef9f9
get assetConverter to work on `IGPUPolygonGeometry`
Jun 17, 2025
2798fba
sync validation TODO
Jun 17, 2025
f143d0b
add explicit constructors to `hlsl::matrix` which can cast between ma…
Jun 18, 2025
ad27a61
Implement allPreviousStages and allLaterStages
Jun 18, 2025
776fb12
Merge remote-tracking branch 'remotes/origin/master' into mesh_loaders
Jun 18, 2025
1f52d2f
bring new Assets in line with Stageless Shaders API change
Jun 18, 2025
b8c42b2
get as many examples working as possible after the merge
Jun 18, 2025
5462fe3
Ready for Arek to work his magic
Jun 19, 2025
3fa43e2
something should be on screen but my `fast_affine.hlsl` is busted
Jun 19, 2025
4c8c47b
Merge branch 'mesh_loaders' of github.com:Devsh-Graphics-Programming/…
Jun 19, 2025
1dc258e
Add itself as next stage and previous stage for all pipeline stages
Jun 19, 2025
c42afec
pull Matt and resolve conflicts
AnastaZIuk Jun 19, 2025
961cbdf
update examples_tests submodule
AnastaZIuk Jun 19, 2025
f2f5d01
Add -1 to maxVertex
Jun 20, 2025
1d9658e
fix bugs in geometry creator and Indexing callback for triangle Fan
Jun 20, 2025
3c75ba5
turns out `CGLSLCompiler::preprocessShader` didn't quite work right f…
Jun 21, 2025
101ffbc
Merge remote-tracking branch 'remotes/origin/mlBuildUpdates' into mes…
Jun 21, 2025
68bd6a9
document the `MonoAssetManagerAndBuiltinResourceApplication.hpp` conu…
Jun 21, 2025
7b0e90d
Split `MonoAssetManagerAndBuiltinResourceApplication.hpp` in two, add…
Jun 21, 2025
380fefd
update submodule pointer
Jun 21, 2025
aae6cd9
@yasinvolved can start testing now
Jun 22, 2025
2922244
update examples_tests submodule
Jun 23, 2025
5ba8711
add some more invalid usage validation so we don't crash as often
Jun 23, 2025
3357c41
get 61 kinda working again
Jun 23, 2025
b6be78f
fix phmap_deserialization.h and phmap_serialization.h after API chang…
Jun 25, 2025
5ad312c
make patch default constructors `constexpr`
Jun 25, 2025
b1efc69
save work before doing format validation on PLY
Jun 26, 2025
ab95861
just handling the vertex loading on PLY left
Jun 26, 2025
84eafc0
correct parsing mistakes
Jun 30, 2025
9186edc
Get vertex attributes and indices loading in PLy loader.
Jun 30, 2025
898b259
AABB recomputation function
Jun 30, 2025
210cca4
implement more AABB utilities
Jul 1, 2025
ebfa0a5
remove redundant builtin assets
Jul 1, 2025
92d4ea8
update submodules pre-merge
Jul 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/build-nabla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,31 @@ jobs:
--preset ci-build-dynamic-${{ matrix.vendor }} `
-t run-compiler-explorer --config ${{ matrix.config }}

- name: Container – Install NSC
- name: Container – Build Examples
id: build-examples
continue-on-error: true
run: |
docker exec orphan `
${{ env.entry }} ${{ env.cmd }} -Command cmake --build `
--preset ci-build-dynamic-${{ matrix.vendor }} `
-t examples_tests\all --config ${{ matrix.config }} `
-- -k 0

- name: Container – Install Nabla
run: |
docker exec orphan `
${{ env.entry }} ${{ env.cmd }} -Command cmake --install `
${{ env.binary }} --config ${{ matrix.config }} `
--component Runtimes --prefix ${{ env.install }}
--prefix ${{ env.install }}

- name: Container – Install Examples
id: install-examples
continue-on-error: true
run: |
docker exec orphan `
${{ env.entry }} ${{ env.cmd }} -Command cmake --install `
${{ env.binary }} --config ${{ matrix.config }} `
--component Executables --prefix ${{ env.install }}
${{ env.binary }}\examples_tests --config ${{ matrix.config }} `
--prefix ${{ env.install }}

- name: Container – Save NSC Image
run: |
Expand Down
2 changes: 2 additions & 0 deletions 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,8 @@ nbl_adjust_definitions()
add_custom_target(3rdparty)
add_dependencies(3rdparty ${NBL_3RDPARTY_TARGETS})

NBL_ADJUST_FOLDERS(3rdaprty)

nbl_install_dir("${CMAKE_CURRENT_SOURCE_DIR}/parallel-hashmap/parallel_hashmap")

# parent scope exports, must be at the end of the file
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ option(NBL_PCH "Enable pre-compiled header" ON)
option(NBL_FAST_MATH "Enable fast low-precision math" ON)
option(NBL_BUILD_EXAMPLES "Enable building examples" ON)
option(NBL_BUILD_MITSUBA_LOADER "Enable nbl::ext::MitsubaLoader?" OFF) # TODO: once it compies turn this ON by default!
option(NBL_BUILD_IMGUI "Enable nbl::ext::ImGui?" OFF)
option(NBL_BUILD_IMGUI "Enable nbl::ext::ImGui?" ON)

option(NBL_BUILD_OPTIX "Enable nbl::ext::OptiX?" OFF)
if(NBL_COMPILE_WITH_CUDA)
Expand Down Expand Up @@ -271,7 +271,7 @@ add_subdirectory(src/nbl)
add_subdirectory("${NBL_PYTHON_MODULE_ROOT_PATH}" tests) # Python Framework
if(NBL_BUILD_EXAMPLES)
file(LOCK "${CMAKE_CURRENT_SOURCE_DIR}/examples_tests" DIRECTORY GUARD PROCESS RESULT_VARIABLE NBL_LOCK TIMEOUT 60)
add_subdirectory(examples_tests)
add_subdirectory(examples_tests EXCLUDE_FROM_ALL)
file(LOCK "${CMAKE_CURRENT_SOURCE_DIR}/examples_tests" DIRECTORY RELEASE RESULT_VARIABLE NBL_LOCK)
endif()
add_subdirectory(tools)
Expand Down
186 changes: 40 additions & 146 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,131 +16,50 @@ include_guard(GLOBAL)

include(ProcessorCount)

function(nbl_handle_dll_definitions _TARGET_ _SCOPE_)
if(NOT TARGET Nabla)
message(FATAL_ERROR "Internal error, Nabla target must be defined!")
endif()

if(NOT TARGET ${_TARGET_})
message(FATAL_ERROR "Internal error, requsted \"${_TARGET_}\" is not defined!")
endif()

if(NBL_COMPILER_DYNAMIC_RUNTIME)
set(_NABLA_OUTPUT_DIR_ "${NBL_ROOT_PATH_BINARY}/src/nbl/$<CONFIG>/devshgraphicsprogramming.nabla")

target_compile_definitions(${_TARGET_} ${_SCOPE_}
_NABLA_DLL_NAME_="$<PATH:REMOVE_EXTENSION,$<TARGET_FILE_NAME:Nabla>>";_NABLA_OUTPUT_DIR_="${_NABLA_OUTPUT_DIR_}"
)
endif()

target_compile_definitions(${_TARGET_} ${_SCOPE_}
_DXC_DLL_="${DXC_DLL}"
)
endfunction()

function(nbl_handle_runtime_lib_properties _TARGET_)
if(NOT TARGET ${_TARGET_})
message(FATAL_ERROR "Internal error, requsted \"${_TARGET_}\" is not defined!")
endif()

set_target_properties(${_TARGET_} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${NBL_COMPILER_DYNAMIC_RUNTIME}>:DLL>")
endfunction()

# Macro creating project for an executable
# Project and target get its name from directory when this macro gets executed (truncating number in the beginning of the name and making all lower case)
# Created because of common cmake code for examples and tools
macro(nbl_create_executable_project _EXTRA_SOURCES _EXTRA_OPTIONS _EXTRA_INCLUDES _EXTRA_LIBS)
get_filename_component(_NBL_PROJECT_DIRECTORY_ "${CMAKE_CURRENT_SOURCE_DIR}" ABSOLUTE)
include("scripts/nbl/projectTargetName") # sets EXECUTABLE_NAME

if(MSVC)
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT ${EXECUTABLE_NAME})
endif()
get_filename_component(EXECUTABLE_NAME ${_NBL_PROJECT_DIRECTORY_} NAME)
string(REGEX REPLACE "^[0-9]+\." "" EXECUTABLE_NAME ${EXECUTABLE_NAME})
string(TOLOWER ${EXECUTABLE_NAME} EXECUTABLE_NAME)
string(MAKE_C_IDENTIFIER ${EXECUTABLE_NAME} EXECUTABLE_NAME)

project(${EXECUTABLE_NAME})
set_directory_properties(PROPERTIES VS_STARTUP_PROJECT ${EXECUTABLE_NAME})

set(NBL_EXECUTABLE_SOURCES
main.cpp
${_EXTRA_SOURCES}
)

if(ANDROID)
add_library(${EXECUTABLE_NAME} SHARED main.cpp ${_EXTRA_SOURCES})
add_library(${EXECUTABLE_NAME} SHARED ${NBL_EXECUTABLE_SOURCES})
else()
set(NBL_EXECUTABLE_SOURCES
main.cpp
${_EXTRA_SOURCES}
)

add_executable(${EXECUTABLE_NAME} ${NBL_EXECUTABLE_SOURCES})
nbl_handle_runtime_lib_properties(${EXECUTABLE_NAME})
endif()

nbl_handle_dll_definitions(${EXECUTABLE_NAME} PUBLIC)

target_compile_definitions(${EXECUTABLE_NAME} PUBLIC _NBL_APP_NAME_="${EXECUTABLE_NAME}")

if("${EXECUTABLE_NAME}" STREQUAL commonpch)
add_dependencies(${EXECUTABLE_NAME} Nabla)
else()
string(FIND "${_NBL_PROJECT_DIRECTORY_}" "${NBL_ROOT_PATH}/examples_tests" _NBL_FOUND_)

if(NOT "${_NBL_FOUND_}" STREQUAL "-1") # the call was made for a target defined in examples_tests, request common api PCH
if(NOT TARGET ${NBL_EXECUTABLE_COMMON_API_TARGET})
message(FATAL_ERROR "Internal error, NBL_EXECUTABLE_COMMON_API_TARGET target must be defined to create an example target!")
endif()

add_dependencies(${EXECUTABLE_NAME} ${NBL_EXECUTABLE_COMMON_API_TARGET})
target_link_libraries(${EXECUTABLE_NAME} PUBLIC ${NBL_EXECUTABLE_COMMON_API_TARGET})
target_precompile_headers("${EXECUTABLE_NAME}" REUSE_FROM "${NBL_EXECUTABLE_COMMON_API_TARGET}")
endif()
endif()

target_include_directories(${EXECUTABLE_NAME}
PUBLIC "${NBL_ROOT_PATH}/examples_tests/common"
PUBLIC "${NBL_ROOT_PATH_BINARY}/include"
PUBLIC ../../include # in macro.. relative to what? TODO: correct
PRIVATE ${_EXTRA_INCLUDES}
)
target_link_libraries(${EXECUTABLE_NAME} PUBLIC Nabla ${_EXTRA_LIBS})

add_compile_options(${_EXTRA_OPTIONS})

if(NBL_SANITIZE_ADDRESS)
if(MSVC)
target_compile_options(${EXECUTABLE_NAME} PUBLIC /fsanitize=address)
else()
target_compile_options(${EXECUTABLE_NAME} PUBLIC -fsanitize=address)
endif()
endif()

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# add_compile_options("-msse4.2 -mfpmath=sse") ????
add_compile_options(
"$<$<CONFIG:DEBUG>:-fstack-protector-all>"
)

set(COMMON_LINKER_OPTIONS "-msse4.2 -mfpmath=sse -fuse-ld=gold")
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${COMMON_LINKER_OPTIONS}")
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${COMMON_LINKER_OPTIONS} -fstack-protector-strong")
if (NBL_GCC_SANITIZE_ADDRESS)
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fsanitize=address")
endif()
if (NBL_GCC_SANITIZE_THREAD)
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fsanitize=thread")
endif()
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6.1)
add_compile_options(-Wno-error=ignored-attributes)
endif()
endif()

nbl_adjust_flags(TARGET ${EXECUTABLE_NAME} MAP_RELEASE Release MAP_RELWITHDEBINFO RelWithDebInfo MAP_DEBUG Debug)
nbl_adjust_definitions() # macro defined in root CMakeLists
add_definitions(-D_NBL_PCH_IGNORE_PRIVATE_HEADERS)
nbl_adjust_definitions()

set_target_properties(${EXECUTABLE_NAME} PROPERTIES DEBUG_POSTFIX _d)
set_target_properties(${EXECUTABLE_NAME} PROPERTIES RELWITHDEBINFO_POSTFIX _rwdi)
set_target_properties(${EXECUTABLE_NAME}
PROPERTIES
add_compile_options(${_EXTRA_OPTIONS})
add_definitions(-D_NBL_PCH_IGNORE_PRIVATE_HEADERS) # TODO: wipe when we finally make Nabla PCH work as its supposed to
set_target_properties(${EXECUTABLE_NAME} PROPERTIES
DEBUG_POSTFIX _d
RELWITHDEBINFO_POSTFIX _rwdi
RUNTIME_OUTPUT_DIRECTORY_DEBUG "${PROJECT_SOURCE_DIR}/bin"
RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${PROJECT_SOURCE_DIR}/bin"
RUNTIME_OUTPUT_DIRECTORY_RELEASE "${PROJECT_SOURCE_DIR}/bin"
VS_DEBUGGER_WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/bin" # for visual studio
VS_DEBUGGER_WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
)
if(MSVC)
# nothing special
Expand Down Expand Up @@ -248,66 +167,28 @@ macro(nbl_create_executable_project _EXTRA_SOURCES _EXTRA_OPTIONS _EXTRA_INCLUDE
nbl_project_process_test_module()
endmacro()

# TODO this macro needs more love
macro(nbl_create_ext_library_project EXT_NAME LIB_HEADERS LIB_SOURCES LIB_INCLUDES LIB_OPTIONS DEF_OPTIONS)
set(LIB_NAME "NblExt${EXT_NAME}")
project(${LIB_NAME})

add_library(${LIB_NAME} ${LIB_SOURCES})

target_include_directories(${LIB_NAME}
PUBLIC $<TARGET_PROPERTY:Nabla,INCLUDE_DIRECTORIES>
PRIVATE ${LIB_INCLUDES}
)

if(NBL_EMBED_BUILTIN_RESOURCES)
get_target_property(_BUILTIN_RESOURCES_INCLUDE_SEARCH_DIRECTORY_ nblBuiltinResourceData BUILTIN_RESOURCES_INCLUDE_SEARCH_DIRECTORY)

target_include_directories(${LIB_NAME}
PUBLIC ${_BUILTIN_RESOURCES_INCLUDE_SEARCH_DIRECTORY_}
)
endif()

add_dependencies(${LIB_NAME} Nabla)
target_link_libraries(${LIB_NAME} PUBLIC Nabla)
target_compile_options(${LIB_NAME} PUBLIC ${LIB_OPTIONS})
target_compile_definitions(${LIB_NAME} PUBLIC ${DEF_OPTIONS})

nbl_handle_dll_definitions(${LIB_NAME} PUBLIC)
nbl_handle_runtime_lib_properties(${LIB_NAME})

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_compile_options(
"$<$<CONFIG:DEBUG>:-fstack-protector-all>"
)

set(COMMON_LINKER_OPTIONS "-msse4.2 -mfpmath=sse -fuse-ld=gold")
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${COMMON_LINKER_OPTIONS}")
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${COMMON_LINKER_OPTIONS} -fstack-protector-strong -fsanitize=address")
endif()
target_include_directories(${LIB_NAME} PRIVATE ${LIB_INCLUDES})

nbl_adjust_flags(TARGET ${LIB_NAME} MAP_RELEASE Release MAP_RELWITHDEBINFO RelWithDebInfo MAP_DEBUG Debug)
nbl_adjust_definitions() # macro defined in root CMakeLists
nbl_adjust_definitions()

set_target_properties(${LIB_NAME} PROPERTIES DEBUG_POSTFIX "")
set_target_properties(${LIB_NAME} PROPERTIES RELWITHDEBINFO_POSTFIX _rwdb)
set_target_properties(${LIB_NAME}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
target_compile_options(${LIB_NAME} PUBLIC ${LIB_OPTIONS})
target_compile_definitions(${LIB_NAME} PUBLIC ${DEF_OPTIONS})
set_target_properties(${LIB_NAME} PROPERTIES
DEBUG_POSTFIX _d
RELWITHDEBINFO_POSTFIX _rwdi
)
if(MSVC)
set_target_properties(${LIB_NAME}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY_DEBUG "${PROJECT_SOURCE_DIR}/bin"
RUNTIME_OUTPUT_DIRECTORY_RELEASE "${PROJECT_SOURCE_DIR}/bin"
RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${PROJECT_SOURCE_DIR}/bin"
VS_DEBUGGER_WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/bin" # seems like has no effect
)
endif()

if(LIB_HEADERS)
nbl_install_file_spec(${LIB_HEADERS} "nbl/ext/${EXT_NAME}")
endif()
endif()

nbl_install_lib_spec(${LIB_NAME} "nbl/ext/${EXT_NAME}")

Expand Down Expand Up @@ -1334,4 +1215,17 @@ macro(NBL_DOCKER)
RESULT_VARIABLE DOCKER_EXIT_CODE
OUTPUT_VARIABLE DOCKER_OUTPUT_VAR
)
endmacro()
endmacro()

function(NBL_ADJUST_FOLDERS NS)
NBL_GET_ALL_TARGETS(TARGETS)
foreach(T IN LISTS TARGETS)
get_target_property(NBL_FOLDER ${T} FOLDER)

if(NBL_FOLDER)
set_target_properties(${T} PROPERTIES FOLDER "nabla/${NS}/${NBL_FOLDER}")
else()
set_target_properties(${T} PROPERTIES FOLDER "nabla/${NS}")
endif()
endforeach()
endfunction()
2 changes: 1 addition & 1 deletion examples_tests
Submodule examples_tests updated 103 files
11 changes: 6 additions & 5 deletions include/nbl/application_templates/BasicMultiQueueApplication.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
// Copyright (C) 2023-2023 - DevSH Graphics Programming Sp. z O.O.
// This file is part of the "Nabla Engine".
// For conditions of distribution and use, see copyright notice in nabla.h
#ifndef _NBL_EXAMPLES_APPLICATION_TEMPLATES_BASIC_MULTI_QUEUE_APPLICATION_HPP_INCLUDED_
#define _NBL_EXAMPLES_APPLICATION_TEMPLATES_BASIC_MULTI_QUEUE_APPLICATION_HPP_INCLUDED_
#ifndef _NBL_APPLICATION_TEMPLATES_BASIC_MULTI_QUEUE_APPLICATION_HPP_INCLUDED_
#define _NBL_APPLICATION_TEMPLATES_BASIC_MULTI_QUEUE_APPLICATION_HPP_INCLUDED_


// Build on top of the previous one
#include "MonoDeviceApplication.hpp"
#include "nbl/application_templates/MonoDeviceApplication.hpp"


namespace nbl::application_templates
{
Expand Down Expand Up @@ -263,5 +265,4 @@ class BasicMultiQueueApplication : public virtual MonoDeviceApplication
};

}

#endif // _CAMERA_IMPL_
#endif

This file was deleted.

Loading
Loading