Closed Bug 1950609 Opened 9 months ago Closed 5 months ago

[WebGPU] Demo at https://webgpu-ocean.netlify.app/ doesnt work in "SPH" simulation mode

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Go to https://webgpu-ocean.netlify.app/
From the right, select "SPH" as the simulation mode.

AR: Demo doesnt work as expected.

Profilw with webgpu preset logging: https://share.firefox.dev/43cdZtK

Error in webconsole:

17:27:20.691
WebGPU compilation info for shader module "prefix-sum" (1 error(s), 0 warning(s), 0 info)
17:27:20.691

Shader 'prefix-sum' parsing error: automatic conversions cannot convert elements of i32 to u32
┌─ wgsl:28:5

28 │ temp[ELM_TID] = select(items[ELM_GID], 0, ELM_GID >= ELEMENT_COUNT);
│ ^^^^^^^^^^^^^ ^^^^^^ this expression has type i32
│ │
│ a value with elements of type u32 is required here

17:27:20.691
Encountered one or more errors while creating shader module "prefix-sum"

Attached file about:support
Blocks: webgpu-apps
Severity: -- → S3

WFM now!

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED

Ah, no, STR says SPH mode, which is blocked on

Status: RESOLVED → REOPENED
Depends on: 1960453
Resolution: FIXED → ---
Status: REOPENED → NEW

WFM now, with dependencies satisfied! Woot!

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

Attachment

General

Creator:
Created:
Updated:
Size: