Sign in
dawn
/
dawn
/
0917ca13d638913539ab28447674165ce6096b56
/
.
/
test
/
tint
/
bug
/
chromium
/
1345468.wgsl
blob: 97369e9b89fd3134ca03fca965657ac5881d3eb6 [
file
] [
log
] [
blame
]
fn f
(){
const
m
=
mat4x2
(
0
,
0
,
0
,
0
,
4.
,
0
,
0
,
0
);
// abstract matrix
const
v
=
vec2
(
0
,
1
);
// abstract vector
var
i
=
1
;
// runtime-evaluated index
var
a
=
m
[
i
];
// materialize m before index
var
b
=
v
[
i
];
// materialize v before index
}