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 README

d0f28c0b1a3c772e55e68db1c47eff5131cb6732 authored about 1 year ago
Fix dependency

92e41b43e437146b5d946eb238de963be1168016 authored about 1 year ago
Bump Versions

95d216bb5764128fa37554f2d0f9f97cf5eb7ccd authored about 1 year ago
add 0.14 changelog (#2588)

7acd1aaa5e767b1f7f7a935262eb01381ca91978 authored about 1 year ago
[glsl-out] remove duplicate version check (#2587)

a1c5f38b538da4457aa831dc8951ad27d43c6c8a authored about 1 year ago
[wgsl-in] Unify ConcreteConstructor and ConcreteConstructorHandle. (#2577)

Replace the `ConcreteConstructor` and `ConcreteConstructorHandle`
types in `front::wgsl::lower:...

ada3cd85bb046a220e61be8fd70a98a21c9cda77 authored over 1 year ago
[wgsl-in] Let lowering contexts point to a Function directly. (#2580)

Change `StatementContext` and `RuntimeExpressionContext` in
`front::wgsl::lower` to hold a `&mu...

86b6db6f7645c5103f85c7a038a2eb91f97295ab authored over 1 year ago
Don't use layout qualifiers to allow for GLSL 140 support (#2575)

d10590936b446cce7db1d1105b1ee47ec4fd4be5 authored over 1 year ago
[wgsl-in] Consolidate array and struct cases in construction.

49f6730624537ca7448d01f6a91707aee978d0bc authored over 1 year ago
[wgsl-in] Delete ComponentsHandle type.

In `front:wgsl::lower::construct`, build `Components` values directly,
rather than building a `C...

93ae5cc82ee8a7a7cfb038499cf4b45981bf7e32 authored over 1 year ago
[wgsl-in] Doc fix for `Lowerer::constructor`.

65f2216ecfe9b4c09acc5824c094c28e6b71baa3 authored over 1 year ago
fix expected min arg count of `textureLoad`

f081f06f54fab2cfdf636258b26670995861468e authored over 1 year ago
Give front::wgsl::Error::InitializationTypeMismatch named fields.

528bca75f71b7d611afd101b59cb83eff154e722 authored over 1 year ago
[wgsl-in] Turn `Error::Other` into `Error::Internal`, to help devs.

Provide a textual message with `front::wgsl::Error::Internal`, so that
a developer who sees one ...

946745d38fc2063a899794a40046d84ee2cbb8ef authored over 1 year ago
[wgsl-in] Clean up swizzle/component access type.

Rename `front::wgsl::lower::Composition` to `Components`. It doesn't
represent a composition, it...

dd8f8143446b59c20f010bc532f9a25b46195580 authored over 1 year ago
[wgsl-in] Delete front::wgsl::lower::GlobalContext::reborrow.

Remove `GlobalContext::reborrow` in favor of Rust's automatic
reborrowing of `&mut` references.

0285bf93885c90e4b71033abe84d5cb69996fbf0 authored over 1 year ago
[wgsl-in] Delete front::wgsl::parse::ExpressionContext::reborrow.

Remove `ExpressionContext::reborrow` in favor of Rust's automatic
reborrowing of `&mut` referenc...

6d4807fc6d10388ab4ebb3809959a0e6a1ec8b84 authored over 1 year ago
[wgsl-in] Delete {ExpressionContext,RuntimeContext}::reborrow.

Remove `front::wgsl::lower::ExpressionContext::reborrow` and
`front::wgsl::lower::RuntimeExpress...

d038506a8cdb23d24b63ec951f340f1d55dffd98 authored over 1 year ago
[wgsl-in] Delete front::wgsl::lower::StatementContext::reborrow.

Remove `StatementContext::reborrow` in favor of Rust's automatic
reborrowing of `&mut` references.

a647c64432a0537f7a224eb9577cf86d937302d4 authored over 1 year ago
[wgsl-in] Generate no code for trivial vector/matrix construction. (#2576)

Do not emit an `Expression::As` conversion for WGSL like `vec3(v)`
where `v` is already a `vec3...

509ea4c85702ee1d5009eb13301547c77c0c5e58 authored over 1 year ago
fix clippy lints introduced in 1.72 and 1.73 (#2581)

fixes:
- [non_canonical_clone_impl](https://rust-lang.github.io/rust-clippy/master/index.html#n...

17dfdb93659d6b3340f22ea4659a4e1bf3ca831c authored over 1 year ago
[wgsl-in] consolidate type resolution logic in a few macros (#2571)

* [wgsl-in] consolidate type resolution logic in a few macros

* rename + docs

* reorder ma...

19209b67d26c4cb231c1b5464dbf712539ab7a5a authored over 1 year ago
fix OOB typifier indexing

29ca53148d217bbb69ef52c17f46e101da79e06b authored over 1 year ago
[wgsl-in] Abstract out ExpressionContext::as_const_evaluator.

af26d77ce436c85efb660d36c73c2de16c37cb6f authored over 1 year ago
Make validation reject 64-bit floating-point literals.

Make expression validation and constant expression validation reject
`Literal` expressions conta...

334f7453660169251d5ec576ebfc3b9b0625ca79 authored over 1 year ago
Give Validator::check_width its own error type, `WidthError`.

Later changes will use `check_width` in new functions. Separating out
`WidthError` will make it ...

860c20046989e4c9cee4a70fa7aaa96dee371bf1 authored over 1 year ago
rename validate_literal to check_literal_value

1bb84aef0bbf6ef6baf37c4dc961c76f6bce61e0 authored over 1 year ago
[refactor] make use of `resolve_type` wherever possible

5b65f11e3cb491707f9cdbb78388972367feb52d authored over 1 year ago
[glsl/spv-out] Cull functions that should not be available for a given stage (#2531)

e25280df9316434ef7752970016d01a3aede3f17 authored over 1 year ago
[spv-in] translate ModfStruct & FrexpStruct to their IR equivalents

cf113bdb53a59dbd6fba56f0b18c26ae189f794b authored over 1 year ago
[glsl-in] disable modf & frexp

4b7a555e9f434c8110b450d786c03091fe83f234 authored over 1 year ago
[valid] add `Capabilities::CUBE_ARRAY_TEXTURES`

5a0fb630da5ccdb3aab0830bd7c9dbecc70c6be5 authored over 1 year ago
[spv-in] remove `spirv::Capability::InterpolationFunction`

as we don't support the `InterpolateAtCentroid`, `InterpolateAtSample`, or `InterpolateAtOffset` ...

2f6a32f5f997ffdccf8d99d4a78e03d2fb84116f authored over 1 year ago
[spv-in] remove `spirv::Capability::ImageMSArray`

as we don't support multisampled storage textures at all

de9913f4760eaa407ac4ce0e3ae980d964297a1e authored over 1 year ago
[spv-in] remove duplicated capabilities

7ee474b4a5d5658147d9bba4858c5fdfd4f29ccf authored over 1 year ago
disallow ptr to workgroup fn arguments

6854b0ab4f105131bfb87704927abec3fe366ef9 authored over 1 year ago
[msl-out] add min version checks for binding arrays

46c472731f28ce5df4100e2e04cf5f6257b567c6 authored over 1 year ago
[msl-out] remove min version check on storage address space

0cfd2213ccd163322474cfe4548bb7d03f82798b authored over 1 year ago
[msl-out] add min version check for `base_instance` & `instance_id`

a7146b07a147c8806f7318518fa8c31a8e4c0bb6 authored over 1 year ago
[msl] add undocumented checks

0340c2e685a3c8ec5d0c55192ae3af48f2c3962f authored over 1 year ago
[msl-out] add min version check for ray tracing

ea83f62a949ea076c3e5db56d4e099a9a4b34f0b authored over 1 year ago
[msl-out] add min version check for `primitive_id`

89ab5902b2300bbb04281ebb7862a3ce53ab8f4b authored over 1 year ago
[msl-out] add min version check for `reverse_bits`, `extract_bits` & `insert_bits`

0c63be8904430350c2144ab613e613f83186288f authored over 1 year ago
[msl-out] add min version check for read-write storage textures

f4a43b1bf07af3e72f95b35e284eb2ac5724ca10 authored over 1 year ago
[glsl-in, glsl-out] Fix warnings about redundant doc link targets.

68ce1ebfa2556c9fdb56415956b02bf9da2128c7 authored over 1 year ago
remove `IsFinite` & `IsNormal` completely

d71f2541a3f2e1d327fbb1a1e3c3e0d54c5dac8e authored over 1 year ago
Split `UnaryOperator::Not` into `UnaryOperator::LogicalNot` & `UnaryOperator::BitwiseNot`

since it should not be valid to use the logical and bitwise not operators interchangeably

also,...

04562dea2681c8fea9f2f3472e0700599ed57d44 authored over 1 year ago
[valid] avoid OOM with large sparse resource bindings

841d360f0638ff7082de1e07de205d6a0121050d authored over 1 year ago
[wgsl-out] Generate correct code for bit complement on integers.

Remove incorrect special case for `UnaryOperator::Not` on vectors.

9eb3a1dc8a522e627b266f9157442f0fe8b65ec9 authored over 1 year ago
[wgsl] test `@workgroup_size` attribute with constants

b95a72b2f6c209e7a3a40adfd90ffa281f47360f authored over 1 year ago
Add snapshot tests for constant evaluation of splats and composes.

6bd15e4492364d175d3ce981654ea03486a3582b authored over 1 year ago
[wgsl-in] don't treat `let` declarations as `const` declarations

55dd0e1fbcdec2cbc7345f4f6caaf63733c550ec authored over 1 year ago
[wgsl-in] use ast spans for errors since they are more accurate

648540999e8e97ac74d7189882c50767dccef452 authored over 1 year ago
Let ConstantEvaluator see through Constant exprs in Splat exprs.

c16a298cac5741bc811d50fbfe9ada239aa4eeae authored over 1 year ago
Let ConstantEvaluator see through Constant exprs in Compose exprs.

3e4d565576d4fa14076b4871db9b3cb92e2c3513 authored over 1 year ago
add an expression constness tracker

c33d7ee40dd1b384c01a74a8d9fc7a91ba4ddb20 authored over 1 year ago
Test that only constant expressions are hoisted to initializers.

ab177af3ba56ef00348deb1c55894f37b012911a authored over 1 year ago
avoid having constants pointing to other constants

3d346977e59ba41d653fcc6ddd457569bb2fec74 authored over 1 year ago
Split `const-exprs.rs` test into separate functions.

Also, just use a single out variable for each type. rather than
introducing a new output variabl...

bdcb9f6f64becc7ee2a91ee143227335b0b231a0 authored over 1 year ago
[const-eval] check number of arguments for math functions

d50c3843285633ce9b2cce0097e5195a353713a5 authored over 1 year ago
Document some parts of `ConstantEvaluator`. (#2489)

44ca6ac5b3aac57754e5d78bd35931e05b6b6d4d authored over 1 year ago
[wgsl] test usage of constants in switch cases

4e95667a1cf53d5502af8f87a505f8ee91ec9491 authored over 1 year ago
[wgsl-in] eagerly evaluate const-expressions

[wgsl-in] support const-expressions in attributes

allow `Splat` as an evaluated const-expressio...

a730236b68f0e73f3bafbba767134751e9ea830f authored over 1 year ago
Replace `ConstantEvaluator`'s closure with optional emitter data.

Instead of letting the user supply an arbitrary closure for appending
expressions, instead give ...

aa041aafbd285a7962218d646ebf14766482b657 authored over 1 year ago
Move `front::Emitter` to `proc`.

With the addition of the constant evaluator to the `proc` module, it
is now concerned with const...

77851ebfb69999eaca5f9578ab4534b30e0073d4 authored over 1 year ago
[glsl-in] set initializer of local variables

0e4ac2a98c10336a363597fb769d126e4418de5c authored over 1 year ago
[glsl-in] const eval as soon as possible

fe7bc01d279c43c366f3ee442685413479947c2c authored over 1 year ago
use LocalVariable init

3fb4c333a73cc24376ecee37f86e3875ac333232 authored over 1 year ago
Avoid FXC's error X3694: race condition writing to shared resource detected

d8ceeae3b2a6b46226f452d13c0770406d61998e authored over 1 year ago
[valid] check local variable initializer is const

f7e15bf391029d15ff40bedf5200822530726a00 authored over 1 year ago
Some documentation for ConstantEvaluator.

a3ba3259fe83b4cb0741b8e69e457b7dc18a7160 authored over 1 year ago
[wgsl-in] Document necessity of `force_non_const`.

504b33d8cd40174e21b142b00f50c7901198e7e6 authored over 1 year ago
avoid const-evaluating the `operators.wgsl` snapshot

4f453b40414558e3acfbfc1e736fbb15f6bed974 authored over 1 year ago
[const-eval] error on NaN and infinite floats

a77f6ff51cbfdc36136023b9da185fc04294025a authored over 1 year ago
Properly recognize `Literal` expressions as non-dynamic indices. (#2537)

Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test f...

ca2e8104923d3712b71331fc80c60e5e75c67355 authored over 1 year ago
[const-eval] evaluate `BinaryOperator::Modulo` correctly (use the truncated version instead of floored)

13a0ed4eaea0852cc83079125f82b7e36b6683e2 authored over 1 year ago
[const-eval] allow bitcast, select and relational functions for GLSL since they should be supported

a9c28d47c37554fda3947e981f344c5c1e24a8b6 authored over 1 year ago
[wgsl-in] Don't double-initialize variables local to loops.

1b485ea92514d2efc3328bc1122e53a2ed0e4ffa authored over 1 year ago
[const-eval] error on invalid binary operations

c5b2afaf783b7ad6882bda252d960b2baecfa544 authored over 1 year ago
[const-eval] implement `pow` & `clamp` built-in functions properly

4945b7a8033f4e9d72b747d01ddfbb8a4cc9b9f2 authored over 1 year ago
[const-eval] account for `ZeroValue` index for `AccessIndex` expression

c46a69d9938f229f8e0727f83709b37097746c41 authored over 1 year ago
ConstantEvaluator::copy_from: Rename argument `handle` to `expr`. (#2490)

f0ac8380197700960f86870bb75bc7a77f183333 authored over 1 year ago
[const-eval] add wgsl/glsl behavior switch to evaluator

c2141ab804e24fe66c49aa8c14e734cfe73001b8 authored over 1 year ago
ConstantEvaluator::swizzle: Handle vector concatenation and indexing (#2485)

* ConstantEvaluator::swizzle: Handle vector concatenation, indexing.

* Handle vector Compose ex...

1a4b526d9a263eb30fa1fdd048bf14b125adde5b authored over 1 year ago
[wgsl] test const evaluation of division and multiplication

5de27f20786785403adacebc15b50f1faae7bdc3 authored over 1 year ago
Add a bit of logging to `ConstantEvaluator`. (#2488)

ca69a6b372f1a8cb33766aef83c87d8a61278604 authored over 1 year ago
Add codeowners file

c5d884fca8b56ac957530c7184ee050cc5fd67ec authored over 1 year ago
[wgsl-in] Parse the bgra8unorm storage format (#2550)

33b75a27d93c6574b11b4dd4492b85b5783d6c52 authored over 1 year ago
Add StorageFormat::Bgra8Unorm

3c7dbc4016b84a35c69b30305b12abaeefc21fd9 authored over 1 year ago
Require that `Function` and `Private` variables be `CONSTRUCTIBLE`.

Change the validator to enforce WGSL's requirement that all variables
in the `function` and `pri...

fe484b3a1ba4c6a6bffebe4f12ed3168ed87bee0 authored over 1 year ago
compact: Don't assume Emitted expressions are live.

If an `Emit` statement covers an `Expression` that is not otherwise
used by any `Statement`, rem...

fa0fed100eac261375659e3d459aece66d224480 authored over 1 year ago
compact: Minor cleanups.

- Simplify visibility markings.

- Remove some testing comments. (Tests carried out.)

- Remove ...

e820c33abf1f560297bdcdcff37952abb5eddc02 authored over 1 year ago
Improve docs for `FunctionInfo::process_expression`.

c6716033da62bf2038c0ba2460e893a8a928b6d3 authored over 1 year ago
Remove `expression` argument to `FunctionInfo::process_expression`.

We're already passing the handle and the arena, so it's superfluous.

31f547580c535b0a496d0a97b42f6ef7d34e697c authored over 1 year ago
[valid] Disallow NaNs and infinities (#2508)

* [valid] disallow NaNs and infinities

* document literal float constraints

4d6e0005f41b97f4153772f5e78f25f67be27ab3 authored over 1 year ago
[wgsl] remove `outerProduct` (#2535)

f37db5affc6a5e84f3aa0f8e09eeb11e146e4032 authored over 1 year ago
Add Rgb10a2Uint format (#2525)

6668d0694cc51ee66c71c2ca3a1ab1081956299b authored over 1 year ago
[spv-out] require ClipDistance & CullDistance capabilities if necessary (#2528)

613da72ac0c2f56a5e1a2c4becf7e373a2b82e77 authored over 1 year ago
[msl-out] Make varyings' struct members unique (#2521)

9f3cdb61aae3dccffbfe9affc0db85305f765864 authored over 1 year ago
remove duplicated code

c927d3ec826fb0e23538635b1882db1e4e1ce75e authored over 1 year ago