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

style: alphabetize `dev-dependencies`

273ff5d829f8207d8d93b70e32e2889362246d33 authored over 1 year ago
Makefile: validate-spv: update spirv-as and spirv-val invocations. (#2374)

Newer versions of these programs require `-` as a filename argument to
read from standard input.

e8a7e50f0f93b7657da099abdbfd7f2503912745 authored over 1 year ago
Bump `bitflags` to v2 (#2358)

b7f4006e46313da063f8f2f930230767c9740239 authored over 1 year ago
Handle case insensitive FXC HLSL keywords. (#2347)

There are a few keywords like "pass" in HLSL that are actually case-insensitive for FXC. This ca...

544ccf88daeede7614f8cbae7126496f04cbac68 authored over 1 year ago
update snapshots (#2363)

5206c59509d29825c8f6edef57e70533d9eebd87 authored over 1 year ago
Workgroup uniform load (#2201)

Implement the WGSL `workgroupUniformLoad` function.

907b7c7cda2447f2869820a27b8f331d7c512fab authored over 1 year ago
[wgsl-in] Error on param redefinition (#2342)

* error on param redefinition

* also fix #2312

1c17fa82d4a8f4b2c596f7abbe4dd9e4f1ad18a8 authored over 1 year ago
Document which expressions are in scope for a `break_if` expression. (#2326)

baed251cb12e0c1ab433d006da39328aa9608991 authored over 1 year ago
[spv-in] Improve documentation for SPIR-V control flow parsing. (#2324)

201c0e2999c7c47eeecd880bf4425b577223e892 authored over 1 year ago
refactor: add several `clippy` lints (#2296)

4b41e07a9922d511ed4e288067e066b04caede20 authored over 1 year ago
[front/spir-v] Obey the `is_depth` field of `OpTypeImage` (#2341)

* [front/spir-v] Obey the is_depth field of OpTypeImage

* Add changed tests

ce48588d74c55c7e63fe9f7f50c8d703d65c2a32 authored over 1 year ago
[spv-in] Convert conditional backedges to `break if`.

423a069dcddc790fdf27d8c389fa4487f07fcc0a authored over 1 year ago
Change type of constant sized arrays to `NonZeroU32` (#2337)

62b287e761b9aefb311287862cbd78c046a9a793 authored over 1 year ago
Correct type of index and flush the emitter

405413452d9b6cdcd0865a6fc5f866a0deef7cf3 authored over 1 year ago
Introduce `GlobalCtx`

d842d6688d5cf02e6efb2fce6d4dc599f2d4f33c authored over 1 year ago
[spv-in] Generate `Expression::Literal` in some limited cases.

d763fb31e244944b0acd6dce1e7e9328770a3bcc authored over 1 year ago
[glsl-in] Generate `Expression::Literal`.

959c84f039c0cb33b07182de11c6a588ff967d3e authored over 1 year ago
[wgsl-in] Generate `Expression::Literal`.

412d5aa62e7d4f9c22dfe3e57ef1c648d646d808 authored over 1 year ago
Introduce `Expression::Literal`.

02ddf6532c4befd90444188979e1a595b459bfe4 authored over 1 year ago
Use `Expression::ZeroValue` in SPIR-V and WGSL front ends.

4d87401fac27967b24ca92a12a866365668cfbd8 authored over 1 year ago
Introduce `Expression::ZeroValue`.

dcc8615c5b1712bb6a78ff3e6f92c47798a06861 authored over 1 year ago
refactor(valid)!: remove unneeded `ConstantError::Unresolved{Component,Size}` (#2330)

Resolves #2329.

dd54aaf26062384db0ecc7553c0fbe9534bb491e authored over 1 year ago
[msl-out] Revert af4d989 since #764 removes the need for it (#2331)

Assigning arrays by value works fine since all arrays are now wrapped by a struct.

Co-authore...

59a2441a432e96bf174fac814cede612f9fb0c41 authored over 1 year ago
add changelog for v0.12 (#2310)

875df5899b837c952558bf3da82a7582c4d3cd1f authored over 1 year ago
[wgsl-out] Simplify map_binding_to_attribute to always return an interpolate attribute (#2318)

da3f43394f3afd12b2776c3e29f69abaca7ca582 authored over 1 year ago
[hlsl-out] Fix return type for firstbitlow/high (#2315)

9befaed7e985fb9a23322e9f19baf2a95bfd8b9c authored almost 2 years ago
Support array bindings of buffers (#2282)

* Support buffer resource arrays in IR, wgsl-in, and spv-out

* spv-out: refactor non-uniform ...

37b3c36a8f1aaa611e0dcfc4892333e83ac3a919 authored almost 2 years ago
refactor(valid)!: remove `TypeError::UnresolvedBase` (#2308)

Resolves #2303.

1421a5e1ab5ca66ecdd1c03998fb0a712ec92bdf authored almost 2 years ago
Update to version 0.12

b99d58ea435090e561377949f428bce2c18451bb authored almost 2 years ago
validate vertex stage returns the position built-in

b9c5cb5a7841a8728137a58840fbbdbb9b310267 authored almost 2 years ago
Allow `array_index` to be unsigned (#2298)

f59668ccfaf7bdb3a7e43d84363a21c77357b2fe authored almost 2 years ago
fix(hlsl-out): use `Interlocked<op>` intrinsic for atomic integers (#2294)

We currently assume that we are using raw `RWByteAddressBuffer` methods for all atomic operation...

99a7773e65f855ecdefc6fc0fffa6f0aacd3f867 authored almost 2 years ago
stop code coverage comments (#2283)

115870974701d22c4d3c5c7e1f6524cc5c668a35 authored almost 2 years ago
[wgsl] Use `alias` instead of `type` for type aliases (#2299)

7c00548075f51dc8c80ab8abdb4de6569ea59d46 authored almost 2 years ago
[hlsl-out]: Document storage access generation. (#2295)

da8e911d9d207a7571241e875f7ac066856e8b3f authored almost 2 years ago
[spv-out] Fix invalid spirv being generated from integer dot products (#2291)

* Fix invalid spirv generation in int dotprod

constants cannot be declared inside of a functi...

52043be00489d6dedb08c36bb97d018d11cb1e13 authored almost 2 years ago
Clean up handling of `RayDesc` builtin type, somewhat.

53d62b9ede64898681c0dbc70d04296caf90ed16 authored almost 2 years ago
fill up the ray query intersection struct

ab9c36441fc80f73394cf8152b52218860f5eafb authored almost 2 years ago
Expand on the documentation for ray-tracing features.

18710fee1ef98b492d2d29b5eec53faeab931c3c authored almost 2 years ago
msl: ray query support

532d1ad51017f7c62b0b2f79c2b4d1eab658249d authored almost 2 years ago
wgsl: handle RayDesc/RayIntersection at the type decl level instead of an AST constructor

22e341b039a8cf7dde6b789f20ff6cca0926ba69 authored almost 2 years ago
clippy fixes

13ee4369cccd03666fcb52f1b6da43d6f4e9feaa authored almost 2 years ago
spv-out: basic ray query support

67d31b8e8c639c96bbac289428751c5abed2f433 authored almost 2 years ago
Ray query expressions and special types

b856625821b5b5aac8b85c66fc03054f6e670c19 authored almost 2 years ago
Add ray query statements to the IR

e46c53d212c6d8fe29fa730c9484bdb240b0b013 authored almost 2 years ago
Add ray query types to the IR

432b4990a797942fca746b379aaeb2de6743b61e authored almost 2 years ago
Address Jim's review notes, use typegen module for atomic struct

c34eed5e47f38cb0679906ce86833f110bbf9354 authored almost 2 years ago
ray query: validation, better test

024c197cc87fd39e20b03479446d015c60e3101e authored almost 2 years ago
fix(hlsl): emit constructor functions for arrays (#2281)

* test(hlsl-out): add failing case for array as ctor arg

See issue #2184.

* fix(hlsl): emi...

0b87d1918a906da57341366de4d2b875e09753ee authored almost 2 years ago
[spirv-out] Fix adding illegal decorators on fragment outputs. (#2286)

* [spirv-out] Fix adding illegal decorators on fragment outputs.

Furthermore, fix allowing to...

67c081bebe7a27a98103ddb7b5af34863c593616 authored almost 2 years ago
Add partial derivative builtins (#2277)

* Add partial derivative builtins

* [dot] emit derivative control

* Fix fmt

---------
...

6db8da72ca5063612face3b5f79805392b68c9df authored almost 2 years ago
remove old `clippy::if_same_then_else` lint

4a03280e6c409de1f6c8ca09fadb49b1565957ff authored almost 2 years ago
run clippy on MSRV

+ tweak to get CI to run again

6fcd04ec0644ab01475b59717fd0f2c5e7cafa95 authored almost 2 years ago
enable `clippy::match_wildcard_for_single_variants` lint

6b0c2a532ad818edf77b4c0c372a5f0bd4209b4b authored almost 2 years ago
enable `clippy::rest_pat_in_fully_bound_structs` lint

3450e795bc56afe26218ef5912c1789f6d0417bd authored almost 2 years ago
fix rust 1.68 lints

bdc25dd68939093c63004e976ab618e8a2026ca1 authored almost 2 years ago
Skip `gl_PerVertex` unused builtins in the SPIR-V frontend (#2272)

Co-authored-by: Jim Blandy <[email protected]>

63e91faecbd69aabb3dc0c6658182f40292ebbe4 authored almost 2 years ago
[glsl-in] Switch implicit type conversion (#2273)

7f829c6ac6aabda426a083cc7a6a854c1abd98f6 authored almost 2 years ago
Differentiate between i32 and u32 in switch (#2269)

* Differentiate between i32 and u32 in switch

* Use similar wording to other error messages
...

8a72b7a8ad997c61a82e9b6b9284ca8811722d06 authored almost 2 years ago
enforce discard only in fragment (#2262)

a7b52b8663a09506dc417e9149d64abcf637f9f4 authored almost 2 years ago
[msl-out] Replace `per_stage_map` with `per_entry_point_map` (#2237)

The existing `per_stage_map` field of MSL backend options specifies
resource binding maps that ...

00be08e9f82a7bc2a4b8f8f3645d0191d9a89ec2 authored almost 2 years ago
fix zero initialization of workgroup memory (#2259)

Use the local (not global) invocation id to decide which invocation should do the initialization...

9742f1616c3e3dd2cc9a5880616fc886c391bb9f authored almost 2 years ago
[spv-out] fix `countLeadingZeros` impl (#2258)

cde457ceddb4a34b821df5e5c8b6c76835a638dc authored almost 2 years ago
Add countTrailingZeros (#2243)

Co-authored-by: Teodor Tanasoaia <[email protected]>

810e9d26fcfef6483f82e0553f10eb541a74291b authored almost 2 years ago
[spv-out] Cache constant composites (#2257)

60c0fc0284d52a732a0aa4980a562686f6e81bfa authored almost 2 years ago
[glsl/hlsl-out] Write sizes of arrays behind pointers in function arguments (#2250)

arrays can be put behind pointers in inout and out parameters in GLSL and HLSL,
whose dimension...

58105a06e2bd5aefeb9330984d47976e63c11dc4 authored almost 2 years ago
[wgsl-in] Add predeclared vector and matrix type aliases (#2251)

7422ace934b7ed51c1e061eb1d36de8259b5f619 authored almost 2 years ago
Skip `invariant` for `gl_FragCoord` on WebGL2 (#2254)

f48b6bf2a7335135b8fedafe2cc36a047ce6ad8d authored almost 2 years ago
[glsl-in]: Document some fields of `naga::front::glsl::context::Context`. (#2244)

dce689cf5849b03c18ff40d24cd4935f5ff4d000 authored almost 2 years ago
add `Capabilities::MULTIVIEW`

df567a94ebbb553f59613ec4dfa44b40248a5d7a authored almost 2 years ago
add `Capabilities::MULTISAMPLED_SHADING`

cc3a8ac73773e2223c3d45fbc1b22607026e2ec0 authored almost 2 years ago
add `Capabilities::EARLY_DEPTH_TEST`

964d9204bca95d9127df68fd6d02cb5f1496fc99 authored almost 2 years ago
Require LF for snapshots (#2253)

568d7c4c136dada369ef7f59ee8414a263d6c7b2 authored almost 2 years ago
Fix texture built-ins where u32 was expected (#2245)

- The Typifier was updated to expect `uint`
- Both `glsl` and `spv` frontends where updated to ...

1ad47f732dc1d646cd13daea1059b687a1a90d24 authored almost 2 years ago
Fix `setup-dxc` not found and make sure workflows run if their file was changed (#2247)

* fix setup-dxc not found

* run validation-windows if its workflow file was changed

* run ...

40b8f661461d6aec0dfbd727586e39fbe295b528 authored almost 2 years ago
glsl-in: Add tests for output parameters casts

f038537e6190bbc5f8bbb15daf6d7e7737cde0d0 authored almost 2 years ago
glsl-in: Perform output parameters implicit casts

Glsl defines under `Function Definitions` (Paragraph 6.1 in glsl 4.60),
the following:

> When f...

0a2e93c0985f72829117859f188a6fac15af0864 authored almost 2 years ago
Improve CI (#2241)

* update to actions/checkout@v3

* update to actions/upload-artifact@v3

* remove minor vers...

64f8691e52584eae447f25ed761b9c4218b7efb6 authored almost 2 years ago
fuzz: fix build failure (#2240)

2d0aab875ab97b48e502723e86c31bbf34d46186 authored almost 2 years ago
spv-in: Don't apply interpolation to fragment shaders outputs (#2239)

SPIR-V doesn't allow the `Flat`, `NoPerspective`, `Sample` or
`Centroid` decorations on fragmen...

fc81a20f5305c9bc8d01f62353d148b88251e456 authored almost 2 years ago
[glsl-out] Version check countLeadingZeros (#2238)

4b796b157cb2b67b0ab166a2238fe4e9473bfd52 authored almost 2 years ago
[msl-out] Update firstLeadingBit for signed integers (#2235)

The prior code only supported unsigned integers.

Also fixes #2236.

Co-authored-by: Jim Bla...

fb2d438dbda3f9bcddb6ac4e0a0efc0ed6b0b7b3 authored almost 2 years ago
[glsl] Inject default `gl_PointSize = 1.0` in vertex shaders if `FORCE_POINT_SIZE` option was set (#2223)

According to https://registry.khronos.org/OpenGL/specs/es/3.2/GLSL_ES_Specification_3.20.html#bu...

fe851fb008c67924ea0569e7a8f83dd2da41ede9 authored almost 2 years ago
update tests

a5c2cf94b8a68980b73efe4225209731449b5c8e authored almost 2 years ago
check for leading { while parsing a block

bb20ae8e796f50f30d164a56067524026cc9ebb8 authored almost 2 years ago
fix panic on invalid zero array size

e6bd2e90714b2fa45d2bb966a63bae96184bed53 authored almost 2 years ago
improve invalid assignment diagnostic

dcfd5c6f4a2635d9569b82cdd31f8d4bfa96434b authored almost 2 years ago
expect semicolons wherever required

231af68386d57a1b9ea87b27e8a15eadea0851eb authored almost 2 years ago
spv-out: support version 1.4 (#2230)

* spv-out: support version 1.4

* Extract SPV version numner from the comment

16be1a92379d7bdf3d0e88f7f7b2aca2dfd187b4 authored almost 2 years ago
Add countLeadingZeros (#2226)

* Add countLeadingZeros

* [glsl-out] Bake countLeadingZeros

* [hlsl-out] Bake countLeading...

6be394dac31bc9796d4ae4bb450a40c6b6ee0b08 authored almost 2 years ago
[hlsl-out] clear `named_expressions` inserted by duplicated blocks

changed the type of `named_expressions` from `HashMap` to `IndexMap` so that insertion order is ...

a2b39e45bf7ba8f6afe417e56d52b4210f6d013c authored almost 2 years ago
valid: Check dependencies between functions calls

This commit enforces the forward dependency rules on the IR across
functions and their calls, th...

0074c68ec4f435c5dc0ba6d62ff567c1f146e9ec authored almost 2 years ago
valid: Fix handle dependency validation

The handle dependency validation code was using the handle's index
directly while trying to eras...

bebaac93b6bf3f2a1917733ab5a71293b61b2ffd authored almost 2 years ago
[wgsl-in] Split into multiple files (#2207)

Make changes suggested in #2075, but put off to a separate PR because they would interfere with ...

67ea8f0c0684d80e1f54af9abd875034748d5e07 authored almost 2 years ago
glsl-in: Add bool overloads for relational vector builtins

The `equal` and `notEqual` builtins also operate on boolean vectors but
the overloads accepting ...

08366c8fd009136957b7d9bd853bcade167d020e authored almost 2 years ago
glsl-in: Add double overloads for relational vector builtins

All relational vector builtins that operate on floats can also operate
on doubles but these over...

372a715434bd6017d433c9386608c9d5e6d6a85f authored almost 2 years ago
glsl-in: Add not vector relational builtin

ae049edc494991f47630a863b3fe970991dcda8c authored almost 2 years ago
glsl-in: Add test for relational vector builtins

191d71c107ddc3c2c93f5464dc0aad504327180c authored almost 2 years ago
Allow `clippy::needless_borrowed_reference`.

In Clippy 1.67, the `needless_borrowed_reference` lint [was enhanced]
to look into struct and tu...

26dca556a966a7e7eb193cff8f232422e14167f9 authored almost 2 years ago
Inline identifiers into format strings.

[Since Rust 1.58], Rust format strings have been able to "capture
arguments simply by writing {i...

ca99d8bcbc0c078636311e85ee41c5d308481f0f authored almost 2 years ago