Skip to content

Instance buffer layout is incorrect under WASM #7

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions