dawn-cmake/test/bug/tint/782.wgsl.expected.wgsl

10 lines
210 B
WebGPU Shading Language

type ArrayExplicitStride = [[stride(4)]] array<i32, 2>;
type ArrayImplicitStride = array<i32, 2>;
fn foo() {
var explicit : ArrayExplicitStride;
var implict : ArrayImplicitStride;
implict = explicit;
}