};
std::vector<vk::VkSwapchainCreateInfoKHR> generateSwapchainConfigs (vk::VkSurfaceKHR surface,
- deUint32 queueFamilyIndex,
+ const deUint32 *queueFamilyIndex,
Scaling scaling,
const vk::VkSurfaceCapabilitiesKHR& properties,
const vector<vk::VkSurfaceFormatKHR>& formats,
imageUsage,
vk::VK_SHARING_MODE_EXCLUSIVE,
1u,
- &queueFamilyIndex,
+ queueFamilyIndex,
preTransform,
compositeAlpha,
presentMode,
imageUsage,
vk::VK_SHARING_MODE_EXCLUSIVE,
1u,
- &queueFamilyIndex,
+ queueFamilyIndex,
preTransform,
compositeAlpha,
presentMode,
, m_freeAcquireSemaphore ((vk::VkSemaphore)0)
, m_freeRenderSemaphore ((vk::VkSemaphore)0)
- , m_swapchainConfigs (generateSwapchainConfigs(*m_surface, m_queueFamilyIndex, testConfig.scaling, m_surfaceProperties, m_surfaceFormats, m_presentModes, testConfig.presentMode))
+ , m_swapchainConfigs (generateSwapchainConfigs(*m_surface, &m_queueFamilyIndex, testConfig.scaling, m_surfaceProperties, m_surfaceFormats, m_presentModes, testConfig.presentMode))
, m_swapchainConfigNdx (0u)
, m_frameCount (60u * 5u)
{
if (error.getError() == vk::VK_ERROR_OUT_OF_DATE_KHR)
{
- m_swapchainConfigs = generateSwapchainConfigs(*m_surface, m_queueFamilyIndex, m_testConfig.scaling, m_surfaceProperties, m_surfaceFormats, m_presentModes, m_testConfig.presentMode);
+ m_swapchainConfigs = generateSwapchainConfigs(*m_surface, &m_queueFamilyIndex, m_testConfig.scaling, m_surfaceProperties, m_surfaceFormats, m_presentModes, m_testConfig.presentMode);
if (m_outOfDateCount < m_maxOutOfDateCount)
{