Commit Graph

6519 Commits

Author SHA1 Message Date
SirLynix c7b6d83bbc Last nzsl version update 2022-06-07 20:18:16 +02:00
SirLynix 510ef8c41e Update shaders to new import syntax 2022-06-05 18:51:46 +02:00
Jérôme Leclercq c6dd547ee8
CI: Disable fast failing on Linux 2022-06-05 09:43:47 +02:00
gogo 610ec87cf3 add tsan 2022-05-30 18:22:17 +02:00
SirLynix 0054c3b0cd PluginFFMpeg: Replace MIT license by GPL *sigh* 2022-05-27 18:53:16 +02:00
SirLynix d335c5d73c Add FFmpeg plugin 2022-05-27 18:53:16 +02:00
SirLynix ca23942d36 Update URL 2022-05-27 13:14:13 +02:00
SirLynix 49ba0c1ca2 Restore Widgets resources 2022-05-27 13:08:28 +02:00
SirLynix 22fe70aca0 CI: Authorize asset downloading 2022-05-27 08:35:29 +02:00
SirLynix 5507b98f2f Remove assets from repository and download them using xmake 2022-05-27 08:34:36 +02:00
Jérôme Leclercq 03e2801dbe Split engine to packages NazaraUtils and NZSL (#375)
* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
2022-05-25 19:36:10 +02:00
SirLynix 3f8f1c4653 Core/TypeList: Improve ListConcat compile-time
seriously I have no idea why I implemented it like that
2022-05-19 09:04:06 +02:00
Lynix 0e82c2893a Core/VirtualDirectory: Prevent storing . and .. entries 2022-05-16 21:32:59 +02:00
Lynix 52f822fbcb Math/Matrix4: Add TransformInverse(translation, rotation, scale) 2022-05-15 22:29:20 +02:00
Lynix dd4be081aa Core/VirtualDirectory: Add Uproot property 2022-05-14 10:22:22 +02:00
SirLynix b6ab3ba1b3 Graphics: Add light type 2022-05-12 23:09:40 +02:00
SirLynix 5544d336ab Shader: Fix index remapping when importing a text shader in a precompiled shader 2022-05-12 23:08:21 +02:00
SirLynix 6469ab5fde Utility: Refactor some algorithms 2022-05-12 18:15:20 +02:00
SirLynix 7c2b8e0576 Core/File: Add WriteWhole static function 2022-05-12 18:11:41 +02:00
SirLynix a8e69882fb Core/PluginManager: Fix plugin loading under Linux 2022-05-09 13:19:44 +02:00
SirLynix b0ecb64f19 OpenGLRenderer: Fix loading of glSpecializeShader 2022-05-09 13:19:31 +02:00
SirLynix 6dc2cefc2c Add some missing includes 2022-05-09 09:00:17 +02:00
Lynix df55a02fa7 Core/VirtualDirectory: Add GetFileContent method 2022-05-08 15:50:59 +02:00
Lynix 5f389ef0a4 Core/File: Add ReadWhole 2022-05-08 15:50:29 +02:00
Lynix 3c8b4c2587 Audio: Fix loading of OpenAL 2022-05-08 15:44:59 +02:00
Lynix 17b1c2407d Audio/AudioSource: Add GetSampleOffsetAndLatency 2022-05-08 15:44:41 +02:00
SirLynix 41712a3f18 Minor fixes 2022-05-08 13:21:20 +02:00
SirLynix 4794073b73 Audio: Add support for AL_SOFT_source_latency 2022-05-08 13:20:55 +02:00
SirLynix b8b0057ca3 XMake: Add --log-format=vs only in VS (requires xmake dev) 2022-05-07 15:31:32 +02:00
SirLynix 95dc7aa15c Try to fix MusicTest 2022-05-07 15:31:07 +02:00
SirLynix 00f11a74dc ShaderCompiler: Don't return success if compilation failed 2022-05-07 15:30:44 +02:00
SirLynix 21a38fb31b Audio: Add some fixes and tests 2022-05-06 12:41:02 +02:00
SirLynix 81085508ec Minor fixes 2022-05-05 20:20:44 +02:00
SirLynix 973b589b08 Shader: Fix conditional statement handling in partial compilation mode 2022-05-05 20:19:27 +02:00
SirLynix e62969999a ShaderCompiler: Add --log-format option 2022-05-05 20:18:34 +02:00
SirLynix 106d629342 Shader: Update SPIRV data 2022-05-05 20:17:32 +02:00
SirLynix 23e869d4d6 Build: Add deferred compilation shader option 2022-05-05 20:17:16 +02:00
Jérôme Leclercq 2a3646135a CI: Enable unity build on macOS 2022-05-05 08:38:15 +02:00
Jérôme Leclercq 0d4648f661 Add macOS build status 2022-05-04 22:13:06 +02:00
Alexandre Janniaux 5c2595646b github: macos-build: build the whole engine
Enable the build of the whole engine now that VulkanRenderer can compile
on macOS.
2022-05-04 22:12:01 +02:00
Alexandre Janniaux f146661a76 VulkanRenderer: implement metal view
The metal view backing the MoltenVK compatibility wrapper is written in
Obj-C.

It would have been possible to use the Objective-C runtime in C++ but
the code is less performant (the symbol binding is done at first use
instead of the beginning of the program) and actually harder to get
right.

Note that MoltenVK is not linked to the loader, so the libMoltenVK.dylib
object must be available for loading.
2022-05-04 22:12:01 +02:00
Jérôme Leclercq 162456c5b6 CI: Set specific coverage key for dependencies 2022-05-03 21:21:23 +02:00
Jérôme Leclercq e6c74fbc5f Physics2D/Constraint2D: Add method GetLastImpulse 2022-05-01 17:37:11 +02:00
SirLynix 60b7671b54 CI: Fix XMAKE_GLOBALDIR on Windows 2022-04-30 15:37:01 +02:00
SirLynix d3f1707ed4 Update msys2-build.yml 2022-04-30 15:23:00 +02:00
SirLynix ab80965e89 CI: Fix package key 2022-04-30 15:18:39 +02:00
SirLynix 5400b49180 CI: Improve and fix 2022-04-30 15:12:50 +02:00
SirLynix 1ba3655869 CI: Improve coverage (+ fix package cache on Windows) 2022-04-30 14:30:51 +02:00
SirLynix 5f345555ab CI: Make caches last one week at most 2022-04-30 14:27:29 +02:00
Jérôme Leclercq b2bdcc63d0 Update coverage.yml 2022-04-29 18:57:43 +02:00