Redeclare built-in variables in separable shaders
authorWeiwan Liu <weiwliu@nvidia.com>
Fri, 31 Mar 2017 22:51:24 +0000 (15:51 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 7 Apr 2017 16:03:30 +0000 (12:03 -0400)
commit15bb9aa70fba41e6a7bc8c0651e3f99b1b6e28d9
tree88c911906de59d8df3caa689bef57c037c7f81a7
parent5e6ef9690ffa0a3eab958a0a79fc1b986ffe588d
Redeclare built-in variables in separable shaders

Change adds redeclaration of the built-in gl_perVertex struct
before using any of its member variables. Per spec, it is
necessary to do so for separable shaders.

Affects:

KHR-GL45.shader_image_size.* (46 tests)

Component: OpenGL

VK-GL-CTS issue: 343

Change-Id: I53372e9d98ee96201ab7f760e7ed16d78832f283
external/openglcts/modules/gl/gl4cShaderImageSizeTests.cpp