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
Minimize allocation in the namer. Heap-allocate string only when needed to
provide an owned key...
This has no effect, but makes the code more legible.
528f52fba0db368dae60048bf4cb6f2373820bc8 authored over 3 years ago
This is just a table mapping handles to their indices, but we can just fetch the
index directly...
4cb91f2c98ab97d42442aa5b8da05367f263d227 authored over 3 years ago
3b499811116dd4a29449af134181e28878a9e0a4 authored over 3 years ago
ee450c1ee4da4e46bc482b3bcdd71600d387a384 authored over 3 years ago
3a2f7e611e4fe8ec50d9bb365916f22e7c30e46c authored over 3 years ago
943235cd5e91df9a1d41c60f525d26734bc0d261 authored over 3 years ago
2e7d629aefe6857ade4f96fe2c3dc1a09f0fa4db authored over 3 years ago
The original pointer access test used SPIR-V for its input because WGSL didn't
have a working p...
943e321bc697ccedab4618e1b3733034abc42390 authored over 3 years ago
2f5a41cce9aff2818b64c6faaf804e9eec969eef authored over 3 years ago
3e1244c5cbff24506b82bed906e283260fc19849 authored over 3 years ago
da00bf2be6a8c3cd27153d820cc15e0470e4a1b8 authored over 3 years ago
71a75d727d2a9ff898b3bc50f94728be7efaae87 authored over 3 years ago
b34fa5f2cc2d4ddd42b64125f811fb51ace942e5 authored over 3 years ago
f01eb723780691b20b2debb8f4d31e505e085816 authored over 3 years ago
Require the `accept` and `reject` arguments to `select` to be scalars or
vectors, per WGSL spec.
WGSL says:
> - The last member of the structure type defining the store type for a variable
...
4ea2d96cfb697079d240db5ed4ad41fbd0c7730d authored over 3 years ago
Replace uses of `call_unique` with uses of `call` and `call_or`, which becomes
public. It's not...
Eliminate `Namer::namespace_index` and remove namespace indices from
`Namer::unique` keys. Inst...
* Remove unused petgraph dependency from glsl-out
* Emit std430 layout qualifiers for storage...
a4bf25a0d5b87a7f0fdd85eac1e2e5041d536f21 authored over 3 years ago2e73e486570e62171058bbfe88a69f2de50997ad authored over 3 years ago
3e992d8bbfa1c587c5fc6ba760d286c9a4977e84 authored over 3 years ago
004a12e21d470c854c539d882bae8c953683b202 authored over 3 years ago
* Update WGSL grammar for pointer access.
Comes with a small test, which revealed a number of...
21324b8feaecd5808ea32997dc4a64cbef8640ab authored over 3 years ago
Automatically spills to a local variable function call arguments to
parameters expecting a point...
aa08cf94a4da1cad7ff8bef27611ff0650bdfb02 authored over 3 years ago
Treat expressions in `Function::named_expressions` like WGSL `let` declarations,
assuming that t...
7b023ce396967c20f660655a2aba72a2e5e1c387 authored over 3 years ago
Treat `TypeInner::ValuePointer` and `TypeInner::Pointer` as equivalent by
converting them to a c...
`UniqueArena::fetch_or_append` becomes `insert`.
`UniqueArena::try_get` becomes `get_handle`, b...
6e4401ae964e88a506590cc05049463b96343eec authored over 3 years ago
Ensure that each distinct type occurs only once in `Module::types`, so that we
can use `Eq` on `...
d026577a913ea4d849995a4a622dca244f872ffa authored over 3 years ago
f91e95b22e4cde9537d58443a6f7fe8930451621 authored over 3 years ago
Replace `Module::apply_common_default_interpolation` with a simpler function
that handles a sing...
Previously the typifier flagged all relational functions as producing a
scalar boolean but with ...
04b176ec6bd16929c45bd9db932ec11f86195c6e authored over 3 years ago
160ab82feeba2d4c555543a998a3f022bde2dfcf authored over 3 years ago
70db5f681dd4f899d197b55a7d74f0f1923f9505 authored over 3 years ago
d5fc05e8a4ea39aa91a4c9cc2da149eef5a03ba0 authored over 3 years ago
Adds checks that it isn't used in an unsupported function and emits the
depth_ref as a separate ...
63a8463edd3d205ea8f8bb43a0ae1f91cee3addc authored over 3 years ago
115d170584392fc998b236d6616cea4dcb6925b3 authored over 3 years ago
af44603e47de7a8009837f7e6be969ede4f8c110 authored over 3 years ago
42db64628ed2b42b439a7e7cacc957e6b209a077 authored over 3 years ago
98944bb7a65dd18e251752912b9c72368333a706 authored over 3 years ago
dc8a41de04068b4766c1e74f9d77f765e815172a authored over 3 years ago
60d0bf850b5bfeb87aeb5a0d4db6bb4059f80290 authored over 3 years ago
cd65484a2219ef877ae8b653670fdfac7e590b57 authored over 3 years ago
7895e7f036debe59f5f35e2d5be9e1598d28393e authored over 3 years ago
aea755fd327456566ec8eb4e46d8da9426b9b208 authored over 3 years ago
9b34d503da0ebfd134c7fc1c472c1af2333a718f authored over 3 years ago
Add support for float, vector and matrices targets.
Fix prefix and postfix being inverted (one ...
d7ca7d43b987c17f553db2823d833646ff1d48e0 authored over 3 years ago1cb4447ec305f24f5c22b4a3530df55ed4a04393 authored over 3 years ago
e824519378333d7794187e7d732286a269f5de42 authored over 3 years ago
This caused arrayed textures to not be accepted
796f5f14b0358cec3b6c6c7aec27337fdf8cf020 authored over 3 years ago27d6e442d29a17c4d32d7caafda61a000a2656a8 authored over 3 years ago
Constants that are to be dynamically indexed now are first transformed
into locals with them as ...
a9d20d8ef4a03bf60402dec806b9949a733f11a7 authored over 3 years ago
60bd9ec88427d58eb7457d3bcf2997fc0ea3f29c authored over 3 years ago
8aae069f22ac94ec46329a9adbfaf341cd3e7adf authored over 3 years ago
636b8ed606a36f0b137b548d797dbbc7b581f368 authored over 3 years ago
52d74e91a4b062d317304250b5461890913d3bb8 authored over 3 years ago
Fixes #1352.
5d3c93e8c776411406be72be08dd51d7ecef8b91 authored over 3 years ago045ec6db32398119e5e418b28d7226ceb9201808 authored over 3 years ago
95d3a4e6992ae345802d1df1cecb676a9611711c authored over 3 years ago
Without this change, the `to_range` method method returns `None` even when spans
are enabled.
Both a `var` binding and a `let` binding of a pointer to a variable create
entries in the `looku...
Fixes #1356.
Output for the test case in that issue is now:
error: the value indexed by a ...
d31121df77a4a2c960b8efcd2b877b6f9b0165c3 authored over 3 years ago4abf22c4d115b8ea354bae259706202824965cf9 authored over 3 years ago
This allows removing many arguments from functions dealing with
instruction parsing
The old filenames were probably based on the shader stage, not the shader
function name, which t...
`tests/out/glsl/operators.main.Fragment.glsl` is no longer generated because the
function in que...
Make the parser code more closely follow the spec's grammar around
`unary_expression`, `postfix_...
db80ed4fa935b3ab63a8cfa999a7e9981a51659d authored over 3 years ago
c03427b15452e3beef90de10f1f3d05444ffddf8 authored over 3 years ago
807accd7ded15dd8589c93f5f42c5a0076b0f728 authored over 3 years ago
Fixes #1349.
0e66930aff1340d5c636df616d573cc326702158 authored over 3 years agoRegression from ce676cf13090b87e1405640ea8ee43e1a1666005.
We need to output (*d).mx rather th...
ba39fd47c32e132072bd5338b7d2afa603f953bc authored over 3 years ago* Make span copyable
* Use fixed size integers for span
130f802c89d488b719a0e494f3e1ea9ba6f5ba92 authored over 3 years ago439148b1a76a0bc31d95a67064a8016176547a32 authored over 3 years ago
* [spv-in] New two pass parser based
* [spv-in] Allow expressions defined in dominant block i...
3049f63cad4b4b2069139722c07668b3e7dc010f authored over 3 years ago7681f4a21f554412dad494809855edb8367f8994 authored over 3 years ago
135df311b143c4ce033e8d49eec1eea57c704049 authored over 3 years ago
Fixes #1322.
ce676cf13090b87e1405640ea8ee43e1a1666005 authored over 3 years agoe226cf3f1d67d0bf91587e392879f0aee109ec42 authored over 3 years ago
c1eed779fe7501dbad4e04c39cf183ee40fe9e7e authored over 3 years ago
This was causing warnings in nightly (1.56.0).
d4bedafbda6e625825fc2c4fedb7281f177ab383 authored over 3 years ago7138876625029a59c1f2a0890e9c03b755b11b73 authored over 3 years ago
35f27cfe7ee09588add02e3c8ce9e3b391953711 authored over 3 years ago
3b9dcc568f5d55bc057fd88929cdbdea036ec7ee authored over 3 years ago
9afb581364b37c85d006c2322031793b59c59a87 authored over 3 years ago
f24ea5c5345862ebd5f942196736539c72fc466d authored over 3 years ago
843c6d57585da7951b9bb332eca149a7cb49fb41 authored over 3 years ago
803093e710b1a3b1989a7984ae9caf4151306f95 authored over 3 years ago
4fa280d9316c5f6b9e5681de3c4616094ab8375f authored over 3 years ago
a4f19833b5679fd9a8c39e6535a7e98fe5a41432 authored over 3 years ago
dad26c543c5835707ae6d852d5c661e0927cffa5 authored over 3 years ago