Implement a Render Graph #16

Merged
SeanOMik merged 20 commits from feature/render-graph into main 2024-06-15 22:54:47 +00:00

20 Commits

Author SHA1 Message Date
SeanOMik d5348ec172
render: a tiny bit of code cleanup
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-06-12 21:30:09 -04:00
SeanOMik 9ce79e6b29
resource: fix tests, render: remove warning
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-06-12 21:23:27 -04:00
SeanOMik 6d7932f6a5
render: remove IDs for everything, use only labels to identify things
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-06-11 20:59:55 -04:00
SeanOMik 28b9604189
render: rename RenderGraphPass to Node to better represent what it actually is in the RenderGraph
A node wont always render or compute, so it wouldn't actually be a pass. Calling it a node is a better representation of what it actually is
2024-06-06 19:37:25 -04:00
SeanOMik a0a2acfec0
render: add todo in code 2024-06-03 19:06:07 -04:00
SeanOMik ef68b2a4c5
render: create a RenderGraphLabel trait for graph labels instead of strings
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-06-02 21:35:59 -04:00
SeanOMik 41d77c5687
render: a tiny bit of code cleanup in mesh pass 2024-06-01 23:05:43 -04:00
SeanOMik bb21805278
render: add a debug_assert to ensure the developer doesn't reuse ids for slots 2024-06-01 22:55:50 -04:00
SeanOMik c846d52b0d
render: finally get meshes and entities rendering again with the render graph!
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-05-31 20:11:35 -04:00
SeanOMik 7f5a1cd953
render: a bit of code cleanup 2024-05-25 19:37:43 -04:00
SeanOMik 9a48075f07
render: change to manual creation of render graph exeuction path, rewrite light cull compute pass into the render graph 2024-05-25 19:27:36 -04:00
SeanOMik fc57777a45
render: move render targets to be graph slots, create present passes and base passes
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
Since the render graph no longer has default slots, base passes must be created that supply things like render targets. This also makes it easier to render offscreen to some other surface that is not the window, or just some other texture
2024-05-19 12:56:03 -04:00
SeanOMik 8c3446389c
render: code cleanup
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-05-18 11:02:07 -04:00
SeanOMik 64e6e4a942
render: make it easier to share bind groups and bind group layouts between passes
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-05-17 17:43:46 -04:00
SeanOMik cee6e44d61
render: support creating bindgroups for passes and updating buffers every frame
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-05-14 18:46:35 -04:00
SeanOMik b94a8e3cd3
Make it possible to create a complete pipeline descriptor for a pass
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-05-11 09:19:58 -04:00
SeanOMik bccf6287c0
render: get first image from RenderGraph, just a simple hard coded triangle
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-05-08 18:27:10 -04:00
SeanOMik daa6fc3d4b
move profiles to root workspace Cargo.toml so they aren't ignored 2024-05-08 18:25:12 -04:00
SeanOMik a4e80d4fec
render: continue work of render graph, expanding RenderGraphPass and removing things from the renderer
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-05-04 10:02:50 -04:00
SeanOMik 4c2ed6ca80
render: create foundation of render graph, also add super simple topological sort for pass execution path 2024-04-28 17:51:35 -04:00