Commit Graph

131 Commits

Author SHA1 Message Date
Greg Wells
ffdde93ed2 clean up buffer creation 2025-06-10 15:54:34 -04:00
Greg Wells
93d81966e3 allow binding uniform at set 2025-06-10 15:54:34 -04:00
Greg Wells
df0cbb78d0 remap metal bindings 2025-06-10 15:54:34 -04:00
Greg Wells
0a2c1089c5 upload metal buffers 2025-06-10 15:54:34 -04:00
Greg Wells
a68e8df28e bind uniforms 2025-06-10 15:54:34 -04:00
Greg Wells
86c903e73c updating uniforms 2025-06-10 15:54:34 -04:00
Greg Wells
09ca995112 create the gnUnifomObjects 2025-06-10 15:54:34 -04:00
Greg Wells
11d329c4d9 fix some jazz 2025-06-10 15:54:34 -04:00
Greg Wells
04808a14dd horrible uniform pool API 2025-06-10 15:54:34 -04:00
Gregory Wells
92ba48005f Fix some stuff in Cmake 2025-06-10 14:59:18 -04:00
Greg Wells
292187b494 uniform pool 2025-06-08 09:49:48 -04:00
Greg Wells
1825a39946 metal mapping buffers 2025-06-07 17:22:55 -04:00
Greg Wells
fd231d8356 vulkan mapping buffers 2025-06-07 17:21:40 -04:00
Greg Wells
813760678b Uniform layouts 2025-06-07 14:46:35 -04:00
Greg Wells
77002cd26a simplify shader modules 2025-06-07 14:46:26 -04:00
Greg Wells
48f4f9a0aa begin using new version of gryphn utils 2025-06-06 20:31:34 -04:00
Greg Wells
2f1011bd9c float3 2025-06-06 19:50:40 -04:00
Greg Wells
516f2122a1 metal draw indexed 2025-06-06 19:44:17 -04:00
Greg Wells
e66075beaf indexed drawing and index buffers 2025-06-06 17:35:37 -04:00
Greg Wells
f2ba8ce163 binding buffer 2025-06-06 17:09:59 -04:00
Greg Wells
f425dfc20b metal buffer API 2025-06-06 17:08:24 -04:00
Greg Wells
73fd05e786 just create transfer queue for metal 2025-06-06 16:57:56 -04:00
Greg Wells
e8a2a82d87 free the command buffer 2025-06-06 13:58:55 -04:00
Greg Wells
f1a830a4b7 staging buffer for GN_STATIC_DRAW 2025-06-06 13:57:58 -04:00
Greg Wells
5dba4361ca get queue handle 2025-06-06 13:57:32 -04:00
Greg Wells
08de2ecbd5 create seperate transfer queue on vulkan 2025-06-06 13:53:03 -04:00
Greg Wells
ee1c2cdca2 create staging buffer if GN_STATIC_DRAW 2025-06-06 13:38:11 -04:00
Greg Wells
64a12b5d42 buffer creation and binding 2025-06-06 13:10:42 -04:00
Greg Wells
585be0c6b0 creating and destroying buffers 2025-06-06 12:58:15 -04:00
Greg Wells
2385b5d819 metal vertex descriptors 2025-06-06 12:24:09 -04:00
Greg Wells
ba20d5a958 vulkan create vertex layout 2025-06-06 11:41:09 -04:00
Greg Wells
d5d339105d sync primative handles 2025-06-05 22:19:38 -04:00
Greg Wells
4349f76ede command pool+buffer handles 2025-06-04 22:08:24 -04:00
Greg Wells
9faa96d5f5 shader+graphics pipeline handles 2025-06-04 09:57:14 -04:00
Greg Wells
f20d701353 Render pass descriptor handles 2025-06-04 09:49:43 -04:00
Greg Wells
c48e11f998 presentaion queue handles + texture handle 2025-06-03 14:38:51 -04:00
Greg Wells
fbc30509c4 surface handles 2025-06-03 14:14:49 -04:00
Greg Wells
d39f598d3c device handles 2025-06-03 13:49:05 -04:00
Greg Wells
ee03b87600 debugger handles 2025-06-03 13:42:55 -04:00
Greg Wells
ed781c1d63 Turn instance into a handle 2025-06-03 13:23:28 -04:00
Greg Wells
cbfd6743f6 update stuff 2025-06-03 13:04:59 -04:00
Greg Wells
5b9f0d8ebe fix CAMetalLayers 2025-06-01 20:39:49 -04:00
Greg Wells
964ac7127d signal vulkan fence 2025-05-31 06:25:41 -04:00
Greg Wells
eab08b81f6 wait for device 2025-05-31 06:22:58 -04:00
Greg Wells
c9a2f3f872 present command 2025-05-31 06:20:15 -04:00
Greg Wells
0d02d2e8fc metal queue submission 2025-05-31 06:14:33 -04:00
Greg Wells
eb244447cc flip the viewport in vulkan so that top is on the top 2025-05-30 13:41:11 -04:00
Greg Wells
7ebb109c44 present stuff 2025-05-30 13:28:10 -04:00
Greg Wells
dd5e93864d submitted command buffers + subpass depends 2025-05-30 13:09:35 -04:00
Greg Wells
64da9c4ec4 kinda forgot 2025-05-30 12:04:00 -04:00