Bug 210239

Summary: [GTK][WPE] Error on simulated vertexAttrib0 array
Product: WebKit Reporter: Diego Pino <dpino>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Description Diego Pino 2020-04-08 19:16:51 PDT
Test started to fail since r258875 ([WebGL] Skip vertexAttrib0 simulation when using ANGLE):

  fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays.html [ Failure ]

Diff:

--- /home/dpino/workspace/webkit-wpe/layout-test-results/retries/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-expected.txt
+++ /home/dpino/workspace/webkit-wpe/layout-test-results/retries/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-actual.txt
@@ -1 +1,2 @@
+CONSOLE MESSAGE: line 30: WebGL: INVALID_OPERATION: drawArrays: attempt to access outside the bounds of the simulated vertexAttrib0 array
Comment 1 Diego Pino 2020-05-05 07:21:33 PDT
A similar test is failing:

  fast/canvas/webgl/index-validation-with-subsequent-draws.html

The test started failing after r260889, but it's also happening in r260880 (without the bots reporting about this failure). It's likely this issue started to happen due to the switch to flatpak in r260889.
Comment 2 Diego Pino 2020-05-05 07:22:26 PDT
Forgot to add reference and diff.

See: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r260889%20(13542)/results.html

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/canvas/webgl/index-validation-with-subsequent-draws-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/canvas/webgl/index-validation-with-subsequent-draws-actual.txt
@@ -1 +1,3 @@
+CONSOLE MESSAGE: WebGL: INVALID_OPERATION: drawElements: unable to simulate vertexAttrib0 array
+CONSOLE MESSAGE: WebGL: INVALID_OPERATION: drawElements: unable to simulate vertexAttrib0 array
Comment 3 Lauro Moura 2021-03-26 15:58:14 PDT
*** Bug 209725 has been marked as a duplicate of this bug. ***
Comment 4 Alejandro G. Castro 2022-09-29 12:38:10 PDT
After replacing the WebGL backend with ANGLE this bug is fixed. The gardening commit is:

https://commits.webkit.org/255008@main
Comment 5 Radar WebKit Bug Importer 2022-09-29 12:39:19 PDT
<rdar://problem/100577616>