Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 927a222c authored by Chia-I Wu's avatar Chia-I Wu Committed by android-build-merger
Browse files

Merge "vulkan: rewrite top of loader" into nyc-dev

am: 1285a682

* commit '1285a682':
  vulkan: rewrite top of loader

Change-Id: Id3a9085d15d77f204185b2b8363839df28f6fc24
parents 40ed116e 1285a682
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ We generate several parts of the loader and tools from a Vulkan API description
- You should now have `$GOPATH/bin/apic`. You might want to add `$GOPATH/bin` to your `$PATH`.

### Generating code
To generate `libvulkan/dispatch_gen.*`,
To generate `libvulkan/*_gen.*`,
- `$ cd libvulkan`
- `$ apic template ../api/vulkan.api dispatch.tmpl`
- `$ apic template ../api/vulkan.api code-generator.tmpl`
Similar for `nulldrv/null_driver_gen.*`.
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ LOCAL_CLANG := true
LOCAL_SANITIZE := integer

LOCAL_CFLAGS := -DLOG_TAG=\"vulkan\" \
	-DVK_USE_PLATFORM_ANDROID_KHR \
	-std=c99 -fvisibility=hidden -fstrict-aliasing \
	-Weverything -Werror \
	-Wno-padded \
@@ -38,6 +39,8 @@ LOCAL_C_INCLUDES := \
	system/core/libsync/include

LOCAL_SRC_FILES := \
	api.cpp \
	api_gen.cpp \
	debug_report.cpp \
	dispatch_gen.cpp \
	layers_extensions.cpp \
Loading