Sign in
dawn
/
dawn
/
efda280eda8096c31cb7fbc7a5b895773559a8bb
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
workgroup
/
vec4_f32.wgsl.expected.wgsl
blob: 3c9ab35815b2ec784ec84fa8231009055d2685c6 [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
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
));
}