projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: Add assert to check variable_entry referenced_count after construction.
[mesa.git]
/
src
/
glsl
/
ir_function.cpp
diff --git
a/src/glsl/ir_function.cpp
b/src/glsl/ir_function.cpp
index 0a97e014244501815916b19f3cbaeb4ccab82f3e..dfdec144b2feb3ace2740ac8975fe0dc2b900ee4 100644
(file)
--- a/
src/glsl/ir_function.cpp
+++ b/
src/glsl/ir_function.cpp
@@
-139,6
+139,9
@@
parameter_lists_match(const exec_list *list_a, const exec_list *list_b)
*/
score = (type_compare(actual->type, param->type) == 0) ? 0 : -1;
break;
+
+ default:
+ assert(false);
}
if (score < 0)