summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-01-08 00:20:53 +0100
committerChristoph Bumiller <[email protected]>2011-01-08 02:13:10 +0100
commit64b639959ff95baf96be5ec835c6c1e490ff80b6 (patch)
tree280848db6db544239477c0be9b549fd879fdc5c5 /src/gallium/drivers/nvc0
parentf5f086ca92ad7847d6b49ce91c601b66a34a68a8 (diff)
nvc0: fix emission of first 3 u8 indices to RING_NI
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_vbo.c2
1 files changed, 1 insertions, 1 deletions
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;