-
I think @mehmetoguzderin suggested that the WGSL spec should have a table showing which WGSL builtin function corresponds to which functions or operations in common languages and shader languages, e.g…
-
Namespaces are likely coming eventually to wesl. They've come up in wesl design discussions several times, and the wgsl team has had [namespaces](https://github.com/gpuweb/gpuweb/issues/777) on the ra…
-
Please update wgls codes to the lastest version.. for example
`[[ group(0), binding(1)]] ` should be migrated to `@group(0) @binding(1)`.
Some API is also deprecated, please update to the late…
-
Don't draw objects when not in the view frustrum. Somewhat related to #81.
Notes:
* Note that shadows can still be cast inside the frustrum.
* Multiple frustrums can be combined and vectorized u…
-
目前为 WGSL 提供 Shader Chunks 模块化功能用法如下:
```ts
const compiler = device['WGSLComposer'];
const code = compiler.wgsl_compile(wgsl);
```
```wgsl
#define_import_path my_module
fn my_func() -> f32…
-
So I guess this isn't part of the standard, but since wgsl-analyzer already supports the other kind of of bevy imports, perhaps there should also be support for:
```
#import "file.wgsl"
```
?
-
When I open the webpage at `https://google.github.io/tour-of-wgsl/` the code
```
@binding(0) @group(0) var frame : u32;
@vertex
fn vtx_main(@builtin(vertex_index) vertex_index : u32) -> @builtin(…
-
- https://www.w3.org/TR/WGSL/
- https://gpuweb.github.io/gpuweb/wgsl/
-
In WGSL the comma is not used to join multiple expressions together. Statements that have multiple expressions separated with commas can often be written in a different way without the comma operator.…
-
Hi,
I'm trying to add wgsl for nvim. I already had it installed for rust mainly (treesitter is installed with packer)
I tried to follow the readme, i also saw the PR which had src/scanner.c and try …