Closed Bug 1843703 Opened 2 years ago Closed 1 year ago

Demos on https://usegpu.live/demo/geometry/data do not display anything

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

enable webgpu
go to https://usegpu.live/demo/geometry/data

AR: nothing is drawn on the screen.

18:46:14.971 Encountered one or more errors while creating shader module
18:46:14.974 WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
18:46:14.974 Error matching FRAGMENT shader requirements against the pipeline, caused by: Shader module is invalid
18:46:15.007 In a draw command, indexed:false indirect:false, caused by: The pipeline layout, associated with the current render pipeline, contains a bind group layout at index 2 which is incompatible with the bind group layout associated with the bind group at 2
18:46:15.007 Command encoder is invalid

Shader validation error:
┌─ :30:1

30 │ ╭ fn _03_outlineSDF(sdf: f32, scale: f32) -> f32 {
31 │ │ let stroke = _VT_5_getOutlineStroke();
32 │ │ if (stroke > 0) { return min(sdf, -sdf + stroke * scale); }
│ │ ^^^^^^^^^^ naga::Expression [5]
33 │ │ return min(sdf, 0.4 - sdf);
│ ╰─────────────────────────────^ naga::Function [4]

Attached file about:support
Severity: -- → S3
Priority: -- → P3

This is working now on latest Nightly.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: