diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-12-05 21:11:04 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2011-02-25 19:56:56 +0100 |
commit | 949ef887d538fbf7731dd6d2bd44f128b7b26da5 (patch) | |
tree | 1a0dd2299fb0672c6cdf45d07e2ee42daf59a7cc | |
parent | b0e8aec5ab7f0e81dc0ea6c79ac7db2cca4788ed (diff) |
draw: Make sure that vertex_info is small
152 vs 88 bytes, this is mostly for the next patch.
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vertex.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex.h b/src/gallium/auxiliary/draw/draw_vertex.h index e63cf5f4f9..6610920621 100644 --- a/src/gallium/auxiliary/draw/draw_vertex.h +++ b/src/gallium/auxiliary/draw/draw_vertex.h @@ -84,9 +84,9 @@ struct vertex_info * memcmp() comparisons. */ struct { - unsigned interp_mode:4; /**< INTERP_x */ - unsigned emit:4; /**< EMIT_x */ - unsigned src_index:8; /**< map to post-xform attribs */ + uint16_t interp_mode:4; /**< INTERP_x */ + uint16_t emit:4; /**< EMIT_x */ + uint16_t src_index:8; /**< map to post-xform attribs */ } attrib[PIPE_MAX_SHADER_INPUTS]; }; |