- Jun 16, 2021
-
-
Jim Blandy authored
Naga is now a workspace with `naga` and `cli` as its two members. The default package for cargo commands is `cli`, so that `cargo run` will just run the CLI. However, this has a few unexpected consequences: - Now `cargo test` will just try to run `cli`'s tests, of which there are none. Adding `"."` to the `default-members` list in the workspace's `Cargo.toml` seems to fix this, without breaking `cargo run`. - Even with `"."` added to `default-members`, `cargo test` will build `naga` by default with the features requested for it in `cli/Cargo.toml`: all the front and back ends, but no `serialize` or `deserialize`. This means that our CI job meant to verify no-feature builds isn't doing that job any more. We need to pass `--package naga` to `cargo test` to make it test naga directly.
-
Gordon-F authored
-
Gordon-F authored
-
Gordon-F authored
-
Gordon-F authored
-
- Jun 14, 2021
-
-
Jim Blandy authored
-
- Jun 13, 2021
-
-
Igor Shaposhnik authored
-
Gordon-F authored
-
Evgeny Proydakov authored
* Fixed compile-time error in spv fuzzer test. error[E0061]: this function takes 2 arguments but 1 argument was supplied --> fuzz_targets/spv_parser.rs:7:19 | 7 | let _result = Parser::new(data.into_iter()).parse(); | ^^^^^^^^^^^ ---------------- supplied 1 argument | | | expected 2 arguments | note: associated function defined here --> /Users/evgeny.proydakov/repository/naga/src/front/spv/mod.rs:411:12 | 411 | pub fn new(data: I, options: &Options) -> Self { | ^^^ error: aborting due to previous error * Code review. Group imports
-
Jakob Hellermann authored
* move bin/naga.rs to a separate crate * enable all shader languages for naga binary * [naga-cli] add env logger * [naga-cli] remove unneccessary code * [naga-cli]enable glsl-validate feature * move naga-cli to cli, add trailing newline * remove commented env_logger dependency
-
- Jun 10, 2021
-
-
Dzmitry Malyshau authored
-
- Jun 09, 2021
-
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
Adds support for workgroup size and early fragment tests definitions
-
Igor Shaposhnik authored
-
João Capucho authored
-
- Jun 08, 2021
-
-
Dzmitry Malyshau authored
-
Igor Shaposhnik authored
-
Igor Shaposhnik authored
-
Igor Shaposhnik authored
-
Jim Blandy authored
Nobody uses that value. This lets us simplify `GlobalVariable` and `write_global_variable` as well.
-
Igor Shaposhnik authored
* [glsl-out] Fix writing named expressions with array types * [wgsl-out] Remove unsupported builtin from baked expression * [glsl-out] Add a newline between globals for readability * Set bake_ref_count to 1 for Expression::Load * Update snapshot data
-
- Jun 07, 2021
-
-
Jim Blandy authored
In tests/out, stop generating the uncommitted files quad-glsl.ron and quad-glsl.spvasm, and add the snapshot quad-glsl.wgsl.
-
- Jun 06, 2021
-
-
Matus Talcik authored
-
- Jun 04, 2021
-
-
Jim Blandy authored
This makes Naga IR validation impose the restrictions added to WGSL in gpuweb/gpuweb#1801. Remove code in the SPIR-V writer to spill arrays to temporary variables in order to index them dynamically. If such IR is encountered, treat it as a failure of validation.
-
- Jun 03, 2021
-
-
João Capucho authored
-
João Capucho authored
* [glsl-in] Add glsl snapshots folder * [glsl-in] Fix incorrect angle brackets parsing * [glsl-in] Temporarily remove wgsl snapshot output
-
João Capucho authored
-
Igor Shaposhnik authored
-
Gordon-F authored
-