@@ -552,8 +552,8 @@
#define BRW_MASK_ENABLE 0
#define BRW_MASK_DISABLE 1
-#define BRW_ACCWRCTRL_NONE 0
-#define BRW_ACCWRCTRL_ACCWRCTRL 1
+#define BRW_ACCUMULATOR_WRITE_DISABLE 0
+#define BRW_ACCUMULATOR_WRITE_ENABLE 1
#define BRW_OPCODE_MOV 1
#define BRW_OPCODE_SEL 2
@@ -2605,7 +2605,7 @@ instoption_list:instoption_list COMMA instoption
$$.header.debug_control = BRW_DEBUG_BREAKPOINT;
break;
case ACCWRCTRL:
- $$.header.acc_wr_control = BRW_ACCWRCTRL_ACCWRCTRL;
+ $$.header.acc_wr_control = BRW_ACCUMULATOR_WRITE_ENABLE;
}
}
| instoption_list instoption
To a more self-describing define. This hopefully will help its inclusion into Mesa. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- assembler/brw_defines.h | 4 ++-- assembler/gram.y | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)