mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
dawn_native: Factor getting procs into a single function.
Now the backends only expose the creation of devices. Getting the procs is moved to DawnNative that will over time more backend-agnostic APIs.
This commit is contained in:
committed by
Corentin Wallez
parent
f9f44ae289
commit
dcb71a131c
@@ -24,9 +24,8 @@
|
||||
#include <vector>
|
||||
|
||||
namespace dawn_native { namespace vulkan {
|
||||
DAWN_NATIVE_EXPORT void Init(dawnProcTable* procs,
|
||||
dawnDevice* device,
|
||||
const std::vector<const char*>& requiredInstanceExtensions);
|
||||
DAWN_NATIVE_EXPORT dawnDevice
|
||||
CreateDevice(const std::vector<const char*>& requiredInstanceExtensions);
|
||||
|
||||
DAWN_NATIVE_EXPORT VkInstance GetInstance(dawnDevice device);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user