Bug 191005
| Summary: | [GLIB] Several webgpu tests are failing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply, changseok, dpino, justin_fan, magomez, mcatanzaro |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Michael Catanzaro
webgpu/webgpu-enabled.html has been failing since it was added in r237239 "[WebGPU] Implement WebGPU bindings up through WebGPUDevice creation":
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-enabled-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-enabled-actual.txt
@@ -1,5 +1,7 @@
-PASS [object WebGPU] is defined.
-PASS successfullyParsed is true
+CONSOLE MESSAGE: line 16: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
TEST COMPLETE
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Miguel Gomez
These webgpu tests are failing as well, all of them because we can't create a webgpu context. I guess we should disable those until we support that?
webgpu/render-pipelines.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/render-pipelines-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/render-pipelines-actual.txt
@@ -1,11 +1,7 @@
-PASS [object WebGPU] is defined.
-PASS Successfully created WebGPURenderPipeline.
-PASS WebGPURenderPipeline with invalid WebGPURenderPipelineDescriptor was not created.
-PASS WebGPURenderPipeline with invalid shader module was not created.
-PASS WebGPURenderPipeline with invalid vertex shader stage was not created.
-PASS WebGPURenderPipeline with invalid vertex shader entry point was not created.
-PASS WebGPURenderPipeline with invalid WebGPUShaderStageEnum was not created.
-All tests complete.
+CONSOLE MESSAGE: line 18: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL [TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')]: See console!
PASS successfullyParsed is true
TEST COMPLETE
webgpu/shader-modules.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/shader-modules-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/shader-modules-actual.txt
@@ -1,8 +1,7 @@
-PASS [object WebGPU] is defined.
-PASS Bad shader code should not create a module.
-PASS Incomplete shader code should not create a module.
-PASS Shader module created successfully.
-All tests complete.
+CONSOLE MESSAGE: line 18: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL [TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')]: See console!
PASS successfullyParsed is true
TEST COMPLETE
webgpu/webgpu-basics.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-basics-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-basics-actual.txt
@@ -1,5 +1,7 @@
-PASS [object WebGPU] is defined.
-All tests complete.
+CONSOLE MESSAGE: line 18: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL [TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')]: See console!
PASS successfullyParsed is true
TEST COMPLETE
Miguel Gomez
Four new webgpu tests are failing with the same "Could not create WebGPU context":
webgpu/command-buffers.html [ Failure ]
webgpu/queue-creation.html [ Failure ]
webgpu/render-passes.html [ Failure ]
webgpu/textures-textureviews.html [ Failure ]
Miguel Gomez
More webgpu failing tests:
webgpu/buffers.html [ Failure ]
webgpu/pipeline-layouts.html [ Failure ]
webgpu/render-command-encoding.html [ Failure ]
webgpu/simple-triangle-strip.html [ ImageOnlyFailure ]
webgpu/vertex-buffer-triangle-strip.html [ ImageOnlyFailure ]
Michael Catanzaro
I'm just going to skip all the webgpu tests.
Diego Pino
There are 252 tests under webgpu/. Currently there are "only" 25 tests failing, both for GTK and WPE. Half of those failures are timing outs in webgpu/whlsl/separate-shader-modules/ (those tests should be skipped). The other are text failures. I think we should enable the tests.