1c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter/* 21fa32a803b1359b2709e94893307bcd748665ff5Karl Schultz * Copyright (c) 2015-2016 The Khronos Group Inc. 31fa32a803b1359b2709e94893307bcd748665ff5Karl Schultz * Copyright (c) 2015-2016 Valve Corporation 41fa32a803b1359b2709e94893307bcd748665ff5Karl Schultz * Copyright (c) 2015-2016 LunarG, Inc. 5c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter * 643b53e83705f02245da6ae61e31273866a35b833Jon Ashburn * Licensed under the Apache License, Version 2.0 (the "License"); 743b53e83705f02245da6ae61e31273866a35b833Jon Ashburn * you may not use this file except in compliance with the License. 843b53e83705f02245da6ae61e31273866a35b833Jon Ashburn * You may obtain a copy of the License at 9c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter * 1043b53e83705f02245da6ae61e31273866a35b833Jon Ashburn * http://www.apache.org/licenses/LICENSE-2.0 1196cd795bb585711057cd90d37a2251419384c937Courtney Goeltzenleuchter * 121fa32a803b1359b2709e94893307bcd748665ff5Karl Schultz * Author: Cody Northrop <cody@lunarg.com> 13c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter */ 14c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter 15acfb0491b89d57c3915f661edaad114d64d87386Cody Northrop#ifndef ICD_SPV_H 16acfb0491b89d57c3915f661edaad114d64d87386Cody Northrop#define ICD_SPV_H 17c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter 184115c8991c42419cca0d2613cb8c033b7566cad7Chia-I Wu#include <stdint.h> 19c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter 20acfb0491b89d57c3915f661edaad114d64d87386Cody Northrop#define ICD_SPV_MAGIC 0x07230203 21acfb0491b89d57c3915f661edaad114d64d87386Cody Northrop#define ICD_SPV_VERSION 99 224115c8991c42419cca0d2613cb8c033b7566cad7Chia-I Wu 23acfb0491b89d57c3915f661edaad114d64d87386Cody Northropstruct icd_spv_header { 244115c8991c42419cca0d2613cb8c033b7566cad7Chia-I Wu uint32_t magic; 254115c8991c42419cca0d2613cb8c033b7566cad7Chia-I Wu uint32_t version; 2652ec336a8c935015855a25116ae22a186e71f28aCourtney Goeltzenleuchter uint32_t gen_magic; // Generator's magic number 27c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter}; 28c6438002bc31420c1ab52978a99515fb132b34f8Courtney Goeltzenleuchter 29acfb0491b89d57c3915f661edaad114d64d87386Cody Northrop#endif /* ICD_SPV_H */ 30