summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_types.h
blob: 89e08a5c804b651f7c2ba3db4f6479d4022b1122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef BRW_TYPES_H
#define BRW_TYPES_H

#include "pipe/p_compiler.h"

typedef uint32_t GLuint;
typedef uint8_t GLubyte;
typedef uint16_t GLushort;
typedef int32_t GLint;
typedef int8_t GLbyte;
typedef int16_t GLshort;
typedef float GLfloat;

/* no GLenum, translate all away */

typedef uint8_t GLboolean;

#define GL_FALSE FALSE
#define GL_TRUE TRUE

#endif