Sign in
dawn
/
dawn
/
18909c6e1f419225d4b8585a07b2f2e8f54f6412
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
storage
/
i32.wgsl
blob: 8f1c6e9b6a51bd85e33991a12384cb94203b8317 [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
S
:
i32
;
fn func
(
pointer
:
ptr
<
storage
,
i32
,
read_write
>)
{
*
pointer
=
42
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
func
(&
S
);
}