Test Stream, XfbBuffer and XfbStride decorations on structs
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 7 Feb 2020 12:10:31 +0000 (13:10 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 3 Apr 2020 09:02:08 +0000 (05:02 -0400)
commitd981c5924983bbf5388bd5435c64eae7b8129cd5
tree70fae52f0613f0ae7b4250387ed6ee74facc5db6
parent511650cdaeef498b12388ee582815e664d763bd1
Test Stream, XfbBuffer and XfbStride decorations on structs

This commit modifies the QUERY_GET transform feedback basic tests to use
an output interface block instead of a standalone output variable, so as
to test applying the Stream, XfbBuffer and XfbStride SPIR-V decorations
on struct members. Other basic transform feedback tests remain unchanged
and use the existing interfaces.

Due to glslang applying those decorations, when specified, to the output
block directly instead of struct members, the new shader is written in
manually-tuned SPIR-V assembly.

Affected tests:
dEQP-VK.transform_feedback.simple.query*

Components: Vulkan
VK-GL-CTS issue: 2211

Change-Id: I9c615c431783872f1c823c10da9a157795989e85
external/vulkancts/modules/vulkan/transform_feedback/vktTransformFeedbackSimpleTests.cpp