mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Fix MSAA 8x crash: clearValueCount must match attachment count
Render pass begin used 2 clear values but MSAA render pass has 3 attachments (MSAA color, depth, resolve). Vulkan requires clear value count >= attachment count, causing a driver crash at 8x. Also fix renderYawM2 reference removed in previous commit.
This commit is contained in:
parent
786b35ae0d
commit
b1a9d231c7
2 changed files with 6 additions and 3 deletions
|
|
@ -5670,7 +5670,7 @@ void Application::spawnOnlineGameObject(uint64_t guid, uint32_t entry, uint32_t
|
|||
}
|
||||
|
||||
uint32_t instanceId = m2Renderer->createInstance(modelId, renderPos,
|
||||
glm::vec3(0.0f, 0.0f, renderYawM2), 1.0f);
|
||||
glm::vec3(0.0f, 0.0f, renderYawWmo), 1.0f);
|
||||
if (instanceId == 0) {
|
||||
LOG_WARNING("Failed to create gameobject instance for guid 0x", std::hex, guid, std::dec);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue