projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a974949
)
glsl: Remove unused ARRAY_SIZE macro.
author
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 29 Oct 2010 18:42:22 +0000
(11:42 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 29 Oct 2010 18:43:30 +0000
(11:43 -0700)
It's also equivalent to Elements(...) which is already used elsewhere.
src/glsl/ir.h
patch
|
blob
|
history
diff --git
a/src/glsl/ir.h
b/src/glsl/ir.h
index 06198e4f3f619a2f29cabc6623f1ebb4c9281aa3..80e0f67d6d82624468f4aa27abdb1101c9028959 100644
(file)
--- a/
src/glsl/ir.h
+++ b/
src/glsl/ir.h
@@
-37,10
+37,6
@@
extern "C" {
#include "ir_visitor.h"
#include "ir_hierarchical_visitor.h"
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
-#endif
-
/**
* \defgroup IR Intermediate representation nodes
*