ac/surface/tests: fix the ARM build

Fixes: 8771d45a "ac/surface/tests: fix a random segfault in the modifier test"
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4655

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11754>
(cherry picked from commit c4644bf3e6)
This commit is contained in:
Marek Olšák 2021-07-06 13:15:12 -04:00 committed by Eric Engestrom
parent 43ade99dcc
commit 3230edbc0e
2 changed files with 2 additions and 5 deletions

View file

@ -1390,7 +1390,7 @@
"description": "ac/surface/tests: fix the ARM build",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "8771d45a741da6c6b764826a95f99e453e7afeb9"
},

View file

@ -42,10 +42,7 @@ struct test_entry {
unsigned char hash[20];
/* u_vector requires power of two sizing */
char padding[8];
#ifdef PIPE_ARCH_X86
char padding2[8];
#endif
char padding[sizeof(void*) == 8 ? 8 : 16];
};
static uint64_t