cell_array_info should not be 16-byte aligned
authorIan Romanick <idr@us.ibm.com>
Thu, 31 Jan 2008 03:34:22 +0000 (19:34 -0800)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:27 +0000 (13:50 +1100)
Forcing cell_array_info to be 16-byte aligned makes it more difficult
to stuff that state in batch commands.

src/mesa/pipe/cell/common.h

index a40cfb8210a7555ab0aa456aa8a9505e7688e1e9..533ad2cf6ebb8c8f08cdbfc4dfe417b2c767e58d 100644 (file)
@@ -128,7 +128,7 @@ struct cell_array_info
     uint attr;                /**< Attribute that this state if for. */
     uint pitch;               /**< Byte pitch from one entry to the next. */
     enum pipe_format format;  /**< Pipe format of each entry. */
-} ALIGN16_ATTRIB;
+};
 
 
 struct cell_shader_info