dawn-cmake/test/tint/statements/assign/phony/uniform_buffer.wgsl

12 lines
137 B
WebGPU Shading Language
Raw Permalink Normal View History

struct S {
i : i32,
};
@binding(0) @group(0) var<uniform> u : S;
@compute @workgroup_size(1)
fn main() {
_ = u;
_ = u.i;
}