Alexandre Janniaux
5af8abbca9
VulkanRenderer: Loader: load libvulkan.dylib on MacOS
2022-03-20 19:41:31 +01:00
Alexandre Janniaux
e5ec90a6f9
SocketImpl: fix success path by setting NoError
...
Initialize the error to SocketError::NoError in case of success.
Otherwise, the error wasn't initialized in the success path for the
socket poller, and it was reaching an unknown error because of that.
2022-03-20 17:15:45 +01:00
Jérôme Leclercq
d86f61cd82
VulkanRenderer: Fix VK_EXT_debug_utils with MoltenVK
2022-03-20 14:54:38 +01:00
Jérôme Leclercq
48b87cc99b
Core/DynLib: Fix extension handling
2022-03-20 13:42:41 +01:00
Jérôme Leclercq
7621844741
Fix SDL includes
2022-03-20 13:37:27 +01:00
Jérôme Leclercq
63320fa205
macOS fixes (+ cache deps)
2022-03-20 11:29:39 +01:00
Jérôme Leclercq
a6dce6861d
macOS fixes
2022-03-20 10:02:31 +01:00
Jérôme Leclercq
0469ecb300
macOS fix
2022-03-20 09:19:50 +01:00
Jérôme Leclercq
54ca483cc7
macOS fix
2022-03-19 23:45:26 +01:00
Jérôme Leclercq
04dfd25c74
CI: Try to build NazaraCore on macOS
2022-03-19 23:29:19 +01:00
Lynix
d853741f6f
Core/StringExt: Fix out of range read
2022-03-19 17:44:39 +01:00
Lynix
cf5e4b72e1
Core/StringExt: Add overloads of EndsWith
2022-03-19 14:19:52 +01:00
Lynix
a4543b30c3
Network: Add fast peer disconnection in case of network error/unreachable host
2022-03-19 12:48:25 +01:00
Lynix
dc24ff33a4
Audio: Add sound stream test
2022-03-19 12:36:55 +01:00
Lynix
45f0825a6e
Audio: Final fixes
2022-03-19 12:16:52 +01:00
Jérôme Leclercq
82641c6653
Audio: Add dummy device (in case OpenAL fails to load) and unifiate unit tests
2022-03-18 19:03:57 +01:00
Jérôme Leclercq
615509d1ba
Add support for shader hotreloading
2022-03-17 21:36:36 +01:00
Jérôme Leclercq
667a4a0c08
Audio: Handle AudioBuffer compatibility
...
OpenAL buffers are shared between contextes
2022-03-17 18:15:53 +01:00
Jérôme Leclercq
01061380ee
Audio/AudioDevice: Improve GetListenerRotation
2022-03-17 18:15:53 +01:00
Jérôme Leclercq
6165b3a101
Audio: Rewrite audio module
2022-03-17 18:15:53 +01:00
Jérôme Leclercq
eb4629947e
Minor fixes
2022-03-16 08:25:19 +01:00
Jérôme Leclercq
19f6bdf7e0
Add Physics2D components and systems (WIP)
2022-03-16 08:24:57 +01:00
Jérôme Leclercq
801b06abfe
Shader: Fix module overwriting
2022-03-15 18:35:02 +01:00
Jérôme Leclercq
06406fc20e
Shader/FilesystemModuleResolver: Fix RegisterModuleDirectory
2022-03-15 13:20:17 +01:00
Jérôme Leclercq
0e92ef823d
Graphics: Use module name to retrieve material shaders
2022-03-15 13:14:43 +01:00
Jérôme Leclercq
0f55779a8a
Fix compilation
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
79a5716110
Revert "Try to fix GCC error"
...
This reverts commit 11d5eb7d6063e6cf1da276cc5981d2d57e13f05e.
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
9b1d8b5fcf
Try to fix GCC error
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
56c6eff7f8
Rebase fix
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
6bd9f1a9e4
Add unity build support
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
0a4fd8f56d
Enable unity build on modules that support it
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
bf44672354
Shader: Add support for exported functions
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
e9543b20a2
Shader: Fix function calls with OpenGL
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
e40e8eb204
Shader: Change module system (no longer based on path)
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
80f9556f8c
Shader/LangWriter: Make LangWriter able to output AST before sanitization as well
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
2f26a1d9c7
Graphics: Move LightData to a shader module and add hotreload in debug
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
5a9a55ee7e
Shader/MultiStatement: Remove sectionName
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
33554cf5a0
Shader: Remove struct and functions that aren't required
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
d29876f448
Shader/SanitizeVisitor: Minor cleanup
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
db98b86eaf
Core: Rewrite VirtualDirectory class and add more tests
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
db0c1e6e8c
Shader: Add module resolver + use modules for engine shaders
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
98bd04e35a
Shader/SanitizeVisitor: Fix an issue when double-sanitizing
...
... with differents parameters (like reducing loops to while, which introduces new variables which would take over existing var indices)
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
bf7f06ac4c
Shader: Fix shader serialization
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
39a2992791
Shader: Minor module fixes
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
05cf98477e
Shader: Add proper support for alias
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
ce93b61c91
Shader: Serialize cached expression type
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
d45ba6696f
Shader: Rename VariableExpression to VariableValueExpression
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
1401c46d44
Shader: Better fix than 3ccec0ce
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
3c290c1d0e
Shader: Fix unit tests
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
be9bdc4705
Modules are workings \o/
2022-03-14 18:30:55 +01:00