This commit is contained in:
Branimir Karadžić
2026-07-14 23:52:38 -07:00
committed by GitHub
parent af0256b57a
commit d219e7c2d6

View File

@@ -1998,12 +1998,16 @@ VK_IMPORT_INSTANCE
}
}
if (UINT32_MAX == m_videoDecodeQueueFamily
|| NULL != g_platformData.context)
{
m_videoDecodeQueueFamily = m_globalQueueFamily;
}
if (NULL != g_platformData.context)
{
m_device =
m_externalDevice = (VkDevice)g_platformData.context;
m_videoDecodeQueueFamily = m_globalQueueFamily;
}
else
{
@@ -2064,11 +2068,6 @@ VK_IMPORT_INSTANCE
BX_TRACE("\t%s", enabledExtension[ii]);
}
if (UINT32_MAX == m_videoDecodeQueueFamily)
{
m_videoDecodeQueueFamily = m_globalQueueFamily;
}
const float queuePriorities[] = { 0.0f };
VkDeviceQueueCreateInfo dcqi[2];
bx::memSet(dcqi, 0, sizeof(dcqi) );