summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-09-09 14:53:22 -0700
committerKenneth Graunke <[email protected]>2013-09-09 14:54:46 -0700
commit60850b7b9fbb9827d6841dbd4a4cd9b1e3554d45 (patch)
treef5eaed8ff8f333d67b2ab62867d9ad91408d8f21 /src/glsl/ir.h
parent260965b7a702efa099dbea6bb90bc5d7426e8465 (diff)
glsl: Rename ir_function_signature::builtin_info to builtin_avail.
builtin_info was originally going to be a structure containing a bunch of information, but after various rewrites, it turned into a boolean availability predicate. builtin_avail is a better name than builtin_info, since it doesn't store any information other than availability. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index bfbb94c5b15..691732b5627 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -608,7 +608,7 @@ class ir_function_signature : public ir_instruction {
*/
public:
ir_function_signature(const glsl_type *return_type,
- builtin_available_predicate builtin_info = NULL);
+ builtin_available_predicate builtin_avail = NULL);
virtual ir_function_signature *clone(void *mem_ctx,
struct hash_table *ht) const;
@@ -697,7 +697,7 @@ private:
* A function pointer to a predicate that answers whether a built-in
* function is available in the current shader. NULL if not a built-in.
*/
- builtin_available_predicate builtin_info;
+ builtin_available_predicate builtin_avail;
/** Function of which this signature is one overload. */
class ir_function *_function;