Sign in
dawn
/
dawn
/
55be62690cbc0e466e875c7eeea00afa62bccfaa
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
storage
/
vec4_f32_in_struct.wgsl.expected.wgsl
blob: f3576e78578bf6c0ffa16b1eeb11ff483054dde0 [
file
] [
log
] [
blame
]
struct
str
{
i
:
vec4
<f32>
,
}
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
S
:
str
;
fn func
(
pointer
:
ptr
<
storage
,
vec4
<f32>
,
read_write
>)
{
*(
pointer
)
=
vec4
<f32>
();
}
@compute
@workgroup_size
(
1
)
fn main
()
{
func
(&(
S
.
i
));
}