Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
uniform
/
i32.wgsl.expected.wgsl
blob: b8a873fc0945e67cb1d49436d7be88394a6b4add [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
@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
));
}