From 93fb768c7e608a64db3a8fc94126880ae91c7147 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Fri, 12 Aug 2016 13:39:44 -0600 Subject: [PATCH] swr: [rasterizer core] align stats structures Signed-off-by: Tim Rowley --- src/gallium/drivers/swr/rasterizer/core/state.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.30.2