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

9 lines
221 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;
}