diff options
author | Christoph Bumiller <[email protected]> | 2011-01-04 16:13:42 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-01-04 16:13:42 +0100 |
commit | 997f84ff4efb62779a19f6bd0441cbae1b7bad70 (patch) | |
tree | bea9a28625e5ed69afb8010ec597995a78774c9a /src/gallium/drivers/nvc0/nvc0_vbo.c | |
parent | 5b0e5e7389a5a09305bd47d69befefc5b85b4b2a (diff) |
nvc0: rewrite the 9097 GRAPH macros
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_vbo.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_vbo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_vbo.c b/src/gallium/drivers/nvc0/nvc0_vbo.c index 0a3f1aae2fa..15a4397515c 100644 --- a/src/gallium/drivers/nvc0/nvc0_vbo.c +++ b/src/gallium/drivers/nvc0/nvc0_vbo.c @@ -224,8 +224,8 @@ nvc0_vertex_arrays_validate(struct nvc0_context *nvc0) OUT_RING (chan, (1 << 12) | vb->stride); BEGIN_RING_1I(chan, RING_3D(VERTEX_ARRAY_SELECT), 5); OUT_RING (chan, i); - OUT_RESRCh(chan, res, size, NOUVEAU_BO_RD); - OUT_RESRCl(chan, res, size, NOUVEAU_BO_RD); + OUT_RESRCh(chan, res, size - 1, NOUVEAU_BO_RD); + OUT_RESRCl(chan, res, size - 1, NOUVEAU_BO_RD); OUT_RESRCh(chan, res, offset, NOUVEAU_BO_RD); OUT_RESRCl(chan, res, offset, NOUVEAU_BO_RD); } |