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

Does getBindGroupLayout return the same underlying object or a new one? #3454

@kainino0x

Description

@kainino0x

In #3341 I changed it from the same object to a new one thinking that it made no difference since BGLs are compared by value (not by reference).

However it actually makes a difference to labels (see also #3263): when you set the label of a GPUBindGroupLayout object returned by getBindGroupLayout, does it change the label of other copies of the same BGL returned from getBindGroupLayout?

Metadata

Metadata

Assignees

No one assigned

    Labels

    copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions