gpu 559 B

12345678910111213141516
  1. #------------------------------------------------------------------------------
  2. # $File: gpu,v 1.1 2016/11/09 18:20:53 christos Exp $
  3. # gpu: file(1) magic for GPU input files
  4. # Standard Portable Intermediate Representation (SPIR)
  5. # Documentation: https://www.khronos.org/spir
  6. # Typical file extension: .spv
  7. 0 belong 0x07230203 Khronos SPIR-V binary, big-endian
  8. >4 belong x \b, version 0x%08x
  9. >8 belong x \b, generator 0x%08x
  10. 0 lelong 0x07230203 Khronos SPIR-V binary, little-endian
  11. >4 lelong x \b, version 0x%08x
  12. >8 lelong x \b, generator 0x%08x