From: Tim Rowley Date: Fri, 12 Aug 2016 19:39:44 +0000 (-0600) Subject: swr: [rasterizer core] align stats structures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93fb768c7e608a64db3a8fc94126880ae91c7147;p=mesa.git swr: [rasterizer core] align stats structures Signed-off-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/rasterizer/core/state.h b/src/gallium/drivers/swr/rasterizer/core/state.h index 988de75f4d5..7efae5646f1 100644 --- a/src/gallium/drivers/swr/rasterizer/core/state.h +++ b/src/gallium/drivers/swr/rasterizer/core/state.h @@ -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.