From 291335b884b946118892647041b35ff6c0617217 Mon Sep 17 00:00:00 2001 From: y-novikov Date: Fri, 29 Mar 2019 23:04:14 -0400 Subject: [PATCH] Test that vertex attribute is preserved across context switches (#2843) See http://crbug.com/920033 for rationale for this test. --- .../conformance/attribs/00_test_list.txt | 1 + .../gl-vertex-attrib-context-switch.html | 79 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 sdk/tests/conformance/attribs/gl-vertex-attrib-context-switch.html diff --git a/sdk/tests/conformance/attribs/00_test_list.txt b/sdk/tests/conformance/attribs/00_test_list.txt index 36bcceea5d..317fe70233 100644 --- a/sdk/tests/conformance/attribs/00_test_list.txt +++ b/sdk/tests/conformance/attribs/00_test_list.txt @@ -12,3 +12,4 @@ gl-vertexattribpointer-offsets.html --min-version 1.0.2 gl-vertex-attrib-render.html gl-vertex-attrib-zero-issues.html --min-version 1.0.4 gl-vertex-attrib-unconsumed-out-of-bounds.html +--min-version 1.0.4 gl-vertex-attrib-context-switch.html diff --git a/sdk/tests/conformance/attribs/gl-vertex-attrib-context-switch.html b/sdk/tests/conformance/attribs/gl-vertex-attrib-context-switch.html new file mode 100644 index 0000000000..5cdfcf6a05 --- /dev/null +++ b/sdk/tests/conformance/attribs/gl-vertex-attrib-context-switch.html @@ -0,0 +1,79 @@ + + + + + + + WebGL Vertex Attrib Context Switch Test + + + + + + + + + +
+
+ + + + + +