mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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:
parent
7820c8c13f
commit
71ee4e2853
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ namespace {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case SpvOpDecorate: {
|
||||
const auto id = get<SpvId>(inst, 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue