-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
apiWebGPU APIWebGPU APIapi resolvedResolved - waiting for a change to the API specificationResolved - waiting for a change to the API specificationcompatWebGPU Compatibility ModeWebGPU Compatibility ModewgslWebGPU Shading Language IssuesWebGPU Shading Language Issueswgsl resolvedResolved - waiting for a change to the WGSL specificationResolved - waiting for a change to the WGSL specification
Milestone
Description
The initial proposal is below. This is a place to discuss
7. Disallow textureLoad() of depth textures in WGSL via validation.
Justification: OpenGL ES does not support texelFetch() of a depth texture.
Alternatives considered:
- bind to an RGBA8 binding point and use shader ALU
- pros:
- compatibility, performance
- cons:
- untried (does this work?)
- pros:
- use
texture()with quantized texture coordinates; massage the results- pros:
- compatibility, performance
- cons:
- untried
- complexity of implementation
- pros:
teopiaz
Metadata
Metadata
Assignees
Labels
apiWebGPU APIWebGPU APIapi resolvedResolved - waiting for a change to the API specificationResolved - waiting for a change to the API specificationcompatWebGPU Compatibility ModeWebGPU Compatibility ModewgslWebGPU Shading Language IssuesWebGPU Shading Language Issueswgsl resolvedResolved - waiting for a change to the WGSL specificationResolved - waiting for a change to the WGSL specification