dawn-cmake/test/tint/bug/tint/1776.wgsl

12 lines
177 B
WebGPU Shading Language

struct S { /* size: 32 align: 16 */
a : vec4<f32>,
b : i32,
}
@group(0) @binding(0) var<storage> sb : array<S>;
@compute @workgroup_size(1)
fn main() {
let x = sb[1];
}