Skip to content

Behavior of GPUSamplerDescriptor.maxAnisotropy with a non power of two #3671

@teoxoy

Description

@teoxoy

Note: Most implementations support maxAnisotropy values in range between 1 and 16, inclusive. The used value of maxAnisotropy will be clamped to the maximum value that the platform supports.

descriptor.maxAnisotropy ≥ 1

The spec currently only talks about clamping to the max value that the platform supports and that the min value is 1.

It looks to me like there is missing validation for making sure it's a power of two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions