Fix the error of offset calculation for encoding on BDW
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 27 Feb 2014 02:26:37 +0000 (10:26 +0800)
commit94f1c2816f21f0e298cb7a8cde62c66192697c85
tree03135d5627de4d07d0d86923aa88e71d891c5a3c
parent7f62d5ee4137c091d89827abe9eb83ae9edfdb4c
Fix the error of offset calculation for encoding on BDW

Currently although the encoding can work well, the offset in the internal
object is calculated incorrectly. So fix it to avoid the potential issue.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
src/i965_gpe_utils.c