``` [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader validation error: ┌─ Concat:44:3 │ 44 │ ╭ fn calculateInputIndex(index: u32) -> u32 { 45 │ │ let sizeInConcatAxis = array<u32, 2u>(uniforms.sizeInConcatAxis0,uniforms.sizeInConcatAxis1); 46 │ │ for (var i: u32 = 0u; i < 2; i += 1u ) { 47 │ │ if (index < sizeInConcatAxis[i]) { │ │ ^^^^^^^^^^^^^^^^^^^ naga::Expression [14] · │ 50 │ │ } 51 │ │ return 2u; │ ╰──────────────^ naga::Function [5] 20965> Chrome file doesn't exist: /Users/tarekziade/Dev/mozilla-central/obj-aarch64-apple-darwin23.5.0/dist/Firefox NightlyDebug.app/Contents/Resources/chrome/toolkit/content/global/ml/ort.webgpu.min.mjs.map [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader 'Softmax' parsing error: expected assignment or increment/decrement, found 'wg' ┌─ wgsl:30:15 │ 30 │ const wg = 64; │ ^^ expected assignment or increment/decrement [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader validation error: ┌─ Concat:49:3 │ 49 │ ╭ fn calculateInputIndex(index: u32) -> u32 { 50 │ │ let sizeInConcatAxis = array<u32, 2u>(uniforms.sizeInConcatAxis0,uniforms.sizeInConcatAxis1); 51 │ │ for (var i: u32 = 0u; i < 2; i += 1u ) { 52 │ │ if (index < sizeInConcatAxis[i]) { │ │ ^^^^^^^^^^^^^^^^^^^ naga::Expression [14] · │ 55 │ │ } 56 │ │ return 2u; │ ╰──────────────^ naga::Function [5] [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader 'Softmax' parsing error: expected assignment or increment/decrement, found 'wg' ┌─ wgsl:30:15 │ 30 │ const wg = 64; │ ^^ expected assignment or increment/decrement [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader 'Softmax' parsing error: expected assignment or increment/decrement, found 'wg' ┌─ wgsl:30:15 │ 30 │ const wg = 64; │ ^^ expected assignment or increment/decrement ```
Bug 1915572 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
``` [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader validation error: ┌─ Concat:44:3 │ 44 │ ╭ fn calculateInputIndex(index: u32) -> u32 { 45 │ │ let sizeInConcatAxis = array<u32, 2u>(uniforms.sizeInConcatAxis0,uniforms.sizeInConcatAxis1); 46 │ │ for (var i: u32 = 0u; i < 2; i += 1u ) { 47 │ │ if (index < sizeInConcatAxis[i]) { │ │ ^^^^^^^^^^^^^^^^^^^ naga::Expression [14] · │ 50 │ │ } 51 │ │ return 2u; │ ╰──────────────^ naga::Function [5] [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader 'Softmax' parsing error: expected assignment or increment/decrement, found 'wg' ┌─ wgsl:30:15 │ 30 │ const wg = 64; │ ^^ expected assignment or increment/decrement [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader validation error: ┌─ Concat:49:3 │ 49 │ ╭ fn calculateInputIndex(index: u32) -> u32 { 50 │ │ let sizeInConcatAxis = array<u32, 2u>(uniforms.sizeInConcatAxis0,uniforms.sizeInConcatAxis1); 51 │ │ for (var i: u32 = 0u; i < 2; i += 1u ) { 52 │ │ if (index < sizeInConcatAxis[i]) { │ │ ^^^^^^^^^^^^^^^^^^^ naga::Expression [14] · │ 55 │ │ } 56 │ │ return 2u; │ ╰──────────────^ naga::Function [5] [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader 'Softmax' parsing error: expected assignment or increment/decrement, found 'wg' ┌─ wgsl:30:15 │ 30 │ const wg = 64; │ ^^ expected assignment or increment/decrement [ERROR wgpu_core::device::global] Device::create_shader_module error: Shader 'Softmax' parsing error: expected assignment or increment/decrement, found 'wg' ┌─ wgsl:30:15 │ 30 │ const wg = 64; │ ^^ expected assignment or increment/decrement ```