From b2fe8b4673c5c52b6c85c7db4ec7f626e1cb6b79 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 15 Dec 2015 17:24:18 -0800 Subject: [PATCH] nir/spirv: Add a missing break statement --- src/glsl/nir/spirv_to_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/nir/spirv_to_nir.c b/src/glsl/nir/spirv_to_nir.c index 6fe68f9e6bd..1b1d7b5098f 100644 --- a/src/glsl/nir/spirv_to_nir.c +++ b/src/glsl/nir/spirv_to_nir.c @@ -820,6 +820,7 @@ vtn_get_builtin_location(struct vtn_builder *b, case SpvBuiltInNumWorkgroups: *location = SYSTEM_VALUE_NUM_WORK_GROUPS; set_mode_system_value(mode); + break; case SpvBuiltInWorkgroupSize: /* This should already be handled */ unreachable("unsupported builtin"); -- 2.30.2