diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-15 17:35:24 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:36 +0000 |
commit | 1f1ad5974655a241bcf202bcd79a3e2d236bcc1c (patch) | |
tree | 294f3c0588e18e8c61d0431d06ab21dc4cc77eea /assembler/gram.y | |
parent | 668e0dff7da8a604e626c1c5fefe65a3a8f2be19 (diff) |
assembler: Rename dp_gen6 to gen6_dp and sync with Mesa's
The purpose of this commit is to synchronize opcode definitions across
the gen4asm assembler and mesa.
I had to drop how mesa splits msg_control as the current assembly
language gives access the the whole msg_control field.
Recompiling the xorg and the intel driver of libva shaders doesn't show
any difference in the assembly created.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler/gram.y')
-rw-r--r-- | assembler/gram.y | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assembler/gram.y b/assembler/gram.y index 70caeb41..df263937 100644 --- a/assembler/gram.y +++ b/assembler/gram.y @@ -1471,10 +1471,10 @@ msgtarget: NULL_TOKEN YYERROR; } - $$.bits3.dp_gen6.send_commit_msg = $11; - $$.bits3.dp_gen6.binding_table_index = $9; - $$.bits3.dp_gen6.msg_control = $7; - $$.bits3.dp_gen6.msg_type = $5; + $$.bits3.gen6_dp.send_commit_msg = $11; + $$.bits3.gen6_dp.binding_table_index = $9; + $$.bits3.gen6_dp.msg_control = $7; + $$.bits3.gen6_dp.msg_type = $5; } else if (!IS_GENp(5)) { fprintf (stderr, "Gen6- doesn't support data port for sampler/render/constant/data cache\n"); YYERROR; |