diff options
author | Jason Ekstrand <[email protected]> | 2015-12-15 17:24:18 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-15 17:24:18 -0800 |
commit | b2fe8b4673c5c52b6c85c7db4ec7f626e1cb6b79 (patch) | |
tree | b70a7c6db2681a7a5d9c3b3701d5fc97896aeb0a /src/glsl | |
parent | 1c51d91bfeb33fc750583729fb1b8a1d1d3e5258 (diff) |
nir/spirv: Add a missing break statement
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/nir/spirv_to_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |