Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
workgroup
/
i32.wgsl.expected.wgsl
blob: 8c26859db3985dcbc4ca6c2a0814af5645eb3924 [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
var
<workgroup>
S
:
i32
;
fn func
(
pointer
:
ptr
<
workgroup
,
i32
>)
->
i32
{
return
*(
pointer
);
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
S
));
}