mesa: Refactor update_array_format to make _mesa_update_array_format_public
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 4 Nov 2015 00:09:22 +0000 (16:09 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Nov 2015 19:31:28 +0000 (11:31 -0800)
commita336fcd36a4743c1ea6f8549cb31b48277359717
tree4ba1234600da9a6742212e941c14bd9cf15533cf
parent8fae494df2813bfa38f1aabd6c9b3c1ba3a5e4ef
mesa: Refactor update_array_format to make _mesa_update_array_format_public

Pulls the parts of update_array_format that aren't just parameter
validation out into a function that can be called from other parts of
Mesa (e.g., meta).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/varray.c
src/mesa/main/varray.h