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

Commit 6d78a57a authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

libvulkan: update code gen templates

Update code-generator.tmpl to match the result from doing `$ apic
template ../api/vulkan.api code-generator.tmpl`.
Update null_driver.tmpl to match the result from doing `$ apic template
../api/vulkan.api null_driver.tmpl`.

Test: build
Change-Id: Idcf6c148fd0d49bb1b6a31e657e82970f52923c0
parent f0b76a04
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -16,12 +16,11 @@

// WARNING: This file is generated. See ../README.md for instructions.

#include <log/log.h>
#include <string.h>

#include <algorithm>

#include <log/log.h>

// to catch mismatches between vulkan.h and this file
#undef VK_NO_PROTOTYPES
#include "api.h"
+2 −0
Original line number Diff line number Diff line
@@ -20,7 +20,9 @@
#define LIBVULKAN_API_GEN_H

#include <vulkan/vulkan.h>

#include <bitset>

#include "driver_gen.h"

namespace vulkan {
+8 −7
Original line number Diff line number Diff line
@@ -37,8 +37,10 @@
#ifndef LIBVULKAN_API_GEN_H
#define LIBVULKAN_API_GEN_H

#include <bitset>
#include <vulkan/vulkan.h>

#include <bitset>

#include "driver_gen.h"

namespace vulkan {«
@@ -90,12 +92,11 @@ bool InitDispatchTable(

// WARNING: This file is generated. See ../README.md for instructions.

#include <log/log.h>
#include <string.h>

#include <algorithm>

#include <log/log.h>

// to catch mismatches between vulkan.h and this file
#undef VK_NO_PROTOTYPES
#include "api.h"
@@ -217,9 +218,10 @@ namespace {«
#ifndef LIBVULKAN_DRIVER_GEN_H
#define LIBVULKAN_DRIVER_GEN_H

#include <bitset>
#include <vulkan/vulkan.h>
#include <vulkan/vk_android_native_buffer.h>
#include <vulkan/vulkan.h>

#include <bitset>

namespace vulkan {«
namespace driver {«
@@ -271,12 +273,11 @@ bool InitDriverTable(VkDevice dev, PFN_vkGetDeviceProcAddr get_proc,

// WARNING: This file is generated. See ../README.md for instructions.

#include <log/log.h>
#include <string.h>

#include <algorithm>

#include <log/log.h>

#include "driver.h"

namespace vulkan {«
+1 −2
Original line number Diff line number Diff line
@@ -16,12 +16,11 @@

// WARNING: This file is generated. See ../README.md for instructions.

#include <log/log.h>
#include <string.h>

#include <algorithm>

#include <log/log.h>

#include "driver.h"

namespace vulkan {
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@

#include <vulkan/vk_android_native_buffer.h>
#include <vulkan/vulkan.h>

#include <bitset>

namespace vulkan {
Loading