GL43: Use zero for DrawArraysIndirectCommand reserved field
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 26 Sep 2019 09:29:42 +0000 (11:29 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 8 Oct 2019 08:01:28 +0000 (04:01 -0400)
commitacf027d2331609d69eec3454a454cb7f5b45b4f5
treeec926effb38806861d9f08f283432090e7512795
parent6acdb386a5b49cad2ede372693aeaca1a9c85648
GL43: Use zero for DrawArraysIndirectCommand reserved field

The test negative-gshIncompatible-arrays is using a non-zero value for
the DrawArraysIndirectCommand reserved field, but quoting its Title,
Purpose and Method:

 "Negative: incompatible the input primitive type of gsh - glDrawArrayIndirect";

 "Verify that a driver sets error and no driver crash occurred";

 "1. Bind non-zero buffer"
 "2. Set data"
 "3. Set wrong geometry shader"
 "4. Call glDrawArrayIndirect"

Testing non-zero values for the reserved field is not one of its
objectives. This seems a C&P error.

Components: OpenGL

VK-GL-CTS issue: 2023

Affects:
KHR-GL43.draw_indirect.negative-gshIncompatible-arrays

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