-
the following wgsl struct
```wgsl
struct Job {
position: vec3,
direction: vec3,
accum: vec3,
depth: u32,
};
```
gets turned into this rust struct
```rust
#[repr(C, align(1…
-
**Description**
When using the built-in variable `sample_mask` in a wgsl fragment shader, naga produces incorrect glsl, leading to a panic when using OpenGL.
**Repro steps**
Given the following w…
-
Hi, your code helps me a lot. I hope to add a case study of texturedSphere example with WGSL.
Thanks a lot !
-
In https://github.com/gpuweb/gpuweb/pull/1719 we removed the Validation section, and along with it, the concept of standardized error codes.
Us Tint developers are currently trying to decide whethe…
-
The WGSL output format for shaderc has been helpful for WebGPU testing.
Cloning Tint into the the third_party folder and trying to build with SHADERC_ENABLE_WGSL_OUTPUT enabled does not compile, it…
-
William Candillon raised a couple issues about our current approach to WGSL code construction using template strings:
- No WGSL language server features (syntax highlighting, code completion)
- Functi…
-
Recently, I've had problems with the wgsl parser of tree-sitter.
I tried uninstalling and reinstalling it, but I get this error:
```
nvim-treesitter[wgsl]: Error during compilation
Undefined s…
-
I see this is planned, but it's also clearly a lot of work. What would be the limiting factors in considering wgsl support as a first class output language?
Great job on this project, by the way. I…
-
imported module is being validated even though it should never be imported
```top.wgsl
fn main() -> u32 {
#ifdef USE_A
return a::func();
#else
return 0u;
#endif
}
```
```mod.wgsl
#d…
-
The GPU for the Web Working Group has made significant progress on first
versions of the WebGPU and WebGPU Shading Language (WGSL)
specifications. The group is now firming up the specifications with…