Revert "First pass at nodes"

This reverts commit 618f09689d.
This commit is contained in:
2026-08-08 20:24:24 +01:00
parent 618f09689d
commit 30408ff244
25 changed files with 654 additions and 2222 deletions
-6
View File
@@ -94,12 +94,6 @@ void prNodeDestroy(PrNode *n, PrAllocator *alloc);
Use wapp allocators (`WpAllocator`, arena-based). Stack-allocate where
possible; pass allocators explicitly.
**Never use libc for memory or file I/O.** wapp always takes precedence:
- `wpMemAllocatorAlloc` / `wpMemAllocatorFree` instead of `malloc` / `free`
- `wpFileOpen` / `wpFileRead` / `wpFileClose` instead of `fopen` / `fread` / `fclose`
For one-shot loads (e.g. SPIR-V at init), use `&_G_RHI_CONTEXT.allocator`.
```c
PrGraph *prGraphCreate(PrAllocator *alloc);
void prGraphDestroy(PrGraph *g, PrAllocator *alloc);