diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-12-05 21:11:04 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-02-26 14:58:37 +0100 |
commit | 45037939e350f438c83fcf21d27be9e33f1c7557 (patch) | |
tree | d84252b5bdf16cd18da3fcee9fe4c77b5d826436 | |
parent | 53fe5b334ee2d373cec861580121f3ece06bdd07 (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]; }; |