assembler: Make struct declared_register use struct brw_reg

It's time to start converting the emission code in gram.y to use libbrw
infrastructure. Let's start with using brw_reg for declared register.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2013-01-23 15:13:55 +00:00
parent 6b56804757
commit cce4fc2c36
2 changed files with 26 additions and 24 deletions
+3 -1
View File
@@ -33,6 +33,8 @@
#include <stdbool.h>
#include <assert.h>
#include "brw_reg.h"
typedef unsigned char GLubyte;
typedef short GLshort;
typedef unsigned int GLuint;
@@ -226,7 +228,7 @@ extern struct program_defaults program_defaults;
struct declared_register {
char *name;
struct direct_reg base;
struct brw_reg reg;
int element_size;
struct region src_region;
int dst_region;