gpu: begin Dawn gpu.Interface implementation

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 14:46:02 -07:00 committed by Stephen Gutekanst
parent 75a09c7828
commit e702ee4911
4 changed files with 1285 additions and 0 deletions

14
gpu/src/mach_dawn.cpp Normal file
View 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