- Aug 13, 2020
-
-
Pelle Johnsen authored
-
Pelle Johnsen authored
* [glsl-new] Handle local vars scopes * [glsl-new] scope fixes - Check loacl vars before globals - Rename add_scope > push_scope - Remove unnecessary ref in lookup functions
-
Lachlan Sneff authored
* Add serialize and deserialize features with examples * Fix formatting * Make some types (de)serialize transparently * Fix more formatting * Remove new examples and add (de)serialization support to the convert example * Remove extraneous file * Rename param file
-
- Aug 11, 2020
-
-
João Capucho authored
* Initial backend implementation * Refractored glsl450 backend to have a common module between further glsl backends Implemented more missing functionality * Error handling * Implemented most of the suggestions * Addresed all comments Fixed some bugs * Made code style consistent
-
- Aug 10, 2020
-
-
Pelle Johnsen authored
-
Pelle Johnsen authored
-
- Aug 09, 2020
-
-
Pelle Johnsen authored
- Fix clippy issues
-
Pelle Johnsen authored
Focus on handling global in/out vars
-
Pelle Johnsen authored
-
Timo de Kort authored
Add mat2x3, mat2x4, mat3x2, mat3x4, mat4x2, and mat4x3 keywords
-
- Aug 05, 2020
-
-
Pelle Johnsen authored
-
- Aug 04, 2020
-
-
Pelle Johnsen authored
- Initial work for handling expressions that also generates statements
-
- Jul 29, 2020
-
-
Pelle Johnsen authored
* [glsl-new] Add initial handling of stmts and exprs * [glsl-new] use &'static str for NotImplemented msg * [glsl-new] Don't lazy create function context
-
- Jul 25, 2020
-
-
Josh Groves authored
* [msl] Cast single-component scalars * [msl] Allow `BinaryOperator::And`
-
- Jul 23, 2020
-
-
Pelle Johnsen authored
* [glsl-new] handle gl_Position builtin - Also fix width of vec4 type * [glsl-new] add shader stage as arg to program ctor
-
- Jul 21, 2020
-
-
Gabriel Majeri authored
-
Dzmitry Malyshau authored
-
- Jul 20, 2020
-
-
Pelle Johnsen authored
-
- Jul 16, 2020
-
-
Dzmitry Malyshau authored
-
- Jul 14, 2020
-
-
Pelle Johnsen authored
-
- Jul 13, 2020
-
-
Pelle Johnsen authored
* Fix TokenMetadata for #version * Add glsl-new #version parsing * Fix clippy issues * glsl-new only core profile, allow 440-460 * Cleanup glsl-new profile matching
-
- Jul 12, 2020
-
-
Timo de Kort authored
-
- Jul 10, 2020
-
-
Kristoffer Søholm authored
Adds constant evaluation for addition, and uses it for globals and array specifiers.
-
- Jul 08, 2020
-
-
Pelle Johnsen authored
* Add inital ast for glsl-new * Fix clippy for glsl-new Deref instead of cloning
-
- Jul 06, 2020
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Paul Kernfeld authored
-
LaughingMan authored
-
LaughingMan authored
Previously the lexer would accept any alphanumeric character as part of an identifier. The spec only allowes identifiers to consist of ASCII alphanumeric characters though.
-
- Jul 05, 2020
-
-
Pelle Johnsen authored
* Add multi line comment support to glsl-new * Fix glsl-new TokenMetadata for multi line comments
-
Dzmitry Malyshau authored
-
- Jul 04, 2020
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
Fix all the usage of Bytes type to really mean bytes. Have logic in the SPIR-V front-end to detect the comparison properties of samplers and images.
-
Pelle Johnsen authored
-
- Jul 03, 2020
-
-
Pelle Johnsen authored
- Includes test
-
LaughingMan authored
Until now the WGSL parser would interpret a character index as a byte index. This could lead to a panic on invalid input strings like "\"\u{2}ПЀ\u{0}\"", because it would use that index to slice a string without ensuring the slicing happens on a character boundary. One possible fix would have been to call `str::find` instead of `position`, however by relying on `splitn` instead of slicing a str manually it is easier to convince ourselves that this code can no longer panic. Fixes https://github.com/gfx-rs/naga/issues/90
-
- Jul 02, 2020
-
-
Pelle Johnsen authored
-
Pelle Johnsen authored
- Require 4.1 as 4.0 now gives compile errors
-
- Jul 01, 2020
-
-
Pelle Johnsen authored
-
Gabriel Majeri authored
-