Sign in
dawn
/
dawn
/
74080eca21c1c8089560ce5e282bb37ebd52447d
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
workgroup
/
vec4_f32.wgsl
blob: 47157e8631669762009dfba474a479cbb1979570 [
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
);
}