swr: [rasterizer core] align stats structures
authorTim Rowley <timothy.o.rowley@intel.com>
Fri, 12 Aug 2016 19:39:44 +0000 (13:39 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 17 Aug 2016 22:08:55 +0000 (17:08 -0500)
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/state.h

index 988de75f4d519dc7d86f32285b39fb73f159d837..7efae5646f1c91833c62f027bf39690b29225dad 100644 (file)
@@ -558,7 +558,7 @@ struct SWR_FETCH_CONTEXT
 /// @brief All statistics generated by SWR go here. These are public
 ///        to driver.
 /////////////////////////////////////////////////////////////////////////
-struct SWR_STATS
+OSALIGNLINE(struct) SWR_STATS
 {
     // Occlusion Query
     uint64_t DepthPassCount; // Number of passing depth tests. Not exact.
@@ -574,7 +574,7 @@ struct SWR_STATS
 ///
 /// @brief All statistics generated by FE.
 /////////////////////////////////////////////////////////////////////////
-struct SWR_STATS_FE
+OSALIGNLINE(struct) SWR_STATS_FE
 {
     uint64_t IaVertices;    // Number of Fetch Shader vertices
     uint64_t IaPrimitives;  // Number of PA primitives.