projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7c47c4
)
util/ralloc: fix ralloc alignment on Win64
author
Jesse Natalie
<jenatali@ntdev.microsoft.com>
Mon, 27 Jan 2020 17:41:42 +0000
(09:41 -0800)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 21 Apr 2020 21:56:21 +0000
(21:56 +0000)
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4648>
src/util/ralloc.c
patch
|
blob
|
history
diff --git
a/src/util/ralloc.c
b/src/util/ralloc.c
index 0d20223d98f8a9d8c128913267b46ea503fb8244..f36f8bf365425a2c7a18d95865d9f912f9d21234 100644
(file)
--- a/
src/util/ralloc.c
+++ b/
src/util/ralloc.c
@@
-53,7
+53,11
@@
_CRTIMP int _vscprintf(const char *format, va_list argptr);
*/
struct
#ifdef _MSC_VER
+#if _WIN64
+__declspec(align(16))
+#else
__declspec(align(8))
+#endif
#elif defined(__LP64__)
__attribute__((aligned(16)))
#else