Bump GLSL version for gl_PerVertex validation test
authorJames Helferty <jhelferty@nvidia.com>
Mon, 19 Jun 2017 19:51:56 +0000 (15:51 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 11 Aug 2017 15:06:27 +0000 (11:06 -0400)
commit66a2cffead77e869239ae9bf35e5ac87a2a36686
tree0c34b7df51afa30df174386b725a2d58a9ba61b2
parentdede38b74ca401d392ca80f26ca86c634c751e6b
Bump GLSL version for gl_PerVertex validation test

While gl_PerVertex was introduced into desktop GL in version 3.2, it
wasn't legal to redeclare it until after ARB_separate_shader_objects,
which became part of core in GL 4.1. This change bumps shader versions
up to GL 4.1 so we don't have to check for ARB_separate_shader_objects
all over the place.

Also add an error message in the event a subtest fails, so that it's
easier to identify which subtest(s) failed.

Components: OpenGL
VK-GL-CTS issue 505

Affects:

* KHR-GL41.CommonBugs.CommonBug_PerVertexValidation
* KHR-GL42.CommonBugs.CommonBug_PerVertexValidation
* KHR-GL43.CommonBugs.CommonBug_PerVertexValidation
* KHR-GL44.CommonBugs.CommonBug_PerVertexValidation
* KHR-GL45.CommonBugs.CommonBug_PerVertexValidation

Change-Id: I81405952e186377cb617e2d77063d09a0f5ce8fc
external/openglcts/modules/gl/gl3cCommonBugsTests.cpp