2020-08-17 03:49:48 +00:00
|
|
|
# Change Log
|
|
|
|
|
2021-06-18 16:06:42 +00:00
|
|
|
## v0.5 (2021-06-18)
|
|
|
|
- development release for wgpu-0.9
|
|
|
|
- API:
|
|
|
|
- barriers
|
|
|
|
- dynamic indexing of matrices and arrays is only allowed on variables
|
|
|
|
- validator now accepts a list of IR capabilities to allow
|
|
|
|
- improved documentation
|
|
|
|
- Infrastructure:
|
|
|
|
- much richer test suite, focused around consuming or emitting WGSL
|
|
|
|
- lazy testing on large shader corpuses
|
|
|
|
- the binary is moved to a sub-crate "naga-cli"
|
|
|
|
- Frontends:
|
|
|
|
- GLSL frontend:
|
|
|
|
- rewritten from scratch and effectively revived, no longer depends on `pomelo`
|
|
|
|
- only supports 440/450/460 versions for now
|
|
|
|
- has optional support for codespan messages
|
|
|
|
- SPIRV frontend has improved CFG resolution (still with issues unresolved)
|
|
|
|
- WGSL got better error messages, workgroup memory support
|
|
|
|
- Backends:
|
|
|
|
- general: better expression naming and emitting
|
|
|
|
- new HLSL backend (in progress)
|
|
|
|
- MSL:
|
|
|
|
- support `ArraySize` expression
|
|
|
|
- better texture sampling instructions
|
|
|
|
- GLSL:
|
|
|
|
- multisampling on GLES
|
|
|
|
- WGSL is vastly improved and now usable
|
|
|
|
|
|
|
|
### v0.4.2 (2021-05-28)
|
|
|
|
- SPIR-V frontend:
|
|
|
|
- fix image stores
|
|
|
|
- fix matrix stride check
|
|
|
|
- SPIR-V backend:
|
|
|
|
- fix auto-deriving the capabilities
|
|
|
|
- GLSL backend:
|
|
|
|
- support sample interpolation
|
|
|
|
- write out swizzled vector accesses
|
|
|
|
|
2021-05-14 14:21:55 +00:00
|
|
|
### v0.4.1 (2021-05-14)
|
|
|
|
- numerous additions and improvements to SPIR-V frontend:
|
|
|
|
- int8, in16, int64
|
|
|
|
- null constant initializers for structs and matrices
|
|
|
|
- `OpArrayLength`, `OpCopyMemory`, `OpInBoundsAccessChain`, `OpLogicalXxxEqual`
|
|
|
|
- outer product
|
|
|
|
- fix struct size alignment
|
|
|
|
- initialize built-ins with default values
|
|
|
|
- fix read-only decorations on struct members
|
|
|
|
- fix struct size alignment in WGSL
|
|
|
|
- fix `fwidth` in WGSL
|
|
|
|
- fix scalars arrays in GLSL backend
|
|
|
|
|
2021-04-29 04:52:43 +00:00
|
|
|
## v0.4 (2021-04-29)
|
2021-03-16 02:29:00 +00:00
|
|
|
- development release for wgpu-0.8
|
|
|
|
- API:
|
|
|
|
- expressions are explicitly emitted with `Statement::Emit`
|
|
|
|
- entry points have inputs in arguments and outputs in the result type
|
|
|
|
- `input`/`output` storage classes are gone, but `push_constant` is added
|
|
|
|
- `Interpolation` is moved into `Binding::Location` variant
|
|
|
|
- real pointer semantics with required `Expression::Load`
|
|
|
|
- `TypeInner::ValuePointer` is added
|
|
|
|
- image query expressions are added
|
|
|
|
- new `Statement::ImageStore`
|
|
|
|
- all function calls are `Statement::Call`
|
|
|
|
- `GlobalUse` is moved out into processing
|
|
|
|
- `Header` is removed
|
|
|
|
- entry points are an array instead of a map
|
2021-04-29 04:52:43 +00:00
|
|
|
- new `Swizzle` and `Splat` expressions
|
|
|
|
- interpolation qualifiers are extended and required
|
|
|
|
- struct member layout is based on the byte offsets
|
2021-03-16 02:29:00 +00:00
|
|
|
- Infrastructure:
|
|
|
|
- control flow uniformity analysis
|
|
|
|
- texture-sampler combination gathering
|
|
|
|
- `CallGraph` processor is moved out into `glsl` backend
|
2021-04-29 04:52:43 +00:00
|
|
|
- `Interface` is removed, instead the analysis produces `ModuleInfo` with all the derived info
|
|
|
|
- validation of statement tree, expressions, and constants
|
2021-03-16 02:29:00 +00:00
|
|
|
- code linting is more strict for matches
|
|
|
|
- new GraphViz `dot` backend for pretty visualization of the IR
|
2021-04-29 04:52:43 +00:00
|
|
|
- Metal support for inlined samplers
|
|
|
|
- `convert` example is transformed into the default binary target named `naga`
|
|
|
|
- lots of frontend and backend fixes
|
2021-03-16 02:29:00 +00:00
|
|
|
|
|
|
|
### v0.3.2 (2021-02-15)
|
|
|
|
- fix logical expression types
|
|
|
|
- fix _FragDepth_ semantics
|
|
|
|
- spv-in:
|
|
|
|
- derive block status of structures
|
|
|
|
- spv-out:
|
|
|
|
- add lots of missing math functions
|
|
|
|
- implement discard
|
|
|
|
|
|
|
|
### v0.3.1 (2021-01-31)
|
2021-01-31 03:54:20 +00:00
|
|
|
- wgsl:
|
|
|
|
- support constant array sizes
|
|
|
|
- spv-out:
|
|
|
|
- fix block decorations on nested structures
|
|
|
|
- fix fixed-size arrays
|
|
|
|
- fix matrix decorations inside structures
|
|
|
|
- implement read-only decorations
|
|
|
|
|
|
|
|
## v0.3 (2021-01-30)
|
2021-01-30 00:41:19 +00:00
|
|
|
- development release for wgpu-0.7
|
|
|
|
- API:
|
|
|
|
- math functions
|
|
|
|
- type casts
|
|
|
|
- updated storage classes
|
|
|
|
- updated image sub-types
|
|
|
|
- image sampling/loading options
|
|
|
|
- storage images
|
|
|
|
- interpolation qualifiers
|
|
|
|
- early and conservative depth
|
|
|
|
- Processors:
|
|
|
|
- name manager
|
|
|
|
- automatic layout
|
|
|
|
- termination analysis
|
|
|
|
- validation of types, constants, variables, and entry points
|
2020-08-17 03:49:48 +00:00
|
|
|
|
2021-01-31 03:54:20 +00:00
|
|
|
## v0.2 (2020-08-17)
|
|
|
|
- development release for wgpu-0.6
|
|
|
|
|
2020-08-17 03:49:48 +00:00
|
|
|
## v0.1 (2020-02-26)
|
|
|
|
- initial release
|