Fix stack underflow in incremental present test
authorLingfeng Yang <lfy@google.com>
Fri, 8 Feb 2019 15:36:00 +0000 (07:36 -0800)
committerYiwei Zhang <zzyiwei@google.com>
Thu, 16 May 2019 05:58:42 +0000 (01:58 -0400)
commitfea742745a4fd4678b104bbb1b9d6f4f793a5552
tree54315ec33ee62de89f5c469d8f63722c5f3d9af0
parentf0377fcaa981738ed6aa6831a99ce9e56a39a9f6
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
(cherry picked from commit a268922558ed0c353a7d8b6845f8d6279b72af29)
external/vulkancts/modules/vulkan/wsi/vktWsiIncrementalPresentTests.cpp