Sign in
skia
/
skia
/
73e6a6614667499f0403c01f0f20dd9e4f397c11
/
.
/
tests
/
sksl
/
errors
/
StaticSwitchWithConditionalReturn.glsl
blob: 2f133be5015bac79c44989388576390b10833949 [
file
] [
log
] [
blame
]
### Compilation failed:
error
:
3
:
static
switch
contains non
-
static
conditional
exit
void
test_return
()
{
@switch
(
1
)
{
case
1
:
if
(
testInputs
.
x
>
1
)
return
;
}
}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1
error