-
I don't actually know what's wrong, but my shader can be parsed with versions 1.0.7 to 1.0.12 (inclusive), but crashes when trying to parse with 1.0.13. I'm including the shader (from a webgpu tutoria…
-
The following WGSL causes FXC to error with: `error X3504: array index out of bounds`
```
@compute @workgroup_size(1)
fn main() {
var idx = 9;
var v = vec2();
var m = mat2x2();
…
-
After discussion on the rust gamedev discord, it sounds like WGSL is the best user-facing shader language to use.
I think we should use [naga](https://github.com/gfx-rs/naga) as middleware to conve…
-
### Before:
```ts
const pipeline = runtime.makeComputePipeline({
code: wgsl`${counterBuffer.asMutableStorage()} += 1;`,
});
async function increment() {
pipeline.execute();
const result = await…
-
-
I've been porting some WGSL code like [like these](https://github.com/bevyengine/bevy/blob/main/assets/shaders/game_of_life.wgsl) into [rust](https://github.com/Bevy-Rust-GPU/example-workspace/pull/22…
-
It would be nice if there were a command-line tool that would process shader templates into plain WGSL.
-
## Background
For future features, such as *re-exports*, and inline modules, we want an import system that has a concept of a module! One where `import foo::bar::baz` does not necessarily translate t…
-
## How can Bevy's documentation be improved?
I was writing a custom shader for an animated model. It continued to throw errors about the VERTEX[5] input buffer. After intense searching I discovered a…
-
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…