Skip to content

Commit 161124a

Browse files
Merge pull request #543 from buildaworldnet/property_pool
Property Pool, Extension Headers&Source Movement and Minor Fixes
2 parents d38a1c7 + db9c4b2 commit 161124a

File tree

164 files changed

+1512
-930
lines changed

Some content is hidden

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

164 files changed

+1512
-930
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ if(IRR_BUILD_TOOLS)
251251
add_subdirectory(tools) # convert2BAW
252252
endif()
253253

254-
add_subdirectory(ext)
255-
256254
if(IRR_BUILD_EXAMPLES)
257255
add_subdirectory(examples_tests)
258256
endif()

examples_tests/03.GPU_Mesh/main.cpp

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

9-
//#include "../../ext/ScreenShot/ScreenShot.h"
9+
//#include "irr/ext/ScreenShot/ScreenShot.h"
1010

1111

1212
using namespace irr;

examples_tests/06.MeshLoaders/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
//! I advise to check out this file, its a basic input handler
77
#include "../common/QToQuitEventReceiver.h"
8-
#include "../../ext/FullScreenTriangle/FullScreenTriangle.h"
8+
#include "irr/ext/FullScreenTriangle/FullScreenTriangle.h"
99

10-
//#include "../../ext/ScreenShot/ScreenShot.h"
10+
//#include "irr/ext/ScreenShot/ScreenShot.h"
1111

1212

1313
using namespace irr;

examples_tests/07.HardwareSkinning/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#define _IRR_STATIC_LIB_
22
#include <irrlicht.h>
33

4-
#include "../../ext/ScreenShot/ScreenShot.h"
4+
#include "irr/ext/ScreenShot/ScreenShot.h"
55

66
#include "../common/QToQuitEventReceiver.h"
77

Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#version 430 core
2+
3+
#include "common.glsl"
4+
5+
layout(local_size_x = kOptimalWorkgroupSize) in;
6+
7+
layout(set = 0, binding = 0, std430) restrict readonly buffer WorldParams
8+
{
9+
uint drawData[];
10+
} world;
11+
layout(set = 0, binding = 1, std430) restrict writeonly buffer CameraParams
12+
{
13+
uint drawData[];
14+
} camera;
15+
16+
layout(push_constant, row_major) uniform PushConstants
17+
{
18+
uint drawDataArrayDWORDSize;
19+
} pc;
20+
21+
void main()
22+
{
23+
uint dword = gl_GlobalInvocationID.x;
24+
if (dword<drawDataArrayDWORDSize)
25+
camera.drawData[dword] = world.drawData[dword];
26+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#define kOptimalWorkgroupSize 256u
2+
3+
// structs
4+
//
5+
6+
#ifndef __cplusplus
7+
#include <irr/builtin/glsl/utils/common.glsl>
8+
#include <irr/builtin/glsl/utils/transform.glsl>
9+
10+
#include <irr/builtin/glsl/utils/indirect_commands.glsl>
11+
12+
#include <irr/builtin/glsl/utils/culling.glsl>
13+
#endif
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#version 430 core
2+
3+
#include "common.glsl"
4+
5+
layout(local_size_x = kOptimalWorkgroupSize) in;
6+
7+
8+
void main()
9+
{
10+
}

examples_tests/08.HardwareInstancing/culling.vert

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#version 430 core
2+
3+
#include "common.glsl"
4+
5+
layout(local_size_x = kOptimalWorkgroupSize) in;
6+
7+
8+
void main()
9+
{
10+
}

0 commit comments

Comments
 (0)