-
Output with slangc:
c:\Users\aleino\environments\slang>C:\Users\aleino\workspaces\slang\build\Debug\bin\slangc.exe -o C:\Users\aleino\targets\hello-webgpu\test_compute.wgsl -target wgsl -stag…
-
Currently when alpha is low enough we simply discharge fragments, so the underlying fragments get drawn: https://github.com/schtrudl/Triplon/blob/55a89086695fb56180b1500f1bced93adfcbaad1/src/renderer/…
-
To solve #5523, Naga needs information about [built-in function](https://gpuweb.github.io/gpuweb/wgsl/#builtin-functions) argument and result types in a form that the WGSL front end can consume to app…
-
The Naga WGSL backend should probably write `Module::overrides` as WGSL override declarations, rather than requiring the override table to be empty, as the other backends do, under the assumption that…
-
**Description**
Naga currently rejects programs with constant expressions such as this one:
```wgsl
const asdf = false && (123 / 0 > 0);
```
An uninformed reader might assume that divid…
-
Failing tests:
- `tests/language-feature/constants/static-const-in-generic-interface.slang`
Example output:
WGPU error: Error while parsing WGSL: :8:24 error: functions cannot b…
-
### Description
When using `label()` or `toVar()` to give variables a name, collisions can occur when the name is already reserved for internal entities like uniforms or varyings.
If you now red…
-
Affected tests:
- `tests/language-feature/generics/variadic-0.slang`
- `tests/language-feature/generics/tuple.slang`
Example output:
WGPU error: Error while parsing WGSL: :1:8 error: e…
-
Should we require a statement like
`enable wgsly.2024` in the main file? As in
- Document that this is some extended WGSL
- And have a version/edition of it. Which lets us change the syntax in late…
-
The following types are not supported in WGSL
- i8, u8, i16, u16
- f64 (double)
- texture_1d_array
- integer matrices
We [should extend the capability system](https://github.com/shader-slang/…