summaryrefslogtreecommitdiff
path: root/examples/glsl_parser_test/bit-logic.vert
blob: 9b7ffedd5df027b29461f8a22fd7a61065b0a7df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* The config section below is required.
 *
 * [config]
 * # The config section may contain comments.
 * expect_result: fail
 * glsl_version: 1.30
 * [end config]
 *
 * Description: bit-and with argument type (int, uint)
 *
 * From page 50 (page 56 of PDF) of the GLSL 1.30 spec:
 *     "The fundamental types of the operands (signed or unsigned) must match"
 */

#version 130
void main() {
    int x = int(7) & uint(1);
}