Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
vec4_f32.wgsl.expected.wgsl
blob: 824d5fdae183d2574720dc3e97ec8edeab076a9d [
file
] [
log
] [
blame
]
fn func
(
pointer
:
ptr
<
private
,
vec4
<f32>
>)
->
vec4
<f32>
{
return
*(
pointer
);
}
var
<private>
P
:
vec4
<f32>
;
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
P
));
}