summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-12-17 13:48:21 -0800
committerPaul Berry <[email protected]>2013-01-08 09:08:57 -0800
commit8706395f25228d0e622cc56346c7181ba102edf4 (patch)
treea864b8b39c8c691943762cef3b587e7c47ed1e63 /src/glsl/linker.cpp
parent09df6bb96d5d7b987de6cd48d87d175e5cd2ccf3 (diff)
mesa: Add ALIGN() macro to main/macros.h.
Previously this macro existed in 3 separate places, some inside the intel driver and some outside of it. It makes more sense to have it in main/macros.h Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r--src/glsl/linker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index be08156e068..c5c462b7dd2 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -76,8 +76,6 @@ extern "C" {
#include "main/shaderobj.h"
}
-#define ALIGN(value, alignment) (((value) + alignment - 1) & ~(alignment - 1))
-
/**
* Visitor that determines whether or not a variable is ever written.
*/