diff options
author | Marek Olšák <[email protected]> | 2010-06-22 06:41:15 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-22 06:50:23 +0200 |
commit | eb7ef433bbbeabda963e74adf0ef61c47883f292 (patch) | |
tree | d3156aef99d24e5d4f287feaba065d4ace8b78d4 /src/gallium/drivers/r300/r300_context.h | |
parent | bd52246248b745fbf95e97ae188779474e212ff6 (diff) |
r300g: optimize the immediate mode emission path a bit
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index fdbdb4b192d..8d0b4bb3d37 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -363,6 +363,9 @@ struct r300_vertex_element_state { enum pipe_format hw_format[PIPE_MAX_ATTRIBS]; unsigned hw_format_size[PIPE_MAX_ATTRIBS]; + /* The size of the vertex, in dwords. */ + unsigned vertex_size_dwords; + /* This might mean two things: * - src_format != hw_format, as discussed above. * - src_offset % 4 != 0. */ |