summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang')
-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 fdd4355566..551f5d9b11 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;