dawn-cmake/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.hlsl

15 lines
185 B
HLSL

SKIP: FAILED
struct S {
a : i32,
}
@group(0) @binding(0) var<storage, read_write> v : S;
fn foo() {
v.a %= 2;
}
Failed to generate: error: cannot assign to value of type 'i32'