Update to SPIR-V 1.0 Rev 5 headers
authorDavid Neto <dneto@google.com>
Thu, 14 Apr 2016 19:31:38 +0000 (15:31 -0400)
committerDavid Neto <dneto@google.com>
Thu, 14 Apr 2016 19:58:05 +0000 (15:58 -0400)
include/spirv/1.0/spirv.h
include/spirv/1.0/spirv.hpp
include/spirv/1.0/spirv.hpp11
include/spirv/1.0/spirv.json
include/spirv/1.0/spirv.lua
include/spirv/1.0/spirv.py

index 7905aac..6f46053 100644 (file)
 typedef unsigned int SpvId;
 
 #define SPV_VERSION 0x10000
-#define SPV_REVISION 4
+#define SPV_REVISION 5
 
 static const unsigned int SpvMagicNumber = 0x07230203;
 static const unsigned int SpvVersion = 0x00010000;
-static const unsigned int SpvRevision = 4;
+static const unsigned int SpvRevision = 5;
 static const unsigned int SpvOpCodeMask = 0xffff;
 static const unsigned int SpvWordCountShift = 16;
 
@@ -224,6 +224,7 @@ typedef enum SpvImageChannelOrder_ {
     SpvImageChannelOrdersRGBx = 16,
     SpvImageChannelOrdersRGBA = 17,
     SpvImageChannelOrdersBGRA = 18,
+    SpvImageChannelOrderABGR = 19,
 } SpvImageChannelOrder;
 
 typedef enum SpvImageChannelDataType_ {
index bf5aba2..987f3c1 100644 (file)
@@ -47,11 +47,11 @@ namespace spv {
 typedef unsigned int Id;
 
 #define SPV_VERSION 0x10000
-#define SPV_REVISION 4
+#define SPV_REVISION 5
 
 static const unsigned int MagicNumber = 0x07230203;
 static const unsigned int Version = 0x00010000;
-static const unsigned int Revision = 4;
+static const unsigned int Revision = 5;
 static const unsigned int OpCodeMask = 0xffff;
 static const unsigned int WordCountShift = 16;
 
@@ -220,6 +220,7 @@ enum ImageChannelOrder {
     ImageChannelOrdersRGBx = 16,
     ImageChannelOrdersRGBA = 17,
     ImageChannelOrdersBGRA = 18,
+    ImageChannelOrderABGR = 19,
 };
 
 enum ImageChannelDataType {
index 8ccb0d5..8091e53 100644 (file)
@@ -47,11 +47,11 @@ namespace spv {
 typedef unsigned int Id;
 
 #define SPV_VERSION 0x10000
-#define SPV_REVISION 4
+#define SPV_REVISION 5
 
 static const unsigned int MagicNumber = 0x07230203;
 static const unsigned int Version = 0x00010000;
-static const unsigned int Revision = 4;
+static const unsigned int Revision = 5;
 static const unsigned int OpCodeMask = 0xffff;
 static const unsigned int WordCountShift = 16;
 
@@ -220,6 +220,7 @@ enum class ImageChannelOrder : unsigned {
     sRGBx = 16,
     sRGBA = 17,
     sBGRA = 18,
+    ABGR = 19,
 };
 
 enum class ImageChannelDataType : unsigned {
index d9e55d3..593c14a 100644 (file)
@@ -52,7 +52,7 @@
             ],
             "MagicNumber": 119734787,
             "Version": 65536,
-            "Revision": 4,
+            "Revision": 5,
             "OpCodeMask": 65535,
             "WordCountShift": 16
         },
                     "sRGB": 15,
                     "sRGBx": 16,
                     "sRGBA": 17,
-                    "sBGRA": 18
+                    "sBGRA": 18,
+                    "ABGR": 19
                 }
             },
             {
index 00ea7a0..0008030 100644 (file)
@@ -42,7 +42,7 @@
 spv = {
     MagicNumber = 0x07230203,
     Version = 0x00010000,
-    Revision = 4,
+    Revision = 5,
     OpCodeMask = 0xffff,
     WordCountShift = 16,
 
@@ -211,6 +211,7 @@ spv = {
         sRGBx = 16,
         sRGBA = 17,
         sBGRA = 18,
+        ABGR = 19,
     },
 
     ImageChannelDataType = {
index fad772e..137f289 100644 (file)
@@ -42,7 +42,7 @@
 spv = {
     'MagicNumber' : 0x07230203,
     'Version' : 0x00010000,
-    'Revision' : 4,
+    'Revision' : 5,
     'OpCodeMask' : 0xffff,
     'WordCountShift' : 16,
 
@@ -211,6 +211,7 @@ spv = {
         'sRGBx' : 16,
         'sRGBA' : 17,
         'sBGRA' : 18,
+        'ABGR' : 19,
     },
 
     'ImageChannelDataType' : {