blob: f923fef8653adf2278fe7ddc63a06c3a65ccdfd8 [file] [log] [blame]
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -06001/*
Karl Schultz1fa32a82016-02-04 11:33:21 -07002 * Copyright (c) 2015-2016 The Khronos Group Inc.
3 * Copyright (c) 2015-2016 Valve Corporation
4 * Copyright (c) 2015-2016 LunarG, Inc.
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -06005 *
Karl Schultz1fa32a82016-02-04 11:33:21 -07006 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and/or associated documentation files (the "Materials"), to
8 * deal in the Materials without restriction, including without limitation the
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Materials, and to permit persons to whom the Materials are
11 * furnished to do so, subject to the following conditions:
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060012 *
Karl Schultz1fa32a82016-02-04 11:33:21 -070013 * The above copyright notice(s) and this permission notice shall be included in
14 * all copies or substantial portions of the Materials.
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060015 *
Karl Schultz1fa32a82016-02-04 11:33:21 -070016 * The Materials are Confidential Information as defined by the Khronos
17 * Membership Agreement until designated non-confidential by Khronos, at which
18 * point this condition clause shall be removed.
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060019 *
Karl Schultz1fa32a82016-02-04 11:33:21 -070020 * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060021 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Karl Schultz1fa32a82016-02-04 11:33:21 -070022 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 *
24 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
25 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
26 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE
27 * USE OR OTHER DEALINGS IN THE MATERIALS.
Chia-I Wu44e42362014-09-02 08:32:09 +080028 *
Courtney Goeltzenleuchter96cd7952015-10-30 11:14:30 -060029 * Author: Cody Northrop <cody@lunarg.com>
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060030 */
31
Cody Northropacfb0492015-03-17 15:55:58 -060032#ifndef ICD_SPV_H
33#define ICD_SPV_H
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060034
Chia-I Wu4115c892014-08-28 11:56:29 +080035#include <stdint.h>
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060036
Cody Northropacfb0492015-03-17 15:55:58 -060037#define ICD_SPV_MAGIC 0x07230203
38#define ICD_SPV_VERSION 99
Chia-I Wu4115c892014-08-28 11:56:29 +080039
Cody Northropacfb0492015-03-17 15:55:58 -060040struct icd_spv_header {
Chia-I Wu4115c892014-08-28 11:56:29 +080041 uint32_t magic;
42 uint32_t version;
Courtney Goeltzenleuchter52ec3362014-08-19 11:52:02 -060043 uint32_t gen_magic; // Generator's magic number
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060044};
45
Cody Northropacfb0492015-03-17 15:55:58 -060046#endif /* ICD_SPV_H */