Fix extension check in ES3.2 BoundingBox test
authorGraeme Leese <graeme.leese@broadcom.com>
Thu, 11 May 2017 16:03:23 +0000 (17:03 +0100)
committerAlexander Galazin <alexander.galazin@arm.com>
Wed, 17 May 2017 08:48:28 +0000 (10:48 +0200)
The test is still using the suffixed name to access gl_BoundingBox[EXT],
which means it still needs to enable the extension.

Affects: dEQP-GLES31.functional.android_extension_pack.shaders.es32.
extension_directive.ext_primitive_bounding_box

Components: AOSP

VK-GL-CTS issue: 423

Change-Id: I652e59b6ca29b1d237028eac57fc860731378c35
(cherry picked from commit abef7613781dfc4b07b8a37cd17ab5fe3dfe0c01)

data/gles31/shaders/es32/android_extension_pack.test

index 65e336c..8b236c0 100644 (file)
@@ -282,8 +282,8 @@ group extension_directive "Extension directive"
                        {
                                tc_out[gl_InvocationID] = tc_in[gl_InvocationID];
                                // set bounding box to (-1,-1,-1, 1) .. (1,1,1,1)
-                               gl_BoundingBoxEXT[0] = vec4(tc_in[0]-2.0, tc_in[1]-2.0, tc_in[2]-2.0, 1.0);
-                               gl_BoundingBoxEXT[1] = vec4(tc_in[0], tc_in[1], tc_in[2], 1.0);
+                               gl_BoundingBox[0] = vec4(tc_in[0]-2.0, tc_in[1]-2.0, tc_in[2]-2.0, 1.0);
+                               gl_BoundingBox[1] = vec4(tc_in[0], tc_in[1], tc_in[2], 1.0);
                                ${TESSELLATION_CONTROL_OUTPUT}
                        }
                ""