diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-04-04 14:36:54 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-04-04 14:38:23 +1100 |
| commit | b78206dfd3d3687b99f49ad191fceecea276c569 (patch) | |
| tree | 24881abea410b0bfacbfc92a237028ca4639ccb8 /src/layer.cc | |
| parent | 6209dda0b8d2bea5f349a9738b22a67fe3b66907 (diff) | |
Fix instances not tracking physical device children
Diffstat (limited to 'src/layer.cc')
| -rw-r--r-- | src/layer.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layer.cc b/src/layer.cc index 387a29e..5f00589 100644 --- a/src/layer.cc +++ b/src/layer.cc @@ -141,6 +141,9 @@ static VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDevices( iter->second = std::make_shared<PhysicalDeviceContext>(*context, device); } + + context->physical_devices.emplace( + key, std::static_pointer_cast<PhysicalDeviceContext>(iter->second)); } return VK_SUCCESS; |
