dawn-cmake/test/intrinsics/gen/atomicStore/8bea94.wgsl.expected.msl

15 lines
367 B
Plaintext

SKIP: FAILED
fn atomicStore_8bea94(tint_symbol : ptr<workgroup, atomic<i32>>) {
atomicStore(&(*(tint_symbol)), 1);
}
[[stage(compute)]]
fn compute_main() {
[[internal(disable_validation__function_var_storage_class)]] var<workgroup> tint_symbol_1 : atomic<i32>;
atomicStore_8bea94(&(tint_symbol_1));
}
error: cannot declare an atomic var in a function scope