Skip to content

Run tests for new/experimental features if ANY part of the feature is available #4525

@kainino0x

Description

@kainino0x

As described here:

We don't control how websites do their feature detection, so if ANY part of the feature is visible, we need to test that ALL parts of the feature work correctly.

For example for Immediates:

navigator.gpu.wgslLanguageFeatures.has('immediate_address_space') || 'maxImmediateSize' in GPUSupportedLimits.prototype || 'setImmediate' in GPUComputePassEncoder.prototype || 'setImmediate' in GPURenderPassEncoder.prototype || 'setImmediate' in GPURenderBundleEncoder.prototype

Affects at least:

  • Immediates (cc @shaoboyan091)
  • Transient attachments (cc @beaufortfrancois) Never mind, I was wrong about this, transient attachments only add one feature-detectable thing so it's already correct.

but there should be several others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions