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