skia2/tests/sksl/errors/FloatRemainder.glsl

10 lines
267 B
Plaintext
Raw Normal View History

### Compilation failed:
error: 6: type mismatch: '%' cannot operate on 'float', 'float'
void rem() { x = x % y; }
^^^^^
error: 7: type mismatch: '%=' cannot operate on 'float', 'float'
void rem_eq() { x %= y; }
^^^^^^
2 errors