Skip to content

Commit d1a6017

Browse files
Merge pull request #13 from Przemog1/armageddon_2
Armageddon 2
2 parents 50e2362 + 0b28253 commit d1a6017

File tree

232 files changed

+3341
-1556
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+3341
-1556
lines changed

.gitmodules

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[submodule "3rdparty/glslang"]
88
path = 3rdparty/glslang
99
url = https://github.com/devshgraphicsprogramming/glslang.git
10+
branch = nabla
1011
[submodule "3rdparty/shaderc"]
1112
path = 3rdparty/shaderc
1213
url = https://github.com/google/shaderc.git
@@ -18,7 +19,8 @@
1819
url = https://github.com/lz4/lz4.git
1920
[submodule "3rdparty/spirv_cross"]
2021
path = 3rdparty/spirv_cross
21-
url = https://github.com/KhronosGroup/SPIRV-Cross.git
22+
url = https://github.com/devshgraphicsprogramming/SPIRV-Cross.git
23+
branch = nabla
2224
[submodule "3rdparty/zlib"]
2325
path = 3rdparty/zlib
2426
url = https://github.com/madler/zlib.git

3rdparty/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ set(ENABLE_SPVREMAPPER OFF CACHE BOOL "SPVRemapper is a spirv compression experi
125125
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "Build glslangValidator and spirv-remap?")
126126
set(BUILD_TESTING OFF CACHE BOOL "Enable glslang build testing?")
127127
add_subdirectory(glslang glslang EXCLUDE_FROM_ALL)
128+
# because we're integrating glslang via add_subdirectory(), build_info.h is generated to wrong directory (relative to Nabla root) so i have to add extra include dir
129+
target_include_directories(SPIRV PUBLIC "${GLSLANG_GENERATED_INCLUDEDIR}")
128130

129131
set(SHADERC_SKIP_TESTS ON CACHE BOOL "Skip shaderc tests?")
130132
set(SHADERC_SKIP_INSTALL ON CACHE BOOL "Install shaderc?")
@@ -460,6 +462,8 @@ set(NBL_3RDPARTY_TARGETS
460462
glslang
461463
OGLCompiler
462464
OSDependent
465+
MachineIndependent
466+
GenericCodeGen
463467
SPIRV
464468
Iex
465469
IexMath

3rdparty/SPIRV-Tools

Submodule SPIRV-Tools updated 460 files

3rdparty/glslang

3rdparty/shaderc

Submodule shaderc updated 79 files

3rdparty/spirv_cross

Submodule spirv_cross updated 483 files

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ if(NBL_BUILD_TOOLS)
240240
add_subdirectory(tools) # convert2BAW
241241
endif()
242242

243-
add_subdirectory(ext)
244-
245243
if(NBL_BUILD_EXAMPLES)
246244
add_subdirectory(examples_tests)
247245
endif()

README.md

Lines changed: 111 additions & 94 deletions
Large diffs are not rendered by default.

examples_tests/03.GPU_Mesh/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//! I advise to check out this file, its a basic input handler
1111
#include "../common/QToQuitEventReceiver.h"
1212

13-
//#include "../../ext/ScreenShot/ScreenShot.h"
13+
//#include "irr/ext/ScreenShot/ScreenShot.h"
1414

1515

1616
using namespace irr;

0 commit comments

Comments
 (0)