1
0
mirror of https://github.com/helix-editor/helix synced 2026-07-28 23:33:35 +02:00
Files
helix/tests/indent/wgsl.wgsl
Blaž Hrastnik cd6a852c9e Add indent corpus
This will be used by the cargo indent-check xtask to validate queries,
similar to the existing indent tests in helix-core.
2026-06-07 21:29:01 +09:00

14 lines
182 B
WebGPU Shading Language

struct Point {
x: f32,
y: f32,
}
fn main() {
var total = 0.0;
for (var i = 0; i < 10; i++) {
if (i > 5) {
total = total + 1.0;
}
}
}