blob: db0aedcb7845fc267d0f2b7b8de2cacf69c86a10 [file] [log] [blame]
SKIP: FAILED
#version 310 es
int tint_mod_i32(int lhs, int rhs) {
int v = ((((rhs == 0) | ((lhs == (-2147483647 - 1)) & (rhs == -1)))) ? (1) : (rhs));
return (lhs - ((lhs / v) * v));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
int a = 1;
int b = 2;
int r = tint_mod_i32(a, b);
}
error: Error parsing GLSL shader:
ERROR: 0:4: '&' : wrong operand types: no operation '&' exists that takes a left-hand operand of type ' temp bool' and a right operand of type ' temp bool' (or there is no acceptable conversion)
ERROR: 0:4: '|' : wrong operand types: no operation '|' exists that takes a left-hand operand of type ' temp bool' and a right operand of type ' temp bool' (or there is no acceptable conversion)
ERROR: 0:4: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
tint executable returned error: exit status 1