diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-31 14:25:42 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:41 +0000 |
commit | e75faa3e43360995354683987c42e02b5ca16b19 (patch) | |
tree | f1f49dee347f457a9ada5392cb0f1383d923285a /assembler/brw_structs.h | |
parent | 26da375471edfa02b5558e6a29470dc2adcdcfa6 (diff) |
assembler: Don't pollute the library files with gen4asm.h
gen4asm.h is assembler specific while we want the library files to be
somewhat of a proper library.
This means that we have to redefine the GL* typedefs for brw_structs.h,
not using any of thet GL typedef will be for a future commit.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler/brw_structs.h')
-rw-r--r-- | assembler/brw_structs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/assembler/brw_structs.h b/assembler/brw_structs.h index e650bf51..2f6aafb8 100644 --- a/assembler/brw_structs.h +++ b/assembler/brw_structs.h @@ -33,6 +33,14 @@ #ifndef BRW_STRUCTS_H #define BRW_STRUCTS_H +#include <stdint.h> + +typedef unsigned char GLubyte; +typedef short GLshort; +typedef unsigned int GLuint; +typedef int GLint; +typedef float GLfloat; + /* These seem to be passed around as function args, so it works out * better to keep them as #defines: */ |