Commit graph

67 commits

Author SHA1 Message Date
Janis f93513524e previous: game crate use draw_with_graph function 2025-01-19 00:21:49 +01:00
Janis c70c1591db stuff: slight refactoring 2025-01-18 14:49:25 +01:00
Janis 9802bec8b0 debug: timing things 2025-01-14 23:10:10 +01:00
Janis 7640cf053b use scale_factor for egui 2025-01-14 18:53:31 +01:00
Janis d623b8fc46 fix: check for layout transition is always necessary, layout in eguiprepass 2025-01-10 13:28:43 +01:00
Janis dbc4294c09 rendering module 2025-01-10 00:19:46 +01:00
Janis 9242d44755 tracing: debug->trace, remove present_pass
present_pass can be done by simply tagging as output with read: present()
2025-01-09 22:27:47 +01:00
Janis 2cad8adb55 optional pass record function for pure layout/transition passes 2025-01-09 22:27:47 +01:00
Janis 6274b6e5a8 rendergraph resolves faster
Access: layout is nolonger stored in option
rendergraph resolved with linear vectors instead of maps
2025-01-09 22:27:47 +01:00
Janis 3332e59453 i genuinely believe this is close to working 2025-01-09 22:27:47 +01:00
Janis 107c43ee77 it works (magic) 2025-01-09 22:27:47 +01:00
Janis efd73fce43 waiting..... 2025-01-09 22:27:47 +01:00
Janis 131887b633 quick save #2 2025-01-09 22:27:47 +01:00
Janis 146ffa654f quick save 2025-01-09 22:27:47 +01:00
Janis 3deca28391 transition imported resources at the beginning of rendergraph 2025-01-09 22:27:47 +01:00
Janis 5a1ed9340e measure rendergraph time 2025-01-09 22:27:47 +01:00
Janis 30269f7bd2 mold + debug-release profile 2025-01-09 21:52:36 +01:00
Janis 003d507573 warnings 2025-01-05 18:23:54 +01:00
Janis 0f96689079 images+commands: sync
- lock pool when allocating command buffers
- store image parent as weak arc in order to not create cycles
2025-01-05 18:22:50 +01:00
Janis 260275d694 rendergraph: barriers against write-after-read 2025-01-05 16:10:30 +01:00
Janis fdfc74c668 stuff i forgor in earlier commits (state 4.1.25) 2025-01-05 03:13:56 +01:00
Janis a5ea706744 rendergraph: works!! (i cant believe it does!) 2025-01-05 03:13:29 +01:00
Janis 5b5a7cba54 swapchain: use Image abstraction, add support to that for swapchain images 2025-01-05 03:13:02 +01:00
Janis 2fc7d3e179 commandbuffer: tracking state and fn end() 2025-01-05 03:11:44 +01:00
Janis f3cc43e49e util: WithLifetime type for tagging with a lifetime 2025-01-05 03:11:14 +01:00
Janis 5814118d3f egui renderpass 2025-01-05 01:16:54 +01:00
Janis 393cfbbb63 even more rendergraph rewriting, attempt 2 2025-01-05 01:16:30 +01:00
Janis 1d5197263b egui-render-state: Arc pipeline and pipeline-layout 2025-01-05 01:16:08 +01:00
Janis 1a1625cf33 fix: Eq for SwapchainFrame, this should be more rigorous
will be more rigorous if `index` is monotonically increasing instead of modulo
of in-flight-frames
2025-01-05 01:15:13 +01:00
Janis ac40cddfb7 command is DeviceOwnedHandle derived now
CommandList helper for submitting many commands in one submit call
2025-01-05 01:14:32 +01:00
Janis 9334e8fa9e Image: allow alias on &Arc<Self>, then clone parent or self 2025-01-05 01:13:48 +01:00
Janis 208b1569d6 rect2d: getters for size, top_left, height and width 2025-01-05 01:13:23 +01:00
Janis 66ae2603e6 deviceowned Eq trait 2025-01-05 01:13:12 +01:00
Janis 32ce6e9140 aliases stored along side views in-line 2025-01-04 02:28:51 +01:00
Janis d66071f7bb rendergraph work that is probably all for nothing 2025-01-04 02:16:43 +01:00
Janis e8d4e1af98 cmd: vkCmdCopyImages 2025-01-04 02:16:28 +01:00
Janis dea08cd123 buffers aren't in arcs by default 2025-01-04 02:16:15 +01:00
Janis 0627556051 merge Texture and Image structs, add image aliasing 2025-01-04 02:15:37 +01:00
Janis e76055860d rendergraph: transitions 2025-01-03 18:10:36 +01:00
Janis 1ef4a667c7 rendergraph dummy impl 2025-01-03 00:21:22 +01:00
Janis da0befbeaf buffer/image desc; queueflags 2025-01-03 00:21:00 +01:00
Janis e3db023ec4 use workspace dependencies 2025-01-03 00:18:59 +01:00
Janis adfcdd37c1 cargo: resolve indexmap and petgraph dependency conflict 2025-01-03 00:18:30 +01:00
Janis 2df87f70e1 gitignore 2025-01-01 23:27:03 +01:00
Janis 87e6361323 tracing info/debug changes 2025-01-01 22:39:19 +01:00
Janis e67577d903 no insanely oversized descriptor sets 2025-01-01 21:43:53 +01:00
Janis 409fd653c7 take optional wait semaphore when presenting
no longer assume that frame.release is necessarily signaled.
this previously caused a hang in the async_swapchain_acquiring test.
2025-01-01 21:35:38 +01:00
Janis 669a4a0a3f layers/extensions passed to Vulkan::new honored now
also permit extensions to fail being used while still creating a device
2025-01-01 21:34:18 +01:00
Janis a26b0d16db fix release/debug only field in deviceowneddebugobject 2025-01-01 19:49:13 +01:00
Janis e76bf29840 warning cleanup 2025-01-01 02:00:23 +01:00