Sign in
dawn
/
dawn
/
cd07b9f4050952300ee34b15d84c30a70523e80c
/
.
/
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
);
}