mesa/varray: create get_array_format() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 31 Mar 2017 03:44:59 +0000 (14:44 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 19 Apr 2017 06:53:25 +0000 (16:53 +1000)
commit9e60742ddcce04bb218fda15f0b577f850668080
treebd2fcd52a595da4a2f1f4bf3321994c78629ab9a
parentd0608c43c5160687faa285b86dec09ce8786d5b4
mesa/varray: create get_array_format() helper

This will help us split array validation from array update.

V2: add const to ctx param

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/varray.c