Sign in
dawn
/
dawn
/
5975d5710055728034f8bd6902f3e69ba45460cf
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
storage
/
vec4_f32.wgsl.expected.wgsl
blob: 3d74aba8e2fcee460a245af85fae58af02f44dd9 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<storage>
S
:
vec4
<f32>
;
fn func
(
pointer
:
ptr
<
storage
,
vec4
<f32>
>)
->
vec4
<f32>
{
return
*(
pointer
);
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
S
));
}