intel/batch-decoder: fix a vb end address calculation
authorAndrii Simiklit <andrii.simiklit@globallogic.com>
Thu, 24 Jan 2019 10:53:53 +0000 (12:53 +0200)
committerAndrii Simiklit <andrii.simiklit@globallogic.com>
Fri, 25 Jan 2019 13:12:30 +0000 (15:12 +0200)
commit4759bb2fcf47388c9c277e514b789dde3c5e3d16
treeb5ab67071b4e31f2967771d231897ab2dafc5ff5
parentdb39a44f105213e5e648a17ba94fca965cb19654
intel/batch-decoder: fix a vb end address calculation

According to the loop implementation (in 'ctx_print_buffer' function),
which advances dword by dword over vertex buffer(vb),
the vb size should be aligned by 4 bytes too.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109449
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/common/gen_batch_decoder.c