Skip to content

Releases: software-mansion/TypeGPU

v0.4.1

12 Feb 17:29
dbfd03c
Compare
Choose a tag to compare

🐞 Oopsies

  • chore(typegpu): Make tgpu.vertexLayout stable by @iwoplaza in #862

Full Changelog: v0.4.0...v0.4.1

v0.4.0

12 Feb 16:16
6dc4f50
Compare
Choose a tag to compare

🚀 Features

A new tgpu.vertexLayout API is now stable! It allows vertex layouts to be defined with type-safe schemas, and streamlines their use in WGSL shaders.

  • feat: Vertex layouts can be unwrapped with root.unwrap by @reczkok in #781
  • feat: Resolvable unstructs by @reczkok in #781

Alongside writing to buffers in-whole, portions of a buffer can now be updated with buffer.writePartial(...).

  • feat: Portions of buffers can be written to in a type-safe way by @reczkok in #808

🗿 Stabilization/refactors

📖 Docs/DX

  • docs: Use writePartial() in fluid with atomics example and update buffer docs by @reczkok in #856
  • chore: Add explicit type to bindGroupLayout calls in docs and examples by @reczkok in #860

🧪 Unstable

  • feat: Matrix multiplication in typegpu/std by @mhawryluk in #832
  • feat: Replace as*() functions with .as(*) for buffer usages by @mhawryluk in #836
  • feat: Handle TGSL fragment functions, new std functions (mix, pow), improve WGSL parser, convert some examples to TGSL and QoL improvements by @reczkok in #846
  • bump(unplugin-typegpu): Version 0.1.0-alpha.1 by @iwoplaza in #858
  • bump(tinyest,tinyest-for-wgsl,unplugin-typegpu): New versions of auxiliary packages by @iwoplaza in #861

Full Changelog: v0.3.4...v0.4.0

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