-
I'm hitting the issue where I want to implement `ShaderType` over a struct that has a `[u16; 2]` field, which isn't supported by Encase.
AFAIU seeing that WGSL doesn't, it makes sense. The way I ma…
-
Thank you very much for this project, I can see it improving QoL when using wgsl very much!
I have a question/feature request: can you re-use bind groups with same layouts between different shader …
-
WebGL can play video textures, and we need to implement support for this for WebGPU.
https://playcanvas.github.io/#/graphics/video-texture
See the video section here: https://toji.dev/webgpu-bes…
-
Let's see if we can come up with a basic npm packaging format for simple WESL libraries so that JavaScript and TypeScript MVP users can get a taste of using stateless WESL libraries.
The packaging…
-
Hi again,
I have been using WGSL overrides quite a bit lately and realize that there is no way to currently determine in which entry function the overrides (`OverrideInfo`) are used.
This is pro…
-
Suppose you had two different compute shaders in the same file. It would be pretty natural to want to write something like
```
/* This is my FOO shader */
[[group(0), binding(0)]] var buffer0 : B…
-
particularly the syntactic phrases like switch
```
// "syntactic phrase" is entire statement, and switch requires same integer scalar type for selector and case values
// and abstract numeric typ…
-
* [ ] Access variable not in-scope is invalid
* [ ] Shadow a module scoped variable
* [x] Module-scoped variable declared before function
* [ ] Module-scoped variable declared after function
…
-
# 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…
-
# Acceptable conversions
* [ ] T -> T for all types
* [ ] Load of type T
* [ ] AbstractFloat -> f32
* [ ] AbstractFloat -> f16
* [ ] AbstractInt -> i32
* [ ] AbstractInt -> u32
* [ ] AbstractIn…