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