Sign in
dawn
/
tint
/
c6d967b4dd3fd313af5e6c6e906eeb9a9e3603cf
/
.
/
test
/
expressions
/
index
/
let
/
param
/
vector.wgsl.expected.glsl
blob: 82f3ce96b2a1e8ddc7123bef1d8e9bf758f9eb56 [
file
] [
log
] [
blame
]
#version 310 es
precision mediump
float
;
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
unused_entry_point
()
{
return
;
}
float
f
(
int
i
)
{
vec3 v
=
vec3
(
1.0f
,
2.0f
,
3.0f
);
return
v
[
i
];
}