Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[buffer-view] Viewing the content of a storage buffer as different types. #5338

Copy link
Copy link
@Kangz

Description

@Kangz
Issue body actions

This is a bindless companion feature request.

With bindless developers will have much more GPU-centric algorithms that use storage buffers as large memory allocations with custom data in it. They might pass a "pointer" to the data to their shaders with an offset in storage buffer (through an immediate). At the moment to view the content of a storage buffer as any type at any offset, they need to declare it as a array<u32/uvec4> and manually index into it.

This is awkward. Instead we should have some way to view a range of a storage buffer as a struct type (with defined OOB behavior).

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language IssuesWebGPU Shading Language Issues

    Projects

    Status

    Future agenda
    Show more project fields

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.