blob: 80687d9c95da1067516788bdbbcdefcfa53147f0 [file] [log] [blame]
guanghuafanb79e94a2016-03-29 11:08:23 -07001#!/bin/bash
2
3# Copyright 2015 The Android Open Source Project
4# Copyright (C) 2015 Valve Corporation
5
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9
10# http://www.apache.org/licenses/LICENSE-2.0
11
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17
18dir=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
19cd $dir
20
21rm -rf generated
22mkdir -p generated/include generated/common
23
Mark Lobodzinski7cb9ccd2017-01-10 11:55:48 -070024( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.h )
25( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.cpp )
Mark Lobodzinski8c4492b2017-01-10 13:59:58 -070026( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.h )
27( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.c )
Mark Lobodzinski6cb3e662016-12-27 14:47:47 -070028( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_enum_string_helper.h )
Mark Lobodzinskiabbd4092017-04-05 08:18:18 -060029( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_object_types.h )
Mark Lobodzinski68498842016-12-12 12:05:44 -070030( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_dispatch_table_helper.h )
31( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml thread_check.h )
Mark Lobodzinskid4950072017-08-01 13:02:20 -060032( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml parameter_validation.cpp )
Mark Lobodzinski68498842016-12-12 12:05:44 -070033( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml unique_objects_wrappers.h )
Mark Young0f183a82017-02-28 09:58:04 -070034( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_loader_extensions.h )
35( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_loader_extensions.c )
36( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_layer_dispatch_table.h )
Mark Lobodzinskia45f49f2017-06-01 07:46:20 -060037( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_extension_helper.h )
Mark Lobodzinski09fa2d42017-07-21 10:16:53 -060038( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml object_tracker.cpp )
John Zulaufde972ac2017-10-26 12:07:05 -060039( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_typemap_helper.h )
guanghuafanb79e94a2016-03-29 11:08:23 -070040
guanghuafanb79e94a2016-03-29 11:08:23 -070041exit 0