Sign in
dawn
/
dawn
/
074e17e34a1b0d0c46408458ad46bbaa402216ce
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
uniform
/
i32.wgsl.expected.wgsl
blob: 24a9e8954a375193cba28dd076241e73c02a269f [
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
));
}