]> granicus.if.org Git - file/commitdiff
Split SPIR into GPU
authorChristos Zoulas <christos@zoulas.com>
Wed, 9 Nov 2016 18:20:53 +0000 (18:20 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 9 Nov 2016 18:20:53 +0000 (18:20 +0000)
magic/Magdir/gpu [new file with mode: 0644]
magic/Magdir/images
magic/Makefile.am

diff --git a/magic/Magdir/gpu b/magic/Magdir/gpu
new file mode 100644 (file)
index 0000000..4deffae
--- /dev/null
@@ -0,0 +1,16 @@
+
+#------------------------------------------------------------------------------
+# $File: gpu,v 1.1 2016/11/09 18:20:53 christos Exp $
+# gpu: file(1) magic for GPU input files
+
+# Standard Portable Intermediate Representation (SPIR)
+# Documentation: https://www.khronos.org/spir
+# Typical file extension: .spv
+
+0      belong  0x07230203      Khronos SPIR-V binary, big-endian
+>4     belong  x               \b, version 0x%08x
+>8     belong  x               \b, generator 0x%08x
+
+0      lelong  0x07230203      Khronos SPIR-V binary, little-endian
+>4     lelong  x               \b, version 0x%08x
+>8     lelong  x               \b, generator 0x%08x
index afe5127445392d2a456ef350fd6eebf562a4f7cd..3e103cec19009a3b8a882dc2acb8235f16654263 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: images,v 1.118 2016/11/08 02:58:21 christos Exp $
+# $File: images,v 1.119 2016/11/09 18:20:53 christos Exp $
 # images:  file(1) magic for image formats (see also "iff", and "c-lang" for
 # XPM bitmaps)
 #
 >4     belong  0x0D0A1A0A
 >12    belong  0x00000000      Lytro Light Field Picture
 >8     belong  x               \b, version %d
-
-# Standard Portable Intermediate Representation (SPIR)
-# Documentation: https://www.khronos.org/spir
-# Typical file extension: .spv
-
-0      belong  0x07230203      Khronos SPIR-V binary, big-endian
->4     belong  x               \b, version 0x%08x
->8     belong  x               \b, generator 0x%08x
-
-0      lelong  0x07230203      Khronos SPIR-V binary, little-endian
->4     lelong  x               \b, version 0x%08x
->8     lelong  x               \b, generator 0x%08x
-
-
-
index 186ed8353f77ab17626bcada015464a6022f6d70..92584f32fdf5efd2c90056502a1c4d5242a7ae18 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $File: Makefile.am,v 1.121 2016/10/30 00:38:01 christos Exp $
+# $File: Makefile.am,v 1.122 2016/11/09 18:20:53 christos Exp $
 #
 MAGIC_FRAGMENT_BASE = Magdir
 MAGIC_DIR = $(top_srcdir)/magic
@@ -104,6 +104,7 @@ $(MAGIC_FRAGMENT_DIR)/gnome \
 $(MAGIC_FRAGMENT_DIR)/gnu \
 $(MAGIC_FRAGMENT_DIR)/gnumeric \
 $(MAGIC_FRAGMENT_DIR)/gpt \
+$(MAGIC_FRAGMENT_DIR)/gpu \
 $(MAGIC_FRAGMENT_DIR)/grace \
 $(MAGIC_FRAGMENT_DIR)/graphviz \
 $(MAGIC_FRAGMENT_DIR)/gringotts \