isl: Let isl_surf_init's caller set the exact row pitch (v2)
authorChad Versace <chadversary@chromium.org>
Sat, 25 Feb 2017 00:30:13 +0000 (16:30 -0800)
committerChad Versace <chadversary@chromium.org>
Tue, 28 Mar 2017 16:44:44 +0000 (09:44 -0700)
commite9017d58dcd0117c67788f7e2084b09f5d47a279
tree936363f5b519543121051095777d56049f455e0c
parent23802dafc2d5e04e6d2d444855961082b5887400
isl: Let isl_surf_init's caller set the exact row pitch (v2)

The caller does so by setting the new field
isl_surf_init_info::row_pitch.

v2: Validate the requested row_pitch.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
src/intel/isl/isl.c
src/intel/isl/isl.h