Closed Bug 1878317 Opened 2 years ago Closed 1 year ago

WebGPU demo (https://react-webgpu-samples.vercel.app/ndc-triangle) doesnt draw anything and there is no error in console

Categories

(Core :: Graphics: WebGPU, defect, P1)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Go to https://react-webgpu-samples.vercel.app/ndc-triangle

AR: Nothing is drawn on the screen
ER: triangle should draw. Chrome renders the triangle.

Surprisingly, there is no error in the console

Blocks: webgpu-apps
Severity: -- → S2

WebGPU is unreleased tech. Dropping Severity to S3 to remove from org tracking.

Severity: S2 → S3
Priority: -- → P1

NI'ing for root cause investigation, no promises on ETA.

Flags: needinfo?(egubler)

I've created what I believe is an equivalent to what the page does in native WGPU code (see new attachment titled bug-1878317-native-repro.zip). I think this eliminates quite a bit of space in which this issue could be caused; I suspect either Float32Array interop. with the JS runtime, or a presentation issue on the canvas element.

This WFM now. 😅

No longer blocks: webgpu-triage
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(egubler)
Resolution: --- → WORKSFORME

Bisection points to:

Bug 1910150: Update wgpu to 9c6ae1be (2024-7-31) r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D218695

Depends on: 1910150
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: