gl4cComputeShaderTests: correct conversion
authorAndres Gomez <agomez@igalia.com>
Thu, 23 May 2019 16:34:13 +0000 (18:34 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 9 Apr 2020 11:12:29 +0000 (07:12 -0400)
commitd087fc678724bb29d36342ae8df384538eca8dd3
tree602b32fb5531e484fbd93f14136c89c9ff3c907a
parent7cb1c48bbc43974d8311bcdb4c7ad3244c071088
gl4cComputeShaderTests: correct conversion

Bug 13124 - gl45 conformance: Fix GL45-CTS.compute_shader.max to work with giant numbers
and
Bug 13582 - Checking values from glGet* incorrectly
didn't complete the job of avoiding conversion problems.

Now, we make sure that the comparison is done in the type that won't
cause a problem.

Components: OpenGL

VK-GL-CTS public issue: 149

Affects:

KHR-GLES31.core.compute_shader.dispatch-indirect
KHR-GLES31.core.compute_shader.max
KHR-GL43.compute_shader.dispatch-indirect
KHR-GL43.compute_shader.max

Change-Id: I69047d95ca4418a84f138ac9bfa7818fea45cc64
external/openglcts/modules/gl/gl4cComputeShaderTests.cpp