Lines Matching refs:dawn_native
27 #include "dawn_native/OpenGLBackend.h"
86 static wgpu::Device createDevice(const dawn_native::Instance& instance,
87 dawn_native::BackendType type) {
88 DawnProcTable backendProcs = dawn_native::GetProcs();
91 std::vector<dawn_native::Adapter> adapters = instance.GetAdapters();
92 for (dawn_native::Adapter adapter : adapters) {
101 std::unique_ptr<dawn_native::Instance> instance = std::make_unique<dawn_native::Instance>();
106 dawn_native::BackendType type;
108 dawn_native::opengl::AdapterDiscoveryOptions adapterOptions;
119 type = dawn_native::BackendType::OpenGL;
123 type = dawn_native::BackendType::Metal;
125 type = dawn_native::BackendType::D3D12;
127 type = dawn_native::BackendType::Vulkan;
155 DawnTestContextImpl(std::unique_ptr<dawn_native::Instance> instance,