Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Werner <stefan.werner@tangent-animation.com>2017-11-09 16:59:31 +0300
committerStefan Werner <stefan.werner@tangent-animation.com>2017-11-09 16:59:31 +0300
commitdf886b178c9c176eefb73617c997f85e9d750c2d (patch)
treef67327da4c800ac3f44dd6aaf2326e421e1aa03a /source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
parent83d9f8e37963e622fbd7d8c0902d077b67618f7b (diff)
Moved alignment attributes from my last commit to BLI_compiler_attrs.h for future use.
Diffstat (limited to 'source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp b/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
index c413e94c173..4d05ece7ef0 100644
--- a/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
+++ b/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
@@ -85,14 +85,7 @@ void GaussianXBlurOperation::updateGauss()
void GaussianXBlurOperation::executePixel(float output[4], int x, int y, void *data)
{
-#ifdef __SSE2__
-# if defined(_WIN32) && !defined(FREE_WINDOWS)
- __declspec(align(16))
-# else
- __attribute__((aligned(16)))
-# endif
-#endif
- float color_accum[4] = {0.0f, 0.0f, 0.0f, 0.0f};
+ float ATTR_ALIGN(16) color_accum[4] = {0.0f, 0.0f, 0.0f, 0.0f};
float multiplier_accum = 0.0f;
MemoryBuffer *inputBuffer = (MemoryBuffer *)data;
float *buffer = inputBuffer->getBuffer();