intel: Fix requests for exact surface row pitch (v2)
authorChad Versace <chadversary@chromium.org>
Sat, 25 Feb 2017 01:15:43 +0000 (17:15 -0800)
committerChad Versace <chadversary@chromium.org>
Tue, 28 Mar 2017 16:44:44 +0000 (09:44 -0700)
commit6cbc13d94c40f875926b8fd2129852759f314d14
treebfd2ce248cd8a996969848460288f04831e4237b
parente9017d58dcd0117c67788f7e2084b09f5d47a279
intel: Fix requests for exact surface row pitch (v2)

All callers of isl_surf_init() that set 'min_row_pitch' wanted to
request an *exact* row pitch, as evidenced by nearby asserts, but isl
lacked API for doing so. Now that isl has an API for that, update the
code to use it.

v2: Assert that isl_surf_init() succeeds because the callers assume
    it.  [for jekstrand]

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> (v1)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (v1)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
src/intel/blorp/blorp_blit.c
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_image.c