blob: e8a33b016a2d0143d8c687c8fd9800795cf5c090 [file] [log] [blame]
Cody Northrop4a723522016-02-24 12:37:37 -07001@echo off
2REM # Copyright 2015 The Android Open Source Project
3REM # Copyright (C) 2015 Valve Corporation
4REM
5REM # Licensed under the Apache License, Version 2.0 (the "License");
6REM # you may not use this file except in compliance with the License.
7REM # You may obtain a copy of the License at
8REM
9REM # http://www.apache.org/licenses/LICENSE-2.0
10REM
11REM # Unless required by applicable law or agreed to in writing, software
12REM # distributed under the License is distributed on an "AS IS" BASIS,
13REM # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14REM # See the License for the specific language governing permissions and
15REM # limitations under the License.
16
17if exist generated (
18 rmdir /s /q generated
19)
20mkdir generated
21
Cody Northropc1783ec2016-02-26 16:49:33 -070022python ../vk-generate.py Android dispatch-table-ops layer > generated/vk_dispatch_table_helper.h
Cody Northrop4a723522016-02-24 12:37:37 -070023
24python ../vk_helper.py --gen_enum_string_helper ../include/vulkan/vulkan.h --abs_out_dir generated
25python ../vk_helper.py --gen_struct_wrappers ../include/vulkan/vulkan.h --abs_out_dir generated
26
Cody Northropc1783ec2016-02-26 16:49:33 -070027python ../vk-layer-generate.py Android object_tracker ../include/vulkan/vulkan.h > generated/object_tracker.cpp
28python ../vk-layer-generate.py Android unique_objects ../include/vulkan/vulkan.h > generated/unique_objects.cpp
Cody Northrop4a723522016-02-24 12:37:37 -070029
30cd generated
31python ../../genvk.py threading -registry ../../vk.xml thread_check.h
32python ../../genvk.py paramchecker -registry ../../vk.xml param_check.h
33cd ..