Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
vec4_f32.wgsl
blob: 01aa487415b59ae73130b608b320a0c20bcc45ce [
file
] [
log
] [
blame
]
fn func
(
pointer
:
ptr
<
function
,
vec4
<f32>
>)
->
vec4
<f32>
{
return
*
pointer
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
var
F
:
vec4
<f32>
;
let
r
=
func
(&
F
);
}