Mesa (master): swr: [rasterizer core] align stats structures

Tim Rowley torowley at kemper.freedesktop.org
Wed Aug 17 22:12:46 UTC 2016


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

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Fri Aug 12 13:39:44 2016 -0600

swr: [rasterizer core] align stats structures

Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>

---

 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 988de75..7efae56 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.




More information about the mesa-commit mailing list