Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
vec2_f32_in_mat2x2.wgsl.expected.wgsl
blob: 1aff76193449de2dffad4afe8728f19ba4dab087 [
file
] [
log
] [
blame
]
fn func
(
pointer
:
ptr
<
function
,
vec2
<f32>
>)
->
vec2
<f32>
{
return
*(
pointer
);
}
@compute
@workgroup_size
(
1
)
fn main
()
{
var
F
:
mat2x2
<f32>
;
let
r
=
func
(&(
F
[
1
]));
}