kernel4: replace continue in switch to support D3D11 shader model 5.0

Without this change, the fxc.exe compiler complains

error X3708: continue cannot be used in a switch

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur 2021-04-11 19:54:40 +02:00
parent 5e0cdcb193
commit 45ea43c157
2 changed files with 1 additions and 1 deletions

View file

@ -231,7 +231,7 @@ void main() {
case Cmd_Jump: case Cmd_Jump:
cmd_ref = CmdRef(Cmd_Jump_read(cmd_alloc, cmd_ref).new_ref); cmd_ref = CmdRef(Cmd_Jump_read(cmd_alloc, cmd_ref).new_ref);
cmd_alloc.offset = cmd_ref.offset; cmd_alloc.offset = cmd_ref.offset;
continue; break;
} }
} }

Binary file not shown.