summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/brw_types.h')
-rw-r--r--src/gallium/drivers/i965/brw_types.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/gallium/drivers/i965/brw_types.h b/src/gallium/drivers/i965/brw_types.h
index 32b62848da..87dae13d94 100644
--- a/src/gallium/drivers/i965/brw_types.h
+++ b/src/gallium/drivers/i965/brw_types.h
@@ -1,11 +1,18 @@
#ifndef BRW_TYPES_H
#define BRW_TYPES_H
-typedef GLuint uint32_t;
-typedef GLubyte uint8_t;
-typedef GLushort uint16_t;
+#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 GLboolean uint8_t;
+typedef uint8_t GLboolean;
#endif