summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_dump_state.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-02-17 16:44:38 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-02-17 16:44:38 +0100
commit464a72dd4154f314e08c9d0c4d07417e2bf255f0 (patch)
tree182319c2a6a98b69c54bccb6c699b3f1090e352b /src/gallium/auxiliary/util/u_dump_state.c
parentc2ad9e380121d43f8ac066b590f9929a56bd1b0f (diff)
gallium: remove redundant nr_components field from pipe_vertex_element
This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead.
Diffstat (limited to 'src/gallium/auxiliary/util/u_dump_state.c')
-rw-r--r--src/gallium/auxiliary/util/u_dump_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c
index eaf4ec90f2..196c5e06e9 100644
--- a/src/gallium/auxiliary/util/u_dump_state.c
+++ b/src/gallium/auxiliary/util/u_dump_state.c
@@ -701,7 +701,6 @@ util_dump_vertex_element(struct os_stream *stream, const struct pipe_vertex_elem
util_dump_member(stream, uint, state, src_offset);
util_dump_member(stream, uint, state, vertex_buffer_index);
- util_dump_member(stream, uint, state, nr_components);
util_dump_member(stream, format, state, src_format);