This website requires JavaScript.
79657c5db0
Set default size for pipelines since they dynamically set the size anyway, and created structs to transition to ObjectPipeline which will do the compute->offscreen->onscreen phase entirely in the GPU based on object buffers(compute generates draw call buffer and object id<->gl_InstanceId map based on object buffer, offscreen/onscreen use indirect draw call + object id<->gl_InstanceId map + object buffer to draw)
main
noah metz
2024-01-16 20:58:21 -0700
82ece9e038
Changed to push scene data in UBO instead of push constant
noah metz
2024-01-16 17:28:10 -0700
74808b234f
Fixed gpu_mem padding calculation
noah metz
2024-01-16 16:24:02 -0700
81e04e8e1f
Fixed validation error
noah metz
2024-01-16 15:44:06 -0700
7f8b4e449b
Added texture_set_add to load an image from CPU memory to a TextureSet
noah metz
2024-01-16 15:36:00 -0700
f8be40ac70
Removed prints
noah metz
2024-01-16 15:10:30 -0700
11c135d696
Added QueueStruct for holding VkQueue + family + index
noah metz
2024-01-16 15:09:33 -0700
007520a92c
Added TextureSet for large pools of textures in a single descriptor
noah metz
2024-01-15 23:22:12 -0700
4a321a1ce3
Fix error
noah metz
2024-01-13 23:51:10 -0700
bda7eae355
Made pipelines create a second pipeline for offscreen rener of g_buffers
noah metz
2024-01-13 23:50:39 -0700
87141577f9
Bindless textures
noah metz
2024-01-13 16:37:29 -0700
a730ab001b
First pass of pushing object data as DeviceAddress for entire batch at once
noah metz
2024-01-13 15:27:14 -0700
c3d727d444
removed double free
noah metz
2024-01-13 12:37:07 -0700
91731d933d
Moved from material abstraction to pipeline abstraction, need to implement bindless textures\n
noah metz
2024-01-13 12:32:17 -0700
e1cde5c8bb
cleanup
noah metz
2024-01-13 11:17:26 -0700
f4ed0ad0ac
More cleanup
noah metz
2024-01-13 03:07:08 -0700
3a887dc4f8
start cleanup
noah metz
2024-01-13 02:48:58 -0700
bf291bd6e1
more tests\n
noah metz
2024-01-13 02:25:31 -0700
61e1e6fcef
Got ply loading working\n
noah metz
2024-01-13 02:24:35 -0700
3e7920bc92
Added to cleanup
noah metz
2024-01-12 22:23:48 -0700
78977dd7ab
Switched to using push constants for model matrices
noah metz
2024-01-12 22:07:43 -0700
8dea83ca37
Switch to using push constants for scene data
noah metz
2024-01-12 21:12:31 -0700
ed034b39ab
Cleanup unused functions\n
noah metz
2024-01-12 20:17:42 -0700
d18e918deb
Moved texture loading to use gpu_mem
noah metz
2024-01-12 20:07:06 -0700
2decbe0e66
Moved object creation to use gpu_mem
noah metz
2024-01-12 19:58:32 -0700
e987302723
Moved more code to gpu_mem
noah metz
2024-01-12 19:40:21 -0700
82166a8181
Moved to homebrew clang, added gpu memory management functions\n
noah metz
2024-01-12 19:00:20 -0700
8bba0f1c26
Changed mesh loading to use passed memories instead of allocating\n
noah metz
2024-01-11 23:28:59 -0700
a76f9cd135
Reworking GPU buffers\n
noah metz
2024-01-11 22:49:53 -0700
f76df2b222
More cleanup
noah metz
2024-01-11 21:45:30 -0700
69ad926976
cleanup
noah metz
2024-01-11 21:13:30 -0700
4b6405934b
Fixed sync issue by transitioning depth image before render loop\n
noah metz
2024-01-11 18:31:14 -0700
848fee68af
More validation fixes
noah metz
2024-01-11 18:06:20 -0700
81c1c83b18
Fixed vulkan validation warnings\n
noah metz
2024-01-11 17:32:10 -0700
7043b478fe
cleanup
noah metz
2024-01-11 16:16:10 -0700
80aff7e188
removed cgltf
noah metz
2024-01-11 12:19:51 -0700
50859b8d1e
Moved variable initialization out of header file
noah metz
2024-01-11 12:18:52 -0700
c9f33ae930
Organized ply constants
noah metz
2024-01-11 12:14:50 -0700
d7c688e4b2
Organized ply constants
noah metz
2024-01-11 12:14:02 -0700
27cad0eb46
fix
noah metz
2024-01-11 12:12:07 -0700
77be219c37
Added code to parse PLY file into attribute/property arrays
noah metz
2024-01-11 12:09:54 -0700
36f4947c6c
Playing with cgltf(not much success though)
noah metz
2024-01-10 23:55:11 -0700
26b5af16b3
Spent way too long debugging a missing struct member in VkWriteDescriptorSet
noah metz
2024-01-10 19:32:01 -0700
2e0de3cc93
Moved object creation to separate functions
noah metz
2024-01-10 18:01:54 -0700
bf083380d7
Cleanup
noah metz
2024-01-10 17:50:19 -0700
f280041d0b
Moved scene descriptor creation to SceneContext struct
noah metz
2024-01-10 17:18:07 -0700
f8b6b8e8f2
Run both pipelines in the render pass
noah metz
2024-01-10 16:27:21 -0700
406d2faf4c
updated default values
noah metz
2024-01-10 13:30:15 -0700
9bfd2fab57
Added example of using the ATTRIBUTE_ID_POSITION to update a UBO for a pipeline. Messy af and need to find a way to organize it so it makes sense.
noah metz
2024-01-10 13:19:41 -0700
9ae776a5e2
Refactoring
noah metz
2024-01-10 11:31:32 -0700
b16d7a1ebf
Added MapIterator and started moving towards rendering objects by iterating through a list of mappings in the material to update descriptors
noah metz
2024-01-10 11:27:04 -0700
5222f35823
Fixed resizing
noah metz
2024-01-09 23:19:04 -0700
86f9f9b911
Fixed crash, it was because without material descriptor set in the layout I was trying to bind to index 2 with only 2 sets
noah metz
2024-01-09 23:06:08 -0700
c337e0f728
Added descriptor attribute for object descriptor set. Crash is currently due to the descriptors for the image being uninitialized.
noah metz
2024-01-09 21:56:56 -0700
c02728c4f3
Made materials allocate a descriptor for each frame, and bind the descriptor on draw.
noah metz
2024-01-09 21:28:57 -0700
ee57d5bc81
Added Map struct and methods to create/destroy/use it
noah metz
2024-01-09 20:41:31 -0700
91d8ed6e3b
Cleaned up pipeline creation into structs(MeshType to describe Mesh buffers, and PipelineLayout to describe descriptor sets/PCRs(TODO))
noah metz
2024-01-09 18:36:40 -0700
9ccfe3d0f7
Added depth image to context
noah metz
2024-01-09 13:12:05 -0700
b9befc50a2
Made material/mesh descriptor bindings parameters of the material
noah metz
2024-01-09 12:33:38 -0700
256980435e
Got rotations working with quaternions(probably more steps than necessary)
noah metz
2024-01-09 10:32:22 -0700
fc68698ac7
Added buffer to image copy functions
noah metz
2024-01-08 21:36:45 -0700
e5842f3ef5
Added textured material with per-vertex UV, but no texture images yet
noah metz
2024-01-08 20:32:47 -0700
b603af2f89
Moved vertex bindings/attributes to parameters of create_material
noah metz
2024-01-08 20:14:07 -0700
1df48f247e
Removed swapchain recreation from draw_frame
noah metz
2024-01-08 19:50:45 -0700
3bb460d05c
Added swapchain recreation when out of date
noah metz
2024-01-08 19:48:09 -0700
6906e4fc38
Move world position and rotation to function parameters instead of using globals directly
noah metz
2024-01-08 17:55:50 -0700
62b6f55a14
More movement fixes
noah metz
2024-01-08 17:50:24 -0700
199aa18d58
Fixed movement directions and perspective
noah metz
2024-01-08 17:45:10 -0700
bcf3b92891
Added more movement
noah metz
2024-01-08 17:37:52 -0700
04618af2fb
Moved scene UBO to a descriptor in the vulkan context. Need to figure out how to deal with materials that give out descriptors per loaded mesh.
noah metz
2024-01-08 16:44:14 -0700
4b7a2b9d37
Moved graphics pipeline objects(aka layout, etc.) to Material struct
noah metz
2024-01-08 15:23:23 -0700
52db4fca28
Added some animation with UBO
noah metz
2024-01-08 13:10:54 -0700
0a01cbc776
Reorganized to have mesh pipeline instead of triangle pipeline
noah metz
2024-01-08 13:04:45 -0700
c74daec6bd
Added UBO for shader matrices
noah metz
2024-01-08 12:42:59 -0700
960f0b94ea
Added staged buffers and indexed triangle drawing
noah metz
2024-01-08 11:59:58 -0700
4e2a8cf156
Updated to use vertex buffer for color/position of 2d vertices
noah metz
2024-01-08 09:44:47 -0700
3e1cc2ce5a
Multiple frames in flight
noah metz
2024-01-07 22:55:36 -0700
ef957ee059
First triangle
noah metz
2024-01-07 22:27:53 -0700
9670362524
Added more setup(up to swapchain), and added dev/run to Makefile
noah metz
2024-01-07 16:34:09 -0700
b97b377397
Fixed macOS build
noah metz
2024-01-07 03:13:49 -0700
675480af21
Added more stuff
noah metz
2024-01-07 03:04:12 -0700
ffbc2d641e
Added compile_commands.json to Makefile
noah metz
2024-01-07 01:24:20 -0700
d4582daae1
Initial commit of Makefile
noah metz
2024-01-07 01:01:57 -0700