- this will allow it to be used from within the spirv code.
- had to change some coremem code which was previously peering into
privates or now-unrestricted constraints.
- may need to put the serde stuff behind a feature flag (or force
nostd?)
- these tools shouldn't need access to coremem internals.
- lifting them out reduces some dependencies in coremem-the-library.
- separation allows faster iteration in the coremem library while
temporarily breaking the post-processing tools (specifically,
those tools could take deps on a specific coremem version and thereby
we split the update process into two, smaller steps).
i'll add the rest later. i can't see this on the viewer, but maybe the
viewer just doesn't differentiate vacuum from non-vacuum when the fields
are identical?
this achieves a few things:
- trivial way to get these shipped as the default nix package
- better dependency management
- ability to split large applications into multiple files
the README probably needs some updating.
this was a hack from earlier where we needed a different lib types
based on whethere we were targeting the native host or the spirv
backend.
at some point we no longer needed different lib types. so the _lib piece
is unnecessary.
this solves an issue in the Nix build, where managing multiple
Cargo.lock files is otherwise tricky. it causes (or fails to fix?) an adjacent issue where
the spirv builder doesn't seem to have everything it needs vendored.