mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
added independent blending to the list of required features
This commit is contained in:
1 parent
2547c43307
commit
cd87f1e80f
1 file changed
+1
@@ -581,6 +581,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
||||
let wishful_features = hal::Features::VERTEX_STORES_AND_ATOMICS
|
||||
| hal::Features::FRAGMENT_STORES_AND_ATOMICS
|
||||
| hal::Features::NDC_Y_UP
|
||||
| hal::Features::INDEPENDENT_BLENDING
|
||||
| hal::Features::SAMPLER_ANISOTROPY;
|
||||
let mut enabled_features = available_features & wishful_features;
|
||||
if enabled_features != wishful_features {
|
||||
|
||||
Reference in new issue
Block a user