summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/shader/slang/slang_assemble_assignment.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_assemble_assignment.c b/src/mesa/shader/slang/slang_assemble_assignment.c
index fdd4355566b..551f5d9b110 100644
--- a/src/mesa/shader/slang/slang_assemble_assignment.c
+++ b/src/mesa/shader/slang/slang_assemble_assignment.c
@@ -87,6 +87,8 @@ static int assign_aggregate (slang_assembly_file *file, const slang_storage_aggr
case slang_stor_float:
ty = slang_asm_float_copy;
break;
+ default:
+ break;
}
if (!slang_assembly_file_push_label2 (file, ty, size - *index, *index))
return 0;