-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This currently doesn't pass the tests, I think because `naga` removed the `PartialEq` implementation on a bunch of types (gfx-rs/wgpu#5818) --------- Co-authored-by: Elabajaba <[email protected]>
- Loading branch information
Showing
8 changed files
with
29 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
error: failed to build a valid final module: Function [2] 'func' is invalid | ||
error: failed to build a valid final module: Function [1] 'func' is invalid | ||
┌─ tests/error_test/wgsl_valid_err.wgsl:7:1 | ||
│ | ||
7 │ ╭ fn func() -> f32 { | ||
8 │ │ return 1u; | ||
│ │ ^^ naga::Expression [1] | ||
│ ╰──────────────^ naga::Function [2] | ||
│ │ ^^ naga::Expression [0] | ||
│ ╰──────────────^ naga::Function [1] | ||
│ | ||
= The `return` value Some([1]) does not match the function return value | ||
= The `return` value Some([0]) does not match the function return value | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
error: failed to build a valid final module: Function [1] 'valid_inc::func' is invalid | ||
error: failed to build a valid final module: Function [0] 'valid_inc::func' is invalid | ||
┌─ tests/error_test/wgsl_valid_err.wgsl:7:1 | ||
│ | ||
7 │ ╭ fn func() -> f32 { | ||
8 │ │ return 1u; | ||
│ │ ^^ naga::Expression [1] | ||
│ ╰──────────────^ naga::Function [1] | ||
│ │ ^^ naga::Expression [0] | ||
│ ╰──────────────^ naga::Function [0] | ||
│ | ||
= The `return` value Some([1]) does not match the function return value | ||
= The `return` value Some([0]) does not match the function return value | ||
|
Oops, something went wrong.