Sign in
dawn
/
dawn
/
f4686675192881b3f18a8c6f708ba67edf442543
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
uniform
/
vec4_f32.wgsl.expected.wgsl
blob: 24a940859e0a5b95e45093b60201c14f0e734f80 [
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
));
}