util: move pipe_prim_names array into u_prim_name()
authorBrian Paul <brianp@vmware.com>
Mon, 23 Feb 2015 15:57:32 +0000 (08:57 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 23 Feb 2015 17:02:39 +0000 (10:02 -0700)
commit44375a3b1362cf88cd5b00463a8ae91376c8a93b
tree6c1fe763f326c1ba35245ad523350d8772c33d47
parentf1c67e37e66adfedb0ff944868d62918979349da
util: move pipe_prim_names array into u_prim_name()

Also, wrapping the array in #ifdef DEBUG / #endif doesn't seem necessary.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/util/u_debug.c