Commit Graph

22 Commits

Author SHA1 Message Date
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
388b747a04 Executing the simplest possible render graph 2024-04-18 17:06:11 +02:00
Kevin Trogant
e93847b187 Begin and end pass 2024-04-03 22:56:31 +02:00
Kevin Trogant
565c330f71 render targets 2024-04-03 20:56:10 +02:00
Kevin Trogant
efd1f5f983 Merge branch 'main' of https://libneat.hopto.org/git/kevin/rtengine 2024-02-29 16:49:57 +01:00
Kevin Trogant
b4eef37741 Fix linux build
I did not test if it actually runs, but it builds with warning_level=2.
2024-02-29 16:12:09 +01:00
Kevin Trogant
887fa63c43 Manage command buffers
I decided to make queues explicit, to simplify handling queue ownership
transfers in the renderer code. The framegraph + pass code has explicit knowledge
about resource ownership, so it makes sense to handle it there.

- Manage pools
- Allocate command buffers
- Submit command buffers
2024-02-13 08:35:19 +01:00
Kevin Trogant
4f27819fa2 Improve dll build
Still not perfect, but more user friendly now.
2024-02-08 16:57:01 +01:00
Kevin Trogant
cfec746545 Implement resource compression 2024-02-04 17:26:51 +01:00
Kevin Trogant
3a9f9d4986 Write the first compiled resources to files 2024-01-31 22:48:51 +01:00
Kevin Trogant
9670844bb2 Move towards using DXC for compiling shaders
This is recommended by the vulkan documentation.
2024-01-25 23:33:29 +01:00
Kevin Trogant
3254af3786 Make progress towards the new builtin asset compiler
Attempts to compile HLSL shaders (with includes)
2024-01-25 09:45:23 +01:00
Kevin Trogant
abb367dffc rename the engine to recreational.tech 2024-01-16 16:10:56 +01:00
Kevin Trogant
448d448430 started work on pipeline parsing 2024-01-16 16:03:30 +01:00
Kevin Trogant
0c89d63716 load runtime asset dependency data
removed init/shutdown functions from headers.
2023-12-21 00:19:48 +01:00
Kevin Trogant
213638009b tracking asset dependencies 2023-12-12 10:58:09 +01:00
Kevin Trogant
361436ee46 started work on discovery 2023-12-11 00:09:52 +01:00
Kevin Trogant
19f7e29215 Progress on assetc 2023-12-10 23:09:19 +01:00
Kevin Trogant
360bf6cf1c only dllexport if we are building dll's 2023-11-23 22:19:02 +01:00
Kevin Trogant
11ec5a0cd2 Various improvements
- Support static linking
- Buffer manager
2023-11-23 22:03:02 +01:00
Kevin Trogant
97adb0dffa various updates 2023-11-22 11:23:52 +01:00
Kevin Trogant
81798df3e9 ref, feat: Restructure
- The renderer backend is now its own library, loaded at runtime.
- Removed GLFW dependency, instead use win32 directly.
- Broke linux window creation, because it's not implemented yet.
  - Maybe use GLFW for linux?
2023-10-17 00:54:51 +02:00