aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/compiler/arithmetic-operators/modulus-00.frag
blob: 8f1efea9a2192382b9d75b4606a5b325491b524b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// [config]
// expect_result: fail
// glsl_version: 1.10
// glsles_version: 1.00
// [end config]
//
// The modulus operator '%' is reserved.
//
// From section 5.9 of the GLSL ES 1.00.17 spec:
//     The operator modulus (%) is reserved for future use.

int
f() {
    int tea_time = 15 % 24;
    return tea_time;
}