From: Graeme Leese Date: Thu, 11 May 2017 16:03:23 +0000 (+0100) Subject: Fix extension check in ES3.2 BoundingBox test X-Git-Tag: upstream/0.1.0~142^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a5b6dbfab94759af596ecbcf7659317deb45cfe;p=platform%2Fupstream%2FVK-GL-CTS.git Fix extension check in ES3.2 BoundingBox test 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) --- diff --git a/data/gles31/shaders/es32/android_extension_pack.test b/data/gles31/shaders/es32/android_extension_pack.test index 65e336c..8b236c0 100644 --- a/data/gles31/shaders/es32/android_extension_pack.test +++ b/data/gles31/shaders/es32/android_extension_pack.test @@ -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} } ""