Skip to content

WGSL: limit types that can go into arrays and structs #1409

@dneto0

Description

@dneto0

We don't want a pointer, texture, or sampler to exist in a structure or array. (In the future we'll want arrays of textures.)

Currently that's not captured.

Because of the recursive nature of these types, we can't just define a new class of types similar to host-shareable or IO-shareable. That would introduce circularity.

Metadata

Metadata

Assignees

Labels

wgslWebGPU Shading Language Issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions