Skip to content

v1.2.0 - Now with support for workgroup shared memory and atomics

Latest

Choose a tag to compare

@SirLynix SirLynix released this 17 Nov 22:23

What's Changed

  • nzsl_version module attribute has been renamed to nzsl (nzsl_version is still supported for now but deprecated)
  • Added support for workgroup shared memory using the new workgroup_shared keyword
  • Added support for atomics operations and barriers
  • Added extended storage image formats by @ArthurVasseur in #102
  • Added Fetch and Size methods on samplers and storage textures by @ArthurVasseur in #103
  • Added support for SampleGrad method on samplers (allowing to sample a texture with explicit gradients)
  • Fixed &&= and ||= compound operators not being transformed when targeting GLSL

Known bugs:

  • The compiler will not complain about the usage of nzsl attribute in NZSL <1.2
  • The compiler will handle workgroup_shared as a keyword even in NZSL <1.2 (this is because currently the lexer doesn't process the module version)

Full Changelog: v1.1.6...v1.2.0