Bug 210239 - [GTK][WPE] Error on simulated vertexAttrib0 array
Summary: [GTK][WPE] Error on simulated vertexAttrib0 array
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 209725 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-08 19:16 PDT by Diego Pino
Modified: 2022-09-29 12:39 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>