Bug 1910150 Comment 8 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

New failures around `countLeadingZeros`:

```
[task 2024-08-02T21:13:05.286Z] 21:13:05     INFO - TEST-START | /_mozilla/webgpu/cts/webgpu/shader/validation/expression/call/builtin/countLeadingZeros/cts.https.html?q=webgpu:shader,validation,expression,call,builtin,countLeadingZeros:float_argument:*
[task 2024-08-02T21:13:05.340Z] 21:13:05     INFO - Setting pref dom.webgpu.enabled to true
[task 2024-08-02T21:13:05.358Z] 21:13:05     INFO - Setting pref dom.webgpu.workers.enabled to true
[task 2024-08-02T21:13:08.012Z] 21:13:08     INFO - PID 18184 | [ERROR wgpu_core::device::global] Device::create_shader_module error:
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |     Shader '' parsing error: Cannot apply math function to type
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |       ┌─ wgsl:2:12
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |       │
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |     2 │ const v  = countLeadingZeros(0.0);
[task 2024-08-02T21:13:08.023Z] 21:13:08     INFO - PID 18184 |       │            ^^^^^^^^^^^^^^^^^ see msg
[task 2024-08-02T21:13:08.098Z] 21:13:08     INFO - PID 18184 | [ERROR wgpu_core::device::global] Device::create_shader_module error:
[task 2024-08-02T21:13:08.100Z] 21:13:08     INFO - PID 18184 |     Shader '' parsing error: Cannot apply math function to type
[task 2024-08-02T21:13:08.100Z] 21:13:08     INFO - PID 18184 |       ┌─ wgsl:2:12
[task 2024-08-02T21:13:08.101Z] 21:13:08     INFO - PID 18184 |       │
[task 2024-08-02T21:13:08.102Z] 21:13:08     INFO - PID 18184 |     2 │ const v  = countLeadingZeros(0.0f);
[task 2024-08-02T21:13:08.102Z] 21:13:08     INFO - PID 18184 |       │            ^^^^^^^^^^^^^^^^^ see msg
[task 2024-08-02T21:13:08.192Z] 21:13:08     INFO - PID 18184 | [ERROR wgpu_core::device::global] Device::create_shader_module error:
[task 2024-08-02T21:13:08.192Z] 21:13:08     INFO - PID 18184 |     Shader '' parsing error: expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file, found 'enable'
[task 2024-08-02T21:13:08.196Z] 21:13:08     INFO - PID 18184 |       ┌─ wgsl:1:1
[task 2024-08-02T21:13:08.197Z] 21:13:08     INFO - PID 18184 |       │
[task 2024-08-02T21:13:08.198Z] 21:13:08     INFO - PID 18184 |     1 │ enable f16;
[task 2024-08-02T21:13:08.198Z] 21:13:08     INFO - PID 18184 |       │ ^^^^^^ expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file
```
New failures around `countLeadingZeros`: EDIT: this is misleading. These error messages are correct WebGPU behavior, and have nothing to do with the failure, which seems to be a hang, since there's no output for five minutes in this stretch of the log:


```
[task 2024-08-02T21:13:09.109Z] 21:13:09     INFO - PID 18184 | [ERROR wgpu_core::device::global] Device::create_shader_module error:
[task 2024-08-02T21:13:09.109Z] 21:13:09     INFO - PID 18184 |     Shader '' parsing error: expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file, found 'enable'
[task 2024-08-02T21:13:09.109Z] 21:13:09     INFO - PID 18184 |       ┌─ wgsl:1:1
[task 2024-08-02T21:13:09.111Z] 21:13:09     INFO - PID 18184 |       │
[task 2024-08-02T21:13:09.111Z] 21:13:09     INFO - PID 18184 |     1 │ enable f16;
[task 2024-08-02T21:13:09.111Z] 21:13:09     INFO - PID 18184 |       │ ^^^^^^ expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file
[task 2024-08-02T21:18:49.599Z] 21:18:49     INFO - Got timeout in harness
[task 2024-08-02T21:18:49.606Z] 21:18:49     INFO - TEST-UNEXPECTED-TIMEOUT | /_mozilla/webgpu/cts/webgpu/shader/validation/expression/call/builtin/countLeadingZeros/cts.https.html?q=webgpu:shader,validation,expression,call,builtin,countLeadingZeros:float_argument:* | TestRunner hit external timeout (this may indicate a hang)
[task 2024-08-02T21:18:49.607Z] 21:18:49     INFO - TEST-INFO took 344321ms
```

Original error message that I was concerned about:

```
[task 2024-08-02T21:13:05.286Z] 21:13:05     INFO - TEST-START | /_mozilla/webgpu/cts/webgpu/shader/validation/expression/call/builtin/countLeadingZeros/cts.https.html?q=webgpu:shader,validation,expression,call,builtin,countLeadingZeros:float_argument:*
[task 2024-08-02T21:13:05.340Z] 21:13:05     INFO - Setting pref dom.webgpu.enabled to true
[task 2024-08-02T21:13:05.358Z] 21:13:05     INFO - Setting pref dom.webgpu.workers.enabled to true
[task 2024-08-02T21:13:08.012Z] 21:13:08     INFO - PID 18184 | [ERROR wgpu_core::device::global] Device::create_shader_module error:
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |     Shader '' parsing error: Cannot apply math function to type
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |       ┌─ wgsl:2:12
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |       │
[task 2024-08-02T21:13:08.015Z] 21:13:08     INFO - PID 18184 |     2 │ const v  = countLeadingZeros(0.0);
[task 2024-08-02T21:13:08.023Z] 21:13:08     INFO - PID 18184 |       │            ^^^^^^^^^^^^^^^^^ see msg
[task 2024-08-02T21:13:08.098Z] 21:13:08     INFO - PID 18184 | [ERROR wgpu_core::device::global] Device::create_shader_module error:
[task 2024-08-02T21:13:08.100Z] 21:13:08     INFO - PID 18184 |     Shader '' parsing error: Cannot apply math function to type
[task 2024-08-02T21:13:08.100Z] 21:13:08     INFO - PID 18184 |       ┌─ wgsl:2:12
[task 2024-08-02T21:13:08.101Z] 21:13:08     INFO - PID 18184 |       │
[task 2024-08-02T21:13:08.102Z] 21:13:08     INFO - PID 18184 |     2 │ const v  = countLeadingZeros(0.0f);
[task 2024-08-02T21:13:08.102Z] 21:13:08     INFO - PID 18184 |       │            ^^^^^^^^^^^^^^^^^ see msg
[task 2024-08-02T21:13:08.192Z] 21:13:08     INFO - PID 18184 | [ERROR wgpu_core::device::global] Device::create_shader_module error:
[task 2024-08-02T21:13:08.192Z] 21:13:08     INFO - PID 18184 |     Shader '' parsing error: expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file, found 'enable'
[task 2024-08-02T21:13:08.196Z] 21:13:08     INFO - PID 18184 |       ┌─ wgsl:1:1
[task 2024-08-02T21:13:08.197Z] 21:13:08     INFO - PID 18184 |       │
[task 2024-08-02T21:13:08.198Z] 21:13:08     INFO - PID 18184 |     1 │ enable f16;
[task 2024-08-02T21:13:08.198Z] 21:13:08     INFO - PID 18184 |       │ ^^^^^^ expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file
```

Back to Bug 1910150 Comment 8