summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_linkage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_linkage.c b/src/gallium/auxiliary/util/u_linkage.c
index cefcb4c9f1..2f6f41ba84 100644
--- a/src/gallium/auxiliary/util/u_linkage.c
+++ b/src/gallium/auxiliary/util/u_linkage.c
@@ -63,7 +63,11 @@ util_semantic_set_from_program_file(struct util_semantic_set *set, const struct
semantic_index = info.output_semantic_index;
}
else
+ {
assert(0);
+ semantic_name = NULL;
+ semantic_index = NULL;
+ }
tgsi_parse_init(&parse, tokens);