icd-spv.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) 2015-2016 Valve Corporation
  3. * Copyright (c) 2015-2016 LunarG, Inc.
  4. *
  5. * Permission is hereby granted, free of charge, to any person obtaining a copy
  6. * of this software and/or associated documentation files (the "Materials"), to
  7. * deal in the Materials without restriction, including without limitation the
  8. * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  9. * sell copies of the Materials, and to permit persons to whom the Materials are
  10. * furnished to do so, subject to the following conditions:
  11. *
  12. * The above copyright notice(s) and this permission notice shall be included in
  13. * all copies or substantial portions of the Materials.
  14. *
  15. * THE MATERIALS ARE 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.
  18. *
  19. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  20. * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  21. * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE
  22. * USE OR OTHER DEALINGS IN THE MATERIALS.
  23. *
  24. * Author: Cody Northrop <[email protected]>
  25. */
  26. #ifndef ICD_SPV_H
  27. #define ICD_SPV_H
  28. #include <stdint.h>
  29. #define ICD_SPV_MAGIC 0x07230203
  30. #define ICD_SPV_VERSION 99
  31. struct icd_spv_header {
  32. uint32_t magic;
  33. uint32_t version;
  34. uint32_t gen_magic; // Generator's magic number
  35. };
  36. #endif /* ICD_SPV_H */