Sign in
dawn
/
dawn
/
271cb0571c5ebcc013f2c1b095112fe70fc669b5
/
.
/
test
/
tint
/
expressions
/
index
/
var
/
let
/
param
/
matrix.wgsl.expected.fxc.hlsl
blob: bd00d9fca2f8a0333a5c41fdc5abb85662b50598 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
return
;
}
float3 f
(
int
x
)
{
float3x3 m
=
float3x3
(
float3
(
1.0f
,
2.0f
,
3.0f
),
float3
(
4.0f
,
5.0f
,
6.0f
),
float3
(
7.0f
,
8.0f
,
9.0f
));
const
int
i
=
x
;
return
m
[
i
];
}