mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-18 20:03:06 +00:00
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:
+3
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user