From 0bf806e6c8a90b8252019ec0753151de108dc48b Mon Sep 17 00:00:00 2001 From: sufeng6 Date: Fri, 4 Nov 2022 09:04:57 +0800 Subject: [PATCH] fixed 1289730 from https://gitee.com/su-feng6/xts_acts/pulls/6358 add webgl testcases Signed-off-by: sufeng6 --- graphic/webGL/src/main/js/default/test/WebGL.test14.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test14.js b/graphic/webGL/src/main/js/default/test/WebGL.test14.js index 79c3758fa..04507ee14 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test14.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test14.js @@ -973,6 +973,9 @@ describe('webgl1Test_webgl14', function() { var x13 = gl2.ANY_SAMPLES_PASSED_CONSERVATIVE; expect(x13).assertEqual(36202); + var x14 = gl2.RGB10_A2; + expect(x14).assertEqual(32857); + var y1 = gl.LUMINANCE_ALPHA; expect(y1).assertEqual(6410); @@ -994,6 +997,9 @@ describe('webgl1Test_webgl14', function() { var y7 = gl.CONTEXT_LOST_WEBGL; expect(y7).assertEqual(37442); + var y8 = gl.ACTIVE_ATTRIBUTES; + expect(y8).assertEqual(35721); + done(); }); }) -- GitLab