From 0a67d6a7be205fe38e62c88d8e5394032be8764f Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Mon, 5 Oct 2020 10:21:39 -0400 Subject: [PATCH] Enable RBA feature where available --- wgpu-core/src/instance.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wgpu-core/src/instance.rs b/wgpu-core/src/instance.rs index d82545a955..e683de48a0 100644 --- a/wgpu-core/src/instance.rs +++ b/wgpu-core/src/instance.rs @@ -649,7 +649,8 @@ impl Global { 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