15 lines
378 B
Plaintext
15 lines
378 B
Plaintext
SKIP: FAILED
|
|
|
|
|
|
fn atomicAnd_34edd3(tint_symbol : ptr<workgroup, atomic<u32>>) {
|
|
var res : u32 = atomicAnd(&(*(tint_symbol)), 1u);
|
|
}
|
|
|
|
[[stage(compute)]]
|
|
fn compute_main() {
|
|
[[internal(disable_validation__function_var_storage_class)]] var<workgroup> tint_symbol_1 : atomic<u32>;
|
|
atomicAnd_34edd3(&(tint_symbol_1));
|
|
}
|
|
|
|
error: cannot declare an atomic var in a function scope
|