mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 10:50:23 +01:00
compilers/clc: Add missing break statements.
fixes:c0cf7f578aReviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30301> (cherry picked from commite5b53d9408)
This commit is contained in:
parent
a12e4243f6
commit
ccfbb03ccd
2 changed files with 3 additions and 1 deletions
|
|
@ -634,7 +634,7 @@
|
|||
"description": "compilers/clc: Add missing break statements.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c0cf7f578a907298fc4dc24e312d187eaaaa155c",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -488,10 +488,12 @@ public:
|
|||
kernel.localSize[0] = ins->words[ins->operands[2].offset];
|
||||
kernel.localSize[1] = ins->words[ins->operands[3].offset];
|
||||
kernel.localSize[2] = ins->words[ins->operands[4].offset];
|
||||
break;
|
||||
case SpvExecutionModeLocalSizeHint:
|
||||
kernel.localSizeHint[0] = ins->words[ins->operands[2].offset];
|
||||
kernel.localSizeHint[1] = ins->words[ins->operands[3].offset];
|
||||
kernel.localSizeHint[2] = ins->words[ins->operands[4].offset];
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue