mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 04:42:53 +00:00
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>
This commit is contained in:
@@ -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:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user