nir/spirv: Add a missing break statement
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Dec 2015 01:24:18 +0000 (17:24 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Dec 2015 01:24:18 +0000 (17:24 -0800)
src/glsl/nir/spirv_to_nir.c

index 6fe68f9e6bde44844cf6188dd15178ae8a1f4143..1b1d7b5098f46e878c8ecefdd2eca6a4cde054e4 100644 (file)
@@ -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");