mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +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
@@ -15,6 +15,7 @@
|
||||
#include "common/Assert.h"
|
||||
|
||||
#include "dawn_native/dawn_platform.h"
|
||||
#include "dawn_native/DawnNative.h"
|
||||
#include "dawn_native/ErrorData.h"
|
||||
#include "dawn_native/ValidationUtils_autogen.h"
|
||||
|
||||
@@ -156,7 +157,7 @@ namespace dawn_native {
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
dawnProcTable GetProcs() {
|
||||
dawnProcTable GetProcsAutogen() {
|
||||
dawnProcTable table;
|
||||
{% for type in by_category["object"] %}
|
||||
{% for method in native_methods(type) %}
|
||||
|
||||
Reference in New Issue
Block a user