Fix stack underflow in incremental present test
authorLingfeng Yang <lfy@google.com>
Fri, 8 Feb 2019 15:36:00 +0000 (07:36 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 22 Feb 2019 10:53:51 +0000 (05:53 -0500)
commita268922558ed0c353a7d8b6845f8d6279b72af29
treecca2b18439619ea6ecaed3dbc773aa73d5a62c54
parent3fdc1e7c582271723efe07d79429fc9510bc8815
Fix stack underflow in incremental present test

This uses the current object's m_queueFamilyIndex instead of a queue
family index that is on the stack, avoiding using a stale stack address
when the test runs.

VK-GL-CTS issue: 1585

Affects:
dEQP-VK.wsi.*.incremental_present.*

Components: Vulkan

Change-Id: I80228651b799d3444676cdcbf5cc845bcb195fe9
external/vulkancts/modules/vulkan/wsi/vktWsiIncrementalPresentTests.cpp