mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
Add support for destination writemasks.
This involved changing dest operands to have their own structure like src operands, as the destination writemask (which is align16-only) shares space with register numbers in align1 mode.
This commit is contained in:
committed by
Damien Lespiau
parent
de1a889fe3
commit
2dac0a19a4
@@ -38,6 +38,21 @@ typedef float GLfloat;
|
||||
|
||||
void yyerror (char *msg);
|
||||
|
||||
/**
|
||||
* This structure is the internal representation of destination operands in the
|
||||
* parser.
|
||||
*/
|
||||
struct dst_operand {
|
||||
int reg_file, reg_nr, subreg_nr, reg_type;
|
||||
|
||||
int writemask_set;
|
||||
int writemask;
|
||||
|
||||
int horiz_stride;
|
||||
int address_mode; /* 0 if direct, 1 if register-indirect */
|
||||
int indirect_offset;
|
||||
};
|
||||
|
||||
/**
|
||||
* This structure is the internal representation of source operands in the
|
||||
* parser.
|
||||
|
||||
Reference in New Issue
Block a user