-
As discussed in the [February VF2F](https://docs.google.com/document/d/1r5QbKsqwZxZzD2CqbpteTGJ2bQwTHje_coZ8UCIAyik/edit#bookmark=id.tm3u39mz3uzh), Google proposes that we make specifying several type…
-
It would be useful to have some place where we can store the bigger sets of shaders (SPIR-V, WGSL, GLSL, whatever). We'd then have a Github Action to fetch them and parse/validate. Since this would be…
kvark updated
3 months ago
-
As of gfx-rs/naga#2147, the WGSL back end will fail to generate code for modules that use `naga::BuiltIn::WorkGroupSize`, corresponding to GLSL `gl_WorkgroupSize` and the SPIR-V `WorkgroupSize` builti…
-
Given the following shader, with "`sierra::ShaderLanguage::WGSL`".
How would I need to adapt the shader, to get it to output a triangle?
The current example is simplistic sure, but it is too simpl…
-
# DataView for WGSL
I'd like to ask for/propose extending WGSL with an untyped storage buffer type via a DataView object, similar to the one in JS, that let's shaders read various types of attribut…
-
Great loader! Super helpful thanks. Ideally there would be support for labels to help with debugging
```javascript
import shaderCode from "./shaders/example.wgsl";
const cellShaderModule = device.c…
gszep updated
2 weeks ago
-
There are a couple of things that would be good to do in a major release so that the syntax can be tidied up:
- [ ] https://github.com/danlehmann/bitfield/pull/47 (bitenum's return type)
- [ ] htt…
-
While testing #12503 I had to disable the linalg detensorize pass. When I did I noticed some unique compilation failures in tint that were exposed. We're not going to disable the pass for real but thi…
-
From gfx-rs/naga#2211, error messages like this are pretty cryptic:
```
error:
┌─ shader.frag:4:5
│
4 │ float b[2];
│ ^^^^^^^^^^ naga::Type [3]
Type [3] '' is invalid:
Arr…
-
We seem to only issue a warning if we end up with a downlevel adapter/device.
https://github.com/gfx-rs/wgpu/blob/3d33ace8d7f4c410894a6d63092870c7eab0388d/wgpu-core/src/instance.rs#L303-L313
We …