Sign in
dawn
/
dawn
/
ce207a7782c4ac883ed464b884ca19967b90b9de
/
.
/
test
/
tint
/
statements
/
switch
/
case_default_mixed.wgsl.expected.ir.glsl
blob: a2c208a5c48fa301682f46c0f6f55d459827da44 [
file
] [
log
] [
blame
]
#version 310 es
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
int
i
=
0
;
int
result
=
0
;
switch
(
i
)
{
case
0
:
{
result
=
10
;
break
;
}
case
1
:
default
:
{
result
=
22
;
break
;
}
case
2
:
{
result
=
33
;
break
;
}
}
}