From 1b53fb625e01a997a72197600ae1689de813e2e5 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 8 Jun 2022 11:06:38 +0200 Subject: [PATCH] gallium: use c++11 alignas instead of PIPE_ALIGN_VAR Reviewed-by: Jesse Natalie Part-of: --- src/gallium/auxiliary/tessellator/p_tessellator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/tessellator/p_tessellator.cpp b/src/gallium/auxiliary/tessellator/p_tessellator.cpp index 06a6cfa583b..a1ffa1e936d 100644 --- a/src/gallium/auxiliary/tessellator/p_tessellator.cpp +++ b/src/gallium/auxiliary/tessellator/p_tessellator.cpp @@ -40,8 +40,8 @@ namespace pipe_tessellator_wrap private: typedef CHWTessellator SUPER; enum pipe_prim_type prim_mode; - PIPE_ALIGN_VAR(32) float domain_points_u[MAX_POINT_COUNT]; - PIPE_ALIGN_VAR(32) float domain_points_v[MAX_POINT_COUNT]; + alignas(32) float domain_points_u[MAX_POINT_COUNT]; + alignas(32) float domain_points_v[MAX_POINT_COUNT]; uint32_t num_domain_points; public: