nir/spirv: Add a missing break statement

This commit is contained in:
Jason Ekstrand 2015-12-15 17:24:18 -08:00
parent 1c51d91bfe
commit b2fe8b4673
1 changed files with 1 additions and 0 deletions

View 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");