Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 8943dca

Browse files
WebGL 2 conformance: vertex_arrays/vertex_array_object.html
https://bugs.webkit.org/show_bug.cgi?id=188291 <rdar://problem/42792709> Source/WebCore: Patch by Justin Fan <[email protected]> on 2018-08-03 Reviewed by Dean Jackson. Get https://www.khronos.org/registry/webgl/conformance-suites/2.0.0/conformance2/vertex_arrays/vertex-array-object.html working on Mac OS and iOS, and check in the new test expectations. Existing test: webgl/2.0.0/conformance2/vertex_arrays/vertex-array-object.html * html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::initializeVertexArrayObjects): (WebCore::WebGL2RenderingContext::deleteVertexArray): * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::deleteObject): * html/canvas/WebGLVertexArrayObject.cpp: (WebCore::WebGLVertexArrayObject::WebGLVertexArrayObject): * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: (WebCore::GraphicsContext3D::checkVaryingsPacking const): (WebCore::GraphicsContext3D::createVertexArray): (WebCore::GraphicsContext3D::deleteVertexArray): (WebCore::GraphicsContext3D::isVertexArray): (WebCore::GraphicsContext3D::bindVertexArray): LayoutTests: Get https://www.khronos.org/registry/webgl/conformance-suites/2.0.0/conformance2/vertex_arrays/vertex-array-object.html working on Mac OS and iOS, and check in the new test expectations. Patch by Justin Fan <[email protected]> on 2018-08-03 Reviewed by Dean Jackson. * TestExpectations: No longer skipping vertex_arrays tests. The following FAILed before this patch but are now expecting PASSes. * webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt: * webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt: * webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt: * webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt: * webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt: * webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt: * webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt: * webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt: * webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt: * webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt: * webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt: * webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt: * webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt: * webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt: * webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt: * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt: * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@234566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 352b939 commit 8943dca

24 files changed

+104
-45
lines changed

LayoutTests/ChangeLog

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
2018-08-03 Justin Fan <[email protected]>
2+
3+
WebGL 2 conformance: vertex_arrays/vertex_array_object.html
4+
https://bugs.webkit.org/show_bug.cgi?id=188291
5+
<rdar://problem/42792709>
6+
7+
Get https://www.khronos.org/registry/webgl/conformance-suites/2.0.0/conformance2/vertex_arrays/vertex-array-object.html
8+
working on Mac OS and iOS, and check in the new test expectations.
9+
10+
Reviewed by Dean Jackson.
11+
12+
* TestExpectations: No longer skipping vertex_arrays tests.
13+
The following FAILed before this patch but are now expecting PASSes.
14+
* webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
15+
* webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
16+
* webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
17+
* webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
18+
* webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
19+
* webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
20+
* webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
21+
* webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
22+
* webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
23+
* webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
24+
* webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
25+
* webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
26+
* webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
27+
* webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
28+
* webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
29+
* webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
30+
* webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
31+
132
2018-08-03 Ryan Haddad <[email protected]>
233

334
Skip imported/w3c/web-platform-tests/FileAPI/reading-data-section/filereader_abort.html.

LayoutTests/TestExpectations

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,7 @@ webkit.org/b/186574 media/video-buffering-allowed.html [ Pass Failure ]
20542054
# All WebGL 1 and 2 tests for now
20552055
webgl/2.0.0 [ Skip ]
20562056
webgl/2.0.0/conformance2/glsl3 [ Pass ]
2057+
webgl/2.0.0/conformance2/vertex_arrays [ Pass ]
20572058

20582059
imported/w3c/web-platform-tests/css/css-display/run-in/run-in-contains-table-row-001.xht [ ImageOnlyFailure ]
20592060
imported/w3c/web-platform-tests/css/css-text-decor/text-emphasis-style-008.html [ ImageOnlyFailure ]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/array-as-return-value.html
4-
FAIL
4+
PASS
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/array-assign-constructor.html
4-
FAIL
4+
PASS
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/array-assign.html
4-
FAIL
4+
PASS
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/array-complex-indexing.html
4-
FAIL
4+
PASS
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/array-element-increment.html
4-
FAIL
4+
PASS
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/array-equality.html
4-
FAIL
4+
PASS
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/array-in-complex-expression.html
4-
FAIL
4+
PASS
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
22

33
Test: ../../resources/webgl_test_files/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec.html
4-
FAIL
4+
PASS
55

0 commit comments

Comments
 (0)