blob: b7a92a2deac690391cd8fa6cb22f8ec59d29ba5e [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 *
Jon Ashburn43b53e82016-04-19 11:30:31 -06006 * 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
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -06009 *
Jon Ashburn43b53e82016-04-19 11:30:31 -060010 * http://www.apache.org/licenses/LICENSE-2.0
Chia-I Wu44e42362014-09-02 08:32:09 +080011 *
Courtney Goeltzenleuchter96cd7952015-10-30 11:14:30 -060012 * Author: Cody Northrop <cody@lunarg.com>
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060013 */
14
Cody Northropacfb0492015-03-17 15:55:58 -060015#ifndef ICD_SPV_H
16#define ICD_SPV_H
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060017
Chia-I Wu4115c892014-08-28 11:56:29 +080018#include <stdint.h>
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060019
Mark Lobodzinskibc9caa52017-01-26 12:16:30 -070020#define ICD_SPV_MAGIC 0x07230203
Cody Northropacfb0492015-03-17 15:55:58 -060021#define ICD_SPV_VERSION 99
Chia-I Wu4115c892014-08-28 11:56:29 +080022
Cody Northropacfb0492015-03-17 15:55:58 -060023struct icd_spv_header {
Chia-I Wu4115c892014-08-28 11:56:29 +080024 uint32_t magic;
25 uint32_t version;
Mark Lobodzinskicc7c3052017-01-26 13:34:13 -070026 uint32_t gen_magic; // Generator's magic number
Courtney Goeltzenleuchterc6438002014-08-19 11:43:21 -060027};
28
Cody Northropacfb0492015-03-17 15:55:58 -060029#endif /* ICD_SPV_H */