Sitelet https://github.com/gpuweb/gpuweb/issues/822
Skip to content

Support for arrays of textures #822

Description

@muni-corn

I just wanted to get the ball rolling on support for arrays of textures in shaders. Coming from this issue on the wgpu-rs repo: gfx-rs/wgpu#106

The idea is to be able to use an array of 2d textures in shaders, as originally shown in the issue above:

layout(set = 0, binding = 1) uniform texture2D textures[1024];

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

    apiWebGPU APIfeature requestA request for a new GPU feature exposed in the API

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions