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
When `VaryingContext::validate` discovers that it needs to examine
each member of a struct, pass...
TypeFlags::INTERFACE -> TypeFlags::IO_SHARED
(WGSL §4.4.4's "IO-shareable types")
TypeFLags::HO...
a06b604b80aacbebea20e67210eb9438f4601f6c authored over 2 years agof76af4e53aaf354bfcf7d1b63b3416b9980a2534 authored over 2 years ago
* [wgsl-in] implement firstTrailingBit/firstLeadingBit u32 overloads
* fix MSL type issue
...
f2e7818e7159916445514b485156ddf84f9244a5 authored over 2 years ago062b66ca3157456647d3468d1468039e30aaf421 authored over 2 years ago
01212b24b982eb3e93f4dc09dc6576034f7b2765 authored over 2 years ago
* Clarify accepted types for `AccessIndex` and remove `Constant` fragment
* Remove spaces
...
9b7fe8803db1c8bb21ee47bd6691f0cd72ef28cc authored almost 3 years ago1aa9154964238af8c692cf521ff90e1f2395e147 authored almost 3 years ago
ad28396851aa4229d228b16594bba7a3fd8d84a3 authored almost 3 years ago
850565243d1d0d03215f13246c94d63e1d4c51cd authored almost 3 years ago
0aa6b6902b931afe1d8aaa4ef3e90bfe98538ead authored almost 3 years ago
94467c770fe9a0a6d451bdcbf05040e5ca0a0be5 authored almost 3 years ago
0e2bb0194b029c388a70403d36a82d5fc774d307 authored almost 3 years ago
90b3c18faea19d1a534d6215db686ca4e2028081 authored almost 3 years ago
340bfcc33a09146953c0b554638c05b4f61d8f65 authored almost 3 years ago
743c8aa387cbfbd3c47e6097c8c2694b3f6ad0a0 authored almost 3 years ago
88fff4c028ccfeced4111cf10fa8ee0ce42c8cd1 authored almost 3 years ago
bddfc34299fb47ebaeda40549892ffa70f9ed3e3 authored almost 3 years ago
dc075e66e3d54b0a4f2650c021271eba2ee71177 authored almost 3 years ago
* use strip_prefix
* make fn const (resolving TODO)
* make use of nested OR patterns in match ...
7ce98dcc7d7ec541597d1759aa28a321976574c1 authored almost 3 years agoFixes #1836.
ef387f73a613a7b580a1ac7a1974c325e26d0f7e authored almost 3 years agoc942a9011bd72b292b1d969b26bf982d3c5295fc authored almost 3 years ago
33085863b77c1e62dfb09d641462aac0f7830e7c authored almost 3 years ago
172072501490c877d1efddeb653e0a74107b900c authored almost 3 years ago
fbb77aa0dcbbc72b47c3a1e213c658b93bccbcf6 authored almost 3 years ago
c93a5ede71c6cbbc85706af94061862b39202b24 authored almost 3 years ago
8584507fb6cd9a0d52b474b32f79a66114bd0aba authored almost 3 years ago
95b84c44038da50689868e4bf25a9270e7903165 authored almost 3 years ago
e4c017cb7c473dda09bac26b6332cd99681dfd87 authored almost 3 years ago
7f4e07e5cd4dbc534e91cba894b90495c01d1de4 authored almost 3 years ago
2cda40396ac53fd38697053ae150d1733e8730d7 authored almost 3 years ago
6e6daad4d4471f22356b8248c2c03595112a5d6b authored almost 3 years ago
d3b37dcdb16089776ff5eeebeea6e85f3fd76956 authored almost 3 years ago
4ea7dc33816895da76a96e30d0a940339ea747be authored almost 3 years ago
4366e656097a6f9ae7ab4086ff0511186fea1821 authored almost 3 years ago
6427a661f713c3b4518d753c4f582bafc5dd4c0b authored almost 3 years ago
ba58ef5176c576527a26719d02bd8ce4b42d1bd2 authored almost 3 years ago
dd75579d7c61c5e8de5e0ff28e06442ad34605f2 authored almost 3 years ago
bdbf821c3247742f0fa069636d03937b8166c7aa authored almost 3 years ago
Fixes #1810.
97fffccac7da222a09b3a32bee031c88f993fbbc authored almost 3 years ago
Remove the `decorate_layout` variable, which is unconditionally set to
`true` anyway.
Delete `GlobalTypeKind`.
Break out `Writer::write_global`'s code into two new functions,
`write...
27d0fee2e7cd4b7e21b05f083f5d0277acddd98c authored almost 3 years ago
"Storage qualifier" is the term used in the GLSL ES specification.
cf1869016f681898da8069304515742cb3d8b4cf authored almost 3 years ago
No change in behavior. Exhaustive matches aid error detection, and are
clearer when the number o...
Use it in HLSL and GLSL back ends.
438a7509679333573415595c35ef0a8f566a6470 authored almost 3 years agof11d27af6f7b7c8ffa5fee5f34add227e6e1c689 authored almost 3 years ago
Use the type system to enforce the rule that the invariant attribute
may only appear on `Positi...
78975f25dac3cba5b45c832c1282324aaf165c5f authored almost 3 years ago
Distinguish between vertex shader outputs and fragment shader inputs.
This change should have no...
8afa5fe5e304c1e32234f93e876423768e291b8e authored almost 3 years ago
* [hlsl-out] add padding at the end of structs and after struct members of type matrix and array...
bd62887a1366475224f4e7eeffde76be321b32b7 authored almost 3 years ago0e77d26241b2429e1bc4f4ef443e6911ac7fd5a1 authored almost 3 years ago
32cdb272304c54debb8e8b78bf213f3e91500120 authored almost 3 years ago
d7f4c340a7d9f02e4c790e64574965be670c03a1 authored almost 3 years ago
1f797fdc2f79252029bbc40c86a0be07486f08bf authored almost 3 years ago
1688a767bb42c9a9a8c942c3619bf5d171b4111d authored almost 3 years ago
954c1f6f4bede2f6a60c92d51f98fe0d1ee5cf83 authored almost 3 years ago
* Implement Clamp function.
* Fix the return error type.
Change `ConstantSolvingError::Inv...
b21634ac613b8ff3714407f7e8a2c3b58ab32fef authored almost 3 years agoCo-authored-by: JCapucho <[email protected]>
8f5d8f61a82edd49750aeae757c94133a6481c26 authored almost 3 years ago* [hlsl-out] fix matCx2 translation
* fix msl validation (warning: unused variable)
* fix ...
7aaac25fbf64c0f77f0e2deba2963293f3632dad authored almost 3 years ago5ba2d4d07920cce0ab83f019593e9516f3cdd6c4 authored almost 3 years ago
6ee1fd4929f7f6a8e663a74ddc6b69b653e3ffa1 authored almost 3 years ago
d3957c1186f508767c7a2949193d7db86ef34913 authored almost 3 years ago
fa44d9d5369378be47cc12fe407651d01992a2ea authored almost 3 years ago
* hlsl-out: don't output interpolation modifier if it's the default (linear/`Interpolation::Pers...
a3d968e79527b805a7639a4c4db4fa024c16a8c7 authored almost 3 years ago2db49b6998a6159552a2bcb4395fae1664332e60 authored almost 3 years ago
43cd0eceddfac4c44c9a4fc4e9d156dfd1abba57 authored almost 3 years ago
6bbba0d0d509f9fe96814473f2369ddc19f230d1 authored almost 3 years ago
* add support for zero value constructors and constructors that infer their type from their para...
cfcf625019188f88431d7abc44d5505eead8f4b5 authored almost 3 years ago[hlsl-out] fix matrix not being declared as transposed
012f2a6b2e9328e93939429705fdf9102d9f69b7 authored almost 3 years agoAlso fixes access to runtime sized arrays behind named blocks
4146cb24d0ea596ce983f176a37ffe18e1b6784a authored almost 3 years ago
The spec defines that for vector and matrix constructors all arguments
should use the same conve...
26537c1a6042e906f278eda5eb40aa331dfa21fa authored almost 3 years ago
a48faf543f432a4392c40b9bf4c8a111e3ead312 authored almost 3 years ago
This wasn't done before which caused the frontend to crash if anything
appeared after it.
800fc7471f14ae2fb63d1948be92e5c01615a3ee authored almost 3 years ago
9dddfeec37dbd9c55fb6ada97d1db5bb708b5bd8 authored almost 3 years ago
d62c0838a6717c5132261adba46122f57433f4f4 authored almost 3 years ago
b17e6cfe43bcd1bf7982bd3c09ea728c2c72f60f authored almost 3 years ago
3c313564ac8cf933e9cbf05048656044dbfc0b7b authored almost 3 years ago
54ef2e39a0c550084e4e221c7c71b97f62e94244 authored almost 3 years ago
Adds some documentation to better explain how the memory qualifier works
troughout the parser an...
cf992a9a95026d8da2f4847e4884e6c0efbba1db authored almost 3 years ago
05f050fad485763bf7bf6e1ad4206007b52bc345 authored almost 3 years ago
e66a66a7638374922db9a0c02c84e98b397eacae authored almost 3 years ago
f90e563c281cfc71c794e0426ebcced9e3999202 authored almost 3 years ago
b5761d96113129ae6ddf82c8d6aa8050abc66b39 authored almost 3 years ago
816fa347ad7afa6053fc7ea49d521239d1cdb899 authored almost 3 years ago
This entry point isn't useful for testing.
7f4c01784c6bbf589d514cf0dabc699c11bfaa29 authored almost 3 years agoae282703e2b8de92b03586e35f7013709c0887c6 authored almost 3 years ago
8344951ebe3988723ba7844f64f1e7312b51fefb authored almost 3 years ago
1d3fb26ffde13f512869092c9724d3cd9bfe2eb7 authored almost 3 years ago
c84aa775790682f2e4ed28440bc681b09808d0cb authored almost 3 years ago
79845371d3916b08689da374533c280246f6efc0 authored almost 3 years ago
fe3d945a5817135266931db6a205641f7049a778 authored almost 3 years ago
Like it was already done for structs, arrays are flattened and each
element is attributed a loca...
a2bcdda81ce5b31dc669724b93eecadef088b7ef authored almost 3 years ago
51e66eceb20d6e3ba6c53b99c1a53d15ecb542dc authored almost 3 years ago
7f485d262b90987d6ae51e1e1cc3e304bd12dec6 authored almost 3 years ago