i965: Rename "prim" parameter to "prims" where it's an array.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 28 Aug 2013 21:59:03 +0000 (14:59 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 3 Sep 2013 18:29:33 +0000 (11:29 -0700)
commit6e143af66d679060136815ed85626eba3079cbb6
tree26af4bae5863f82eaaa7eeef2c2eb800f1145a59
parent9f7d5870a31bc9fab6c42acba4ae97e4f9bdb2b9
i965: Rename "prim" parameter to "prims" where it's an array.

Some drawing functions take a single _mesa_prim object, while others
take an array of primitives.  Both kinds of functions used a parameter
called "prim" (the singular form), which was confusing.

Using the plural form, "prims," clearly communicates that the parameter
is an array of primitives.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw.h
src/mesa/drivers/dri/i965/brw_primitive_restart.c