blob: eafe25e6983fbda281c42812bb8044a56c1a44f0 [file] [log] [blame]
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -06001/*
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -06002 *
Courtney Goeltzenleuchter8a17da52015-10-29 13:50:34 -06003 * Copyright (C) 2015 Valve Corporation
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -06004 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included
13 * in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
Chia-I Wu44e42362014-09-02 08:32:09 +080022 *
Courtney Goeltzenleuchter96cd7952015-10-30 11:14:30 -060023 * Author: Cody Northrop <cody@lunarg.com>
24 *
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060025 */
26
Cody Northropacfb0492015-03-17 15:55:58 -060027#ifndef ICD_SPV_H
28#define ICD_SPV_H
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060029
Chia-I Wu4115c892014-08-28 11:56:29 +080030#include <stdint.h>
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060031
Cody Northropacfb0492015-03-17 15:55:58 -060032#define ICD_SPV_MAGIC 0x07230203
33#define ICD_SPV_VERSION 99
Chia-I Wu4115c892014-08-28 11:56:29 +080034
Cody Northropacfb0492015-03-17 15:55:58 -060035struct icd_spv_header {
Chia-I Wu4115c892014-08-28 11:56:29 +080036 uint32_t magic;
37 uint32_t version;
Courtney Goeltzenleuchter52ec3362014-08-19 11:52:02 -060038 uint32_t gen_magic; // Generator's magic number
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060039};
40
Cody Northropacfb0492015-03-17 15:55:58 -060041#endif /* ICD_SPV_H */