Fix resource leaks in arrays_of_arrays
authorMark Adams <marka@nvidia.com>
Fri, 3 Aug 2018 21:47:39 +0000 (17:47 -0400)
committerMark Adams <marka@nvidia.com>
Fri, 3 Aug 2018 21:47:39 +0000 (17:47 -0400)
commit2372b7f745577a34af8ab5585c8ca3bf575b4a4a
treedc8dc2eb21b3eb1695fa093cc06c190c9cf6a271
parent50efa56946494c608d71333832e50cd9f519e371
Fix resource leaks in arrays_of_arrays

The compute shader variants of the subroutine tests weren't freeing
the programs and not resetting all state. This resulted in leaked
memory on each test iteration.

VK-GL-CTS issue: 1298

Components: OpenGL

Affects:
KHR-GL*.arrays_of_arrays_gl.Subroutine*

Change-Id: Ia2152476c12f2141698dadd1b208090b28756ce3
external/openglcts/modules/gles31/es31cArrayOfArraysTests.cpp