Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gfx-rs/wgpu

A cross-platform, safe, pure-Rust graphics API.
https://github.com/gfx-rs/wgpu

glsl-in: Fix the ternary to behave as an if

The GLSL specification defines that only one of the branches should be
evaluated making the tern...

1c02de537b3b47ea5c4729723a6ffc7e582099ef authored almost 3 years ago
Factor out code for deciding which pointers can be arguments.

2571039af0607770948b6bf569a724fd985abef2 authored almost 3 years ago
update readme

0d3b9bfe45397a0531c041602a0e15280a9090ae authored almost 3 years ago
[glsl-in] Simplify control flow in search for `main`.

fae939f537933a1fcc5e9789e18121afc1cb1708 authored almost 3 years ago
[glsl-in] Use `std::mem::take` as appropriate. (#1878)

115a8109814667d5adeedf55e8192fcaafbb691e authored almost 3 years ago
Change `!0` to `<type>::MAX` or `-1`, depending on signedness

a99fc27dc1ae1b03dcd33502a8740e8928b2a25d authored almost 3 years ago
Correct error message for `Handle` index overflow.

This function is used from both `Arena` and `UniqueArena`. When its
code moved from `Arena` to `...

7b8d257043b9db9af6118cff4782526e848d4e73 authored almost 3 years ago
Validate `ValuePointer` exactly like a `Pointer` to a `Scalar`.

A `ValuePointer` type should always be handled exactly like the
equivalent `Pointer` to `Scalar`...

e8723219b71aa7daf84422083d603165961770e4 authored almost 3 years ago
Simplify type handling in VaryingContext.

When `VaryingContext::validate` discovers that it needs to examine
each member of a struct, pass...

5f4a070504a4bda45f26d0aad69b9e610c67ff5a authored almost 3 years ago
Rename type flags to better align with the current WGSL spec.

TypeFlags::INTERFACE -> TypeFlags::IO_SHARED
(WGSL §4.4.4's "IO-shareable types")

TypeFLags::HO...

a06b604b80aacbebea20e67210eb9438f4601f6c authored almost 3 years ago
[wgsl] Remove buffer, texture, in, out, input, output from reserved keywords

f76af4e53aaf354bfcf7d1b63b3416b9980a2534 authored almost 3 years ago
[wgsl-in] implement firstTrailingBit/firstLeadingBit u32 overloads (#1865)

* [wgsl-in] implement firstTrailingBit/firstLeadingBit u32 overloads

* fix MSL type issue

...

f2e7818e7159916445514b485156ddf84f9244a5 authored almost 3 years ago
implement phony assignment

062b66ca3157456647d3468d1468039e30aaf421 authored almost 3 years ago
Document `TypeInner::BindingArray`.

01212b24b982eb3e93f4dc09dc6576034f7b2765 authored almost 3 years ago
Clarify accepted types for `Expression::AccessIndex` (#1862)

* Clarify accepted types for `AccessIndex` and remove `Constant` fragment

* Remove spaces

...

9b7fe8803db1c8bb21ee47bd6691f0cd72ef28cc authored almost 3 years ago
Remove gles compressed texture log::error! (#2630)

ebca3298f01ea72f80aeac4ab1be889469f9c699 authored almost 3 years ago
Move texture-array example over to wgsl (#2618)

e54a36ee78693aca0120458bcc2c03262a715f1e authored almost 3 years ago
Bind group deduplication (#2623)

bc850d2a0e9ebc82718cfe113926c6f9b6a09958 authored almost 3 years ago
Binding arrays play nice with bounds checks (#1855)

1aa9154964238af8c692cf521ff90e1f2395e147 authored almost 3 years ago
Specify an exact wasm-bindgen-cli version in publish.yml. (#2624)

The versions of wasm-bindgen-cli run by `.github/workflows/publish.yml` must
exactly match the v...

c226a10329f8c3283b995cccda21f4881b1ce6b1 authored almost 3 years ago
metal: Don't skip incomplete binding resources. (#2622)

59d640a10777bae6dffaee838486f81166dc56b8 authored almost 3 years ago
Update texture_create_view logic to match spec (#2621)

8feac35033ea0b1a8f752f66d224f3d8aa86e22e authored almost 3 years ago
Rename dispatch -> dispatch_workgroups

5706263917a86ee6487bc3edc8be2e845c48e0c6 authored almost 3 years ago
Do a downlevel check for anisotrophy and enable it in the webgl backend (#2616)

* Do a downlevel check for anisotrophy and enable it in the webgl backend

* Run cargo fmt

* Ch...

ff07716f79fb1d84a895bca9d0534947f024294f authored almost 3 years ago
Implement Binding Arrays (#1845)

ad28396851aa4229d228b16594bba7a3fd8d84a3 authored almost 3 years ago
metal: fix some supported limits

0b61a191244da0f0d987d53614a6698097a7622f authored almost 3 years ago
Update Naga to 85056524 (2022-4-18).

6d7c092dad830b6f5e7d49ed130c91ed611b4fde authored almost 3 years ago
replace unicode-id with unicode-xid

850565243d1d0d03215f13246c94d63e1d4c51cd authored almost 3 years ago
Permit non-struct, non-array types as buffers.

Fixes #2583.

06ee8a6862c1454e33a4c8befeab78945041ce3c authored almost 3 years ago
Update to Naga 0e2bb019.

3d10678a91b78557b0dea537407eb4a4ff754872 authored almost 3 years ago
Merge pull request #2606 from jimblandy/avoid-reserved-words

Avoid new WGSL reserved words in wgpu examples.

e84b21e4301bd4a37024637a93b5608bd3be16aa authored almost 3 years ago
[hlsl-out] Flesh out matrix handling documentation.

0aa6b6902b931afe1d8aaa4ef3e90bfe98538ead authored almost 3 years ago
fix bitflags min version

94467c770fe9a0a6d451bdcbf05040e5ca0a0be5 authored almost 3 years ago
Avoid new WGSL reserved words in wgpu examples.

579f809573fc288c7735724b5241ea9b60f2385d authored almost 3 years ago
remove unused code

340bfcc33a09146953c0b554638c05b4f61d8f65 authored almost 3 years ago
refactor consume_token fn body

0e2bb0194b029c388a70403d36a82d5fc774d307 authored almost 3 years ago
update lexer to match more unicode characters

743c8aa387cbfbd3c47e6097c8c2694b3f6ad0a0 authored almost 3 years ago
fix being able to match `~=` as LogicalOperation

90b3c18faea19d1a534d6215db686ca4e2028081 authored almost 3 years ago
add minimal-versions check to CI

88fff4c028ccfeced4111cf10fa8ee0ce42c8cd1 authored almost 3 years ago
fix minimal-versions of dependencies

bddfc34299fb47ebaeda40549892ffa70f9ed3e3 authored almost 3 years ago
[wgsl-in] Update reserved keywords (#1847)

dc075e66e3d54b0a4f2650c021271eba2ee71177 authored almost 3 years ago
Make use of new language features (#1841)

* use strip_prefix

* make fn const (resolving TODO)

* make use of nested OR patterns in match ...

7ce98dcc7d7ec541597d1759aa28a321976574c1 authored almost 3 years ago
[hlsl-out] Emit `row_major` qualifier on matrix uniform globals.

Fixes #1836.

ef387f73a613a7b580a1ac7a1974c325e26d0f7e authored almost 3 years ago
update doc of clamp fn

c942a9011bd72b292b1d969b26bf982d3c5295fc authored almost 3 years ago
update msrv to 1.56

33085863b77c1e62dfb09d641462aac0f7830e7c authored almost 3 years ago
Prefix every wgpu-generated label with `(wgpu internal)`.

This is intended to help developers new to wgpu or to graphics debugging
quickly recognize in a ...

cb7ad30d585ea68ae9a2652ad5251ef711cbbf94 authored almost 3 years ago
Add raw_queue for d3d12 device

abdf1cd74151fbc4e309c9debeedd1575e08cfc1 authored almost 3 years ago
Merge pull request #2602 from Gordon-F/naga_update

Update to Naga rev 1720725

9743068b4335762d82ed8c784678b8b599e559fd authored almost 3 years ago
Update to Naga rev 1720725

eff50436f5e157fe54b045145669f668a4cbadd0 authored almost 3 years ago
[wgsl-in] Update entry point stage attributes

fbb77aa0dcbbc72b47c3a1e213c658b93bccbcf6 authored almost 3 years ago
[wgsl-out] Update entry point stage attributes

172072501490c877d1efddeb653e0a74107b900c authored almost 3 years ago
update `hlsl-out` status in README

c93a5ede71c6cbbc85706af94061862b39202b24 authored almost 3 years ago
comment out problematic negative int

2cda40396ac53fd38697053ae150d1733e8730d7 authored almost 3 years ago
add tests for remaining vector - scalar ops

d3b37dcdb16089776ff5eeebeea6e85f3fd76956 authored almost 3 years ago
[glsl-out] remove redundant space from unary ops

8584507fb6cd9a0d52b474b32f79a66114bd0aba authored almost 3 years ago
add support for unary vector operators

4366e656097a6f9ae7ab4086ff0511186fea1821 authored almost 3 years ago
add more tests for operators

e4c017cb7c473dda09bac26b6332cd99681dfd87 authored almost 3 years ago
[spv-out] add support for matrix add and sub

4ea7dc33816895da76a96e30d0a940339ea747be authored almost 3 years ago
[hlsl-out] fix bool splat

6e6daad4d4471f22356b8248c2c03595112a5d6b authored almost 3 years ago
[glsl-out] add support for boolean vector `~`, `|` and `&` ops

7f4e07e5cd4dbc534e91cba894b90495c01d1de4 authored almost 3 years ago
[spv-out] add support for int vector scalar mult

95b84c44038da50689868e4bf25a9270e7903165 authored almost 3 years ago
add methods on the error types for reusability in wgsl-analyzer (#1827)

6427a661f713c3b4518d753c4f582bafc5dd4c0b authored almost 3 years ago
Document Naga's promises around validation and panics.

ba58ef5176c576527a26719d02bd8ce4b42d1bd2 authored almost 3 years ago
fix typos

dd75579d7c61c5e8de5e0ff28e06442ad34605f2 authored almost 3 years ago
[spv-out] Decorate array and struct type layouts unconditionally.

Remove the `decorate_layout` variable, which is unconditionally set to
`true` anyway.

1a0a48fd69a12d1e5f204f0c5e4094c689103643 authored almost 3 years ago
[spv-out] Emit required decorations on wrapper struct types, too.

Fixes #1810.

97fffccac7da222a09b3a32bee031c88f993fbbc authored almost 3 years ago
Test matrix-typed uniform globals.

bdbf821c3247742f0fa069636d03937b8166c7aa authored almost 3 years ago
[glsl-out] Use exhaustive match in AddressSpace::initializable.

No change in behavior. Exhaustive matches aid error detection, and are
clearer when the number o...

896e884802a7b14bd3dd25f91715fdb316a24ba6 authored almost 3 years ago
Introduce TypeInner::is_dynamically_sized helper function.

Use it in HLSL and GLSL back ends.

438a7509679333573415595c35ef0a8f566a6470 authored almost 3 years ago
[glsl-out] Rename `glsl_storage_class` to `glsl_storage_qualifier`.

"Storage qualifier" is the term used in the GLSL ES specification.

cf1869016f681898da8069304515742cb3d8b4cf authored almost 3 years ago
[glsl-out] Generate GLSL for arbitrary global types, per Naga IR.

Delete `GlobalTypeKind`.

Break out `Writer::write_global`'s code into two new functions,
`write...

5d631d9e2dd02d203014c15df372338bc112cbb5 authored almost 3 years ago
More tests for non-struct global types.

27d0fee2e7cd4b7e21b05f083f5d0277acddd98c authored almost 3 years ago
Reject empty struct types. (#1826)

f11d27af6f7b7c8ffa5fee5f34add227e6e1c689 authored almost 3 years ago
Move `invariant` bit from `Binding::Builtin` to `Builtin::Position`. (#1822)

Use the type system to enforce the rule that the invariant attribute
may only appear on `Positi...

170faab6db5dcada1271d1d72b3be1d21c91c8a6 authored almost 3 years ago
Merge pull request #2589 from jimblandy/update-naga

Update to Naga rev 7aaac25f.

759e7ff8c59600a850f8dfd539d1287243027717 authored almost 3 years ago
Update to Naga rev 7aaac25f.

a47b5c554fce23a395c2005981faf5c84946f586 authored almost 3 years ago
wgpu/examples/shadow: Don't run on llvmpipe. (#2595)

4cba5ffbed6a8d599ac9b1bcd23c7d79b0e43121 authored almost 3 years ago
[msl-out] Introduce finer distinctions to `LocationMode`.

Distinguish between vertex shader outputs and fragment shader inputs.
This change should have no...

4e4d918d399b50e76613a5f6b34eacce768eb896 authored almost 3 years ago
[msl-out] Permit `invariant` qualifier on vertex shader outputs.

78975f25dac3cba5b45c832c1282324aaf165c5f authored almost 3 years ago
[glsl-out] Document and flatten `back::glsl::Writer::write_varying`.

8afa5fe5e304c1e32234f93e876423768e291b8e authored almost 3 years ago
[hlsl-out] Add more padding when necessary (#1814)

* [hlsl-out] add padding at the end of structs and after struct members of type matrix and array...

bd62887a1366475224f4e7eeffde76be321b32b7 authored almost 3 years ago
add better tests for msl packed vec3

32cdb272304c54debb8e8b78bf213f3e91500120 authored almost 3 years ago
add matrix vector multiplication test

d7f4c340a7d9f02e4c790e64574965be670c03a1 authored almost 3 years ago
cast packed vec3's to vec3 for expressions that require it

0e77d26241b2429e1bc4f4ef443e6911ac7fd5a1 authored almost 3 years ago
add more packed vec3 load/stores to test

1f797fdc2f79252029bbc40c86a0be07486f08bf authored almost 3 years ago
fix packed vec3 stores

1688a767bb42c9a9a8c942c3619bf5d171b4111d authored almost 3 years ago
glsl-in: Add tests for constants NaN handling (#1817)

954c1f6f4bede2f6a60c92d51f98fe0d1ee5cf83 authored almost 3 years ago
[glsl-in] Implement `MathFunction::Clamp` (#1502)

* Implement Clamp function.

* Fix the return error type.

Change `ConstantSolvingError::Inv...

b21634ac613b8ff3714407f7e8a2c3b58ab32fef authored almost 3 years ago
glsl-in: better errors for bad constant expression (#1501)

Co-authored-by: JCapucho <[email protected]>

8f5d8f61a82edd49750aeae757c94133a6481c26 authored almost 3 years ago
[hlsl-out] fix matCx2 translation for uniform buffers (#1802)

* [hlsl-out] fix matCx2 translation

* fix msl validation (warning: unused variable)

* fix ...

7aaac25fbf64c0f77f0e2deba2963293f3632dad authored almost 3 years ago
[spv-in] error on unsupported matrix stride

5ba2d4d07920cce0ab83f019593e9516f3cdd6c4 authored almost 3 years ago
fix MSL issue

6ee1fd4929f7f6a8e663a74ddc6b69b653e3ffa1 authored almost 3 years ago
implement invariant attribute

d3957c1186f508767c7a2949193d7db86ef34913 authored almost 3 years ago
[glsl-in] error on a `matCx2` used with the std140 layout (#1806)

fa44d9d5369378be47cc12fe407651d01992a2ea authored almost 3 years ago
[hlsl-out] Don't output interpolation modifier if it's the default (#1809)

* hlsl-out: don't output interpolation modifier if it's the default (linear/`Interpolation::Pers...

a3d968e79527b805a7639a4c4db4fa024c16a8c7 authored almost 3 years ago
validate uniform address space layout constraints (#1812)

2db49b6998a6159552a2bcb4395fae1664332e60 authored almost 3 years ago
Fix doc links. (#2579)

988990c24d0933c82cdd661708a3f5bcb4533ea3 authored almost 3 years ago
wgpu-hal: Work around cbindgen bug: ignore `gles::egl` module. (#2576)

75e82afd355ba56b2f3d6f6384fb40c1cb46f1a4 authored almost 3 years ago
impl Debug for StagingBelt (#2572)

fab11dcc76e160271f69c800896ff260f15af220 authored almost 3 years ago
wgpu-core: Register new pipelines with device's tracker.

Without this change, `LifetimeTracker::triage_suspected` never notices
that compute or render pi...

84fadca8700723cfba2416596168daec78932336 authored almost 3 years ago