Sign in
dawn
/
tint
/
3e80ae68ee4baa5a53d01bf5eb6795b416dc5bd5
/
.
/
test
/
expressions
/
index
/
let
/
param
/
matrix.wgsl
blob: dc0cff29d2683145ed36536577b3f13ee5ea3b54 [
file
] [
log
] [
blame
]
fn f
(
i
:
i32
)
->
vec3
<f32>
{
let
m
=
mat3x3
<f32>
(
1.0
,
2.0
,
3.0
,
4.0
,
5.0
,
6.0
,
7.0
,
8.0
,
9.0
);
return
m
[
i
];
}