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