-
Affected tests:
- `tests/autodiff/diff-ptr-type-array.slang`
Example output:
WGPU error: Error while parsing WGSL: :8:67 error: runtime-sized arrays can only be used in the address space…
-
algebraic data types are a feature of many modern languages, including rust and typescript. They allow to express the union or intersection of types.
### Syntax in Typescript
```ts
type T = strin…
-
#754 added support for WGSL and Metal but running tokei doesn't list them for me.
```
$ ls
example.metal example.txt example.wgsl
```
```
$ tokei
=============================================…
-
It seems like powr() is implemented inefficiently on non-metal targets. If I understand correctly, powr() is only defined for x>=0 but for some reason we coerce x to be abs(x) before delegating to re…
-
Maybe one of us should be brave enough to write up a WebGPU proposal for namespaces. One that lets us cleanly say "a WESL module creates a WGSL namespace".
We'd need
- a namespace for built-ins
-…
-
Logging debug strings is now supported across all major backends. Given the lack of native shader debugging tools, especially for mobile platforms, it would be great to support printf style logging in…
-
The exact shape of this isn't super clear, yet, but either a set of opaque types and bound functions, or pure Alan code on top of a thin wrapper over `wgpu`/WebGPU is needed to construct an AST to ser…
-
Thanks for this awesome tool!
when used with option `WgslShaderSourceType::UseComposerWithPath` not only `naga_oil` is required, but also `include_absolute_path`
Not only was this unexpected as …
-
While testing "slang" as a shader language, I produced SPIR-V that contained unbound texture arrays (for which I would write a binding array in WGSL):
```slang
[[vk::binding(0, 2)]]
Texture2D tex…
-
The following tests are tests that are related to the semantics.
They are currently enabled for Metal and we should enable them for WGSL as well.
- tests/compute/compile-time-loop.slang
- tests/c…