File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 3
3
package vulkan
4
4
5
5
/*
6
- #cgo CFLAGS: -I. -DVK_NO_PROTOTYPES
7
6
#cgo android LDFLAGS: -Wl,--no-warn-mismatch -lm_hard
8
7
#cgo android CFLAGS: -DVK_USE_PLATFORM_ANDROID_KHR -D__ARM_ARCH_7A__ -D_NDK_MATH_NO_SOFTFP=1 -mfpu=vfp -mfloat-abi=hard -march=armv7-a
9
8
Original file line number Diff line number Diff line change 3
3
package vulkan
4
4
5
5
/*
6
- #cgo CFLAGS: -I. -DVK_NO_PROTOTYPES
7
6
#cgo darwin CFLAGS: -DVK_USE_PLATFORM_MACOS_MVK -Wno-deprecated-declarations
8
7
#cgo darwin LDFLAGS: -F/Library/Frameworks -framework Cocoa -framework IOKit -framework IOSurface -framework QuartzCore -framework Metal -framework MoltenVK -lc++
9
8
Original file line number Diff line number Diff line change 4
4
package vulkan
5
5
6
6
/*
7
- #cgo CFLAGS: -I. -DVK_NO_PROTOTYPES
8
7
#cgo LDFLAGS: -framework Foundation -framework Metal -framework QuartzCore -framework MoltenVK -lc++
9
8
#cgo CFLAGS: -x objective-c -DVK_USE_PLATFORM_IOS_MVK
10
9
Original file line number Diff line number Diff line change
1
+ // +build linux,!android
2
+
3
+ package vulkan
4
+
5
+ /*
6
+ #cgo LDFLAGS: -ldl
7
+
8
+ #include "vk_wrapper.h"
9
+ #include "vk_bridge.h"
10
+ */
11
+ import "C"
You can’t perform that action at this time.
0 commit comments