adrien
7d425e4061
Changed how Allocator work to be more Zig like
...
Now GpuArena doesn't do everything.
- Created GpuDeviceAllocator that allocate to the device
- GpuArena become GpuArenaAllocator and use a child_allocator like
std.heap.ArenaAllocator
2026-05-20 13:32:37 +02:00
adrien
545c4b98e9
Create a GpuTextureView
2026-05-20 10:56:35 +02:00
adrien
fc57bee3af
Created GpuPrimitiveTolopogy to replace c.WGPUPrimitiveTopology
2026-05-20 09:37:46 +02:00
adrien
32f5d2b828
Added GpuTexture tied to arena like buffer
2026-05-20 09:14:54 +02:00
adrien
ad3fcf2592
Basic working circle render pipeline
2026-05-19 21:58:14 +02:00
adrien
e467539f6e
Renamed GpuProcess to GpuCompute
2026-05-19 21:15:31 +02:00
adrien
d2b0735540
Moved all f32 out of GpuXxxx to all be in Vec
2026-05-18 15:35:38 +02:00
adrien
f5daf66784
Changed GpuAllocator to be like std.mem.Allocator
...
Now it is 2 ptr and I created a GpuArena. Point is to be like Zig, a
const allocator and a var arena that track everything.
2026-05-18 14:07:28 +02:00
adrien
01bc0954b0
Update lib.zig
2026-05-17 21:20:35 +02:00
adrien
915c5cea65
Removed _pip_add and scale to a pipelines struct
2026-05-17 20:16:19 +02:00
adrien
4725723d42
REleted gpu.zig and created a lib.zig to output a module
2026-05-15 10:27:45 +02:00