Skip to content

Releases: software-mansion/TypeGPU

v0.3.4

07 Feb 15:56
f20b7d5
Compare
Choose a tag to compare

🐞 Bug fixes/stabilization

  • fix(unplugin-typegpu): Make babel plugin target only calls to does with a function expression inside by @iwoplaza in #824
  • fix(unplugin-typegpu): Modify AST using babel/types instead of string expressions by @iwoplaza in #826
  • build(deps): bump vitest from 2.1.5 to 2.1.9 by @dependabot in #818
  • build(deps): bump the npm_and_yarn group across 3 directories with 5 updates by @dependabot in #819

📖 Docs/DX

🧪 Unstable

  • feat: Handle input for compute functions by @reczkok in #823

New Contributors

Full Changelog: v0.3.3...v0.3.4

v0.3.3

05 Feb 16:08
f730a2a
Compare
Choose a tag to compare

🐞 Bug fixes/stabilization

  • fix: Fix some more unexpected regex behaviors in resolution process by @mhawryluk in #794

📖 Docs/DX

🧪 Unstable

  • feat: Create typegpu babel plugin by @mhawryluk in #804
  • feat: Change vertexFn parameters to accept a struct each. Handle TGSL vertex shader resolution by @reczkok in #802
  • feat: Return proxy from .value properties by @mhawryluk in #795
  • feat(🫵): Add ptr<function, ...> schema by @iwoplaza in #806
  • feat: TGSL structs by @reczkok in #798
  • feat(🎁): Add an alternate slot-value propagation mechanism, allowing for slot values to pass through a derived boundary by @iwoplaza in #697

Full Changelog: v0.3.2...v0.3.3

v0.3.2

15 Jan 15:37
Compare
Choose a tag to compare

What's Changed

Documentation

Full Changelog: v0.3.1...v0.3.2

v0.3.1

15 Jan 14:08
b21791a
Compare
Choose a tag to compare

What's Changed

Unstable features (experimental)

  • Auto-use all struct types in the shell of WGSL-implemented functions by @mhawryluk in #752
  • Fix replacing object access identifiers in replaceExternalsInWgsl by @mhawryluk in #766
  • Remove experimental module by @mhawryluk in #782

Note

Unstable (experimental) features are now exported by the library and accessible through ['~unstable'] property or marked with "unstable_" prefix. Use with caution, API is sure to change.

Documentation

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

10 Jan 12:59
Compare
Choose a tag to compare

0.2 -> 0.3 Migration

  • Typed bind groups are now creating using root.createBindGroup(layout, ...) instead of layout.populate(...)
  • Size of schemas can be retrieved using sizeOf(...) instead of .size
  • Alignment of schemas can be retrieved using alignmentOf(...) instead of .byteAlignment
  • To copy a buffer into another buffer, use the .copyFrom API instead of .write

Features

Bug fixes

Documentation

Internal DX

Experimental

New Contributors

Full Changelog: v0.2.2...v0.3.0

v0.2.2

21 Dec 21:54
Compare
Choose a tag to compare

What's Changed

  • fix: Raised minimum required typed-binary version to avoid regression. by @iwoplaza in #704

Full Changelog: v0.2.1...v0.2.2

v0.2.1

21 Dec 13:54
ed3709e
Compare
Choose a tag to compare

What's Changed

  • fix: Export TgpuRoot type, and narrower init return type. by @iwoplaza in #700

Full Changelog: v0.2.0...v0.2.1

v0.2.0

29 Oct 15:31
d895543
Compare
Choose a tag to compare

What's Changed

Documentation

Internal Changes

Full Changelog: v0.1.3...v0.2.0

v0.1.3

30 Sep 11:14
Compare
Choose a tag to compare

What's Changed

  • impr: ResolutionCtx refactor by @iwoplaza in #323
  • Callable primitives by @reczkok in #343
  • Make structures impose byte alignment, instead of the primitives doing it themselves by @mhawryluk in #368
  • Added utility functions to check schema types. by @iwoplaza in #397

Docs

Internal DX/Chore

Full Changelog: v0.1.2...v0.1.3

v0.1.2

11 Sep 16:06
Compare
Choose a tag to compare

Fixes

  • Vector and matrix constructors now work on React Native by @iwoplaza in #300
  • More swizzles for vectors by @reczkok in #268
  • Writing to a buffer with more accurate sizing by @reczkok in #310

Documentation

  • Fixed misalignment and added a warning box in the buffer api guide by @reczkok in #289

Full Changelog: v0.1.1...v0.1.2