Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 1 | /* |
Karl Schultz | 1fa32a8 | 2016-02-04 11:33:21 -0700 | [diff] [blame^] | 2 | * Copyright (c) 2015-2016 The Khronos Group Inc. |
| 3 | * Copyright (c) 2015-2016 Valve Corporation |
| 4 | * Copyright (c) 2015-2016 LunarG, Inc. |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 5 | * |
Karl Schultz | 1fa32a8 | 2016-02-04 11:33:21 -0700 | [diff] [blame^] | 6 | * 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 Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 12 | * |
Karl Schultz | 1fa32a8 | 2016-02-04 11:33:21 -0700 | [diff] [blame^] | 13 | * The above copyright notice(s) and this permission notice shall be included in |
| 14 | * all copies or substantial portions of the Materials. |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 15 | * |
Karl Schultz | 1fa32a8 | 2016-02-04 11:33:21 -0700 | [diff] [blame^] | 16 | * 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 Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 19 | * |
Karl Schultz | 1fa32a8 | 2016-02-04 11:33:21 -0700 | [diff] [blame^] | 20 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 21 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
Karl Schultz | 1fa32a8 | 2016-02-04 11:33:21 -0700 | [diff] [blame^] | 22 | * 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 Wu | 44e4236 | 2014-09-02 08:32:09 +0800 | [diff] [blame] | 28 | * |
Courtney Goeltzenleuchter | 96cd795 | 2015-10-30 11:14:30 -0600 | [diff] [blame] | 29 | * Author: Cody Northrop <cody@lunarg.com> |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 30 | */ |
| 31 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 32 | #ifndef ICD_SPV_H |
| 33 | #define ICD_SPV_H |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 34 | |
Chia-I Wu | 4115c89 | 2014-08-28 11:56:29 +0800 | [diff] [blame] | 35 | #include <stdint.h> |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 36 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 37 | #define ICD_SPV_MAGIC 0x07230203 |
| 38 | #define ICD_SPV_VERSION 99 |
Chia-I Wu | 4115c89 | 2014-08-28 11:56:29 +0800 | [diff] [blame] | 39 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 40 | struct icd_spv_header { |
Chia-I Wu | 4115c89 | 2014-08-28 11:56:29 +0800 | [diff] [blame] | 41 | uint32_t magic; |
| 42 | uint32_t version; |
Courtney Goeltzenleuchter | 52ec336 | 2014-08-19 11:52:02 -0600 | [diff] [blame] | 43 | uint32_t gen_magic; // Generator's magic number |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 44 | }; |
| 45 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 46 | #endif /* ICD_SPV_H */ |