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