Skip to content

Should we raise an error if non-default swizzle is used without feature enabled? #5264

@beaufortfrancois

Description

@beaufortfrancois

Following up on #5217 (comment), I wonder if we should raise a GPU validation error if a non-default texture component swizzle is used without the feature enabled. We do something similar for unclippedDepth but I'd love the group to discuss and decide what's best in the context of the texture component swizzle proposal.

FWIW my understanding is that we should according to the following spec text:

Using a new dictionary member with a (correctly-typed) non-default value typically results in a validation error.

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