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

glsl-out: write array initializers

32205e3097d2ae447e545eba3a1210df075f7c73 authored about 3 years ago
glsl-out: Fix array constants constructor

79233ba5e5202abf23a7d084f500ed4c8fb4eb37 authored about 3 years ago
Validate structure resource types

8003e3e30abfcafb04a3f388750c6f001d125609 authored about 3 years ago
Fix data packing functions on MSL (#1637)

* Fix data packing functions on MSL

`snorm` and `unorm` got mixed up.

* Fix bits.msl

6aca3e0b36f02e45cdc866396c0b64163e6aa7c5 authored about 3 years ago
glsl-in: fix composite constructors (#1631)

* glsl-in: Remove unneeded mutability from reference

* glsl-in: Fix composite constructors

...

1d0f484b37dec4828ce581a55a94d4706fe6d583 authored about 3 years ago
msl: fix packed vec access (#1634)

2738ad80b97801ca4c6e34f0d8145b55292d986d authored about 3 years ago
glsl-in: Fix using swizzle as out arguments (#1632)

This worked at one point but because of some changes to the IR it was
temporarily broken.

5a26606a092e5120d07b842c10e5886d585f3b76 authored about 3 years ago
msl: fix packed float support (#1630)

b1ab59925ddd1503ddb864367da3ae4823145051 authored about 3 years ago
Turn on panic = "abort" by default (#1597)

This reduces the size of a release naga binary on macOS
from 3.5MB to 3.2MB. It's also the conf...

848ae3dc6e96a30c9459b1a11d7034eb422da533 authored about 3 years ago
hlsl: support arrays of matrices (#1629)

f2832b899954bdd82e8444beed5730749a31a589 authored about 3 years ago
[wgsl-in] Support radians/degrees builtin functions (#1627)

0d1fc2131fe11480d7cac63c90db0e3adc328995 authored about 3 years ago
[glsl-out] Add stage postfix to generated global name (#1616)

8df5421e2e9d33e092c19779adfdc42e7f8a74e6 authored about 3 years ago
Fixes for `fma` function (#1580)

* [hlsl-out] Write `mad` intrinsic for `fma` function

- This should be enough because we only...

924ab17b623eae38690c5cc96227f86ff5676285 authored about 3 years ago
impl Clone for WithSpan<E> (#1620)

54178dede2a8b3f6304e3c71081db31189f786ee authored about 3 years ago
Add FindLsb / FindMsb (#1473)

* Add FindLsb / FindMsb

* Fixes and tests for FindLsb/FindMsb

* Add findLsb / findMsb as W...

f9b348557a31053cd97156178c26f7d9f3205a7d authored about 3 years ago
Release v0.8

c2328fea755b98fbc37987f2c0bf1ee23e1a55e5 authored about 3 years ago
Gather operations

8caa2bd87e2e4b3bc3ba6276f5bd898d601f1c7d authored about 3 years ago
[glsl-out] Don't return early from snapshot tests.

db98743a5a264d2573c5c33a78f4cff82db3116b authored about 3 years ago
spv-in: fix support for degrees and radians conversion

75ce45d4f3108b256ae96069c87586c59fada839 authored about 3 years ago
wgsl-in: correctly parse `else if` (#1611)

* wgsl-in: correctly parse `else if`

* wgsl-in: use early exit in `else if` parsing

d13e9e3b83c1bb4a62fefca6e8fd614d524a4c2b authored about 3 years ago
wgsl-in: Implement matrix construction from scalar

e1552fd9d500f1a928e18a93f4432ece13ab1e84 authored about 3 years ago
glsl-in: Cull the body of do while if needed

33c1daeceef9268a9502df0720d69c9aa9b464da authored about 3 years ago
spv-in: Implement CompositeInsert for arrays

Only adds support for unspecialized arrays

322be0772e4fc92b4a0a2aae5efac5f84e2d500d authored about 3 years ago
spv-out: Force wrapping of push constant structs

6df9656e9687740be8214b64f7fcbf2fde46eab2 authored about 3 years ago
Enforce casting width better, fix IEqual/INotEqual in spv

7bb886bf36d307d2865ed4c0989968a624e549a0 authored about 3 years ago
spv-in: Implement OpCopyObject

Treat it as a noop since the IR has no concept of copying objects

12baa1e909e63b8651291bd449e7d8449fe6f635 authored about 3 years ago
spv-in: Implement remaining sign agnostic ops

2a8d64fc592c60ee34924078e251c26ba2c60909 authored about 3 years ago
spv-in: Allow branch weights in OpBranchConditional

cf0c31cc85e91e47b167235f250d184cfbcd0372 authored about 3 years ago
glsl-in: Flatten entry point arguments

The IR doesn't allow having structs has bindings for entry point
input/output, so the glsl front...

9c75f3cdcece9263eb19fb2c14fafbb92657fcf9 authored about 3 years ago
spv-in: Remove if when both branches are equal

049b48b319fa60f9d376c1db33becf1169b17ae8 authored about 3 years ago
Support bitwise And on booleans

4334f0e6a9a9b6465812e56bda5b9c91cf96459c authored about 3 years ago
Support bitwise Or on booleans

c64d5eff5006bc8cac9991efa4240536d5787c6e authored about 3 years ago
Remove top_level property of structs

8ffd6ba929b4b93c9564f08fe8bb34b23fa72a6f authored about 3 years ago
[msl-out] Add log tracing for functions and entry points.

8a2fbd360db96ff2f8b71ede917045d03afe38d4 authored about 3 years ago
[msl-out] Correctly construct out-of-bounds values for all types.

3867ef4f6cba6af0bbeec330c9379d7ade14e4ef authored about 3 years ago
readme: list supported GLSL versions for glsl-in (#1586)

c4b331acb44e8ffb6595030a16725ddb137c2dcb authored about 3 years ago
[spv-out] Fixing incorrect pack/unpack (#1587)

* [spv-out] Fixing incorrect pack/unpack

* [spv-out] Fixing incorrect pack/unpack: make tests...

e200e44ede8c4f76d6c864017cd939b3227b20a7 authored about 3 years ago
[msl-out] Rename `put_dynamic_array_length`, make it take a global.

840bbaffcce8b428b53a7260ed83f43dfcb04104 authored about 3 years ago
[spv-out] Move ExpressionPointer to back::spv::block, remove pub.

6912cb35947c3b15d7a928b5e45daba2c3d7eeec authored about 3 years ago
[msl-out] Move `Statement::Store` handling into its own function.

61e3af2989d272ba61e6925a972727ea4f2aa034 authored about 3 years ago
[msl-out] Move `Expression::Load` handling into its own function.

No changes in behavior.

17398e761fde304d1d0d8d48af2ee1327af0f3d1 authored about 3 years ago
[msl-out] Implement index bounds check policies for non-texture accesses.

f51f468a47312608e8f4fc59c8f1e65ce37012de authored about 3 years ago
[spv-out] BlockContext::write_expression_pointer doc fix.

89cc21ef43269f7319b21f895589897ef2f38ec5 authored about 3 years ago
[spv-out] Add comment about AccessIndex on non-pointer values.

e8f564dc834f69bd64beee650ca9b805772d418b authored about 3 years ago
[glsl-out] Add note about supported GLSL versions

9cc2b730b7665faa7352547ed553e5d9828ea23f authored about 3 years ago
glsl-in: fix pre/postfix ops on swizzles

14719553a67a192af2035450461420af9cce4530 authored about 3 years ago
glsl: reflect textures without samplers

c69f67660973a3bffa3b27c295f698dc4aa01524 authored about 3 years ago
Add missing GLSL tests

6fbd668bd3c41e5093706b758c8dba7614511cd7 authored about 3 years ago
glsl-in: Allow vector/matrix in vector constructor

The glsl spec defines that vector constructors flatten their arguments
and consume them in order...

9fac7c48a62811b1ea435a5cdac6d00bf2befe92 authored about 3 years ago
[wgsl-in] Don't allow redefinition of module scope identifiers

dba6beb941aaf89436b57f14d6fc405da612e6e5 authored about 3 years ago
Avoid function name redefinition in tests

20b96ef47b22d2679f6f54878d16727ee9ba1dc8 authored about 3 years ago
Fix shapshots to run without deserialize feature

daa61b5fcbc7fed43ead48f4f48d4c3a06b810a0 authored about 3 years ago
Actually disable explicit types on most WGSL outputs

74132ba9472bb760b13b94621b619449d365ea4d authored about 3 years ago
Refactor snapshot test arguments to avoid checking for deserialize feature too often.

We can safely assume that deserialize is enabled for all output tests.
Supporting other modes of...

f4ba74544aa00b5c3d791eee60274026f8ad7abd authored about 3 years ago
[wgsl-out] Add double underscores as a reserved prefix

7c2fdf94c0e414e61b63747b7d99530a62473aa5 authored about 3 years ago
WGSL: use underscore prefix like the other backends

ddbc1c4b1f19d7942ee8c90594f177c1278191a6 authored about 3 years ago
[wgsl-in] Don't allow keywords to be used as identifiers

2107b205619dfa329214bfcbe1b6b5dd38445966 authored about 3 years ago
[wgsl] Move backend keyword list into its own module

cb6d3fa8156ac4ecad80224c517c875e9b0791e8 authored about 3 years ago
[wgsl] Remove IsInf and IsNan

ae0c7355ca5bef071e272961f720bcb733bf1c6c authored about 3 years ago
[spv-out] Don't support arguments pointing to unsized types.

Functions with such arguments could never have been called anyway, and now they
are forbidden in...

7fd172515dd6348fd9b35b81366686c62e41d69c authored about 3 years ago
Tighten checks on pointers to unsized values, and pointer arguments.

Pointers should not be `DATA`: they can never be stored in anything. (Function
arguments are not...

cc930180d9e719bb18c1adbd238593d5839c368c authored about 3 years ago
[wgsl-in] Don't be confused by pointers to globals.

The WGSL front end knows that globals in the `Handle` storage class do not
produce references, b...

633f1b33772a5da6dc8a14b698570cb9077c9a75 authored about 3 years ago
Add multiview wgsl builtin

29571cc4cfbb28558948b1b31ad764f55b69f37b authored about 3 years ago
Move `BoundsCheckPolicy`/`Policies` into `proc`, from `back`. (#1537)

6a5b33fa2493022f0b51f5d1f5d10565247dedf6 authored about 3 years ago
Switch to rustc-hash

See gfx-rs/rspirv#221 for the rationale behind this change

38366e382fe95205644af460cc3af7d180ef3f63 authored about 3 years ago
Update dependencies

30a0a37af0028f1cf489f9973065e63fc3c82046 authored about 3 years ago
Check that stores are permitted by the pointer's storage access.

Fixes #1533.

ce18eba695530d6a03487b9692490f0190106f63 authored about 3 years ago
Forbid specializable constants as array lengths.

Only the SPIR-V front end can produce such array types, and it seems that our
back ends don't su...

90daa9edfe9468db96ee6444395b71ea225465fc authored about 3 years ago
Remove IndexableLength::Specializable variant.

Specializable constants are no longer permitted as array lengths, so this case
should not arise ...

3d6cbcf8a60eba97f6f2ddd4205a964ad4d458f7 authored about 3 years ago
[valid] Check that switches have a default case (#1529)

From the WGSL spec: "Each switch statement must have exactly one default clause."

1dcde48d09245b81cc08b15b13a14281f75f7a0e authored about 3 years ago
[spv-out] Fix scalar-times-matrix operations (#1524)

66c3499df8c9605bcb2267be3840d0fd3c86b351 authored about 3 years ago
[spv-in] Permit pointers to runtime arrays only in StorageBuffer. (#1522)

* [spv-in] Change shadow.spv test input to use StorageBuffer.

The ecosystem around Naga will ...

e69a70bfb7b3dff1391d5189d5c68fb798c02040 authored about 3 years ago
[glsl-in] Allow more operations as access bases (#1521)

eda078d736a906b4267e4803db6b32e3162aac30 authored about 3 years ago
[glsl-in] Allow constructors from non-scalar to scalar (#1520)

d168f15d8186c6f7eeefabd4ac6f63a0dc1224a5 authored about 3 years ago
[glsl-in] Add test for matrix from matrix constructor

c3c4ab75489813a6dd242270c9ebcc5bffdf168b authored about 3 years ago
[glsl-in] Implement matrix to matrix constructor

7234d19d00707a1bef4674913bba4abda8321210 authored about 3 years ago
[glsl-in] Split constructor calls into two functions

Improves code readability and removes nesting

e26bff1b8da795cc41ef64ecf212cac012ff2edb authored about 3 years ago
[spv-in] Always use `get_expr_handle` for expressions in image expressions (#1516)

* [spv-in] Use `get_expr_handle` in `parse_image_write`

* [spv-in] Use BlockContext directly ...

8a1dbcb05080a039aa8f2cb54a96460d776786e5 authored about 3 years ago
[glsl-in] Don't panic on UB integer operations (#1518)

8e2c4fbef57b65d6fcc11bf097c7b8f04b81c0dd authored about 3 years ago
Refactor namer scheme, fix trailing digits (#1510)

8bc3aa824b63e2e7d6cf5c50ea9f21b1a9d8fff9 authored about 3 years ago
[spv-out] Fix word order for constants

098e4af52f16dc0d9f1e0c143ab62e996c82df02 authored about 3 years ago
hlsl: respect array stride in storage buffers (#1507)

28c45321e53c3dac8a613e2402d0e336d886ad49 authored over 3 years ago
[glsl-in] Add helper to reduce repetition. (#1505)

```
Ok(self.constants.fetch_or_append(
Constant {
name: None,
specializa...

d9b166816bb633bf8d69282a44228ef176431b5a authored over 3 years ago
Make tests properly exercise Some("") global names. (#1503)

The GLSL empty-global-name.frag test doesn't suffice because the GLSL front end
doesn't produce...

c1b378842eb6723e8ca782f6612e84241508b8ad authored over 3 years ago
Fix span includes into function validation (#1500)

323999fcb9eb8e8c525d75d2878fe1e2e5a99aad authored over 3 years ago
[glsl\wgsl out] Remove unnecessary clones (#1492)

* [glsl-out] Remove unnecessary clones

* [wgsl-out] Remove unnecessary clones

9d2b357214dacce0fe30587844d4c7bf41b51773 authored over 3 years ago
Add test for last falltrough switch case

d1cfdd15a0548d1bf9fc0f51c8df63eaffa4c7a4 authored over 3 years ago
[valid] Check that the last switch case isn't falltrough (#1485)

0458f0a40476e5f89db95dad7323fd8e0e051962 authored over 3 years ago
Handle empty variable names in namer (#1484)

* 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 (#1477)

* Make default a switch case

Previously the default case of a switch statement was encoded as...

63dbd38edc6bdc542b23d2c1dfd55cb753ac4691 authored over 3 years ago
Make use of `AddSpan` and `MapErrWithSpan` conditional.

This avoids warnings in default-feature builds, like `cargo test -p naga`.

5cf11ab73429f4b64cda6617459e7eca379f4135 authored over 3 years ago
[wgsl-in] Always flush expressions in function call (#1478)

8c071ef1220ce51581abd789a6918c9eae63a169 authored over 3 years ago
[wgsl-in] Add support for function call statements (#1476)

* [wgsl-in] Add support for function call statements

* Apply comments

f8d3c4bc8e35d2b179576c41659f714bd5cadbc0 authored over 3 years ago
Use span information in analyzer errors (proof of concept) (#1470)

* Proof-of-concept for adding spans to validation errors.

Still missing: actually printing th...

ec001c3eadd4cd7d09b11cb2e88b90b9a4f9bea5 authored over 3 years ago
Allow new clippy::if_same_then_else

a03f23c1326b6bd89994b1a554fc520b70f98741 authored over 3 years ago
Switch the constant in bevy-pbr to avoid display incosistencies

fd5085277a942b8497aad08d75c82dde7c6021ce authored over 3 years ago
[spv-in] Cast int comparisons arguments (#1471)

Operations like `OpUGreaterThan` accept arguments as long as they are integers
(signedness does...

044fc1b742d12069e720a4d8acf2b24035a136c5 authored over 3 years ago
[spv-out] Write function arguments names (#1472)

c3a0d71f8b7696a355627422966fe47520f597fb authored over 3 years ago
[spv-in]: Cull unused builtins inside structs (#1469)

Some compilers like shaderc introduce a full gl_PerVertex struct, this
includes gl_ClipDistance...

70ad084ad4916bef0cdeeed076abd2b5e1f803c8 authored over 3 years ago
hlsl: Fix mat3 stores (#1467)

c4ab9a3956c063773a813b9b6123e5d8a6892d19 authored over 3 years ago