Sign in
dawn
/
dawn
/
6af073cecc7cd68d39beaefadf63eb3bec54bb98
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
uniform
/
vec4_f32.wgsl.expected.wgsl
blob: c5e8e6aab8b9d7c8507b8c7d7c4f17781bf361ea [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
S
:
vec4
<f32>
;
fn func
(
pointer
:
ptr
<
uniform
,
vec4
<f32>
>)
->
vec4
<f32>
{
return
*(
pointer
);
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
S
));
}