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