Fix invalid FLAT and uninitialized variable
authorJames Helferty <jhelferty@nvidia.com>
Thu, 1 Jun 2017 16:22:33 +0000 (12:22 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 9 Jun 2017 15:43:23 +0000 (11:43 -0400)
commit5d26c18efafe9c40aae756f92ca8ad43ccb49b77
tree95fd4e1c96ea1b72b4a41f76ed6a6759daace800
parente686387aac89cc1fefde98d2f80ca0401172dc95
Fix invalid FLAT and uninitialized variable

Fixes two issues in a negative test:

* Removes flat qualifier from vertex shader input, which is always
invalid and was causing a subtest of this negative test to always pass.

* Modifies the initial use of a variable from '+=' to '=' to fix an
uninitialized variable error.

Components: OpenGL

Affects:

KHR-GL45.enhanced_layouts.varying_component_without_location

VK-GL-CTS issue: 455

Change-Id: If24ea45ae13baaae83d68e6cd67109a1ffe6c050
external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp