Commit Graph

109 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Kevin Trogant
36e96fc4d1 Test message
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-18.04) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-20.04) (push) Failing after 52s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-22.04) (push) Failing after 40s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-latest) (push) Failing after 40s
2024-07-15 17:00:49 +02:00
Kevin Trogant
09c14a8809 WIP meshlets experiment 2024-07-15 16:34:39 +02:00
Kevin Trogant
1b4a17f01a Get it to compile again 2024-06-05 11:54:35 +02:00
Kevin Trogant
b0e6839a1c Rip out renderer code
THIS WILL NOT COMPILE
2024-06-04 11:45:55 +02:00
Kevin Trogant
88da8ec889 Render a triangle 2024-05-19 12:48:50 +02:00
Kevin Trogant
656b21d1ef Loading and caching effects 2024-05-14 14:07:04 +02:00
Kevin Trogant
5d988d15b7 give passes views instead of lists
A view is a collection of lists. This is useful for a shadow mapping
pass that generates more than one shadow map.
Each view would create lists of objects visible in one shadow map.
2024-05-07 08:12:45 +02:00
Kevin Trogant
6052f35485 Determine pass execution levels
Useful for (once we have a job system) executing render passes in
parallel
2024-05-06 12:21:18 +02:00
Kevin Trogant
388b747a04 Executing the simplest possible render graph 2024-04-18 17:06:11 +02:00
Kevin Trogant
df50759303 Merge branch 'main' into f/framegraph-v2 2024-04-04 20:46:03 +02:00
Kevin Trogant
4d575dc229 pipelines 2024-04-04 20:01:37 +02:00
Kevin Trogant
e7971e7bad compiling shaders 2024-04-04 08:51:48 +02:00
Kevin Trogant
e93847b187 Begin and end pass 2024-04-03 22:56:31 +02:00
Kevin Trogant
2651ce2e9d buffers 2024-04-03 22:01:33 +02:00
Kevin Trogant
565c330f71 render targets 2024-04-03 20:56:10 +02:00
Kevin Trogant
2035f73f3e init dx11 and basic present 2024-04-02 19:47:28 +02:00
Kevin Trogant
5a7d06e123 null implementation of the render graph builder 2024-04-02 19:44:51 +02:00
Kevin Trogant
c7e5bb8a31 Render Graph prep 2024-04-02 19:43:02 +02:00