nv50: allow vert_count to be >255
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 25 Nov 2013 08:18:34 +0000 (03:18 -0500)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 27 Jan 2014 15:40:42 +0000 (16:40 +0100)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_program.h

index 13b9516..9516727 100644 (file)
@@ -87,8 +87,8 @@ struct nv50_program {
    } fp;
 
    struct {
+      uint32_t vert_count;
       ubyte primid; /* primitive id output register */
-      uint8_t vert_count;
       uint8_t prim_type; /* point, line strip or tri strip */
    } gp;