Skip to content

Instance buffer layout is incorrect under WASM #7

@ProfLander

Description

@ProfLander
  • Instances draw, but with incorrect positions
  • Instance buffer appears to be excessively padded
  • Manually drawing instances 0..64 for each indirect reveals that all the transform data is there,
    but at unexpectedly wide intervals instead of the expected 1-instance-wide
  • Experimented with explicitly specifying struct size and alignment, but makes no difference
  • Likely some unaccounted-for wgpu limit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions