summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_state_validate.c
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2009-08-20 21:39:02 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2009-08-20 21:41:39 +0200
commitd7c55555ac6b6bf60cf7fd54dfea0e62ce57542c (patch)
tree45ec64a7145da87eb8486927d95629a27c89412d /src/gallium/drivers/nv50/nv50_state_validate.c
parent6d1f63f52029d8c3ba8849feb2cb0ca87427b8ac (diff)
nv50: use VTX_ATTR_nF for constant vtxelts
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state_validate.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_state_validate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index a879df2e6e..99d5b96e45 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -204,6 +204,8 @@ nv50_state_emit(struct nv50_context *nv50)
if (nv50->state.dirty & NV50_NEW_ARRAYS) {
so_emit(chan, nv50->state.vtxfmt);
so_emit(chan, nv50->state.vtxbuf);
+ if (nv50->state.vtxattr)
+ so_emit(chan, nv50->state.vtxattr);
}
nv50->state.dirty = 0;