Added constraints for random access flags
authorJari Komppa <jari.komppa@siru.fi>
Tue, 14 Nov 2017 12:21:06 +0000 (14:21 +0200)
committerJari Komppa <jari.komppa@siru.fi>
Wed, 22 Nov 2017 12:26:14 +0000 (14:26 +0200)
commitd3f47f028a7f2794c58229303f459188c69df19c
treee5337f795c3c21bec16845cb85ae09f718059598
parent6140c85a76b7866db94aaf77bcd5dca80490e19b
Added constraints for random access flags

The pipeline barrier tests randomize access flags and stages, sometimes
resulting in access flags being enabled for stages that do not support
said accesses. This fix removes the illegal access flags while leaving
the random flag generation intact.

Affects:

dEQP-VK.memory.pipeline_barrier.*

Components: Vulkan

VK-GL-CTS issue: 814

Change-Id: I135ea8a9e41b5d8428ef77fe6ecbdf2380d80c7d
external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp