Add missing ToBackend implementation for Adapter

BUG=dawn:29

Change-Id: I00926dd201c7a8f24d769078540c75c25f210515
Reviewed-on: https://dawn-review.googlesource.com/c/3842
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez
2019-01-10 10:12:24 +00:00
committed by Commit Bot service account
parent 0d03b09623
commit 7aae840a22
7 changed files with 17 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ namespace {
namespace dawn_native { namespace opengl {
class Adapter;
using BindGroup = BindGroupBase;
using BindGroupLayout = BindGroupLayoutBase;
class Buffer;
@@ -44,6 +45,7 @@ namespace dawn_native { namespace opengl {
class TextureView;
struct OpenGLBackendTraits {
using AdapterType = Adapter;
using BindGroupType = BindGroup;
using BindGroupLayoutType = BindGroupLayout;
using BufferType = Buffer;