Commit Graph

5056 Commits

Author SHA1 Message Date
Wojtek Figat
793afff0aa Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-12 17:05:18 +02:00
Wojtek Figat
b80101411f Optimize Vulkan Memory Allocator to not use mutex as it's synced by engine to safely access resources 2024-07-12 17:05:07 +02:00
Wojtek Figat
e83097d114 Fix missing memory allocator for Vulkan Memory Allocator 2024-07-12 17:04:23 +02:00
Wojtek Figat
352913ba14 Add random per-probe rotation for rays tracing in DDGI 2024-07-11 14:48:24 +02:00
Wojtek Figat
dbda31d570 Add timeBeginPeriod(1) on Win32 platforms to improve timer precision 2024-07-10 15:34:38 +02:00
Wojtek Figat
d521409033 Missing change for particles from 6b06f1dbcf 2024-07-10 13:58:01 +02:00
Wojtek Figat
6b06f1dbcf Optimize Global SDF to use 8-bit storage (50% less memory usage) 2024-07-10 13:22:25 +02:00
Wojtek Figat
ffddbb455f Add Scripting events to C++ api similar to C# ones 2024-07-09 11:57:41 +02:00
Wojtek Figat
d5dd8e7ecf Optimize GlobalSurfaceAtlasPass tiles by sorting by size before inserting them into atlas 2024-07-08 16:43:26 +02:00
Wojtek Figat
082a5819cd Optimize GlobalSurfaceAtlasPass by ignoring GBuffer2 properties (diffuse-only surfaces) 2024-07-08 16:40:59 +02:00
Wojtek Figat
bee39dda58 Fix commandline options in build 2024-07-06 12:57:19 +02:00
Wojtek Figat
559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00
Wojtek Figat
d1e54b821b Fix asset to be soft when transformation is nan or inf
#2742
2024-07-04 18:05:47 +02:00
Wojtek Figat
230c57cca4 Add WinPixEventRuntime for D3D12 to provide GPU profiler event names 2024-07-03 18:30:11 +02:00
Wojtek Figat
b8100e9417 Fix missing GPU events when using shaders profiling/debugging or graphics dev tools are enabled 2024-07-03 18:29:42 +02:00
Wojtek Figat
b3d77ab9eb Add shaders profiling console command 2024-07-03 13:22:19 +02:00
Wojtek Figat
030a66c091 Add shader cache invalidation when using debug shader option via cmd line in Editor 2024-07-03 12:41:29 +02:00
Wojtek Figat
00a9c48fec Optimize probes count multiplication in DDGI shader 2024-07-03 08:51:58 +02:00
Wojtek Figat
6fbf4a6aac Optimize draw calls sorting and objects buffer building to be async 2024-07-02 16:07:09 +02:00
Wojtek Figat
e18b059234 Merge branch 'unsafeaccessor_init' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unsafeaccessor_init 2024-07-02 10:04:00 +02:00
Wojtek Figat
1b72b14376 Merge branch 'AudioListenerWarning' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-AudioListenerWarning 2024-07-02 10:01:39 +02:00
Wojtek Figat
ec510425a1 Merge branch 'update_assimp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-update_assimp 2024-07-02 09:12:27 +02:00
Wojtek Figat
ddfaeddb5f Merge branch 'wrap-on-underscore' of https://github.com/Tryibion/FlaxEngine into Tryibion-wrap-on-underscore 2024-07-02 09:10:37 +02:00
Wojtek Figat
567d5f70ab Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-02 00:58:25 +02:00
Wojtek Figat
fe0711c3e2 Fix D3D11 to properly flush CB/SRVs when bindings new shaders after CB/SRV was set 2024-07-02 00:55:41 +02:00
Wojtek Figat
9486466abf Fix D3D11 to properly issue instanced draws even if instance count is 1 2024-07-02 00:54:49 +02:00
Wojtek Figat
1328e869a9 Fix crash in D3D12 when constant buffer was binded but not updated before the draw 2024-07-02 00:54:17 +02:00
Wojtek Figat
fbc648302d Fix timer queries reset before use on Vulkan 2024-07-02 00:53:45 +02:00
Wojtek Figat
ef129a3135 Add frustum culling for editor preview camera mesh 2024-07-02 00:53:03 +02:00
Wojtek Figat
08ef7c93ea Refactor draw calls drawing to use single objects buffer and better materials batching 2024-07-02 00:52:22 +02:00
d56493da54 Use UnsafeAccessor to initialize scripting object interop fields 2024-06-30 15:52:14 +03:00
Wojtek Figat
78f3248ac9 Refactor SortOrder to use int8 instead of int16 due to performance reasons (more efficent sort keys packing in rendering) 2024-06-29 13:54:02 +02:00
Wojtek Figat
516ed3e9a0 Cleanup some rendering code 2024-06-28 21:21:17 +02:00
Wojtek Figat
f4d4969650 Merge branch '1.9' of https://gitlab.flaxengine.com/flax/flaxengine into 1.9 2024-06-28 09:52:06 +02:00
Wojtek Figat
dbbc2b70bf Disable GlobalSurfaceAtlas on Mac due to GPU crashes in larges scenes 2024-06-28 09:43:18 +02:00
Wojtek Figat
e265b760c1 USe local var to simplify code and fix MaterialShaderDataPerView struct to use new alignment for constant buffers data 2024-06-28 08:50:14 +02:00
Wojtek Figat
138e17508b Add profile event to hardware instancing building and insert draw count into profiler zone data 2024-06-27 21:03:52 +02:00
Wojtek Figat
7b5edc363a Fix GLobalSDF update when not using workload spread and add dispatches count to profiler zone data 2024-06-27 09:29:09 +02:00
Wojtek Figat
8eaa635385 Minor tweaks to GlobalSA 2024-06-26 18:19:48 +02:00
Wojtek Figat
91d3216a00 Fix crash on shutdown when physical material asset was left alone 2024-06-26 18:19:36 +02:00
Wojtek Figat
18c3f274f8 Optimize Global SDF drawing with async job system 2024-06-26 18:16:58 +02:00
Wojtek Figat
b545d8800c Optimize job system memory allocations 2024-06-24 23:19:01 +02:00
Wojtek Figat
3bbaa8dad0 Remove unused job system stats and concurrent queue code 2024-06-24 19:02:38 +02:00
Wojtek Figat
a1c251c3b7 Add various optimizations to Global Surface Atlas 2024-06-24 19:01:35 +02:00
Wojtek Figat
8190d7f171 Optimize Global Surface Atlas setup and objects buffer writing to be async 2024-06-24 13:15:45 +02:00
Wojtek Figat
861d8a683f Add JobSystem::Dispatch that accepts dependent jobs that needs to be completed before 2024-06-24 13:12:48 +02:00
Wojtek Figat
2773949197 Optimize wait signal in Job System to wake waiting threads only when job batch ends 2024-06-22 09:58:20 +02:00
Wojtek Figat
3b3cd5ade4 Optimize Global Surface Atlas defragmenting to just reset tiles, not whole objects list 2024-06-21 23:01:32 +02:00
6436fb3bde Update AssImp to latest version 2024-06-21 21:55:30 +03:00
Wojtek Figat
4d0d08f245 Optimize Global Surface Atlas drawing with async job system 2024-06-21 17:55:02 +02:00