diff options
author | Roland Scheidegger <[email protected]> | 2010-03-01 18:46:49 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-03-01 18:46:49 +0100 |
commit | e9441e1f88cc07365f4d7d9149ccefe128809645 (patch) | |
tree | 5f335a22b7b1c80485b8c3abb4259dbf884524d1 /src/gallium/drivers/r300/r300_context.h | |
parent | f89730385532056e89e3b9053c244a67f84e323e (diff) |
r300g: adapt to new vertex element cso
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 1eba8a8ed12..0ee0ab47a6b 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -247,6 +247,11 @@ struct r300_vertex_info { uint32_t vap_prog_stream_cntl_ext[8]; }; +struct r300_velems_state { + unsigned count; + struct pipe_vertex_element velem[]; +}; + extern struct pipe_viewport_state r300_viewport_identity; struct r300_context { @@ -317,8 +322,7 @@ struct r300_context { struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS]; int vertex_buffer_count; /* Vertex elements for Gallium. */ - struct pipe_vertex_element vertex_element[PIPE_MAX_ATTRIBS]; - int vertex_element_count; + struct r300_velems_state *velems; struct pipe_stencil_ref stencil_ref; |