Sign in
dawn
/
dawn
/
2c4c3a10f47c7be432bcd4e00661be340fb226bb
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
storage
/
i32.wgsl
blob: 341081e6a738b63cdfa3136f657e73883ba6e7bf [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<storage>
S
:
i32
;
fn func
(
pointer
:
ptr
<
storage
,
i32
>)
->
i32
{
return
*
pointer
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&
S
);
}