Commit Graph

38 Commits (173b57859f09922567440880c2a952d5ffeed7b0)

Author SHA1 Message Date
noah metz 173b57859f Added debug print to shader 2024-10-28 22:49:57 -06:00
noah metz 7fea23c6ff Trying to figure out why the transfers aren't complete before the compute shader runs, even with memory barriers 2024-10-28 22:07:13 -06:00
noah metz e4649bc5f1 Fixed vertex shader test 2024-10-24 20:50:27 -06:00
noah metz cc06265ca6 Pass time to shaders 2024-10-24 20:49:59 -06:00
noah metz 06196c6b20 Getting font rendering better 2024-10-22 20:24:34 -06:00
noah metz 4cf1ed725d Added screen-corner anchoring to the UI pipeline 2024-10-22 17:48:37 -06:00
noah metz d448eb81d1 Added time to draw function and started to layout game ui. Add window resizing next and in-shader anchoring next. 2024-10-21 21:57:05 -06:00
noah metz 130c6538b2 Added host mirrors of UI data for logic 2024-10-21 13:39:12 -06:00
noah metz e851d64af6 Added bindless textures 2024-10-21 10:09:52 -06:00
noah metz 35f0ffb46c Fixed UI scale 2024-10-21 09:20:50 -06:00
noah metz dee33d19b6 Flattened fargment shader inputs 2024-10-20 22:39:54 -06:00
noah metz 285a937e1b Improvements to rendering 2024-10-20 22:39:12 -06:00
noah metz 8c793d36c3 Moved glsl structures to common file, added convenience functions for UI elements 2024-10-20 21:59:28 -06:00
noah metz eca8f30175 Got text and rects rendering from same pipeline 2024-10-18 22:53:06 -06:00
noah metz 7720d696bc Got text rendering bindless 2024-10-18 18:34:31 -06:00
noah metz dc7f8ed750 Added second layer 2024-10-18 16:31:28 -06:00
noah metz 5e1720dc71 Got GPU rendering of rects working 2024-10-18 16:15:00 -06:00
noah metz 6129e9c5b9 Starting rework for GPU driven UI rendering 2024-10-18 14:26:41 -06:00
noah metz 22d3b62b12 Fixed struct alignment to align vec3s to 16 bytes 2024-10-18 10:02:39 -06:00
noah metz b67a2a924c Fixed shader buffer alignments 2024-10-17 17:31:13 -06:00
noah metz 04e15db065 Renamed pipeline->ui, moved square vertices to shaders 2024-10-17 15:56:35 -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 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 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 068bc2213b Create draw buffer 2024-10-15 11:44:59 -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 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 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 4e7813499f Delted commited object file. Renamed shaders. Started ui text pipeline. 2024-10-13 16:04:12 -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 e9d3a71a1d Updated gitignore, got basic polygon UI pipeline rendering shapes with offsets/colors 2024-10-09 20:00:56 -06:00