-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
extensibilityAdding features without breaking API changesAdding features without breaking API changes
Description
Two questions regarding checking support for SPIRV and WGSL:
- How can I check that using a WGPUShaderSourceSPIRV in WGPUShaderModuleDescriptor is supported? Or can I expect all implementations to implement this? I see no feature flags for this in webgpu.h and wgpu-native panics when trying to use it. Dawn works, but it seems like adding a feature flag for this would make it more safer to use.
- I'm assuming that WGPUShaderSourceWGSL is always is supported by implementations when running in a browser, is this also true when running natively on desktop with something like Dawn or wgpu-native?
EDIT: Todo list
- > I did NOT rename WGPUFeatureName, WGPUSupportedFeatures, and WGPULimits because they're used for both Adapter and Device, so picking one could be confusing. That can be a separate step anyway.
Metadata
Metadata
Assignees
Labels
extensibilityAdding features without breaking API changesAdding features without breaking API changes