Fix uninitialized char arrays in ProgramInterfaceQueryTests.
authorShane del Solar <sdelsolar@nvidia.com>
Fri, 11 Nov 2016 02:32:05 +0000 (18:32 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 15 Dec 2016 16:06:51 +0000 (11:06 -0500)
commitfbbfddeae8fdcd5e5d31ed56223aa593e5ede993
treef42ec5be0928918a99d8ed345ae67bc00756d33f
parentf1dc9a1f971c1fada69ecbfc1ba10173f06b25e2
Fix uninitialized char arrays in ProgramInterfaceQueryTests.

Replicated from OpenGL/CTS Merge Request 432.

This patch initializes all of the char arrays in
the ProgramInterfaceQueryTests in the OpenGL and OpenGL ES versions of
conformance. Since they are char arrays
we should initialize them to the null terminator.

The motivation here is to prevent the verification script from
encountering unparsable tokens in the qpa result files from conformance.

This patch fixesOpengGL OSS-CTS issue 4.

Change-Id: Ia95742db876520d911b91039402dee46bbc6ebfe
external/openglcts/modules/gl/gl4cProgramInterfaceQueryTests.cpp
external/openglcts/modules/gles31/es31cProgramInterfaceQueryTests.cpp