summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/indices/u_indices.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-26 07:12:59 -0600
committerBrian Paul <[email protected]>2016-05-26 17:44:18 -0600
commita25ae485a6ae17fa78ffa51c3e4c08823cfffd88 (patch)
treedcac4e70fdfee3c2ed5b32916fd416cfbbd9f386 /src/gallium/auxiliary/indices/u_indices.c
parent21a3fb9cd838cdcbdf1be97453878abf74dd3f6f (diff)
util/indices,svga: s/unsigned/enum pipe_prim_type/
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/indices/u_indices.c')
-rw-r--r--src/gallium/auxiliary/indices/u_indices.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/indices/u_indices.c b/src/gallium/auxiliary/indices/u_indices.c
index 2b2d10c9cba..91f00f2bb7d 100644
--- a/src/gallium/auxiliary/indices/u_indices.c
+++ b/src/gallium/auxiliary/indices/u_indices.c
@@ -72,7 +72,7 @@ static void translate_memcpy_uint( const void *in,
*/
enum indices_mode
u_index_translator(unsigned hw_mask,
- unsigned prim,
+ enum pipe_prim_type prim,
unsigned in_index_size,
unsigned nr,
unsigned in_pv,
@@ -235,12 +235,12 @@ u_index_translator(unsigned hw_mask,
*/
enum indices_mode
u_index_generator(unsigned hw_mask,
- unsigned prim,
+ enum pipe_prim_type prim,
unsigned start,
unsigned nr,
unsigned in_pv,
unsigned out_pv,
- unsigned *out_prim,
+ enum pipe_prim_type *out_prim,
unsigned *out_index_size,
unsigned *out_nr,
u_generate_func *out_generate)