Sign in
dawn
/
dawn
/
9b7ad9bab3398f665f45c63ae551ec8d7a7b6e92
/
.
/
test
/
tint
/
switch
/
switch.wgsl.expected.glsl
blob: 07b97a13c8ee822e70255806348fe3ba7283224e [
file
] [
log
] [
blame
]
#version 310 es
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
unused_entry_point
()
{
return
;
}
void
a
()
{
int
a_1
=
0
;
switch
(
a_1
)
{
case
0
:
{
break
;
}
case
1
:
{
return
;
break
;
}
default
:
{
a_1
=
(
a_1
+
2
);
break
;
}
}
}