skia2/tests/sksl/runtime_errors/golden/IllegalStatements.skvm
Brian Osman 890b2b406a Disallow switch statements in runtime effects
Bug: skia:10680
Change-Id: Ic77f7355866363ef476a93d8da180cf53207fa6d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/353707
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2021-01-14 17:45:16 +00:00

8 lines
229 B
Plaintext

### Compilation failed:
error: 3: discard statement is only permitted in fragment shaders
error: 5: do-while loops are not supported
error: 7: while loops are not supported
error: 9: switch statements are not supported
4 errors