Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
folding
/
SwitchCaseFolding.minified.sksl
blob: a3985c4963eb3c56b23fab3370dd3093f1883e1b [
file
] [
log
] [
blame
]
uniform half4 colorRed
;
uniform half4 colorGreen
;
half4 main
(
float2 a
){
half4 b
=
colorRed
;
switch
(
int
(
colorGreen
.
y
)){
case
0
:
break
;
case
1
:
b
=
colorGreen
;
break
;
case
2
:
break
;
case
3
:
break
;
case
4
:
break
;
case
5
:
break
;
default
:
break
;}
return
b
;}