summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_text.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c
index 279a046e202..f2bf49e9f88 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_text.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.c
@@ -1007,6 +1007,10 @@ static boolean parse_immediate_data(struct translate_ctx *ctx, unsigned type,
case TGSI_IMM_INT32:
ret = parse_int(&ctx->cur, &values[i].Int);
break;
+ default:
+ assert(0);
+ ret = FALSE;
+ break;
}
if (!ret) {