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
32205e3097d2ae447e545eba3a1210df075f7c73 authored about 3 years ago
79233ba5e5202abf23a7d084f500ed4c8fb4eb37 authored about 3 years ago
8003e3e30abfcafb04a3f388750c6f001d125609 authored about 3 years ago
* Fix data packing functions on MSL
`snorm` and `unorm` got mixed up.
* Fix bits.msl
6aca3e0b36f02e45cdc866396c0b64163e6aa7c5 authored about 3 years ago* glsl-in: Remove unneeded mutability from reference
* glsl-in: Fix composite constructors
...
1d0f484b37dec4828ce581a55a94d4706fe6d583 authored about 3 years ago2738ad80b97801ca4c6e34f0d8145b55292d986d authored about 3 years ago
This worked at one point but because of some changes to the IR it was
temporarily broken.
b1ab59925ddd1503ddb864367da3ae4823145051 authored about 3 years ago
This reduces the size of a release naga binary on macOS
from 3.5MB to 3.2MB. It's also the conf...
f2832b899954bdd82e8444beed5730749a31a589 authored about 3 years ago
0d1fc2131fe11480d7cac63c90db0e3adc328995 authored about 3 years ago
8df5421e2e9d33e092c19779adfdc42e7f8a74e6 authored about 3 years ago
* [hlsl-out] Write `mad` intrinsic for `fma` function
- This should be enough because we only...
924ab17b623eae38690c5cc96227f86ff5676285 authored about 3 years ago54178dede2a8b3f6304e3c71081db31189f786ee authored about 3 years ago
* Add FindLsb / FindMsb
* Fixes and tests for FindLsb/FindMsb
* Add findLsb / findMsb as W...
f9b348557a31053cd97156178c26f7d9f3205a7d authored about 3 years agoc2328fea755b98fbc37987f2c0bf1ee23e1a55e5 authored about 3 years ago
8caa2bd87e2e4b3bc3ba6276f5bd898d601f1c7d authored about 3 years ago
db98743a5a264d2573c5c33a78f4cff82db3116b authored about 3 years ago
75ce45d4f3108b256ae96069c87586c59fada839 authored about 3 years ago
* wgsl-in: correctly parse `else if`
* wgsl-in: use early exit in `else if` parsing
d13e9e3b83c1bb4a62fefca6e8fd614d524a4c2b authored about 3 years agoe1552fd9d500f1a928e18a93f4432ece13ab1e84 authored about 3 years ago
33c1daeceef9268a9502df0720d69c9aa9b464da authored about 3 years ago
Only adds support for unspecialized arrays
322be0772e4fc92b4a0a2aae5efac5f84e2d500d authored about 3 years ago6df9656e9687740be8214b64f7fcbf2fde46eab2 authored about 3 years ago
7bb886bf36d307d2865ed4c0989968a624e549a0 authored about 3 years ago
Treat it as a noop since the IR has no concept of copying objects
12baa1e909e63b8651291bd449e7d8449fe6f635 authored about 3 years ago2a8d64fc592c60ee34924078e251c26ba2c60909 authored about 3 years ago
cf0c31cc85e91e47b167235f250d184cfbcd0372 authored about 3 years ago
The IR doesn't allow having structs has bindings for entry point
input/output, so the glsl front...
049b48b319fa60f9d376c1db33becf1169b17ae8 authored about 3 years ago
4334f0e6a9a9b6465812e56bda5b9c91cf96459c authored about 3 years ago
c64d5eff5006bc8cac9991efa4240536d5787c6e authored about 3 years ago
8ffd6ba929b4b93c9564f08fe8bb34b23fa72a6f authored about 3 years ago
8a2fbd360db96ff2f8b71ede917045d03afe38d4 authored about 3 years ago
3867ef4f6cba6af0bbeec330c9379d7ade14e4ef authored about 3 years ago
c4b331acb44e8ffb6595030a16725ddb137c2dcb authored about 3 years ago
* [spv-out] Fixing incorrect pack/unpack
* [spv-out] Fixing incorrect pack/unpack: make tests...
e200e44ede8c4f76d6c864017cd939b3227b20a7 authored about 3 years ago840bbaffcce8b428b53a7260ed83f43dfcb04104 authored about 3 years ago
6912cb35947c3b15d7a928b5e45daba2c3d7eeec authored about 3 years ago
61e3af2989d272ba61e6925a972727ea4f2aa034 authored about 3 years ago
No changes in behavior.
17398e761fde304d1d0d8d48af2ee1327af0f3d1 authored about 3 years agof51f468a47312608e8f4fc59c8f1e65ce37012de authored about 3 years ago
89cc21ef43269f7319b21f895589897ef2f38ec5 authored about 3 years ago
e8f564dc834f69bd64beee650ca9b805772d418b authored about 3 years ago
9cc2b730b7665faa7352547ed553e5d9828ea23f authored about 3 years ago
14719553a67a192af2035450461420af9cce4530 authored about 3 years ago
c69f67660973a3bffa3b27c295f698dc4aa01524 authored about 3 years ago
6fbd668bd3c41e5093706b758c8dba7614511cd7 authored about 3 years ago
The glsl spec defines that vector constructors flatten their arguments
and consume them in order...
dba6beb941aaf89436b57f14d6fc405da612e6e5 authored about 3 years ago
20b96ef47b22d2679f6f54878d16727ee9ba1dc8 authored about 3 years ago
daa61b5fcbc7fed43ead48f4f48d4c3a06b810a0 authored about 3 years ago
74132ba9472bb760b13b94621b619449d365ea4d authored about 3 years ago
We can safely assume that deserialize is enabled for all output tests.
Supporting other modes of...
7c2fdf94c0e414e61b63747b7d99530a62473aa5 authored about 3 years ago
ddbc1c4b1f19d7942ee8c90594f177c1278191a6 authored about 3 years ago
2107b205619dfa329214bfcbe1b6b5dd38445966 authored about 3 years ago
cb6d3fa8156ac4ecad80224c517c875e9b0791e8 authored about 3 years ago
ae0c7355ca5bef071e272961f720bcb733bf1c6c authored about 3 years ago
Functions with such arguments could never have been called anyway, and now they
are forbidden in...
Pointers should not be `DATA`: they can never be stored in anything. (Function
arguments are not...
The WGSL front end knows that globals in the `Handle` storage class do not
produce references, b...
29571cc4cfbb28558948b1b31ad764f55b69f37b authored about 3 years ago
6a5b33fa2493022f0b51f5d1f5d10565247dedf6 authored about 3 years ago
See gfx-rs/rspirv#221 for the rationale behind this change
38366e382fe95205644af460cc3af7d180ef3f63 authored about 3 years ago30a0a37af0028f1cf489f9973065e63fc3c82046 authored about 3 years ago
Fixes #1533.
ce18eba695530d6a03487b9692490f0190106f63 authored about 3 years ago
Only the SPIR-V front end can produce such array types, and it seems that our
back ends don't su...
Specializable constants are no longer permitted as array lengths, so this case
should not arise ...
From the WGSL spec: "Each switch statement must have exactly one default clause."
1dcde48d09245b81cc08b15b13a14281f75f7a0e authored about 3 years ago66c3499df8c9605bcb2267be3840d0fd3c86b351 authored about 3 years ago
* [spv-in] Change shadow.spv test input to use StorageBuffer.
The ecosystem around Naga will ...
e69a70bfb7b3dff1391d5189d5c68fb798c02040 authored about 3 years agoeda078d736a906b4267e4803db6b32e3162aac30 authored about 3 years ago
d168f15d8186c6f7eeefabd4ac6f63a0dc1224a5 authored about 3 years ago
c3c4ab75489813a6dd242270c9ebcc5bffdf168b authored about 3 years ago
7234d19d00707a1bef4674913bba4abda8321210 authored about 3 years ago
Improves code readability and removes nesting
e26bff1b8da795cc41ef64ecf212cac012ff2edb authored about 3 years ago* [spv-in] Use `get_expr_handle` in `parse_image_write`
* [spv-in] Use BlockContext directly ...
8a1dbcb05080a039aa8f2cb54a96460d776786e5 authored about 3 years ago8e2c4fbef57b65d6fcc11bf097c7b8f04b81c0dd authored about 3 years ago
8bc3aa824b63e2e7d6cf5c50ea9f21b1a9d8fff9 authored about 3 years ago
098e4af52f16dc0d9f1e0c143ab62e996c82df02 authored about 3 years ago
28c45321e53c3dac8a613e2402d0e336d886ad49 authored over 3 years ago
```
Ok(self.constants.fetch_or_append(
Constant {
name: None,
specializa...
The GLSL empty-global-name.frag test doesn't suffice because the GLSL front end
doesn't produce...
323999fcb9eb8e8c525d75d2878fe1e2e5a99aad authored over 3 years ago
* [glsl-out] Remove unnecessary clones
* [wgsl-out] Remove unnecessary clones
9d2b357214dacce0fe30587844d4c7bf41b51773 authored over 3 years agod1cfdd15a0548d1bf9fc0f51c8df63eaffa4c7a4 authored over 3 years ago
0458f0a40476e5f89db95dad7323fd8e0e051962 authored over 3 years ago
* Handle empty variable names in namer
* Add glsl-in test with empty global name
00bbbed90a14b8f1d4b7d6c261eb1b3be2150a89 authored over 3 years ago* Make default a switch case
Previously the default case of a switch statement was encoded as...
63dbd38edc6bdc542b23d2c1dfd55cb753ac4691 authored over 3 years agoThis avoids warnings in default-feature builds, like `cargo test -p naga`.
5cf11ab73429f4b64cda6617459e7eca379f4135 authored over 3 years ago8c071ef1220ce51581abd789a6918c9eae63a169 authored over 3 years ago
* [wgsl-in] Add support for function call statements
* Apply comments
f8d3c4bc8e35d2b179576c41659f714bd5cadbc0 authored over 3 years ago* Proof-of-concept for adding spans to validation errors.
Still missing: actually printing th...
ec001c3eadd4cd7d09b11cb2e88b90b9a4f9bea5 authored over 3 years agoa03f23c1326b6bd89994b1a554fc520b70f98741 authored over 3 years ago
fd5085277a942b8497aad08d75c82dde7c6021ce authored over 3 years ago
Operations like `OpUGreaterThan` accept arguments as long as they are integers
(signedness does...
c3a0d71f8b7696a355627422966fe47520f597fb authored over 3 years ago
Some compilers like shaderc introduce a full gl_PerVertex struct, this
includes gl_ClipDistance...
c4ab9a3956c063773a813b9b6123e5d8a6892d19 authored over 3 years ago