gpu: begin Dawn gpu.Interface implementation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
75a09c7828
commit
e702ee4911
4 changed files with 1285 additions and 0 deletions
14
gpu/src/mach_dawn.cpp
Normal file
14
gpu/src/mach_dawn.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <dawn/native/DawnNative.h>
|
||||
#include "dawn_native_mach.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MACH_EXPORT const DawnProcTable machDawnGetProcTable() {
|
||||
return dawn_native::GetProcs();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue