这是indexloc提供的服务,不要输入任何密码
Skip to content

Should objects expose the descriptor they were created with? #1498

@kainino0x

Description

@kainino0x

Today, there's no way to do "reflection" on an object to see what descriptor it was created with (or what the results of defaulting were, or see what fields were obeyed), with a few exceptions: GPUDevice.features, GPUDevice.limits, and GPUPipelineBase.getBindGroupLayout().

Should we reflect descriptors for other objects?

  • Easy cases: buffer, texture, etc.
  • Hard cases: bind group layout, bind group

Non-blocking because adding them is a non-breaking change.

See also: #1497, #1309

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions