Commit Graph

51 Commits (04e15db06580eeda3f0ebbf55c5ff74f962e6834)
 

Author SHA1 Message Date
noah metz 04e15db065 Renamed pipeline->ui, moved square vertices to shaders 2024-10-17 15:56:35 -06:00
noah metz e9192e42fe Removed depth buffer from UI pipeline 2024-10-17 13:15:29 -06:00
noah metz 7b916b0012 Fixed wrong code offset in text compute shader, moved functions out of main.c 2024-10-17 11:06:09 -06:00
noah metz 717a072b3d Removed unecessary if 2024-10-17 09:26:16 -06:00
noah metz c59c643cd0 Added parameter to load_font to load aliased or not 2024-10-17 09:25:46 -06:00
noah metz 6858877d6b Moved 3rd party files to lib/, removed unused 'vulkan.c' 2024-10-17 09:06:57 -06:00
noah metz 2ea9818fb0 Inverted text rendering so baseline is origin 2024-10-17 09:04:35 -06:00
noah metz 2a99c7be99 Moved font loadinf from script to C 2024-10-16 20:29:19 -06:00
noah metz a6e44fcd0e Moved export to Darwin if 2024-10-16 15:29:20 -06:00
noah metz edf8718cca Removed homebrew paths from makefile 2024-10-16 15:28:42 -06:00
noah metz 934a0a30f3 Got text pipeline showing strings 2024-10-15 16:37:20 -06:00
noah metz 405cf139ef First pass of compute string to gpu characters 2024-10-15 16:14:34 -06:00
noah metz 3c059e4333 Added window scale adjustments 2024-10-15 12:11:28 -06:00
noah metz a8fe640b26 Removed second dispatch 2024-10-15 11:55:49 -06:00
noah metz b914b0c252 Added vkCmdPushConstants before vkCmdDispatch 2024-10-15 11:47:08 -06:00
noah metz 068bc2213b Create draw buffer 2024-10-15 11:44:59 -06:00
noah metz 1895aefe22 Supress vma compile warnings 2024-10-15 10:55:16 -06:00
noah metz 77c83b21a1 Made makefile compile on macos/linux 2024-10-15 10:37:56 -06:00
noah metz 6e778e7d22 Added call to compute shader in draw loop, fixed wrong subpass index in ui pipelines 2024-10-15 00:18:29 -06:00
noah metz 28cd4efbaf Changed multiple render passes to subpasses 2024-10-15 00:06:46 -06:00
noah metz 6988abcd86 Got characters rendering from two buffer addresses 2024-10-14 22:10:14 -06:00
noah metz eab26cf72c test 2024-10-14 21:32:21 -06:00
noah metz 0092396715 mac fixes 2024-10-14 21:30:36 -06:00
noah metz 0060a381ad Linux fixes 2024-10-14 21:29:35 -06:00
noah metz 38b7a2f954 Some changes 2024-10-14 19:42:38 -06:00
noah metz 5260a59db5 Got glyphs rendering from a 1D font atlas 2024-10-14 14:59:49 -06:00
noah metz 5acc216bf1 Loading font metadata 2024-10-14 14:16:59 -06:00
noah metz 683c071878 Added ttf converter script, and started converting renderer to use the ttf atlas(only 1d for now) 2024-10-14 13:33:14 -06:00
noah metz a06fbe8b1c Renamed Text to Char 2024-10-14 01:09:05 -06:00
noah metz 74e1a05790 Got basic text pipeline working, want to minimize the amount of data transfered to GPU so that strings don't repeat so much data 2024-10-14 01:00:10 -06:00
noah metz ea72e53c93 Started UI text pipeline with 4x4 test font 2024-10-13 22:18:37 -06:00
noah metz dc6e44ef99 Moved some RenderContext items to new UIContext struct 2024-10-13 20:27:09 -06:00
noah metz 4e7813499f Delted commited object file. Renamed shaders. Started ui text pipeline. 2024-10-13 16:04:12 -06:00
noah metz b2a8d283f6 Cleaned up UI rects into UILayers which contain batches of rects to be drawn 2024-10-13 15:44:33 -06:00
noah metz 4c2bade162 Changed polygon pipeline to rect pipeline, need to add UVs to it now 2024-10-13 14:38:17 -06:00
noah metz 241af49a80 Moved world, ui, and ui objects to different render passes 2024-10-13 14:22:47 -06:00
noah metz 7a3d316281 Removed debug print 2024-10-13 14:11:53 -06:00
noah metz 760b7bc389 Updated ui polygon pipeline with structure to hold details(want to store all polygons in one buffer). Added screen matrix to ui polygon shader. 2024-10-13 14:11:28 -06:00
noah metz 1811321528 Cleaned up ui pipeline creation, need to make struct for ui polygons and figure out UVs 2024-10-12 14:01:23 -06:00
noah metz e9d3a71a1d Updated gitignore, got basic polygon UI pipeline rendering shapes with offsets/colors 2024-10-09 20:00:56 -06:00
noah metz 1fa7b38624 Updated gitignore, added pipeline creation code and basic render loop 2024-10-09 14:31:30 -06:00
noah metz bf3a2c33df Updated gitignore 2024-10-09 10:55:13 -06:00
noah metz 2accc9a952 Initial commit of C vulkan code 2024-10-09 10:54:19 -06:00
noah metz 28fc752354 Filling out client 2024-10-07 22:15:07 -06:00
noah metz 5baf53e284 Moved client back to go 2024-10-07 21:14:29 -06:00
noah metz 346822164d Reduced go dependencies 2024-10-07 16:44:48 -06:00
noah metz 5eef1e1bbe Removed zmq 2024-10-07 16:44:08 -06:00
noah metz 0e2fe46ca8 Changed cmake project to autotols 2024-10-07 16:32:05 -06:00
noah metz 5ff2ffe7b7 Reorganized, added C Client 2024-10-07 15:43:10 -06:00
noah metz 3b2dc79d0f update readme 2024-10-07 15:14:59 -06:00