Merge pull request #9229 from Docteh/achy_breaky_heart

Add break for default cases
This commit is contained in:
Morph 2022-11-17 19:20:18 -05:00 committed by GitHub
commit e5a446a0df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 37 additions and 6 deletions

View file

@ -221,6 +221,7 @@ void Scheduler::SubmitExecution(VkSemaphore signal_semaphore, VkSemaphore wait_s
[[fallthrough]];
default:
vk::Check(result);
break;
}
});
chunk->MarkSubmit();

View file

@ -108,6 +108,7 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) {
break;
default:
ASSERT_MSG(false, "Invalid surface type");
break;
}
}
if (info.storage) {