dawn-cmake/test/intrinsics/gen/atomicLoad/afcc03.wgsl.expected.msl

15 lines
377 B
Plaintext

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