From b2e70cc3d3ca0945abcc024856b5fd9992f3bc17 Mon Sep 17 00:00:00 2001 From: Aaron Loucks Date: Wed, 4 Mar 2020 22:22:26 -0500 Subject: [PATCH] [rs] Reexport Backend and DeviceType from wgpu-core These types are exposed on the `AdaptorInfo` struct. --- wgpu/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index a2ef9e5ba2..4ab1603330 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -17,6 +17,7 @@ use std::slice; use std::thread; pub use wgc::{ + Backend, binding_model::ShaderStage, command::{ CommandBufferDescriptor, @@ -31,6 +32,7 @@ pub use wgc::{ AdapterInfo, BackendBit, DeviceDescriptor, + DeviceType, Extensions, Limits, PowerPreference,