Add GeometryPointSize feature check
authorIlkka Saarelainen <ilkka.saarelainen@siru.fi>
Wed, 15 May 2019 12:01:14 +0000 (15:01 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 22 May 2019 09:38:08 +0000 (05:38 -0400)
commit563df0a4cf3ac3a11091a1f454bf7afd4992b259
tree332b918661e5391c2ea79c6cd27fdaf13179ee6f
parent9e53777781b4ffb97a61fb3323c2b5de259e5a80
Add GeometryPointSize feature check

Some tests were using gl_PointSize without checking if the
shaderTessellationAndGeometryPointSize feature is supported and enabled.

This CL adds the feature checks to those tests. If the feature is not
supported/enabled, an alternative geometry shader code without
gl_PointSize will be used.

Affects:

dEQP-VK.glsl.*geometry
dEQP-VK.ycbcr.*geometry*
dEQP-VK.query_pool.*
dEQP-VK.transform_feedback.simple.streams_pointsize*

Components: Vulkan

VK-GL-CTS issue: 1763

Change-Id: If58bb5129144bae8d51dca84a3d0c89b46be1343
(cherry picked from commit d4b80f34b70ae497b6bb0573859209ae28197a35)
external/vulkancts/modules/vulkan/query_pool/vktQueryPoolStatisticsTests.cpp
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp