Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gfx-rs/naga

Universal shader translation in Rust
https://github.com/gfx-rs/naga

Update to 0.11 (#2222)

f0edae8ce9e55eeef489fc53b10dc95fb79561cc authored almost 2 years ago
Update CHANGELOG.md

13944c0ae555fd30618a1e9ab1e6e00fa2509e1d authored almost 2 years ago
install `cargo-tarpaulin` via `cargo-binstall` (#2220)

fe9db5dd8d82c6f8bfc60d1a049a4c28ae6c2485 authored almost 2 years ago
add support for zero-initializing workgroup memory

c7d02151f08d6285683795289b5725b827d836d1 authored almost 2 years ago
[hlsl-out] simplify `write_default_init`

a42857d29160cf087e8de369da02414fad3bc898 authored almost 2 years ago
factor out `write_barrier` functions

e5121ca01261518146ad9ad6f9d3eeb415414b45 authored almost 2 years ago
fix array being flagged as constructible when its base isn't

3ace8b81cbea6be140a8b113bc9c9579edea2481 authored almost 2 years ago
add `type_flags` to `ModuleInfo`

85e3b0844f4b422d9029253c1a66877bbcf57dd5 authored almost 2 years ago
[spv-in] Support binding arrays (#2199)

954cbaaff36503d1336a99991adf37a6c3d53884 authored almost 2 years ago
update test snapshots (#2219)

f70d8ec51f6d6e623f7684d579624bfe12d4899a authored about 2 years ago
glsl: include unused items (#2205)

* include_unused_items

* clippy

* tests

* rename original const if possible

4142971cb1c6b4a9b17282819b968e1909497d1b authored about 2 years ago
[wgsl] Add refract built-in

9f182ade30680d47f300e47d9afa5ce06586eb65 authored about 2 years ago
[wgsl] Removes isFinite and isNormal

a638da9edb35299ac785fb9cbbac6dda21cae195 authored about 2 years ago
[wgsl] Update inverse hyperbolic built-ins

74e5b4a07e7e260cdce29bb47572066bcf5eb449 authored about 2 years ago
Support 16-bit unorm/snorm formats (#2210)

* Support 16-bit unorm/snorm formats

* Add Capabilities::STORAGE_TEXTURE_16BIT_NORM_FORMATS
...

1be8024bda3594987b417bead5024b98be9ab521 authored about 2 years ago
Remove overly restrictive array stride check (#2215)

1cffd236a7b85d4d6fc95517cbf8c584f5a957ea authored about 2 years ago
Let the uniformity analysis trust the handle validation pass.

Undo some changes from #1668, now that #2090 has been merged.

cdcfad277a26f29cf5d0dff4ca1655f1b0d7a0cc authored about 2 years ago
Fix docs for `Emit` statements. (#2208)

f0a8ff6b3a316be22e945a60f85c75037c10f94f authored about 2 years ago
[wgsl-in] Implement module-level scoping.

Fixes #1745: Support out-of-order module scope declarations in WGSL
Fixes #1044: Forbid local va...

6035b07b786135f65cb4140f99cf67cc0381b4c3 authored about 2 years ago
Update setup-dxc to v1.1.0 (#2204)

7effd125962ebf91b2a17f0100c6474f61f46e50 authored about 2 years ago
Revert "Error if the uniformity requirements for a barrier aren't met" (#2203)

This reverts commit e6e94d65ab8c1ec6fedf5e492418d9c2217c4bf3.

86a88de3968133049c11c9e728ef4aa0c2d3b9f4 authored about 2 years ago
Error if the uniformity requirements for a barrier aren't met

e6e94d65ab8c1ec6fedf5e492418d9c2217c4bf3 authored about 2 years ago
[glsl-out] use `fma` polyfill for versions below gles 320

5b4e94630be452cdbb662940c3cf637f9dccfade authored about 2 years ago
[glsl-out] emit reflection info for non-struct uniforms (#2189)

e98bd9264c3a6b04dff15a6b1213c0c80201740a authored about 2 years ago
build(cli): use conventional `bin` path for `naga-cli`

224ff3897d51aa5bd85d296d0e41171dfa7a5b35 authored about 2 years ago
Allow `u32` coordinates for `textureStore`/`textureLoad` (#2172)

24316fd4bc9fca3b0c9cdd858ea593114c208eba authored about 2 years ago
msl: handle the case of missing binding (#2175)

02280a73572e5e07b53e6119c39e4ed032868472 authored about 2 years ago
Supporting gl_PointCoord (#2180)

8e1b0529e62f39f2051ec813f99fd682d1a43b5f authored about 2 years ago
Fix warnings when building tests without validation.

37be4df2b8e7c56b0390445f4457955211040433 authored about 2 years ago
Add handle validation pass to `Validator` (#2090)

Before proceeding with any other validation, check that all Handles are valid for their arenas, ...

461fdda4250cdf9aa49de960afd0fa5042a51bc9 authored about 2 years ago
refactor: resolve `clippy::manual_clamp`

420c9845f8f9f9a2103e3e3b798fe15da5e111b2 authored about 2 years ago
fix(docs): fix invalid `<...>` URLs with code spans

3c26ffb07a9708634d5b874f6564384ef1f06d25 authored about 2 years ago
Add ValidationFlags::BINDINGS

76d30e5055f1c3ecd58c1e0d87df4431cc15d065 authored about 2 years ago
[wgsl-in/spv-out] Add support for WGSL's `atomicCompareExchangeWeak` (#2165)

* Add support for WGSL's `atomicCompareExchangeWeak` with the `__atomic_compare_exchange_result`...

5d8fc3fdcf676c2bf67e20d5475e1169da9ac3d5 authored about 2 years ago
[wgsl] update reserved keywords

8f1d82f0d2a10052e43935336b5a325ddaa40f9d authored about 2 years ago
fix-fmt

9a00937b500d98d08824aced17f332aa48517d72 authored about 2 years ago
update error note

300ffcafbf21b1c5ff8d8c984f5400bf84a50c32 authored about 2 years ago
fix tests

ee5c343038b4a8582394ef7a87d997cb3e722743 authored about 2 years ago
remove non-32bit integers

36bae0760de2757c67bc4e6f0cdbae27e2f0a638 authored about 2 years ago
remove comment

4748721857297e53b9a77593ec3992d85b22b0dd authored about 2 years ago
[wgsl-out] remove `workgroup_size` builtin

bf71b015a1ef596a0b497a5a27a399a5e5cbc178 authored about 2 years ago
[wgsl-in] remove `workgroup_size` builtin

e671d6b49cc373340fd67b3c5058cd25523f16dd authored about 2 years ago
add Range::new_from_bounds

2dcb6963fadf6ad000418f54eeffc431b5167e00 authored about 2 years ago
Ignore `unused_imports` in tests/snapshots.rs.

This is for the same reason that we ignore `dead_code`:

// A lot of the code can be unused ...

0197246365ae1e2e3f4b7a65481b3e0b8079f9d4 authored about 2 years ago
[wgsl-out] Write correct scalar kind when width != 4 (#1514)

* [wgsl-out] Write correct scalar kind when width != 4

* slight refactoring

* Also handle ...

4f77cbafb73ae2dac1b0bc2338620b916a0b11a1 authored about 2 years ago
[doc] add more switch docs

5a1f43d12d4ab32333ec5bb1b42dfcaa9ae34c4f authored about 2 years ago
[doc] explain how case clauses with multiple selectors are supported

63e85b4b159c44b74c357894f2db3910b68bf43f authored about 2 years ago
[glsl-out] introduce a new block for switch cases

f36adeefaa88fba13cfaa0c79bd6b85a1313b4ce authored about 2 years ago
[wgsl] remove fallthrough statement

also add support for default to be used with other case selectors

e05706bc48606991aa67d1580faf7e262a0bb8df authored about 2 years ago
[msl-out] omit extra switch case blocks where possible

db63877c8c82626682785c4e04a359d4bcba411f authored about 2 years ago
[spv-out] fix switch cases after default not being output

be70a2ec03cd02db0c03cbfb95f49f3b568aa2be authored about 2 years ago
[spv-out] omit extra switch case blocks where possible

eccdc0aeb1921fc49296e769c45a4f921df6f7fd authored about 2 years ago
[wgsl-in] use parse_block in more places

8405e387d813201809e78fa174fee23b0914d662 authored about 2 years ago
[hlsl-out] omit extra switch case blocks where possible

34551474968f2627da2263d0ab9a6941c57911ef authored about 2 years ago
Fix textureGather on texture_2d<u32/i32> (#2138)

* Fix textureGather on texture_2d<u32/i32>

* Add textureGather u32/i32 tests

* Update src/...

bf4e62b1ac78759705f544f71bf0b43b654a163c authored about 2 years ago
glsl-in: Fix position propagation in lowering (#2079)

When lowering `Select` expressions the position could be wrongfully
updated from `AccessBase { ...

d1c29534c8614e39f469ab5a555d1ebd5ad0ce9e authored about 2 years ago
Document `EarlyDepthTest` and `ConservativeDepth` syntax in WGSL (#2132)

49764947096fd400543599e920681252ba731fde authored about 2 years ago
bump MSRV to 1.63 (#2129)

5b79cca384ad9834f56bd7ecf164210deded054b authored about 2 years ago
Parenthesize unary negations to avoid `--` (#2087)

* fix(glsl-out,hlsl-out,msl-out): parenthesize unary negations a la `wgsl` everywhere

Unify p...

aa22301b4b2fa22ae2c7521a38d16eb3533f3803 authored about 2 years ago
[msl-out] use back::COMPONENTS (#2124)

e0568057840d38debc889d86f826b1ac67dd004d authored about 2 years ago
refactor(cli): simplify `output_paths` w/ `<&[T]>::get` and `Option::unwrap` (#2114)

1650581fe7a94ed40067313f3cd205414dd4febf authored about 2 years ago
fix 1.65 clippy lints (#2112)

01fbdea21f6537c0db95e2a2a284e61598574f2c authored about 2 years ago
Satisfy latest `clippy` lints (up to Rust 1.64) (#2081)

* refactor: satisfy `clippy::borrow_deref_ref`

* chore: satisfy `clippy::ptr_arg`

* refact...

21c709276229d051a74a76eb493f29c1e2cf2d07 authored about 2 years ago
Fix textureGather compatibility on macOS 10.13 (#2104)

* Fix textureGather compatibility on macOS 10.13

* Fix tests

* Update src/back/msl/writer....

e7fc8e64f2f23397b149217ecce6e123c5aa5092 authored about 2 years ago
refactor(wgsl-out): use `for` loop for function arg. writing

df4e40327c280a038365fb3d4ec839353f06eed3 authored about 2 years ago
refactor(valid): s/error/source member name for `ValidationError`

469272c6130a5c88bc2231c8b7ec2641e0449d1e authored about 2 years ago
build: move to the Rust 2021 edition (#2085)

* build: move to the Rust 2021 edition

Since the MSRV of `naga` [is currently 1.56][msrv], I ...

b37dda8854d63b9a9869624cfb6db31d504a04ff authored about 2 years ago
refactor: factor out new `Validator::global_var_ty` for expr. validation (#2086)

2a11d830bb8a4965758cab787196322de4f24e19 authored about 2 years ago
Fix incorrect atomic bounds check on metal back-end (#2099)

* Fix incorrect atomic bounds check on metal back-end

Generalize put_atomic_fetch to handle `...

ddcd5d3121150b2b1beee6e54e9125ff31aaa9a2 authored over 2 years ago
[hlsl-out] Fix storage access chain through a matrix

2754a0136ecd4d371af5a85fc715c9f8f4c64fc1 authored over 2 years ago
[hlsl-out] Properly implement bitcast

d974f2f832681366e9e6d99c4c3b0096b37efcdd authored over 2 years ago
Workaround FXC Bug in Matrix Indexing (#2096)

20d5445cb7f0cd9fa614c926173d57d420afccc2 authored over 2 years ago
Fix repository link pointing to the 0.9 branch (#2078)

a7193d652e49180661a6ca047889e0685667acdb authored over 2 years ago
Add changelog and bump version to 0.10 (#2077)

c52d91023d43092323615fcc746162e478033f26 authored over 2 years ago
glsl-in: Update initializer list type when parsing (#2066)

Previously when parsing an initializer list, the type passed to
`parse_initializer` was not upd...

e07fd981c208767fc00c78a6da162026b47835ba authored over 2 years ago
[validate] Fix compiler warning

0f26e5c808631d3d647a71f985274755d01edb6d authored over 2 years ago
Explicitely enable std, and don't rely on environment (#2062)

abc4e1572affc9f0e12fa446c5f7f9a78652c1a9 authored over 2 years ago
[wgsl] Fix line endings on wgsl reserved words list. (#2059)

7e3750a7f2eca0ab357dfa72d90bdc60b77c3202 authored over 2 years ago
[wgsl-in] Break up long string, reformat rest of file. (#2057)

Whitespace and formatting changes only.

It turns out that if `cargo fmt` comes across a singl...

33392382ee59b23ab749c7a35d8bf25173dc48b4 authored over 2 years ago
wgsl-in: Improve assignment diagnostics (#2056)

Fixes #2052.

* improved assignment statement errors

* hint immutable binding

* fix clip...

5166c2a1d84c3c96ff1ed2b827c313640d1e3fb9 authored over 2 years ago
fix inclusion of trivia in spans

5d9cdd361f06c5d080815720c26314f3fa0b4f9b authored over 2 years ago
remove trailing trivia

4f8db997b0b1e73fc1e2cac070485333a5b61925 authored over 2 years ago
wgsl-in: Fix bad span in assignment lhs error

The wgsl frontend was emiting errors for lhs expressions on assignments
that weren't references ...

1a99c1cf066de8d660904f1fb681f5647bc45205 authored over 2 years ago
valid: Check regular functions don't have bindings

Checks that all arguments and return types have no bindings in regular functions.

ff69053bf28857c6f00aedbe044ce144f96c7c1a authored over 2 years ago
wgsl-in: Splat on compound assignments

Compound assignments on wgsl follow the same semantics as their
underlying operation, this inclu...

db1321cfb6b40855ce6580f4fa9c225fe7b0d3d2 authored over 2 years ago
Document arithmetic binary operation type rules.

eb6124ec94ac6eed83b5acc4272bd9016c2e61dc authored over 2 years ago
Remove the glsl-validate feature

When it was introduced it was supposed to allow for fast compiles by
skipping glsl specific vali...

7d0e9847b00a3b02df4413713eb048faa420a1d8 authored over 2 years ago
glsl-in: Migrate to SymbolTable

d9c9fe6218553edcbba7b1c69b05000aca159387 authored over 2 years ago
Add some methods to SymbolTable and implement Debug

544f14ad2f7ac63875053a33ccd1ef60bf3293c9 authored over 2 years ago
wgsl-in: Rename `Scope` to `Rule`, since we now have lexical scope.

Rename related functions and variables appropriately.

Also, make `Rule` private to the WGSL fro...

13a0d28ddc138609b1ed686aaa69d922f87adfed authored over 2 years ago
[spv-out] Don't emit no-op `OpBitCast` instructions.

As reported in #2015, some drivers trip over these.

7505187476cc1c01dd8e6b2ad2f45cec1dff5382 authored over 2 years ago
wgsl-in: Implement lexical scopes

Previously the wgsl frontend wasn't aware of lexical scopes causing all
variables and named expr...

d64d78ff0b7b76aea8594c9c16d06cb0184df327 authored over 2 years ago
Add a frontend agnostic symbol table

Adds a new type `SymbolTable` to allow sharing code between the
frontends related to variable na...

66f5506e109f5cb8b41bcd40eea25b60bb06dcab authored over 2 years ago
[spv-out] Properly combine the fixes for #2035 and #2038.

The Vulkan decoration rules require us to distinguish vertex shader
inputs, fragment shader inpu...

b209d911681c4ef563f7d9048623667743e6248f authored over 2 years ago
Use `Option::as_deref` as appropriate.

5be898e7e76e2410485fab1e5b3de6bc39452571 authored over 2 years ago
Decorate most builtins as Flat in the spirv writer.

Fixes #2032

b63436af36f23e9d36d0762df19072682b23ebc8 authored over 2 years ago
Don't decorate varyings with interpolation modes at the beginning and end of the pipeline.

Fixes #2036.

6b3c111f3fd4005ed06f3bb52eabe961f0d869de authored over 2 years ago
hlsl-out: Add support for push constants (#2005)

Push constants need to be configured by the consumer which must pass the
bind target of the con...

9df243c42c8042a8db558741030d67bba5a05003 authored over 2 years ago
glsl-in: Fix missing stores for local declarations (#2029)

Previously, if a local variable was declared with a constant value, we
would elide the store an...

e7ddd3564c214d8acf554a03915d9bb179e0b772 authored over 2 years ago
Implement `Clone` for `Module` (#2013)

This is hidden behind the `clone` feature flag

48e79388b506535d668df4f6c7be4e681812ab81 authored over 2 years ago