2021-12-09 15:45:03 +00:00
|
|
|
intrinsics/ignore/storage_buffer.wgsl:9:5 warning: use of deprecated intrinsic
|
2021-10-22 06:23:12 +00:00
|
|
|
ignore(s);
|
|
|
|
^^^^^^
|
|
|
|
|
2021-12-09 15:45:03 +00:00
|
|
|
intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
2021-10-22 06:23:12 +00:00
|
|
|
ignore(s.i);
|
|
|
|
^^^^^^
|
|
|
|
|
2021-07-30 15:13:58 +00:00
|
|
|
struct S {
|
|
|
|
i : i32;
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2021-07-30 15:13:58 +00:00
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@binding(0) @group(0) var<storage, read_write> s : S;
|
2021-07-30 15:13:58 +00:00
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(compute) @workgroup_size(1)
|
2021-07-30 15:13:58 +00:00
|
|
|
fn main() {
|
|
|
|
ignore(s);
|
|
|
|
ignore(s.i);
|
|
|
|
}
|