mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 09:21:04 +01:00
Don't replace dots with dashes in the output filenames for no reason. Instead, give them names consistent with those generated by `write_output_glsl`.
16 lines
203 B
WebGPU Shading Language
16 lines
203 B
WebGPU Shading Language
const array_: array<f32, 2> = array<f32, 2>(1.0, 2.0);
|
|
|
|
var<private> i: u32;
|
|
|
|
fn main_1() {
|
|
var local: array<f32, 2> = array_;
|
|
|
|
let _e2 = i;
|
|
}
|
|
|
|
@fragment
|
|
fn main() {
|
|
main_1();
|
|
return;
|
|
}
|