-
**Description**
I'm trying implement the method described in the paper [Fast and Efficient Nearest Neighbor Search for Particle Simulations](https://web.archive.org/web/20231129085631/https://diglib.…
-
Since WGSL does work when targetting WebGL2, it would be lovely if we could add a form of preprocessing for cases where discard to exist in or get imported to a vertex shader source.
That way we c…
-
# Summary of feature
Tint is Google's compiler for the WebGPU shader language and is used by libraries such as Babylon.js and Naga. It allows compilation of SPIR-V code to and from WGSL. Used in conj…
-
**Describe the solution you'd like**
As the title describes, naga oil has functionality to declare virtual functions. It'd be fantastic if this could be leveraged to be able to write custom age, init…
-
Hello, I am following your examples in the book and the videos on youtube and I see you decided to go for a template string inside a typescript file instead of using wgsl extension. I have two questio…
-
In bevy we are developing a preprocessor to enable modular reuse of shader code. I reworked the code to split types, bindings, and functions into separate files, and that was working. Then I made anot…
-
I want to be a little more intentional about what's in the repo. Some of the examples don't add much in terms of educational value, and larger examples like the hades-style start menu should likely li…
-
@beaufortfrancois requested that some small examples be published here showing how to use the new WGSL primitives aimed at AI/ML workloads: `shader-f16`, DP4A, and soon, subgroups. Could we consider t…
-
This invocation fails:
```shell
cargo run --features spv-in,wgsl-out ~/github/piet-gpu/piet-gpu/shader/kernel4.spv foo.comp
```
And generates this backtrace:
```
thread 'main' panicked at 'a…
-
Relax vector, matrix and array OOB validation by handling OOB accesses at runtime.
The following example should work; however, validation currently errors because the index is out of bounds.
```…