Commit Graph

156 Commits

Author SHA1 Message Date
Kevin Trogant
a6f3a04993 feat(vk): Semaphore pool
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m38s
Ubuntu Cross to Win64 / Compile for linux (1.4.0, ubuntu-latest) (push) Successful in 1m25s
- Also adds atomic functions for linux (CAS & exchange)
- Also adds rt_bool32 type
2024-08-07 22:23:52 +02:00
Kevin Trogant
33e596c9d6 feat(vk): Basic command list submit workflow
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m45s
Ubuntu Cross to Win64 / Compile for linux (1.4.0, ubuntu-latest) (push) Successful in 1m28s
2024-08-04 13:31:40 +02:00
Kevin Trogant
823b9ef9af feat(vk): Create image views for texture2d resources
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m46s
Ubuntu Cross to Win64 / Compile for linux (1.4.0, ubuntu-latest) (push) Successful in 1m24s
2024-08-03 14:43:11 +02:00
Kevin Trogant
033eac90bb Add CI job to build linux version (with vulkan)
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m46s
Ubuntu Cross to Win64 / Compile for linux (1.4.0, ubuntu-latest) (push) Successful in 1m26s
2024-08-03 14:34:48 +02:00
Kevin Trogant
96b244e4e3 feat: Bindless registry
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m26s
2024-08-03 14:25:19 +02:00
Kevin Trogant
a79fd56051 feat(cvar): Unsigned integer type for cvars
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m51s
2024-08-03 12:43:09 +02:00
Kevin Trogant
beba96b915 feat(renderer): Basic command list managemnent
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m41s
2024-08-02 17:12:35 +02:00
Kevin Trogant
4febd1b3fa feat(vk): Physical resource manager for buffers
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m38s
2024-07-31 23:00:31 +02:00
Kevin Trogant
faa84d3aa9 feat(vk): Init vma
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m27s
2024-07-31 21:56:52 +02:00
Kevin Trogant
8d303fff9f fix: Remove sneaky SDL include
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m45s
How the hell did that get here?
2024-07-31 21:39:15 +02:00
Kevin Trogant
3b5f7d0029 fix(dx11): Fix compilation error due to renames
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Has been cancelled
2024-07-31 21:38:35 +02:00
Kevin Trogant
03f61b31ec refactor: Change launcher cvar names
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Has been cancelled
2024-07-31 21:36:54 +02:00
Kevin Trogant
e25dde131a feat(renderer): Virtual resource registry first version
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m37s
2024-07-31 21:23:07 +02:00
Kevin Trogant
3a7bca385c feat: Create the swapchain
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m50s
2024-07-31 10:07:49 +02:00
Kevin Trogant
e0904e84c4 feat(renderer): Initialize vulkan 2024-07-30 21:57:46 +02:00
Kevin Trogant
3059fce861 doc: Began documenting the code style 2024-07-29 22:26:30 +02:00
Kevin Trogant
5709cc98a5 refactor(renderer): Introduce renderer lib that handles backend selection and common functionality
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m58s
2024-07-29 22:04:46 +02:00
Kevin Trogant
62139b718a tweak: Remove unnecessary quotation marks from launcher.cfg 2024-07-29 18:13:17 +02:00
Kevin Trogant
b70cafecef refactor: Use vulkan-headers.wrap instead of depending on a vulkan sdk install
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m52s
2024-07-26 09:38:28 +02:00
Kevin Trogant
dd76b924c0 feat(launcher): Convert windows command line to UTF-8
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m46s
2024-07-24 19:57:23 +02:00
Kevin Trogant
25006139f1 refactor(launcher): Remove api for live-recompilation
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m36s
2024-07-24 17:44:05 +02:00
Kevin Trogant
ca5d8ad8f0 fix(runtime): Use NULL when invalidating a win32 file handle
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m26s
2024-07-24 16:42:22 +02:00
Kevin Trogant
faa2b904ea feat(launcher): Offer API for the game
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Has been cancelled
This also turns the meshlet experiment into a proper "game" as the first testcase.
It is necessary to build glfw as a shared library, to allow multiple targets (i.e. the launcher and the game)
to link against it.
This is necessary if the game wants to use glfw for something (imgui, for instance).
2024-07-24 16:39:31 +02:00
Kevin Trogant
578722a0c5 refactor: Remove unnecessary includes
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m36s
2024-07-24 15:14:38 +02:00
Kevin Trogant
77f0db7a7c feat(linux): Ported aio to linux
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m46s
I had to rename the header, because the POSIX async io header has the same name.
2024-07-24 15:10:06 +02:00
Kevin Trogant
e371a24761 fix(launcher): Use WinMain instead of wWinMain
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m30s
2024-07-24 12:42:24 +02:00
Kevin Trogant
4ab483c003 fix: Remove broken include from timing.c
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m58s
2024-07-24 12:30:52 +02:00
Kevin Trogant
50bd92dfcb feat(launcher): Set CVARs from the command line
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m39s
2024-07-24 12:27:52 +02:00
Kevin Trogant
88fd8a3059 fix: Disable the vulkan renderer stub by default 2024-07-24 09:10:39 +02:00
Kevin Trogant
1a389c3759 feat(launcher): Add cvar for selecting an output monitor
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m17s
2024-07-23 19:18:47 +02:00
Kevin Trogant
f232a94f92 feat: Launcher application that loads the game and creates the window 2024-07-23 16:04:56 +02:00
Kevin Trogant
f98d64b927 feat(renderer): Add vulkan renderer stub
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m26s
2024-07-23 12:42:42 +02:00
Kevin Trogant
92fbe1ece4 refactor(build): Using meson devenv makes copying libgcc unnecessary while cross-compiling
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 2m13s
2024-07-23 10:49:39 +02:00
Kevin Trogant
9f94ac40ee fix(tests): Prevent compile error when no fixtures are defined.
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m30s
2024-07-19 15:06:41 +02:00
Kevin Trogant
ef69ceaf13 doc: Document commit message format 2024-07-19 12:56:37 +02:00
Kevin Trogant
dcf89bcc8b fix: fix implicit cast to double warning
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m14s
2024-07-19 12:47:18 +02:00
Kevin Trogant
14138b4933 Merge branch 'main' of https://libneat.hopto.org/git/kevin/rtengine
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m18s
2024-07-19 10:31:30 +02:00
Kevin Trogant
4e02d43514 Add early config file parsing
Also cleaned up contrib/ and made lz4 and xxhash subprojects installed
via wrap.
2024-07-19 10:30:50 +02:00
046e3ed6ac Disable ASAN in CI builds
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m26s
2024-07-16 11:51:21 +02:00
Kevin Trogant
8f52ea3d3a Fixed linux -> windows cross compilation
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m32s
2024-07-16 11:48:28 +02:00
8ae723de3d Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m9s
2024-07-15 18:04:38 +02:00
63c86fc79d Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m15s
2024-07-15 18:00:11 +02:00
8c5b87f1de Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 2m12s
2024-07-15 17:47:53 +02:00
72e8637f5a Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 49s
Make sure download_dxc_cross.sh is executable
2024-07-15 17:46:45 +02:00
e1591e3b96 Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 49s
2024-07-15 17:45:08 +02:00
Kevin Trogant
92e4f6ce79 Add download_dxc_cross.sh for cross compilation 2024-07-15 17:44:25 +02:00
34d0efe70b Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m4s
2024-07-15 17:37:17 +02:00
9c73308214 Add scripts/x86_64-w64-mingw32.txt 2024-07-15 17:36:27 +02:00
3a4c159b5c Update meson_options.txt 2024-07-15 17:32:56 +02:00
b220c9745f Update .gitea/workflows/ci_meson.yaml
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 52s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 1m39s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 1m39s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 53s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Failing after 1m32s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Failing after 1m34s
Fix typo
2024-07-15 17:28:09 +02:00