Don't check color outcome for tests that expect undefined behaviour
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 26 Sep 2019 09:55:49 +0000 (11:55 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 8 Oct 2019 08:04:48 +0000 (04:04 -0400)
commita5e0635e6c794d73403b875f5af4d2c7135d1a50
tree5a2f8e1fcaf8e6534547c529b377dd033f22ac68
parentacf027d2331609d69eec3454a454cb7f5b45b4f5
Don't check color outcome for tests that expect undefined behaviour

draw_indirect.misc-reservedMustBeZero-elements and its arrays
equivalent for both OpenGL and OpenGL ES tests the following paragraph
from the spec:

  "Results are undefined if reservedMustBeZero is non-zero, but must
   not lead to GL interruption or termination."

So it should check if there is no errors or crashes. But right now
those tests are also expecting a given color, that doesn't make sense
if the expected behaviour by spec is undefined.

This seems a C&P error from other tests.

Components: OpenGL, OpenGL ES

VK-GL-CTS issue: 2023

Affects:
KHR-GL41.draw_indirect.misc-reservedMustBeZero-arrays
KHR-GL41.draw_indirect.misc-reservedMustBeZero-elements
KHR-GLES31.core.draw_indirect.misc-reservedMustBeZero-arrays
KHR-GLES31.core.draw_indirect.misc-reservedMustBeZero-elements

Change-Id: I3e9a5d04893eec9359b55ea6c5130e940c943cf2
external/openglcts/modules/gles31/es31cDrawIndirectTests.cpp