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
d0f28c0b1a3c772e55e68db1c47eff5131cb6732 authored about 1 year ago
92e41b43e437146b5d946eb238de963be1168016 authored about 1 year ago
95d216bb5764128fa37554f2d0f9f97cf5eb7ccd authored about 1 year ago
7acd1aaa5e767b1f7f7a935262eb01381ca91978 authored about 1 year ago
a1c5f38b538da4457aa831dc8951ad27d43c6c8a authored about 1 year ago
Replace the `ConcreteConstructor` and `ConcreteConstructorHandle`
types in `front::wgsl::lower:...
Change `StatementContext` and `RuntimeExpressionContext` in
`front::wgsl::lower` to hold a `&mu...
d10590936b446cce7db1d1105b1ee47ec4fd4be5 authored over 1 year ago
49f6730624537ca7448d01f6a91707aee978d0bc authored over 1 year ago
In `front:wgsl::lower::construct`, build `Components` values directly,
rather than building a `C...
65f2216ecfe9b4c09acc5824c094c28e6b71baa3 authored over 1 year ago
f081f06f54fab2cfdf636258b26670995861468e authored over 1 year ago
528bca75f71b7d611afd101b59cb83eff154e722 authored over 1 year ago
Provide a textual message with `front::wgsl::Error::Internal`, so that
a developer who sees one ...
Rename `front::wgsl::lower::Composition` to `Components`. It doesn't
represent a composition, it...
Remove `GlobalContext::reborrow` in favor of Rust's automatic
reborrowing of `&mut` references.
Remove `ExpressionContext::reborrow` in favor of Rust's automatic
reborrowing of `&mut` referenc...
Remove `front::wgsl::lower::ExpressionContext::reborrow` and
`front::wgsl::lower::RuntimeExpress...
Remove `StatementContext::reborrow` in favor of Rust's automatic
reborrowing of `&mut` references.
Do not emit an `Expression::As` conversion for WGSL like `vec3(v)`
where `v` is already a `vec3...
fixes:
- [non_canonical_clone_impl](https://rust-lang.github.io/rust-clippy/master/index.html#n...
* [wgsl-in] consolidate type resolution logic in a few macros
* rename + docs
* reorder ma...
19209b67d26c4cb231c1b5464dbf712539ab7a5a authored over 1 year ago29ca53148d217bbb69ef52c17f46e101da79e06b authored over 1 year ago
af26d77ce436c85efb660d36c73c2de16c37cb6f authored over 1 year ago
Make expression validation and constant expression validation reject
`Literal` expressions conta...
Later changes will use `check_width` in new functions. Separating out
`WidthError` will make it ...
1bb84aef0bbf6ef6baf37c4dc961c76f6bce61e0 authored over 1 year ago
5b65f11e3cb491707f9cdbb78388972367feb52d authored over 1 year ago
e25280df9316434ef7752970016d01a3aede3f17 authored over 1 year ago
cf113bdb53a59dbd6fba56f0b18c26ae189f794b authored over 1 year ago
4b7a555e9f434c8110b450d786c03091fe83f234 authored over 1 year ago
5a0fb630da5ccdb3aab0830bd7c9dbecc70c6be5 authored over 1 year ago
as we don't support the `InterpolateAtCentroid`, `InterpolateAtSample`, or `InterpolateAtOffset` ...
2f6a32f5f997ffdccf8d99d4a78e03d2fb84116f authored over 1 year agoas we don't support multisampled storage textures at all
de9913f4760eaa407ac4ce0e3ae980d964297a1e authored over 1 year ago7ee474b4a5d5658147d9bba4858c5fdfd4f29ccf authored over 1 year ago
6854b0ab4f105131bfb87704927abec3fe366ef9 authored over 1 year ago
46c472731f28ce5df4100e2e04cf5f6257b567c6 authored over 1 year ago
0cfd2213ccd163322474cfe4548bb7d03f82798b authored over 1 year ago
a7146b07a147c8806f7318518fa8c31a8e4c0bb6 authored over 1 year ago
0340c2e685a3c8ec5d0c55192ae3af48f2c3962f authored over 1 year ago
ea83f62a949ea076c3e5db56d4e099a9a4b34f0b authored over 1 year ago
89ab5902b2300bbb04281ebb7862a3ce53ab8f4b authored over 1 year ago
0c63be8904430350c2144ab613e613f83186288f authored over 1 year ago
f4a43b1bf07af3e72f95b35e284eb2ac5724ca10 authored over 1 year ago
68ce1ebfa2556c9fdb56415956b02bf9da2128c7 authored over 1 year ago
d71f2541a3f2e1d327fbb1a1e3c3e0d54c5dac8e authored over 1 year ago
since it should not be valid to use the logical and bitwise not operators interchangeably
also,...
04562dea2681c8fea9f2f3472e0700599ed57d44 authored over 1 year ago841d360f0638ff7082de1e07de205d6a0121050d authored over 1 year ago
Remove incorrect special case for `UnaryOperator::Not` on vectors.
9eb3a1dc8a522e627b266f9157442f0fe8b65ec9 authored over 1 year agob95a72b2f6c209e7a3a40adfd90ffa281f47360f authored over 1 year ago
6bd15e4492364d175d3ce981654ea03486a3582b authored over 1 year ago
55dd0e1fbcdec2cbc7345f4f6caaf63733c550ec authored over 1 year ago
648540999e8e97ac74d7189882c50767dccef452 authored over 1 year ago
c16a298cac5741bc811d50fbfe9ada239aa4eeae authored over 1 year ago
3e4d565576d4fa14076b4871db9b3cb92e2c3513 authored over 1 year ago
c33d7ee40dd1b384c01a74a8d9fc7a91ba4ddb20 authored over 1 year ago
ab177af3ba56ef00348deb1c55894f37b012911a authored over 1 year ago
3d346977e59ba41d653fcc6ddd457569bb2fec74 authored over 1 year ago
Also, just use a single out variable for each type. rather than
introducing a new output variabl...
d50c3843285633ce9b2cce0097e5195a353713a5 authored over 1 year ago
44ca6ac5b3aac57754e5d78bd35931e05b6b6d4d authored over 1 year ago
4e95667a1cf53d5502af8f87a505f8ee91ec9491 authored over 1 year ago
[wgsl-in] support const-expressions in attributes
allow `Splat` as an evaluated const-expressio...
a730236b68f0e73f3bafbba767134751e9ea830f authored over 1 year ago
Instead of letting the user supply an arbitrary closure for appending
expressions, instead give ...
With the addition of the constant evaluator to the `proc` module, it
is now concerned with const...
0e4ac2a98c10336a363597fb769d126e4418de5c authored over 1 year ago
fe7bc01d279c43c366f3ee442685413479947c2c authored over 1 year ago
3fb4c333a73cc24376ecee37f86e3875ac333232 authored over 1 year ago
d8ceeae3b2a6b46226f452d13c0770406d61998e authored over 1 year ago
f7e15bf391029d15ff40bedf5200822530726a00 authored over 1 year ago
a3ba3259fe83b4cb0741b8e69e457b7dc18a7160 authored over 1 year ago
504b33d8cd40174e21b142b00f50c7901198e7e6 authored over 1 year ago
4f453b40414558e3acfbfc1e736fbb15f6bed974 authored over 1 year ago
a77f6ff51cbfdc36136023b9da185fc04294025a authored over 1 year ago
Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test f...
13a0ed4eaea0852cc83079125f82b7e36b6683e2 authored over 1 year ago
a9c28d47c37554fda3947e981f344c5c1e24a8b6 authored over 1 year ago
1b485ea92514d2efc3328bc1122e53a2ed0e4ffa authored over 1 year ago
c5b2afaf783b7ad6882bda252d960b2baecfa544 authored over 1 year ago
4945b7a8033f4e9d72b747d01ddfbb8a4cc9b9f2 authored over 1 year ago
c46a69d9938f229f8e0727f83709b37097746c41 authored over 1 year ago
f0ac8380197700960f86870bb75bc7a77f183333 authored over 1 year ago
c2141ab804e24fe66c49aa8c14e734cfe73001b8 authored over 1 year ago
* ConstantEvaluator::swizzle: Handle vector concatenation, indexing.
* Handle vector Compose ex...
1a4b526d9a263eb30fa1fdd048bf14b125adde5b authored over 1 year ago5de27f20786785403adacebc15b50f1faae7bdc3 authored over 1 year ago
ca69a6b372f1a8cb33766aef83c87d8a61278604 authored over 1 year ago
c5d884fca8b56ac957530c7184ee050cc5fd67ec authored over 1 year ago
33b75a27d93c6574b11b4dd4492b85b5783d6c52 authored over 1 year ago
3c7dbc4016b84a35c69b30305b12abaeefc21fd9 authored over 1 year ago
Change the validator to enforce WGSL's requirement that all variables
in the `function` and `pri...
If an `Emit` statement covers an `Expression` that is not otherwise
used by any `Statement`, rem...
- Simplify visibility markings.
- Remove some testing comments. (Tests carried out.)
- Remove ...
e820c33abf1f560297bdcdcff37952abb5eddc02 authored over 1 year agoc6716033da62bf2038c0ba2460e893a8a928b6d3 authored over 1 year ago
We're already passing the handle and the arena, so it's superfluous.
31f547580c535b0a496d0a97b42f6ef7d34e697c authored over 1 year ago* [valid] disallow NaNs and infinities
* document literal float constraints
4d6e0005f41b97f4153772f5e78f25f67be27ab3 authored over 1 year agof37db5affc6a5e84f3aa0f8e09eeb11e146e4032 authored over 1 year ago
6668d0694cc51ee66c71c2ca3a1ab1081956299b authored over 1 year ago
613da72ac0c2f56a5e1a2c4becf7e373a2b82e77 authored over 1 year ago
9f3cdb61aae3dccffbfe9affc0db85305f765864 authored over 1 year ago
c927d3ec826fb0e23538635b1882db1e4e1ce75e authored over 1 year ago