Sign in
dawn
/
dawn
/
f4686675192881b3f18a8c6f708ba67edf442543
/
.
/
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
));
}