Mesa (master): nv50: pass vtxbuf index as unsigned
Emil Velikov
evelikov at kemper.freedesktop.org
Sat Jan 18 19:16:36 UTC 2014
Module: Mesa
Branch: master
Commit: 19069803bed95e64bf43185e7f02550ebbf92dde
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19069803bed95e64bf43185e7f02550ebbf92dde
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu Jan 16 16:55:52 2014 +0000
nv50: pass vtxbuf index as unsigned
The index passed to the function is already unsigned, and internally
we threat it as unsigned.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
index 1dcccfe..208c116 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
@@ -189,7 +189,7 @@ nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb,
}
static INLINE void
-nv50_user_vbuf_range(struct nv50_context *nv50, int vbi,
+nv50_user_vbuf_range(struct nv50_context *nv50, unsigned vbi,
uint32_t *base, uint32_t *size)
{
assert(vbi < PIPE_MAX_ATTRIBS);
More information about the mesa-commit
mailing list