-
Notifications
You must be signed in to change notification settings - Fork 329
Closed
Labels
apiWebGPU APIWebGPU APIpotentially breakingCould require a breaking change to the APICould require a breaking change to the APIwgslWebGPU 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
if you have
@group(0) @binding(0) var tex: texture_storage_2d<bgra8unorm, read>;
But you have not requested the 'bgra8unorm-storage'
feature, you don't get WGSL error at shader module creation time.
This seems inconsistent with the idea that in compat you do WGSL error for these (#4568):
@group(0) @binding(0) var tex: texture_storage_2d<rg32float, read>;
@group(0) @binding(1) var tex: texture_storage_2d<rg32sint, read>;
@group(0) @binding(2) var tex: texture_storage_2d<rg32uint, read>;
related to #4728
mwyrzykowski
Metadata
Metadata
Assignees
Labels
apiWebGPU APIWebGPU APIpotentially breakingCould require a breaking change to the APICould require a breaking change to the APIwgslWebGPU Shading Language IssuesWebGPU Shading Language Issueswgsl resolvedResolved - waiting for a change to the WGSL specificationResolved - waiting for a change to the WGSL specification