Check for required features in no_attachment tests
authorGary Sweet <gsweet@broadcom.com>
Thu, 13 Jul 2017 14:08:07 +0000 (15:08 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 21 Jul 2017 16:03:26 +0000 (12:03 -0400)
commitc932b886c7b7fc1f51b7b1a3b3e99eb50465bfa7
tree40653f5dcc48c99e6ff174e95a190f0d05d69655
parenteea71953122ff8660899f89913fe44ba538ffb56
Check for required features in no_attachment tests

dEQP-VK.pipeline.framebuffer_attachment.no_attachments uses
gl_PrimitiveID and therefore requires geometry or tessellation support.

dEQP-VK.pipeline.framebuffer_attachment.no_attachments_ms additionally
uses gl_SampleID which requires sample rate shading support.

Add checks for these features are mark test as NotSupported if
they are not present.

Affects:

dEQP-VK.pipeline.framebuffer_attachment.no_attachments
dEQP-VK.pipeline.framebuffer_attachment.no_attachments_ms

Components: Vulkan

VK-GL-CTS issue: 573

Change-Id: Iff7710287e8c5844bd85982fb532381513ad2123
external/vulkancts/modules/vulkan/pipeline/vktPipelineFramebufferAttachmentTests.cpp