-
## What solution would you like?
```rust
impl Material for CustomMaterial {
// When creating a custom material, you need to define either a vertex shader, a fragment shader or both.
// If …
-
According to the wgsl spec, `[[insert atttribute here]]` is not how attributes are specified.
As such, the `sierra::ShaderLanguage::WGSL` parser of this crate is technically not parsing wgsl.
See he…
-
How easy is it to add other Anime4K upscalers to the list, like Upscale-S or M?
Is it possible to chain and pipeline multiple Upscalers? For instance, I like to chain a Upscaler and Restore wgsl toge…
-
**Is your feature request related to a problem? Please describe.**
There are some crates out there that, in my opinion, would benefit from being able to directly access the lexer and its tokens, and/…
-
**Description**
In wgsl-in there is https://github.com/gfx-rs/wgpu/blob/07becfe5b5cc550b04ecbfa303cb6ccfc91357ad/naga/src/front/wgsl/lower/mod.rs#L1370-L1376
but in wgsl-out when we create express…
-
### Before:
```ts
const pipeline = runtime.makeComputePipeline({
code: wgsl`${counterBuffer.asMutableStorage()} += 1;`,
});
async function increment() {
pipeline.execute();
const result = await…
-
From WGSL spec: https://gpuweb.github.io/gpuweb/wgsl/#floating-point-types
TODO
- [x] https://github.com/gfx-rs/wgpu/pull/5476
- [ ] wgsl-in
- [ ] validator
- [ ] msl-out (@FL33TW00D is inter…
-
- use a::b::c; is problematic, because I cannot tell if it's "import function c from module a/b.wgsl" or if it's "import module a/b/c.wgsl"
- Importing WGSL packages from cargo is tricky, what is the…
-
For WGSL in an npm/cargo package, static group and binding indices aren't a good idea. The indices need to be chosen by the application (preferably the application host code), not a library.
For e…
-
I think this ought to pass validation, but it fails:
```wgsl
const one = 1;
const_assert one == 1.0;
```
When I run this on 50b71287c, I get:
```
Could not parse WGSL:
error: const_asser…