Sign in
dawn
/
dawn
/
a561b989290824819e6fa9fbea0728a31fd45361
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
vec4_f32.wgsl.expected.wgsl
blob: d7e7a550d6e2eb0d36f55cb6195ccee27193d725 [
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
));
}