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
uses clamp in place of saturate in spv and glsl
a80967f860f26c318715cf0c59c6fbdafa0b4f13 authored over 2 years ago6f4003ca9b2582b438de7414f530d9662dcd30ce authored over 2 years ago
Adds parsing support for methods on the glsl frontend, while `.length` is the only method in the...
f2624ea378e5248244e5486e18934e77051f88a7 authored over 2 years agoMirrors those already found for parse errors.
Also removes the `StringErrorBuffer` writer in ...
cfbc91d6cf34983d25418a201f00d015dc23e6fc authored over 2 years ago
Improves the dot backend output by:
- Linking new nodes to the end of other blocks, instead of t...
a0058217d63672e49c7b8e26e497c1afe176d736 authored over 2 years ago
cc985396dadc95039a0f3d5cfc818a6b4d5eba6b authored over 2 years ago
8f302a89ef350c462c3c0c69f7084a5cf11d196d authored over 2 years ago
17dcf39a1b2e4282943580302f510955704650f5 authored over 2 years ago
350171ed2f45612386cc91a0ee9ff79d918939a9 authored over 2 years ago
* Release 0.9
* Further update changelog
* Apply suggestions from code review
Co-author...
06ae90527dcede1a98d6f15fa7c440f0eab5d0ba authored over 2 years ago* Make some (currently hacky) changes to enable multiview in webgl
* Fix ViewIndex built in f...
e2d688088a8e900e22da348cdc7ba0655394b498 authored over 2 years ago
Since spirv's SMod doesn't map to naga's IR modulo operator the
instruction is mapped into it's...
* [hlsl-out] fix matCx2 as global uniform
* [hlsl-out] update comments
* [hlsl-out] fix `r...
27d38aae33fdbfa72197847038cb470720594cb1 authored over 2 years ago67ef37ae991f72f06a58774c3866d716d1c9a9c1 authored over 2 years ago
* [spv-in] Fix bitcasts on non-scalars
* Fix ::As handling in glsl
* Cargo fmt
* Make c...
ea832a9eec13560560c017072d4318d5d942e5e5 authored over 2 years agoThe continuing block in hlsl was being generated with the same indentation as the loop body
6d78f1c06dd5327da015f06bc6145c0b68c15b2a authored over 2 years agocafdb160ae554a847a35af19d3f6969db4574908 authored over 2 years ago
89f24b6cfe4f7c25c4c5890a5e15e5e479094189 authored over 2 years ago
0b60f410ab7bd0ca0d67d024c8b5da84b55fbf18 authored over 2 years ago
46387e90ceaf121974c505f29aeb80e9e4226a73 authored over 2 years ago
ad536ce0dfd5c9cc92ebf623ce44432cd9e68c0e authored over 2 years ago
531d563f0eb18f647f066f700f28775722b76ff0 authored over 2 years ago
Require at least version 0.7.1 of ron, this version changed how floating points are
serialized ...
ae58fbf4d04d7fb4d8d2340f06a11b869eecb290 authored over 2 years ago
Some functions like abs only accept signed integers while naga's IR
accepts both signed and unsi...
98bc8fedf9b88ecbdc1bbe653f4a4f92a915d9ce authored over 2 years ago
The GLSL spec forbids switch statements with an empty last case, so we
check that now and throw ...
GLSL allows the last case of a switch statement to not have a `break`
statement causing it to be...
Glsl defines two overloads for smoothstep that accept `min` and `max` as
scalars and the value a...
Expressions marked for caching might not be cached, this can happen for
example when these expre...
Expressions marked for caching might not be cached, this can happen for
example when these expre...
c7e67690013ce08132f5e8203379c72534b84f39 authored over 2 years ago
The conversion from sampled images to depth changed the `argument` type
but didn't change the `p...
Co-authored-by: Jasper St. Pierre <[email protected]>
81e2b006e1e968029cb85de5a1fc127f16625a4b authored over 2 years ago0a6b0e5b7100a26bd467607359b32c9d3ad3df46 authored over 2 years ago
Bring the lexer's parsing of numeric literals in line with the WGSL
specification as of 86a23b83...
Introduce a new `TypeFlags::CONSTRUCTIBLE` flag, corresponding to
WGSL's "constructible types". ...
Add `valid::Capabilities` flags for the `ClipDistance` and
`CullDistance` builtins, which are no...
Also, the documentation job probably doesn't need Clippy.
7f5ec31825be688729450c01d112e876c164760f authored over 2 years ago
As of #1889, the GLSL back end takes an additional argument specifying
the bounds checks policie...
The previous check compared rows to rows and columns to columns but
multiplication of matrices o...
cff744dc8947fbddfcce1e48aba68b51ee41fc5c authored over 2 years ago
6a3f526c1224dc74d97514707536354bd5fe8d86 authored over 2 years ago
This wasn't being done when there were no implicit conversions, causing
the emitter to panic.
768e1fe703e9724f5bfc5e2df6997eefe9cfed6b authored over 2 years ago
a8256e94c24e46a3cf298439e631ee29de3ec0de authored over 2 years ago
91ee407c87638ed81844ac2f71e5cd0cbf3dbb61 authored over 2 years ago
7c7e96276ad86d4538c571c3e93ea59f15cdf1e7 authored over 2 years ago
* glsl-out: Implement bounds checks for `ImageLoad`
* Enable image bounds check snapshot test...
0aa7681165f9ae74f2ddd109f4bdfa73a4e094cd authored over 2 years agoc7e245c0833e76843dbf269f8217ced6b09906bd authored over 2 years ago
4cd997a3eb29a33eb4a318e0b1f16acc1b9924e5 authored over 2 years ago
f035854dac7faad6660719f4d6f6a9f3bf468ea3 authored over 2 years ago
f9dfc38c405be4b97bb2647a7a407c2171c9ba12 authored over 2 years ago
62da3bf348463a6f1de5f3419fe949075afc9c77 authored over 2 years ago
196c9981bc41320d3169bcf6e3200cbbf6bc0e10 authored over 2 years ago
fea733f58e5360e6ab5d124e504137261a87a51e authored over 2 years ago
104f4dc7ecae8e1f44811a5fca7bcf9413efdb11 authored over 2 years ago
571302e3ff09cb856f63a3683da308159872b7cc authored over 2 years ago
60ae549fe1bec8df40518a6164d723d41a2b76b5 authored over 2 years ago
ab2806e05fbd69a502b4b25a85f99ae4d3e82278 authored over 2 years ago
5f47d6d31f64a16c76b16dad8fb4b72e5ce8815a authored over 2 years ago
b7ff50619c952647d9204a5b8ac54b9a9b7dd1ab authored over 2 years ago
afb6504b8b5e6b697f3d6c3d580a8c67a870bb43 authored over 2 years ago
6dae3ac7e000810a082cbf6b44745235f5832278 authored over 2 years ago
f48174a0b46a8bd30310d4c9b39ef71639db00c3 authored over 2 years ago
95d5d165fbae8adb4fd5e5d37e51e7d0ab104137 authored over 2 years ago
b688584d87fd76e7388b06421c358a5e984b350d authored over 2 years ago
fea33c682e7bfff8e82182d81925de1a7fb4440c authored over 2 years ago
8db27c49f861901e7ee66ea41364635bae3f5dd1 authored over 2 years ago
205ea6cc5c437fa42bafb75514387c1dcbf5d585 authored over 2 years ago
b3d5e6d807560310fa514c0920c91c7f2cac974b authored over 2 years ago
239bbbbed44a5c9e74399af1ae6d38b54766f28d authored over 2 years ago
ceb92921c2b7f4d216131fcf10efd4592443a612 authored over 2 years ago
ecd6d4e4aacb8355cad5f7f3ab50864672aa8d67 authored over 2 years ago
c584331f3931a529f83082c927c993dddb2da4a8 authored over 2 years ago
0d4098d6349ac849877aa09254d1f300f15430bf authored over 2 years ago
c03d840755144feb0d931707dfffb0fd81d49aee authored over 2 years ago
66337af310ca55be296910ba84970775e5c7aba8 authored over 2 years ago
7109cffb20a83eee499a0899a739d4186952a0ec authored over 2 years ago
e312a7adeb5b53b3f9e56c666ea195b1c630a161 authored over 2 years ago
f1d72f84338ec1f036cbaa692fa2dae3c94d95d3 authored over 2 years ago
af6e2fc7ab3296b71f9472d8fe85ab91a3e72abe authored over 2 years ago
* Implement reverseBits and countOneBits for spir-v
* Update tests
* Fix type error for gl...
934fa1691976466cf05a4e14b70bca8bd601bdda authored over 2 years ago
It was also searching in all entry points instead of only in the current
one.
All samples queri...
cf32c2b7f38c985e1c770eeff05a91e0cd15ee04 authored over 2 years ago1869c6831e5582e3ee56f724a9ec6b040ba044ce authored over 2 years ago
The unicode-xid crate just had a release with Unicode 14 data, which the WGSL spec requires.
9c8a51830c0348fabb3cda990e2449eea8f9de60 authored over 2 years ago
The new `check_one_validation` macro permits the source code to be a
computed expression, not ju...
The macro can check for both success and failure, so the new name is
more accurate, and shorter.
Only numeric scalars and vectors, and structs whose members are such
values, are permitted as th...
Adds a new method `emit_restart` to perform the common operation of flushing
the `emitter` to th...
The GLSL specification defines that only one of the branches should be
evaluated making the tern...
883a88580f95161184e754af9b32d171670a6e87 authored over 2 years ago
2571039af0607770948b6bf569a724fd985abef2 authored over 2 years ago
0d3b9bfe45397a0531c041602a0e15280a9090ae authored over 2 years ago
fae939f537933a1fcc5e9789e18121afc1cb1708 authored over 2 years ago
115a8109814667d5adeedf55e8192fcaafbb691e authored over 2 years ago
a99fc27dc1ae1b03dcd33502a8740e8928b2a25d authored over 2 years ago
This function is used from both `Arena` and `UniqueArena`. When its
code moved from `Arena` to `...
A `ValuePointer` type should always be handled exactly like the
equivalent `Pointer` to `Scalar`...