15 lines
199 B
HLSL
15 lines
199 B
HLSL
|
SKIP: FAILED
|
||
|
|
||
|
|
||
|
struct S {
|
||
|
a : vec4<f32>,
|
||
|
}
|
||
|
|
||
|
@group(0) @binding(0) var<storage, read_write> v : S;
|
||
|
|
||
|
fn foo() {
|
||
|
v.a += 2.0;
|
||
|
}
|
||
|
|
||
|
Failed to generate: error: cannot assign to value of type 'vec4<f32>'
|