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

Compat: Disallow texture*() of a texture_depth_2d_array with an offset #4513

@greggman

Description

@greggman

The initial proposal is below. This issue is a place to discuss


8. Disallow texture*() of a texture_depth_2d_array with an offset

Justification: OpenGL ES does not support textureOffset() on a sampler2DArrayShadow.

Alternatives considered:

  • emulate with a texture() call and use ALU for offset
    • pros:
      • compatibility, performance
    • cons:
      • untried

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU APIapi resolvedResolved - waiting for a change to the API specificationcompatWebGPU Compatibility ModewgslWebGPU Shading Language Issueswgsl resolvedResolved - waiting for a change to the WGSL specification

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions