Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Show exact place where shader failed in Firefox Nightly #2517

Closed
munrocket opened this issue Sep 26, 2023 · 1 comment
Closed

Show exact place where shader failed in Firefox Nightly #2517

munrocket opened this issue Sep 26, 2023 · 1 comment
Assignees
Labels
resolution: invalid This doesn't seem right

Comments

@munrocket
Copy link

munrocket commented Sep 26, 2023

Description
Firefox Nightly now showing informative errors.

Repro steps
Open www.compute.toys or official example https://wgpu.rs/examples-gpu/?example=hello-compute in Firefox Nightly

Expected vs observed behavior
Compute should work or give a place where shader failed.

Extra materials

compute.toys error on Ubuntu
Encountered one or more errors while creating shader module
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
Error matching shader requirements against the pipeline, caused by: Shader module is invalid
Error matching shader requirements against the pipeline, caused by: Shader module is invalid [249.f88f322b2c8a4236.js:1:24872](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
In a set_pipeline command, caused by: Compute pipeline (1, 2, Vulkan) is invalid
In a set_pipeline command, caused by: Compute pipeline (1, 2, Vulkan) is invalid [249.f88f322b2c8a4236.js:1:24872](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
Command encoder is invalid
Command encoder is invalid [249.f88f322b2c8a4236.js:1:24872](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
In a pass parameter, caused by: Command encoder is invalid
In a pass parameter, caused by: Command encoder is invalid [249.f88f322b2c8a4236.js:1:24872](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
Encountered one or more errors while creating shader module
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
In a set_pipeline command, caused by: Compute pipeline (2, 2, Vulkan) is invalid
In a set_pipeline command, caused by: Compute pipeline (2, 2, Vulkan) is invalid [249.f88f322b2c8a4236.js:1:24872](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
Channel 0 loaded in 0.002s [249.f88f322b2c8a4236.js:1:24907](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
Channel 1 loaded in 0.001s [249.f88f322b2c8a4236.js:1:24907](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
Shader compiled in 0s [249.f88f322b2c8a4236.js:1:24907](https://compute.toys/_next/static/chunks/249.f88f322b2c8a4236.js)
Encountered one or more errors while creating shader module
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
In a set_pipeline command, caused by: Compute pipeline (3, 2, Vulkan) is invalid
In a set_pipeline command, caused by: Compute pipeline (3, 2, Vulkan) is invalid
wgpu.rs/compute error on Ubuntu ...nothing

Platform
Ubuntu with Cezanne Radeon Vega Series / Radeon Vega Mobile Series.

@ErichDonGubler
Copy link
Member

I believe that this is a duplicate of Firefox's tracking, which would mean that this issue doesn't belong here: https://bugzilla.mozilla.org/show_bug.cgi?id=1832860

I encourage you to CC yourself on the issue! It's likely to be a while before we get to this issue (we have actually running correctly for Windows on our plate first), but I'd really like to have folks to contact about the DX once we do get started. 🙂

@ErichDonGubler ErichDonGubler closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2023
@ErichDonGubler ErichDonGubler self-assigned this Sep 28, 2023
@ErichDonGubler ErichDonGubler added the resolution: invalid This doesn't seem right label Sep 28, 2023
@ErichDonGubler ErichDonGubler added this to the WGSL Specification V1 milestone Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants