anv/image: Refactor anv_image_make_surface()
authorChad Versace <chad.versace@intel.com>
Mon, 7 Dec 2015 17:22:49 +0000 (09:22 -0800)
committerChad Versace <chad.versace@intel.com>
Mon, 7 Dec 2015 17:28:14 +0000 (09:28 -0800)
commit9098e0f074a55dfe00bf1412b035e501fb70ad1d
treea9a0fc5585b776623f57b2110e517f606039baff
parent3d85a28e90b534bf032bc25ae661327b7e1c8758
anv/image: Refactor anv_image_make_surface()

Reduce the number of function parameters. Deduce the
anv_image::*_surface from the parameters instead of requiring the caller
to do that.
src/vulkan/anv_image.c