anv/blit2d: Add a function to create an ImageView
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 18 Mar 2016 22:12:32 +0000 (15:12 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Sat, 26 Mar 2016 00:33:50 +0000 (17:33 -0700)
This function differs from the open-coded implementation in that the
ImageView's width is determined by the caller and is not unconditionally
set to match the number of texels within the surface's pitch.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>

No differences found