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

Should we raise an error if swizzle is used with sampleType: "depth" binding point? #5265

@beaufortfrancois

Description

@beaufortfrancois

Following up (again) on #5217 (comment), if you apply a non-default swizzle to the view and use it with a sampleType: "depth" binding point, should we get a GPU validation error or shall we ignore the swizzle?

I'd be inclined to raise a GPU validation error if it doesn't make sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions