mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-08 10:03:51 +00:00
fix(editor): add GPU buffer validation logging in M2 render path
This commit is contained in:
parent
e97d6d0c23
commit
b1162a2ac5
1 changed files with 6 additions and 0 deletions
|
|
@ -945,6 +945,12 @@ void M2Renderer::render(VkCommandBuffer cmd, VkDescriptorSet perFrameSet, const
|
|||
|
||||
auto mdlIt = models.find(groupModelId);
|
||||
if (mdlIt == models.end() || !mdlIt->second.vertexBuffer || !mdlIt->second.indexBuffer) {
|
||||
if (forceNoCull_ && mdlIt != models.end()) {
|
||||
LOG_WARNING("M2 skip model ", groupModelId, " '", mdlIt->second.name,
|
||||
"': vb=", (void*)mdlIt->second.vertexBuffer,
|
||||
" ib=", (void*)mdlIt->second.indexBuffer,
|
||||
" batches=", mdlIt->second.batches.size());
|
||||
}
|
||||
visStart = groupEnd;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue