summaryrefslogtreecommitdiff
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-08-20 20:04:39 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-08-26 09:19:48 -0700
commitb6f15869b324ae64a00d0fe46fa3c8c62c1edb6c (patch)
tree267c7c5db8270e6c77dbc6dee781646a4a16e4e4 /src/glsl/ir.h
parent5d25746640ee27882b69a962459727cf924443db (diff)
glsl: Move is_built_in flag from ir_function_signature to ir_function.
Also rename it to "is_builtin" for consistency. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 500b152408..0f887a9327 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -342,9 +342,6 @@ public:
/** Whether or not this function has a body (which may be empty). */
unsigned is_defined:1;
- /** Whether or not this function signature is a built-in. */
- unsigned is_built_in:1;
-
/** Body of instructions in the function. */
struct exec_list body;
@@ -410,6 +407,9 @@ public:
*/
const char *name;
+ /** Whether or not this function is a built-in. */
+ unsigned is_builtin:1;
+
/**
* List of ir_function_signature for each overloaded function with this name.
*/