Enable RBA feature where available

This commit is contained in:
Dzmitry Malyshau
2020-10-05 10:21:39 -04:00
parent bcb3162b2b
commit 0a67d6a7be

View File

@@ -649,7 +649,8 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
let available_features = adapter.raw.physical_device.features();
// Check features that are always needed
let wishful_features = hal::Features::VERTEX_STORES_AND_ATOMICS
let wishful_features = hal::Features::ROBUST_BUFFER_ACCESS
| hal::Features::VERTEX_STORES_AND_ATOMICS
| hal::Features::FRAGMENT_STORES_AND_ATOMICS
| hal::Features::NDC_Y_UP
| hal::Features::INDEPENDENT_BLENDING