This repository was archived by the owner on Jan 29, 2025. It is now read-only.
v0.12.0
GENERAL
- Allow
array_indexto be unsigned. (#2298) @daxpedda - Add ray query support. (#2256) @kvark
- Add partial derivative builtins. (#2277) @evahop
- Skip
gl_PerVertexunused builtins in the SPIR-V frontend. (#2272) @teoxoy - Differentiate between
i32andu32in switch statement cases. (#2269) @evahop - Fix zero initialization of workgroup memory. (#2259) @teoxoy
- Add
countTrailingZeros. (#2243) @gents83 - Fix texture built-ins where u32 was expected. (#2245) @evahop
- Add
countLeadingZeros. (#2226) @evahop - [glsl/hlsl-out] Write sizes of arrays behind pointers in function arguments. (#2250) @pluiedev
VALIDATOR
- Validate vertex stage returns the position built-in. (#2264) @teoxoy
- Enforce discard is only used in the fragment stage. (#2262) @Uriopass
- Add
Capabilities::MULTISAMPLED_SHADING. (#2255) @teoxoy - Add
Capabilities::EARLY_DEPTH_TEST. (#2255) @teoxoy - Add
Capabilities::MULTIVIEW. (#2255) @teoxoy - Improve forward declaration validation. (#2232) @JCapucho
WGSL-IN
- Use
aliasinstead oftypefor type aliases. (#2299) @FL33TW00D - Add predeclared vector and matrix type aliases. (#2251) @evahop
- Improve invalid assignment diagnostic. (#2233) @SparkyPotato
- Expect semicolons wherever required. (#2233) @SparkyPotato
- Fix panic on invalid zero array size. (#2233) @SparkyPotato
- Check for leading
{while parsing a block. (#2233) @SparkyPotato
SPV-IN
GLSL-IN
- Add switch implicit type conversion. (#2273) @evahop
- Document some fields of
naga::front::glsl::context::Context. (#2244) @jimblandy - Perform output parameters implicit casts. (#2063) @JCapucho
- Add
notvector relational builtin. (#2227) @JCapucho - Add double overloads for relational vector builtins. (#2227) @JCapucho
- Add bool overloads for relational vector builtins. (#2227) @JCapucho
SPV-OUT
- Fix invalid spirv being generated from integer dot products. (#2291) @PyryM
- Fix adding illegal decorators on fragment outputs. (#2286) @Wumpf
- Fix
countLeadingZerosimpl. (#2258) @teoxoy - Cache constant composites. (#2257) @evahop
- Support SPIR-V version 1.4. (#2230) @kvark
MSL-OUT
- Replace
per_stage_mapwithper_entry_point_map(#2237) @armansito - Update
firstLeadingBitfor signed integers (#2235) @evahop
HLSL-OUT
- Use
Interlocked<op>intrinsic for atomic integers (#2294) (#2294) @ErichDonGubler - Document storage access generation. (#2295) @jimblandy
- Emit constructor functions for arrays. (#2281) @ErichDonGubler
- Clear
named_expressionsinserted by duplicated blocks. (#2116) @teoxoy