From d7c55555ac6b6bf60cf7fd54dfea0e62ce57542c Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 20 Aug 2009 21:39:02 +0200 Subject: nv50: use VTX_ATTR_nF for constant vtxelts --- src/gallium/drivers/nv50/nv50_state_validate.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/nv50/nv50_state_validate.c') 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; -- cgit v1.2.3