blob: 5f980681450719f13daeb9d839295db08bf2e2a8 [file] [log] [blame]
Michael Lentine695f2c22015-09-09 12:39:13 -07001#!/bin/bash
2
3# Copyright 2015 The Android Open Source Project
Mark Lobodzinski0d054fe2015-12-30 08:16:12 -07004# Copyright (C) 2015 Valve Corporation
Michael Lentine695f2c22015-09-09 12:39:13 -07005
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
18rm -rf generated
19mkdir -p generated
20python ../vk-generate.py dispatch-table-ops layer > generated/vk_dispatch_table_helper.h
21
David Pinedo9316d3b2015-11-06 12:54:48 -070022python ../vk_helper.py --gen_enum_string_helper ../include/vulkan/vulkan.h --abs_out_dir generated
23python ../vk_helper.py --gen_struct_wrappers ../include/vulkan/vulkan.h --abs_out_dir generated
Michael Lentine695f2c22015-09-09 12:39:13 -070024
Mark Lobodzinski0d054fe2015-12-30 08:16:12 -070025python ../vk-layer-generate.py object_tracker ../include/vulkan/vulkan.h > generated/object_tracker.cpp
Cody Northrop92136bd2016-02-01 10:01:45 -070026python ../vk-layer-generate.py unique_objects ../include/vulkan/vulkan.h > generated/unique_objects.cpp
Mike Stroyan3409fcd2016-01-29 15:11:28 -070027( cd generated; python ../../genvk.py threading -registry ../../vk.xml thread_check.h )
Michael Lentine0f1cde22016-02-18 10:07:26 -060028( cd generated; python ../../genvk.py paramchecker -registry ../../vk.xml param_check.h )
Michael Lentine695f2c22015-09-09 12:39:13 -070029