diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-06 13:09:54 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-24 15:05:20 -0700 |
commit | 829e0a8eff0e657c85fa7fc53a4b456375b434cc (patch) | |
tree | d1d47b23b007496e055951ab9c9cf3ca7ef7465a /ir.h | |
parent | 110d5cc83c18999e578ef7485e3c976446176b81 (diff) |
ir_to_mesa: Add (almost) the rest of the builtin varyings.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ #include "ir_visitor.h" #include "ir_hierarchical_visitor.h" +#ifndef ARRAY_SIZE +#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) +#endif + struct ir_program { void *bong_hits; }; |