Fix wrong wait stage mask
authorJoerg Wagner <jorg.wagner@arm.com>
Wed, 9 Oct 2019 18:53:46 +0000 (20:53 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 16 Oct 2019 11:40:04 +0000 (07:40 -0400)
commit40fee2723a74d0a7d5e73f34f560bc0336aac6b8
tree7d4bce8b3e2e7d800c4979222304d5cf22ff1053
parentdc84f640522a4a846b41f3b02e92735156df3ce6
Fix wrong wait stage mask

The wait stage mask wasn't accounting for the
stages the readers actually operate in, hence
being effectless.
Track the union of the reader's stage masks
and use that to block execution on the semaphore.

Affects:
dEQP-VK.synchronization.signal_order.*

Components: Vulkan
VK-GL-CTS issue: 2044

Change-Id: Ia4d5c7bcb9dd6eec25e7245dc41754acccd1b995
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationSignalOrderTests.cpp