mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
assembler: Gather all predicate data in its own structure
Rather than user a full instruction for that. Also use set_instruction_predicate() for a case that coud not be done like that before the refactoring (because everyone now uses the same instruction structure). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
@@ -85,6 +85,13 @@ struct condition {
|
||||
int flag_subreg_nr;
|
||||
};
|
||||
|
||||
struct predicate {
|
||||
unsigned pred_control:4;
|
||||
unsigned pred_inverse:1;
|
||||
unsigned flag_reg_nr:1;
|
||||
unsigned flag_subreg_nr:1;
|
||||
};
|
||||
|
||||
struct region {
|
||||
int vert_stride, width, horiz_stride;
|
||||
int is_default;
|
||||
|
||||
Reference in New Issue
Block a user