diff mbox

[19/90] assembler: Rename BRW_ACCWRCTRL_ACCWRCTRL

Message ID 1359991705-5254-20-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien Feb. 4, 2013, 3:27 p.m. UTC
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(-)
diff mbox

Patch

diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h
index bd72abb..c4ffe9b 100644
--- a/assembler/brw_defines.h
+++ b/assembler/brw_defines.h
@@ -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
diff --git a/assembler/gram.y b/assembler/gram.y
index faba2eb..55708ca 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -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