Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
storage
/
vec4_f32.wgsl
blob: d13e602fda5a1deec0e40f0f6ae5fe8d08231145 [
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
);
}