diff options
author | Ben Skeggs <[email protected]> | 2008-03-21 23:03:25 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-03-21 23:03:25 +1100 |
commit | 3a0dd2e6d162fad6f98f337ee4f6b5dada1e37f3 (patch) | |
tree | 07eb3b355699ed575999d33e7caf19c6170f0720 /src | |
parent | 19b57690ad251e2b0714abe3a20893722bd99d54 (diff) |
nv40: ensure vb relocs don't end up on list for swtnl
Avoids bo code bailing out because of mapped buffers being validated.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_draw.c b/src/gallium/drivers/nv40/nv40_draw.c index 7c5e0df5b85..d05e5ad1936 100644 --- a/src/gallium/drivers/nv40/nv40_draw.c +++ b/src/gallium/drivers/nv40/nv40_draw.c @@ -236,6 +236,7 @@ nv40_draw_elements_swtnl(struct pipe_context *pipe, if (!nv40_state_validate_swtnl(nv40)) return FALSE; + nv40->dirty &= ~(1ULL << NV40_STATE_VTXBUF); nv40_state_emit(nv40); for (i = 0; i < PIPE_ATTRIB_MAX; i++) { |