diff options
-rw-r--r-- | src/gallium/auxiliary/util/u_linkage.c | 4 |
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 cefcb4c9f1e..2f6f41ba843 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); |