Wrong shaders in glcParallelShaderCompileTests.cpp
authorRahul Jain <Rahul.Jain@amd.com>
Mon, 21 May 2018 11:48:01 +0000 (17:18 +0530)
committerRahul Jain <Rahul.Jain@amd.com>
Mon, 21 May 2018 11:48:01 +0000 (17:18 +0530)
commitfcb9b64bd852bff173687aa4849bfdeedc20abda
treeab20ee0554732410c829c0eef2a45a92beae6753
parent1654159cb505b2f36caa0673e336fe79ea6b5d41
Wrong shaders in glcParallelShaderCompileTests.cpp

In glcParallelShaderCompileTests.cpp:50
it is written as
"int main() {\n"

which is invalid as per spec.

As per spec GLSL 4.60, section 6.1 last paragraph:
It is a compile-time or link-time error to declare or define a function
main with any other parameters or return type.

in glcParallelShaderCompileTests.cpp:55

it is written as "out ver4 fragColor;\n"
it should be "out vec4 fragColor;\n"

there is no data type as "ver4"

Affects:
KHR-GL46.parallel_shader_compile.compilation_completion_parallel

Components: OpenGL

VK-GL-CTS issue: 1182

Change-Id: I2f213eeaf28039c1f36b7772257090d81e1f013e
external/openglcts/modules/common/glcParallelShaderCompileTests.cpp