Commit Graph

83 Commits (main)
 

Author SHA1 Message Date
noah metz 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) 2024-01-16 20:58:21 -07:00
noah metz 82ece9e038 Changed to push scene data in UBO instead of push constant 2024-01-16 17:28:10 -07:00
noah metz 74808b234f Fixed gpu_mem padding calculation 2024-01-16 16:24:02 -07:00
noah metz 81e04e8e1f Fixed validation error 2024-01-16 15:44:06 -07:00
noah metz 7f8b4e449b Added texture_set_add to load an image from CPU memory to a TextureSet 2024-01-16 15:36:00 -07:00
noah metz f8be40ac70 Removed prints 2024-01-16 15:10:30 -07:00
noah metz 11c135d696 Added QueueStruct for holding VkQueue + family + index 2024-01-16 15:09:33 -07:00
noah metz 007520a92c Added TextureSet for large pools of textures in a single descriptor 2024-01-15 23:22:12 -07:00
noah metz 4a321a1ce3 Fix error 2024-01-13 23:51:10 -07:00
noah metz bda7eae355 Made pipelines create a second pipeline for offscreen rener of g_buffers 2024-01-13 23:50:39 -07:00
noah metz 87141577f9 Bindless textures 2024-01-13 16:37:29 -07:00
noah metz a730ab001b First pass of pushing object data as DeviceAddress for entire batch at once 2024-01-13 15:27:14 -07:00
noah metz c3d727d444 removed double free 2024-01-13 12:37:07 -07:00
noah metz 91731d933d Moved from material abstraction to pipeline abstraction, need to implement bindless textures\n 2024-01-13 12:32:17 -07:00
noah metz e1cde5c8bb cleanup 2024-01-13 11:17:26 -07:00
noah metz f4ed0ad0ac More cleanup 2024-01-13 03:07:08 -07:00
noah metz 3a887dc4f8 start cleanup 2024-01-13 02:48:58 -07:00
noah metz bf291bd6e1 more tests\n 2024-01-13 02:25:31 -07:00
noah metz 61e1e6fcef Got ply loading working\n 2024-01-13 02:24:35 -07:00
noah metz 3e7920bc92 Added to cleanup 2024-01-12 22:23:48 -07:00
noah metz 78977dd7ab Switched to using push constants for model matrices 2024-01-12 22:07:43 -07:00
noah metz 8dea83ca37 Switch to using push constants for scene data 2024-01-12 21:12:31 -07:00
noah metz ed034b39ab Cleanup unused functions\n 2024-01-12 20:17:42 -07:00
noah metz d18e918deb Moved texture loading to use gpu_mem 2024-01-12 20:07:06 -07:00
noah metz 2decbe0e66 Moved object creation to use gpu_mem 2024-01-12 19:58:32 -07:00
noah metz e987302723 Moved more code to gpu_mem 2024-01-12 19:40:21 -07:00
noah metz 82166a8181 Moved to homebrew clang, added gpu memory management functions\n 2024-01-12 19:00:20 -07:00
noah metz 8bba0f1c26 Changed mesh loading to use passed memories instead of allocating\n 2024-01-11 23:28:59 -07:00
noah metz a76f9cd135 Reworking GPU buffers\n 2024-01-11 22:49:53 -07:00
noah metz f76df2b222 More cleanup 2024-01-11 21:45:30 -07:00
noah metz 69ad926976 cleanup 2024-01-11 21:13:30 -07:00
noah metz 4b6405934b Fixed sync issue by transitioning depth image before render loop\n 2024-01-11 18:31:14 -07:00
noah metz 848fee68af More validation fixes 2024-01-11 18:06:20 -07:00
noah metz 81c1c83b18 Fixed vulkan validation warnings\n 2024-01-11 17:32:10 -07:00
noah metz 7043b478fe cleanup 2024-01-11 16:16:10 -07:00
noah metz 80aff7e188 removed cgltf 2024-01-11 12:19:51 -07:00
noah metz 50859b8d1e Moved variable initialization out of header file 2024-01-11 12:18:52 -07:00
noah metz c9f33ae930 Organized ply constants 2024-01-11 12:14:50 -07:00
noah metz d7c688e4b2 Organized ply constants 2024-01-11 12:14:02 -07:00
noah metz 27cad0eb46 fix 2024-01-11 12:12:07 -07:00
noah metz 77be219c37 Added code to parse PLY file into attribute/property arrays 2024-01-11 12:09:54 -07:00
noah metz 36f4947c6c Playing with cgltf(not much success though) 2024-01-10 23:55:11 -07:00
noah metz 26b5af16b3 Spent way too long debugging a missing struct member in VkWriteDescriptorSet 2024-01-10 19:32:01 -07:00
noah metz 2e0de3cc93 Moved object creation to separate functions 2024-01-10 18:01:54 -07:00
noah metz bf083380d7 Cleanup 2024-01-10 17:50:19 -07:00
noah metz f280041d0b Moved scene descriptor creation to SceneContext struct 2024-01-10 17:18:07 -07:00
noah metz f8b6b8e8f2 Run both pipelines in the render pass 2024-01-10 16:27:21 -07:00
noah metz 406d2faf4c updated default values 2024-01-10 13:30:15 -07:00
noah metz 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. 2024-01-10 13:19:41 -07:00
noah metz 9ae776a5e2 Refactoring 2024-01-10 11:31:32 -07:00