isl: Use isl_align_npot for row_pitch
authorKristian Høgsberg Kristensen <krh@owl.jf.intel.com>
Mon, 4 Jan 2016 18:53:47 +0000 (10:53 -0800)
committerKristian Høgsberg Kristensen <krh@owl.jf.intel.com>
Mon, 4 Jan 2016 18:53:47 +0000 (10:53 -0800)
commit0f34a4ec4ee296121c0f2ae416d5899c846efd90
treea37598b2aec8f3c4f94998775de342ace82a7e31
parentabc1c9878f552b7b7212a5a04048091847ef1c23
isl: Use isl_align_npot for row_pitch

Many formats are not power-of-two bytes per pixels and we need the
non-power-of-two align macro here.

This reverts the revert from 4f9a211b, but keeps the change from a827b553
that fixed the yuv if-else mix-up.
src/isl/isl.c