2021-12-09 15:45:03 +00:00
|
|
|
intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic
|
2021-10-22 06:23:12 +00:00
|
|
|
ignore(u);
|
|
|
|
^^^^^^
|
|
|
|
|
2021-12-09 15:45:03 +00:00
|
|
|
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
2021-10-22 06:23:12 +00:00
|
|
|
ignore(u.i);
|
|
|
|
^^^^^^
|
|
|
|
|
2021-07-30 15:13:58 +00:00
|
|
|
struct S {
|
|
|
|
i : i32;
|
|
|
|
};
|
|
|
|
|
|
|
|
[[binding(0), group(0)]] var<uniform> u : S;
|
|
|
|
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
|
|
fn main() {
|
|
|
|
ignore(u);
|
|
|
|
ignore(u.i);
|
|
|
|
}
|