dawn-cmake/test/intrinsics/ignore/uniform_buffer.wgsl.expecte...

20 lines
367 B
WebGPU Shading Language
Raw Normal View History

intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic
ignore(u);
^^^^^^
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
ignore(u.i);
^^^^^^
struct S {
i : i32;
};
[[binding(0), group(0)]] var<uniform> u : S;
[[stage(compute), workgroup_size(1)]]
fn main() {
ignore(u);
ignore(u.i);
}