Mesa (master): gallium: remove pointless bitfield restrction in pipe_vertex_element

Keith Whitwell keithw at kemper.freedesktop.org
Wed Jul 21 15:30:53 UTC 2010


Module: Mesa
Branch: master
Commit: d350695a6b86caaee6b2bd1d64b48a26159a8e95
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d350695a6b86caaee6b2bd1d64b48a26159a8e95

Author: Keith Whitwell <keithw at vmware.com>
Date:   Wed Jul 21 15:39:09 2010 +0100

gallium: remove pointless bitfield restrction in pipe_vertex_element

This used to be a somewhat packed struct, but no longer.  Remove the
last remaining bitfield tag.

---

 src/gallium/include/pipe/p_state.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 197b64e..44ffa26 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -419,7 +419,7 @@ struct pipe_vertex_element
    /** Which vertex_buffer (as given to pipe->set_vertex_buffer()) does
     * this attribute live in?
     */
-   unsigned vertex_buffer_index:8;
+   unsigned vertex_buffer_index;
  
    enum pipe_format src_format;
 };




More information about the mesa-commit mailing list