summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_state.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-18 17:25:33 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-12-18 17:25:33 +0000
commitc31416971e4eac148f8e82d6c4392bd6f9cbc05d (patch)
tree90c5a1b4ef735d1709cc26271cb89232f7dd73a3 /src/mesa/pipe/p_state.h
parent208b2ad8ab51c472886388fdd872e3a86e2c1c5c (diff)
gallium: rationalize vertex_element state packet
Remove dst_offset (not used) Add nr_components, which could be calculated from format, but would be too much effort. Update i965 driver to cope.
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r--src/mesa/pipe/p_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h
index b7793c6d31..16d50fdb82 100644
--- a/src/mesa/pipe/p_state.h
+++ b/src/mesa/pipe/p_state.h
@@ -307,8 +307,8 @@ struct pipe_vertex_element
* this attribute live in?
*/
unsigned vertex_buffer_index:5;
-
- unsigned dst_offset:8;
+ unsigned nr_components:3;
+
enum pipe_format src_format; /**< PIPE_FORMAT_* */
};