WGSL
1 program
Added 2025-11-05T08:09:01Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: WebGPU Shading Language
Provenance: commit dcd46ae5ba · authored 2025-11-05T09:09:01+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
6 sources · pl_id:
pl/wgslExtensions claimed by this language
2 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.wgsl | linguist | primary | 250.0K files |
.wgsl | pygments | primary | 250.0K files |
Related languages
Open Shading Language (0.42)Metal (0.40)Metal Shading Language (0.40)OpenGL Shading Language (0.40)HLSL (0.39)
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Simple Vertex Shader
Provenance: commit dcd46ae5ba · authored 2025-11-05T09:09:01+01:00 · model x-ai/grok-4-fast · Temp 0.4
@vertex
fn vertex_main(@location(0) position: vec2<f32>) -> @builtin(position) vec4<f32> {
return vec4<f32>(position, 0.0, 1.0);
}