Sign in
dawn
/
dawn
/
b95a03a6a7304c7d935569fec0687bd384c940fb
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
storage
/
i32.wgsl
blob: cfab20c81f96ddfb2a69adb65feec6ed688a0924 [
file
] [
log
] [
blame
]
@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
);
}