assembler: Consolidate the swizzling configuration on 8 bits

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2013-01-23 21:35:10 +00:00
parent 0375073f05
commit a82722b60f
2 changed files with 24 additions and 45 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ struct src_operand {
int indirect_offset; /* XXX */
int swizzle_set;
int swizzle_x, swizzle_y, swizzle_z, swizzle_w;
unsigned swizzle: 8;
uint32_t imm32; /* set if reg_file == BRW_IMMEDIATE_VALUE or it is expressing a branch offset */
char *reloc_target; /* bspec: branching instructions JIP and UIP are source operands */