New revisions of SPIR-V 1.0 and 1.1, and both extended instruction sets.
[platform/upstream/SPIRV-Headers.git] / include / spirv / 1.0 / spirv.hpp11
index ca93d69..0ff60f6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2016 The Khronos Group Inc.
+// Copyright (c) 2014-2017 The Khronos Group Inc.
 // 
 // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and/or associated documentation files (the "Materials"),
@@ -47,11 +47,11 @@ namespace spv {
 typedef unsigned int Id;
 
 #define SPV_VERSION 0x10000
-#define SPV_REVISION 8
+#define SPV_REVISION 9
 
 static const unsigned int MagicNumber = 0x07230203;
 static const unsigned int Version = 0x00010000;
-static const unsigned int Revision = 8;
+static const unsigned int Revision = 9;
 static const unsigned int OpCodeMask = 0xffff;
 static const unsigned int WordCountShift = 16;
 
@@ -604,6 +604,7 @@ enum class Capability : unsigned {
     MultiViewport = 57,
     SubgroupBallotKHR = 4423,
     DrawParameters = 4427,
+    SubgroupVoteKHR = 4431,
     Max = 0x7fffffff,
 };
 
@@ -904,6 +905,10 @@ enum class Op : unsigned {
     OpImageSparseRead = 320,
     OpSubgroupBallotKHR = 4421,
     OpSubgroupFirstInvocationKHR = 4422,
+    OpSubgroupAllKHR = 4428,
+    OpSubgroupAnyKHR = 4429,
+    OpSubgroupAllEqualKHR = 4430,
+    OpSubgroupReadInvocationKHR = 4432,
     Max = 0x7fffffff,
 };