Closed Bug 1985189 Opened 1 year ago Closed 1 year ago

Ghadeer's Playcloud's `Texture 3D` demo fails to run

Categories

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

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: ErichDonGubler, Unassigned)

References

(Blocks 1 open bug, )

Details

Steps to reproduce

  1. Open https://ghadeeras.github.io/pages/texture-3d. Observe that it does not run properly.

I'm being deliberately vague in the description because there are several symptoms on this page that I expect to change over time when they individually get resolved.

First is this shader compilation error:

Shader validation error: Function [1] 'calc_view_mat' is invalid
   ┌─ :63:5
   │  
63 │ ╭     fn calc_view_mat(t: f32) -> mat4x4<f32> {
64 │ │         let a = t * atan2(0.0, -1.0);
   │ │                           ^^^ naga::ir::Expression [1]
65 │ │         return mat4x4(
66 │ │              cos(a), 0.0, sin(a), 0.0,
   · │
69 │ │                 0.0, 0.0,   -4.0, 1.0
70 │ │         );
   │ ╰──────────^ naga::ir::Function [1]
   │  
   = Expression [1] is invalid
   = Abstract types may only appear in constant expressions

Just filed bug 1985191 to capture this.

Next is a crashing issue, which is captured at bug 1983609. A sample crash stack from my machine on Windows: https://crash-stats.mozilla.org/report/index/79848f44-287c-4cef-9fa9-083e00250826

Depends on: 1985191
Severity: -- → S3
Priority: -- → P3

I can confirm now that this is all fixed. Noice!

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