nvc0: fix emission of first 3 u8 indices to RING_NI
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 7 Jan 2011 23:20:53 +0000 (00:20 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 8 Jan 2011 01:13:10 +0000 (02:13 +0100)
src/gallium/drivers/nvc0/nvc0_vbo.c

index 46f67c884aa6acd2d65f725172db792fbaa53bfe..c6a88a75cf97a8665be9e40bd2deba272dc12018 100644 (file)
@@ -361,7 +361,7 @@ nvc0_draw_elements_inline_u08(struct nouveau_channel *chan, uint8_t *map,
 
    if (count & 3) {
       unsigned i;
-      BEGIN_RING(chan, RING_3D(VB_ELEMENT_U32), count & 3);
+      BEGIN_RING_NI(chan, RING_3D(VB_ELEMENT_U32), count & 3);
       for (i = 0; i < (count & 3); ++i)
          OUT_RING(chan, *map++);
       count &= ~3;