dawn-cmake/test/unittest/reader/spirv/SpvModuleScopeVarParserTest...

13 lines
196 B
WebGPU Shading Language

var<private> x_1 : array<u32, 1>;
fn main_1() {
let x_3 : u32 = x_1[0];
return;
}
[[stage(fragment)]]
fn main([[builtin(sample_mask)]] x_1_param : u32) {
x_1[0] = x_1_param;
main_1();
}