diff options
author | Kenneth Graunke <[email protected]> | 2010-11-10 23:14:45 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-11-15 13:33:57 -0800 |
commit | ee36f14fa54723f2da3cf6054f822ebf05cca247 (patch) | |
tree | 118a1971431979171c55ca86ab026d5f99ba5e52 /src/glsl/ir_function.cpp | |
parent | 62fe9c4efc77d0b9310e5e265f285205a3f862dc (diff) |
glsl: Remove GLSL_TYPE_FUNCTION define.
Functions are not first class objects in GLSL, so there is never a value
of function type. No code actually used this except for one function
which asserted it shouldn't occur. One comment mentioned it, but was
incorrect. So we may as well remove it entirely.
Diffstat (limited to 'src/glsl/ir_function.cpp')
-rw-r--r-- | src/glsl/ir_function.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_function.cpp b/src/glsl/ir_function.cpp index dfdec144b2f..8db70119ec2 100644 --- a/src/glsl/ir_function.cpp +++ b/src/glsl/ir_function.cpp @@ -70,7 +70,6 @@ type_compare(const glsl_type *a, const glsl_type *b) */ return (type_compare(a->fields.array, b->fields.array) == 0) ? 0 : -1; - case GLSL_TYPE_FUNCTION: case GLSL_TYPE_VOID: case GLSL_TYPE_ERROR: default: |