diff options
author | Christoph Bumiller <[email protected]> | 2011-01-15 12:18:52 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-01-15 12:18:52 +0100 |
commit | 1ae982adfd8144d11334895c39aca65dd30ad946 (patch) | |
tree | 3094c3dcbbcef33d49ea62189c4f0b9d33063fd6 /src/gallium/drivers/nvc0/nvc0_context.h | |
parent | b50d02e2e0729de101fd0acddeac21cca038786e (diff) |
nvc0: update user vbufs on each draw call
This is required in case set_vertex_buffers is not called again.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h index 0f340beb35a..eeb5beff7a7 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.h +++ b/src/gallium/drivers/nvc0/nvc0_context.h @@ -100,7 +100,8 @@ struct nvc0_context { struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; unsigned num_vtxbufs; struct pipe_index_buffer idxbuf; - uint32_t vbo_fifo; + uint32_t vbo_fifo; /* bitmask of vertex elements to be pushed to FIFO */ + uint32_t vbo_user; /* bitmask of vertex buffers pointing to user memory */ unsigned vbo_min_index; /* from pipe_draw_info, for vertex upload */ unsigned vbo_max_index; |