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