clover/spirv: Add missing break for SpvOpExecutionMode case.

Fix defect reported by Coverity Scan.

Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value SpvOpExecutionMode is not
terminated by a 'break' statement.

Fixes: ee5b46fcfd ("clover/spirv: support CL_KERNEL_COMPILE_WORK_GROUP_SIZE")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7519>
This commit is contained in:
Vinson Lee 2020-11-09 17:31:36 -08:00 committed by Marge Bot
parent 7820c8c13f
commit 71ee4e2853

View file

@ -199,6 +199,7 @@ namespace {
default:
break;
}
break;
case SpvOpDecorate: {
const auto id = get<SpvId>(inst, 1);