From: Christoph Bumiller Date: Fri, 7 Jan 2011 23:20:53 +0000 (+0100) Subject: nvc0: fix emission of first 3 u8 indices to RING_NI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64b639959ff95baf96be5ec835c6c1e490ff80b6;p=mesa.git nvc0: fix emission of first 3 u8 indices to RING_NI --- diff --git a/src/gallium/drivers/nvc0/nvc0_vbo.c b/src/gallium/drivers/nvc0/nvc0_vbo.c index 46f67c884aa..c6a88a75cf9 100644 --- a/src/gallium/drivers/nvc0/nvc0_vbo.c +++ b/src/gallium/drivers/nvc0/nvc0_vbo.c @@ -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;