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
8ef92227c161dfb1cdb6a553ea5e555c53592834 authored over 3 years ago
* Fix GLSL output for non-fallthrough switch cases
Partially reverts 02c74b50021379092a9d4567...
8417f849b1ddcd076a6435572e99b07a2c83af07 authored over 3 years ago* Implement fuzzing for the GLSL parser
* Remove arbitrary dependency from naga
Derive `Ar...
2069ea698f4ff570c7d065b899f16a88725aca85 authored over 3 years ago* [glsl-in] Allow code after terminator statements
* [glsl-in] Track finished state in the co...
bd411c28c2247a27bbca10347db0094d2e317b44 authored over 3 years agob35e40ec596e6dc192f745c402c7355cba4d6122 authored over 3 years ago
995a7752a99a2f00653280850301bd3ed345fc3d authored over 3 years ago
Fixes #1305.
Ensure that two `back::spv::LocalType::Image` values are sure to be equal (and
has...
This affects a lot of snapshots, so it's in its own commit, for easier review.
5b1c2e59f6e9208eea77a60f6866ddc5f6d8f998 authored over 3 years agoe8d35e8035968c076a1569ea76513b58e8bf8dcf authored over 3 years ago
b226c5108a56606f4815ed0b119367224d90a6a5 authored over 3 years ago
Change `write_type_declaration_local` to handle any type that can be represented
as a `LocalType...
846dbb5a3e47bacb83727f767228f9f3622365b1 authored over 3 years ago
f7040a2787b1de8cd169ed83765d12908d781156 authored over 3 years ago
Fixes #1030.
Fixes #1017.
496525b7d376d5a1b3c97a4731d43eb294a5ccb8 authored over 3 years ago
28547e3d3b61a7872cdba66638f0bae17154f031 authored over 3 years ago
140e3223e2564a8d313c6f237068591283c5da97 authored over 3 years ago
1b95e023e79357a85258e68f88fa20ed1a79fb30 authored over 3 years ago
When we are leaning on robust buffer access to do the job for us, there's no
undefined behavior ...
1e9f2b9287855558fce07bf8a89c9149a4abdd55 authored over 3 years ago
715a53f891e488d5c1bfb962e10c1598263fbcc7 authored over 3 years ago
Set naga features in `fuzz/Cargo.toml` to those required for SPIR-V and
WGSL input.
Also bump li...
f11afd4fcf16350cba29cfdac5f09ef9df7a57a7 authored over 3 years ago
a35de06f33f43b3a44ab911143c35dd630b00893 authored over 3 years ago
* Implement lexing for all WGSL number literal types
* Move number literal test cases
* Ad...
58a5b7d2b9d9e09e4e55521e060849f5ebe64ad2 authored over 3 years ago93db57c12b4a5eff48bdd00c494efa5ec89567ad authored over 3 years ago
9713dbbbc195697fff86429e3d507a1b3960f047 authored over 3 years ago
Using 1D images should require either the `Sampled1D` or `Image1D` capability.
Using cube array...
b56349e9bff3412c2aec1107075df982c59dc817 authored over 3 years agoea883d98e2b49a3bab843f29ee526f83bac93019 authored over 3 years ago
Introduce a helper type that manages the details of emitting SPIR-V
conditionals, tracking label...
901e2c0694c8d838ab66abb403ea19e2409215b6 authored over 3 years ago
3f4cd9dc8885e575738ea99b4b2b58c37cab1e21 authored over 3 years ago
For ease of review, there should be no meaningful code changes in this commit.
Match arms are me...
c1121a1e622fe5444738ba3aca223d4da3d0e200 authored over 3 years ago
de114e479b8999937e856400c31f3e46b98d02b3 authored over 3 years ago
Fixes #1266
fd10b7d9e80a340acc4e4fda099d527343c0062d authored over 3 years ago* [hlsl-out] flatten the entry point inputs
Previously, the logic was re-ordering the inputs ...
81f4ff032f8658d1d6b1e64e567b11419ae5a373 authored over 3 years ago63e58f20222da13a6e50a26b4b594c0cf3369833 authored over 3 years ago
* [hlsl-out] Implement switch statement
* [hlsl-out] Implement switch statement
* Add swit...
464788dc8ddbe1fb3127a6f6baef86c319eb62de authored over 3 years agob0569d9593398feece975756501758e6647f99e1 authored over 3 years ago
222e0949bdd0a06aaceabfb105fafc2e336de6eb authored over 3 years ago
800f9101032cdf804477ee29ec617af0710a4741 authored over 3 years ago
70be72d9b9615557fa8726829813755ee6b52279 authored over 3 years ago
Fixes #1246
c09354c78e0ceda96fd97a6951e4d0cd5d1b3185 authored over 3 years agofd3f9543b55aff03b7087d075fca9b340d60f5a1 authored over 3 years ago
Remove `forbidden_caps`.
Accumulate capabilities actually used separately from the permitted
ca...
897afbd710c3f1aa4b6bf82e4b6a08f70daa9a51 authored over 3 years ago
778049f97a48c8682ab3d38f0b69495a00f9ac1a authored over 3 years ago
Hlsl and wgsl don't support them directly so a polyfill is used taken
from the msl spec.
`asinh...
bbf3e465f3669507fac271f1481e8292d3abac2a authored over 3 years ago644fa684bad4afa121bbc21c7ae26daba5ddd258 authored over 3 years ago
9050108a95d7a6cab6d2c4127e7b6817a15ed4e1 authored over 3 years ago
8d6647d369b1d982b645ee729412ddae98053217 authored over 3 years ago
846ea0ec0920498cbec9512806a23eccdfa6491b authored over 3 years ago
Fixes #1243
0b0d2ab0f3dedd111fe129d68f2cae6d6c435f06 authored over 3 years agoFixes #1245
448ea65940354e9eea27bb8942886e47e117aacd authored over 3 years ago0dd32219c5491d16fe1b966419f545a1bc13a7bc authored over 3 years ago
a741e4b86dffb6839b5bdbec02c218e97987f3c9 authored over 3 years ago
Fixes #1241.
2b08525ed12559381bf51ded31882a42d0e2fe06 authored over 3 years ago
Previously we always set the lhs flag when lowering to generate a
pointer so that dynamic indexi...
This would otherwise cause the parser to enter an infinite loop.
Fixes #1232
fc47008d0c01fd1658626f6ed7fa4a7a695da3be authored over 3 years agof14817e8a091c464b5b309af9f313720faa7defd authored over 3 years ago
02142d098082b610a4d28e2a7ab88d6746f7c87d authored over 3 years ago
dfcb79880f3a42781efc72ae47ea291cbea8efec authored over 3 years ago
dad4b1bb107a7e4cb975b34da5cdf6b4fdfbc292 authored over 3 years ago
6ab6d6fc46684b16bc493d06aab094361b0598f0 authored over 3 years ago
cefaa396d490024b19b31a2fcf9410d5d2b5bb2c authored over 3 years ago
Previously the constructor just used the type of the scalar argument
regardless of whether or no...
7a45d73465d90a11fbfdb6892f5a15c050c6d3bb authored over 3 years ago
b05ca6e4036f3290ce091caaa903733b6afb7b55 authored over 3 years ago
4e181d6af4b758c11482b633b3a54b58bfbd4a59 authored over 3 years ago
79d899fe4ce4d3bfc20a26232a53f317e2ea6132 authored over 3 years ago
73be8c745477042e129e4cb6981a2e4ad643e466 authored over 3 years ago
91ea6e3d83e9f92e12204c088da325cad6311b87 authored over 3 years ago
b11f094287e8044fe295aaf34ba3e6853345209f authored over 3 years ago
ba92640482ce4a80eb34299485f8f4b1984a0918 authored over 3 years ago
939e8f0a7b899893c6b8d47ff61dfab75bb666f1 authored over 3 years ago
ab1e932e164ae2a567ba66ca04fd838c42f5cf3d authored over 3 years ago
c39810233274b0973fe0fcbfedb3ced8c9f685b6 authored over 3 years ago
ec64eaae6ba511d7f4b6635ba46df11558d50224 authored over 3 years ago
220081c4b2c9064c960c0eb37c1d3ea21d9b5411 authored over 3 years ago
8e0295178c33f154d8b6d9006ae5b0a72703a13f authored over 3 years ago
There's no need for functions that construct SPIR-V types to be fallible, or for
their callers t...
c6a6afdf370585001de53490fe78bf0ecab37346 authored over 3 years ago
7613798aed17c83f55375c91aafe53ab55106444 authored over 3 years ago
d7af2a84b7508f58684279db415cc07998833484 authored over 3 years ago
2dfcb7fcf0ba186bb7a11ffdf630a72f6156ac93 authored over 3 years ago
0d829d6bb0565986407bc4fb438ad2500e4b608a authored over 3 years ago
5415d8c7c44cd95608aa6a0907b0a03a0aca86b1 authored over 3 years ago
27e4ba59e4918494fca1e4cc2222a2dfdaa4a888 authored over 3 years ago
e59582469c586b99f025fa99508964d9026746b9 authored over 3 years ago
69b70f8cc3acb988fa3f34d6a615c8c02259428c authored over 3 years ago
1907a92928933f312da10daad85bdc6de7d5f9a9 authored over 3 years ago
0feea58a3420b1c2823ebcdbed2d0c1aa207d658 authored over 3 years ago
d55645ac1ef354d1ad016dff91ac8576d9cf1e5b authored over 3 years ago
Some SPIR-V texture access instructions take coordinates as integers, others as
floats. The typ...
* Proof of concept for "span" feature, with WGSL parsing augmented.
* Review:
1) add_span ...
fd7011666835bbe8e3c57e8c8a134ec56e662f87 authored over 3 years ago
In `back::spv::Writer::write_texture_coordinates`, OpCompositeConstruct can
concatenate scalars ...
No intended change in behavior.
172f6bf62fcdb31bd492b2ed438070a1037bdcc3 authored over 3 years ago1121a815ac156f62e5ba1035dc422fb11d9016f2 authored over 3 years ago
67dd604b0c44fe5c436182a3b8325173d8c001b1 authored over 3 years ago