Skip to content

v0.14.0

Latest
Compare
Choose a tag to compare
@cwfitzgerald cwfitzgerald released this 25 Oct 17:27
· 1 commit to master since this release
92e41b4

This is the last naga release where naga is part of its own repo. Future releases will be renumbered and hosted as part of the wgpu repo. Please see gfx-rs/wgpu#4231 for more information!

GENERAL

API

  • Split UnaryOperator::Not into UnaryOperator::LogicalNot & UnaryOperator::BitwiseNot. (#2554) @teoxoy
  • Remove IsFinite & IsNormal relational functions. (#2532) @teoxoy
  • Derive PartialEq on Expression. (#2417) @robtfm
  • Use FastIndexMap for SpecialTypes::predeclared_types. (#2495) @jimblandy

CLI

VALIDATOR

  • Require Capabilities::FLOAT64 for 64-bit floating-point literals. (#2567) @jimblandy
  • Add Capabilities::CUBE_ARRAY_TEXTURES. (#2530) @teoxoy
  • Disallow passing pointers to variables in the workgroup address space to functions. (#2507) @teoxoy
  • Avoid OOM with large sparse resource bindings. (#2561) @teoxoy
  • Require that Function and Private variables be CONSTRUCTIBLE. (#2545) @jimblandy
  • Disallow floating-point NaNs and infinities. (#2508) @teoxoy
  • Temporarily disable uniformity analysis for the fragment stage. (#2515) @teoxoy
  • Validate that textureSampleBias is only used in the fragment stage. (#2515) @teoxoy
  • Validate variable initializer for address spaces. (#2513) @teoxoy
  • Prevent using multiple push constant variables in one entry point. (#2484) @andriyDev
  • Validate binding_array variable address space. (#2422) @teoxoy
  • Validate storage buffer access. (#2415) @teoxoy

WGSL-IN

SPV-IN

  • Disable Modf & Frexp and translate ModfStruct & FrexpStruct to their IR equivalents. (#2527) @teoxoy
  • Don't advertise support for Capability::ImageMSArray & Capability::InterpolationFunction. (#2529) @teoxoy
  • Fix OpImageQueries to allow Uints. (#2404) @evahop

GLSL-IN

SPV-OUT

  • Require ClipDistance & CullDistance capabilities if necessary. (#2528) @teoxoy
  • Change naga::back::spv::DebugInfo::file_name to a &Path. (#2501) @jimblandy
  • Always give structs with runtime arrays a Block decoration. (#2455) @TheoDulka
  • Decorate the result of the OpLoad with NonUniform (not the access chain) when loading images/samplers (resources in the Handle address space). (#2422) @teoxoy
  • Cache OpConstantNull. (#2414) @evahop

MSL-OUT

  • Add and fix minimum Metal version checks for optional functionality. (#2486) @teoxoy
  • Make varyings' struct members unique. (#2521) @evahop

GLSL-OUT

WGSL-OUT