Skip to content

Doesn't seem to work on Firefox? #1

@jaens

Description

@jaens
 WebGPU compilation info for shader module "compute_Broadphase Update AABBs" (1 error(s), 0 warning(s), 0 info)
17:53:26.319 
Shader validation error: Function [4] 'compute' is invalid
    ┌─ compute_Broadphase Update AABBs:56:1
    │  
 56 │ ╭ fn compute ( positions: ptr<storage, array<vec4f>, read>,
 57 │ │         velocities: ptr<storage, array<vec4f>, read>,
 58 │ │         quaternions: ptr<storage, array<vec4f>, read>,
 59 │ │         shapes: ptr<storage, array<vec4f>, read>,
    · │
117 │ │         aabbPositions[base + 8u] = pos.z;
118 │ │       }
    │ ╰───────^ naga::ir::Function [4]
    │  
    = Argument 'positions' at index 0 is a pointer of space Storage { access: StorageAccess(LOAD) }, which can't be passed into functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions