gallium: use c++11 alignas instead of PIPE_ALIGN_VAR

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16908>
This commit is contained in:
Erik Faye-Lund 2022-06-08 11:06:38 +02:00 committed by Marge Bot
parent 04ca04ba46
commit 1b53fb625e
1 changed files with 2 additions and 2 deletions

View File

@ -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: