Bug 1924328 - feat(webgpu): recognize unimplemented dual-source-blending feature r=webgpu-reviewers,webidl,teoxoy,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D229829
This commit is contained in:
@@ -126,6 +126,10 @@ static Maybe<ffi::WGPUFeatures> ToWGPUFeatures(
|
||||
|
||||
case dom::GPUFeatureName::Float32_filterable:
|
||||
return Some(WGPUFeatures_FLOAT32_FILTERABLE);
|
||||
|
||||
case dom::GPUFeatureName::Dual_source_blending:
|
||||
// TODO: https://bugzilla.mozilla.org/show_bug.cgi?id=1924328
|
||||
return Nothing(); // Some(WGPUFeatures_DUAL_SOURCE_BLENDING);
|
||||
}
|
||||
MOZ_CRASH("Bad GPUFeatureName.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user