From: Jason Ekstrand Date: Wed, 16 Dec 2015 01:24:18 +0000 (-0800) Subject: nir/spirv: Add a missing break statement X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2fe8b4673c5c52b6c85c7db4ec7f626e1cb6b79;p=mesa.git nir/spirv: Add a missing break statement --- 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");