"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/gpu" (23 Mar 2017, 929 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "gpu": 5.30_vs_5.31.

    1 
    2 #------------------------------------------------------------------------------
    3 # $File: gpu,v 1.2 2017/03/23 22:11:53 christos Exp $
    4 # gpu: file(1) magic for GPU input files
    5 
    6 # Standard Portable Intermediate Representation (SPIR)
    7 # Documentation: https://www.khronos.org/spir
    8 # Typical file extension: .spv
    9 
   10 0	belong	0x07230203	Khronos SPIR-V binary, big-endian
   11 >4	belong	x		\b, version 0x%08x
   12 >8	belong	x		\b, generator 0x%08x
   13 
   14 0	lelong	0x07230203      Khronos SPIR-V binary, little-endian
   15 >4	lelong	x		\b, version 0x%08x
   16 >8	lelong	x		\b, generator 0x%08x
   17 
   18 # Vulkan Trace file
   19 # Documentation:
   20 # https://github.com/LunarG/VulkanTools/blob/master/vktrace/vktrace_common/\
   21 # vktrace_trace_packet_identifiers.h
   22 # Typical file extension: .vktrace
   23 
   24 8	lequad  0xABADD068ADEAFD0C	Vulkan trace file, little-endian
   25 >0	leshort	x			\b, version %d
   26 
   27 8	bequad  0xABADD068ADEAFD0C	Vulkan trace file, big-endian
   28 >0	beshort	x			\b, version %d