mirror of
https://github.com/helix-editor/helix
synced 2026-07-27 23:20:55 +02:00
cd6a852c9e
This will be used by the cargo indent-check xtask to validate queries, similar to the existing indent tests in helix-core.
14 lines
182 B
WebGPU Shading Language
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;
|
|
}
|
|
}
|
|
}
|