Commit 29427935 by Alexis Hetu

Update SPIR-V Headers to 979924c8b

Changes: 979924c8b Support SPV_KHR_terminate_invocation (#163) 7f2ae1193 Merge pull request #162 from vkushwaha-nv/SPV_EXT_shader_atomic_float 7083cb52e Add changes for SPV_EXT_shader_atomic_float 308bd0742 Merge pull request #160 from dj2/reg_tint 5ce353315 Register the Tint compiler 11d7637e7 Merge pull request #159 from dneto0/fix-quotes 291d7bf7a spir-v.xml: Use plain ASCII quotes in comment ed09fc149 Merge pull request #158 from mkinsner/mkinsner/fpfastmath_allocation_mechanism f2d2ca132 Rebuild headers against the previous grammar commit. 9e2b21a74 Merge pull request #150 from MrSidims/private/MrSidims/UpstreamIntelExt 7d343e9c0 Apply suggestions dfa87b6d4 Add Intel specific definitions from KhronosGroup/SPIRV-LLVM-Translator ae6e15156 Header build from previous grammar update. 8012d1c86 Merge pull request #152 from MrSidims/private/MrSidims/FunctionPointers 982a08f59 Propose bit allocation mechanism for the FP Fast Math Mode bitfield, following from the mechanism previously added for the loop control bitfield. ac638f181 Merge pull request #157 from dneto0/update-example 1fa1a92e0 Update example to use unified1 headers c0df742ec Update headers to SPIR-V 1.5 Revision 3 375789625 Add a bunch of missing "version" : "None" for ray tracing. 6300597a6 Rebuild the headers with the fixed grammar file. c26f7e838 Add missing "version" : "None" for ShaderCallKHR 445017dc7 Grammar: The ray-tracing updates were not done in numerical ordering. 2ad0492fb Discuss generator magic number reservations. 9995e294c Add SPV_INTEL_function_pointers preview extension Commands: ./third_party/update-spirvheaders.sh Bug: b/123642959 Change-Id: Icf7b69da64e742a2e43fa6d7d9c42addf0d5aee2
parents 02ce5163 91f0d257
...@@ -23,15 +23,28 @@ When a new version or revision of the SPIR-V specification is published, ...@@ -23,15 +23,28 @@ When a new version or revision of the SPIR-V specification is published,
the SPIR-V Working Group will push new commits onto master, updating the SPIR-V Working Group will push new commits onto master, updating
the files under [include](include). the files under [include](include).
The SPIR-V XML registry file is updated by Khronos whenever a new enum range is allocated. [The SPIR-V XML registry file](include/spirv/spir-v.xml)
is updated by Khronos whenever a new enum range is allocated.
Pull requests can be made to Pull requests can be made to
- request allocation of new enum ranges in the XML registry file - request allocation of new enum ranges in the XML registry file
- register a new magic number for a SPIR-V generator
- reserve specific tokens in the JSON grammar - reserve specific tokens in the JSON grammar
### Registering a SPIR-V Generator Magic Number
Tools that generate SPIR-V should use a magic number in the SPIR-V to help identify the
generator.
Care should be taken to follow existing precedent in populating the details of reserved tokens.
This includes:
- keeping generator numbers in numeric order
- filling out all the existing fields
### Reserving tokens in the JSON grammar ### Reserving tokens in the JSON grammar
Care should be taken to follow existing precedent in populating the details of reserved tokens. This includes: Care should be taken to follow existing precedent in populating the details of reserved tokens.
This includes:
- pointing to what extension has more information, when possible - pointing to what extension has more information, when possible
- keeping enumerants in numeric order - keeping enumerants in numeric order
- when there are aliases, listing the preferred spelling first - when there are aliases, listing the preferred spelling first
......
...@@ -2,8 +2,3 @@ add_library(SPIRV-Headers-example ...@@ -2,8 +2,3 @@ add_library(SPIRV-Headers-example
${CMAKE_CURRENT_SOURCE_DIR}/example.cpp) ${CMAKE_CURRENT_SOURCE_DIR}/example.cpp)
target_include_directories(SPIRV-Headers-example target_include_directories(SPIRV-Headers-example
PRIVATE ${SPIRV-Headers_SOURCE_DIR}/include) PRIVATE ${SPIRV-Headers_SOURCE_DIR}/include)
add_library(SPIRV-Headers-example-1.1
${CMAKE_CURRENT_SOURCE_DIR}/example-1.1.cpp)
target_include_directories(SPIRV-Headers-example-1.1
PRIVATE ${SPIRV-Headers_SOURCE_DIR}/include)
// Copyright (c) 2016 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"), to deal in the Materials without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Materials, and to
// permit persons to whom the Materials are furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Materials.
//
// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
// KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
// SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
// https://www.khronos.org/registry/
//
// THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
// Use the SPIR-V 1.1 core instruction set, but with 1.0 versions
// of the GLSL and OpenCL extended instruction sets.
#include <spirv/1.0/GLSL.std.450.h>
#include <spirv/1.0/OpenCL.std.h>
#include <spirv/1.1/spirv.hpp>
namespace {
const GLSLstd450 kSin = GLSLstd450Sin;
const OpenCLLIB::Entrypoints kNative_cos = OpenCLLIB::Native_cos;
const spv::Op kNop = spv::OpNop;
// This instruction is new in SPIR-V 1.1.
const spv::Op kNamedBarrierInit = spv::OpNamedBarrierInitialize;
} // anonymous namespace
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
#include <spirv/1.0/GLSL.std.450.h> #include <spirv/unified1/GLSL.std.450.h>
#include <spirv/1.0/OpenCL.std.h> #include <spirv/unified1/OpenCL.std.h>
#include <spirv/1.0/spirv.hpp> #include <spirv/unified1/spirv.hpp>
namespace { namespace {
......
...@@ -72,7 +72,8 @@ ...@@ -72,7 +72,8 @@
<id value="20" vendor="W3C WebGPU Group" tool="WHLSL Shader Translator" comment="https://github.com/gpuweb/WHLSL"/> <id value="20" vendor="W3C WebGPU Group" tool="WHLSL Shader Translator" comment="https://github.com/gpuweb/WHLSL"/>
<id value="21" vendor="Google" tool="Clspv" comment="Contact David Neto, dneto@google.com"/> <id value="21" vendor="Google" tool="Clspv" comment="Contact David Neto, dneto@google.com"/>
<id value="22" vendor="Google" tool="MLIR SPIR-V Serializer" comment="Contact Lei Zhang, antiagainst@google.com"/> <id value="22" vendor="Google" tool="MLIR SPIR-V Serializer" comment="Contact Lei Zhang, antiagainst@google.com"/>
<unused start="23" end="0xFFFF" comment="Tool ID range reservable for future use by vendors"/> <id value="23" vendor="Google" tool="Tint Compiler" comment="Contact David Neto, dneto@google.com"/>
<unused start="24" end="0xFFFF" comment="Tool ID range reservable for future use by vendors"/>
</ids> </ids>
<!-- SECTION: SPIR-V Opcodes and Enumerants --> <!-- SECTION: SPIR-V Opcodes and Enumerants -->
...@@ -143,4 +144,22 @@ ...@@ -143,4 +144,22 @@
<ids type="LoopControl" start="23" end="30" comment="Unreserved bits reservable for use by vendors"/> <ids type="LoopControl" start="23" end="30" comment="Unreserved bits reservable for use by vendors"/>
<ids type="LoopControl" start="31" end="31" vendor="Khronos" comment="Reserved LoopControl bit, not available to vendors"/> <ids type="LoopControl" start="31" end="31" vendor="Khronos" comment="Reserved LoopControl bit, not available to vendors"/>
<!-- SECTION: SPIR-V FP Fast Math Mode Bit Reservations -->
<!-- Reserve ranges of bits in the "FP Fast Math Mode" bitfield.
Each vendor determines the use of values in their own ranges.
Vendors are not required to disclose those uses. If the use of a
value is included in an extension that is adopted by a Khronos
extension or specification, then that value's use may be permanently
fixed as if originally reserved in a Khronos range.
The SPIR Working Group strongly recommends:
- Each value is used for only one purpose.
- All values in a range should be used before allocating a new range.
-->
<!-- Reserved FP fast math mode bits -->
<ids type="FPFastMathMode" start="0" end="15" vendor="Khronos" comment="Reserved FPFastMathMode bits, not available to vendors - see the SPIR-V Specification"/>
<ids type="FPFastMathMode" start="16" end="17" vendor="Intel" comment="Contact michael.kinsner@intel.com"/>
<ids type="FPFastMathMode" start="18" end="31" comment="Unreserved bits reservable for use by vendors"/>
</registry> </registry>
...@@ -49,7 +49,7 @@ namespace Spv ...@@ -49,7 +49,7 @@ namespace Spv
{ {
public const uint MagicNumber = 0x07230203; public const uint MagicNumber = 0x07230203;
public const uint Version = 0x00010500; public const uint Version = 0x00010500;
public const uint Revision = 1; public const uint Revision = 3;
public const uint OpCodeMask = 0xffff; public const uint OpCodeMask = 0xffff;
public const uint WordCountShift = 16; public const uint WordCountShift = 16;
...@@ -164,6 +164,10 @@ namespace Spv ...@@ -164,6 +164,10 @@ namespace Spv
SampleInterlockUnorderedEXT = 5369, SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371, ShadingRateInterlockUnorderedEXT = 5371,
MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896,
} }
public enum StorageClass public enum StorageClass
...@@ -195,6 +199,7 @@ namespace Spv ...@@ -195,6 +199,7 @@ namespace Spv
ShaderRecordBufferNV = 5343, ShaderRecordBufferNV = 5343,
PhysicalStorageBuffer = 5349, PhysicalStorageBuffer = 5349,
PhysicalStorageBufferEXT = 5349, PhysicalStorageBufferEXT = 5349,
CodeSectionINTEL = 5605,
} }
public enum Dim public enum Dim
...@@ -475,11 +480,24 @@ namespace Spv ...@@ -475,11 +480,24 @@ namespace Spv
RestrictPointerEXT = 5355, RestrictPointerEXT = 5355,
AliasedPointer = 5356, AliasedPointer = 5356,
AliasedPointerEXT = 5356, AliasedPointerEXT = 5356,
ReferencedIndirectlyINTEL = 5602,
CounterBuffer = 5634, CounterBuffer = 5634,
HlslCounterBufferGOOGLE = 5634, HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635, HlslSemanticGOOGLE = 5635,
UserSemantic = 5635, UserSemantic = 5635,
UserTypeGOOGLE = 5636, UserTypeGOOGLE = 5636,
RegisterINTEL = 5825,
MemoryINTEL = 5826,
NumbanksINTEL = 5827,
BankwidthINTEL = 5828,
MaxPrivateCopiesINTEL = 5829,
SinglepumpINTEL = 5830,
DoublepumpINTEL = 5831,
MaxReplicatesINTEL = 5832,
SimpleDualPortINTEL = 5833,
MergeINTEL = 5834,
BankBitsINTEL = 5835,
ForcePow2DepthINTEL = 5836,
} }
public enum BuiltIn public enum BuiltIn
...@@ -627,6 +645,13 @@ namespace Spv ...@@ -627,6 +645,13 @@ namespace Spv
IterationMultiple = 6, IterationMultiple = 6,
PeelCount = 7, PeelCount = 7,
PartialCount = 8, PartialCount = 8,
InitiationIntervalINTEL = 16,
MaxConcurrencyINTEL = 17,
DependencyArrayINTEL = 18,
PipelineEnableINTEL = 19,
LoopCoalesceINTEL = 20,
MaxInterleavingINTEL = 21,
SpeculatedIterationsINTEL = 22,
} }
public enum LoopControlMask public enum LoopControlMask
...@@ -641,6 +666,13 @@ namespace Spv ...@@ -641,6 +666,13 @@ namespace Spv
IterationMultiple = 0x00000040, IterationMultiple = 0x00000040,
PeelCount = 0x00000080, PeelCount = 0x00000080,
PartialCount = 0x00000100, PartialCount = 0x00000100,
InitiationIntervalINTEL = 0x00010000,
MaxConcurrencyINTEL = 0x00020000,
DependencyArrayINTEL = 0x00040000,
PipelineEnableINTEL = 0x00080000,
LoopCoalesceINTEL = 0x00100000,
MaxInterleavingINTEL = 0x00200000,
SpeculatedIterationsINTEL = 0x00400000,
} }
public enum FunctionControlShift public enum FunctionControlShift
...@@ -932,9 +964,20 @@ namespace Spv ...@@ -932,9 +964,20 @@ namespace Spv
SubgroupImageBlockIOINTEL = 5570, SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579, SubgroupImageMediaBlockIOINTEL = 5579,
IntegerFunctions2INTEL = 5584, IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604,
SubgroupAvcMotionEstimationINTEL = 5696, SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697, SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698, SubgroupAvcMotionEstimationChromaINTEL = 5698,
FPGAMemoryAttributesINTEL = 5824,
UnstructuredLoopControlsINTEL = 5886,
FPGALoopControlsINTEL = 5888,
KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897,
BlockingPipesINTEL = 5945,
FPGARegINTEL = 5948,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
} }
public enum RayFlagsShift public enum RayFlagsShift
...@@ -1331,6 +1374,7 @@ namespace Spv ...@@ -1331,6 +1374,7 @@ namespace Spv
OpPtrEqual = 401, OpPtrEqual = 401,
OpPtrNotEqual = 402, OpPtrNotEqual = 402,
OpPtrDiff = 403, OpPtrDiff = 403,
OpTerminateInvocation = 4416,
OpSubgroupBallotKHR = 4421, OpSubgroupBallotKHR = 4421,
OpSubgroupFirstInvocationKHR = 4422, OpSubgroupFirstInvocationKHR = 4422,
OpSubgroupAllKHR = 4428, OpSubgroupAllKHR = 4428,
...@@ -1403,6 +1447,8 @@ namespace Spv ...@@ -1403,6 +1447,8 @@ namespace Spv
OpUSubSatINTEL = 5596, OpUSubSatINTEL = 5596,
OpIMul32x16INTEL = 5597, OpIMul32x16INTEL = 5597,
OpUMul32x16INTEL = 5598, OpUMul32x16INTEL = 5598,
OpFunctionPointerINTEL = 5600,
OpFunctionPointerCallINTEL = 5601,
OpDecorateString = 5632, OpDecorateString = 5632,
OpDecorateStringGOOGLE = 5632, OpDecorateStringGOOGLE = 5632,
OpMemberDecorateString = 5633, OpMemberDecorateString = 5633,
...@@ -1525,6 +1571,10 @@ namespace Spv ...@@ -1525,6 +1571,10 @@ namespace Spv
OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
OpLoopControlINTEL = 5887,
OpReadPipeBlockingINTEL = 5946,
OpWritePipeBlockingINTEL = 5947,
OpFPGARegINTEL = 5949,
OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayTMinKHR = 6016,
OpRayQueryGetRayFlagsKHR = 6017, OpRayQueryGetRayFlagsKHR = 6017,
OpRayQueryGetIntersectionTKHR = 6018, OpRayQueryGetIntersectionTKHR = 6018,
...@@ -1542,6 +1592,7 @@ namespace Spv ...@@ -1542,6 +1592,7 @@ namespace Spv
OpRayQueryGetWorldRayOriginKHR = 6030, OpRayQueryGetWorldRayOriginKHR = 6030,
OpRayQueryGetIntersectionObjectToWorldKHR = 6031, OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
OpRayQueryGetIntersectionWorldToObjectKHR = 6032, OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
OpAtomicFAddEXT = 6035,
} }
} }
} }
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
], ],
"MagicNumber": 119734787, "MagicNumber": 119734787,
"Version": 66816, "Version": 66816,
"Revision": 1, "Revision": 3,
"OpCodeMask": 65535, "OpCodeMask": 65535,
"WordCountShift": 16 "WordCountShift": 16
}, },
...@@ -186,7 +186,11 @@ ...@@ -186,7 +186,11 @@
"SampleInterlockOrderedEXT": 5368, "SampleInterlockOrderedEXT": 5368,
"SampleInterlockUnorderedEXT": 5369, "SampleInterlockUnorderedEXT": 5369,
"ShadingRateInterlockOrderedEXT": 5370, "ShadingRateInterlockOrderedEXT": 5370,
"ShadingRateInterlockUnorderedEXT": 5371 "ShadingRateInterlockUnorderedEXT": 5371,
"MaxWorkgroupSizeINTEL": 5893,
"MaxWorkDimINTEL": 5894,
"NoGlobalOffsetINTEL": 5895,
"NumSIMDWorkitemsINTEL": 5896
} }
}, },
{ {
...@@ -220,7 +224,8 @@ ...@@ -220,7 +224,8 @@
"ShaderRecordBufferKHR": 5343, "ShaderRecordBufferKHR": 5343,
"ShaderRecordBufferNV": 5343, "ShaderRecordBufferNV": 5343,
"PhysicalStorageBuffer": 5349, "PhysicalStorageBuffer": 5349,
"PhysicalStorageBufferEXT": 5349 "PhysicalStorageBufferEXT": 5349,
"CodeSectionINTEL": 5605
} }
}, },
{ {
...@@ -507,11 +512,24 @@ ...@@ -507,11 +512,24 @@
"RestrictPointerEXT": 5355, "RestrictPointerEXT": 5355,
"AliasedPointer": 5356, "AliasedPointer": 5356,
"AliasedPointerEXT": 5356, "AliasedPointerEXT": 5356,
"ReferencedIndirectlyINTEL": 5602,
"CounterBuffer": 5634, "CounterBuffer": 5634,
"HlslCounterBufferGOOGLE": 5634, "HlslCounterBufferGOOGLE": 5634,
"HlslSemanticGOOGLE": 5635, "HlslSemanticGOOGLE": 5635,
"UserSemantic": 5635, "UserSemantic": 5635,
"UserTypeGOOGLE": 5636 "UserTypeGOOGLE": 5636,
"RegisterINTEL": 5825,
"MemoryINTEL": 5826,
"NumbanksINTEL": 5827,
"BankwidthINTEL": 5828,
"MaxPrivateCopiesINTEL": 5829,
"SinglepumpINTEL": 5830,
"DoublepumpINTEL": 5831,
"MaxReplicatesINTEL": 5832,
"SimpleDualPortINTEL": 5833,
"MergeINTEL": 5834,
"BankBitsINTEL": 5835,
"ForcePow2DepthINTEL": 5836
} }
}, },
{ {
...@@ -660,7 +678,14 @@ ...@@ -660,7 +678,14 @@
"MaxIterations": 5, "MaxIterations": 5,
"IterationMultiple": 6, "IterationMultiple": 6,
"PeelCount": 7, "PeelCount": 7,
"PartialCount": 8 "PartialCount": 8,
"InitiationIntervalINTEL": 16,
"MaxConcurrencyINTEL": 17,
"DependencyArrayINTEL": 18,
"PipelineEnableINTEL": 19,
"LoopCoalesceINTEL": 20,
"MaxInterleavingINTEL": 21,
"SpeculatedIterationsINTEL": 22
} }
}, },
{ {
...@@ -925,9 +950,20 @@ ...@@ -925,9 +950,20 @@
"SubgroupImageBlockIOINTEL": 5570, "SubgroupImageBlockIOINTEL": 5570,
"SubgroupImageMediaBlockIOINTEL": 5579, "SubgroupImageMediaBlockIOINTEL": 5579,
"IntegerFunctions2INTEL": 5584, "IntegerFunctions2INTEL": 5584,
"FunctionPointersINTEL": 5603,
"IndirectReferencesINTEL": 5604,
"SubgroupAvcMotionEstimationINTEL": 5696, "SubgroupAvcMotionEstimationINTEL": 5696,
"SubgroupAvcMotionEstimationIntraINTEL": 5697, "SubgroupAvcMotionEstimationIntraINTEL": 5697,
"SubgroupAvcMotionEstimationChromaINTEL": 5698 "SubgroupAvcMotionEstimationChromaINTEL": 5698,
"FPGAMemoryAttributesINTEL": 5824,
"UnstructuredLoopControlsINTEL": 5886,
"FPGALoopControlsINTEL": 5888,
"KernelAttributesINTEL": 5892,
"FPGAKernelAttributesINTEL": 5897,
"BlockingPipesINTEL": 5945,
"FPGARegINTEL": 5948,
"AtomicFloat32AddEXT": 6033,
"AtomicFloat64AddEXT": 6034
} }
}, },
{ {
...@@ -1324,6 +1360,7 @@ ...@@ -1324,6 +1360,7 @@
"OpPtrEqual": 401, "OpPtrEqual": 401,
"OpPtrNotEqual": 402, "OpPtrNotEqual": 402,
"OpPtrDiff": 403, "OpPtrDiff": 403,
"OpTerminateInvocation": 4416,
"OpSubgroupBallotKHR": 4421, "OpSubgroupBallotKHR": 4421,
"OpSubgroupFirstInvocationKHR": 4422, "OpSubgroupFirstInvocationKHR": 4422,
"OpSubgroupAllKHR": 4428, "OpSubgroupAllKHR": 4428,
...@@ -1396,6 +1433,8 @@ ...@@ -1396,6 +1433,8 @@
"OpUSubSatINTEL": 5596, "OpUSubSatINTEL": 5596,
"OpIMul32x16INTEL": 5597, "OpIMul32x16INTEL": 5597,
"OpUMul32x16INTEL": 5598, "OpUMul32x16INTEL": 5598,
"OpFunctionPointerINTEL": 5600,
"OpFunctionPointerCallINTEL": 5601,
"OpDecorateString": 5632, "OpDecorateString": 5632,
"OpDecorateStringGOOGLE": 5632, "OpDecorateStringGOOGLE": 5632,
"OpMemberDecorateString": 5633, "OpMemberDecorateString": 5633,
...@@ -1518,6 +1557,10 @@ ...@@ -1518,6 +1557,10 @@
"OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL": 5814, "OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL": 5814,
"OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL": 5815, "OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL": 5815,
"OpSubgroupAvcSicGetInterRawSadsINTEL": 5816, "OpSubgroupAvcSicGetInterRawSadsINTEL": 5816,
"OpLoopControlINTEL": 5887,
"OpReadPipeBlockingINTEL": 5946,
"OpWritePipeBlockingINTEL": 5947,
"OpFPGARegINTEL": 5949,
"OpRayQueryGetRayTMinKHR": 6016, "OpRayQueryGetRayTMinKHR": 6016,
"OpRayQueryGetRayFlagsKHR": 6017, "OpRayQueryGetRayFlagsKHR": 6017,
"OpRayQueryGetIntersectionTKHR": 6018, "OpRayQueryGetIntersectionTKHR": 6018,
...@@ -1534,7 +1577,8 @@ ...@@ -1534,7 +1577,8 @@
"OpRayQueryGetWorldRayDirectionKHR": 6029, "OpRayQueryGetWorldRayDirectionKHR": 6029,
"OpRayQueryGetWorldRayOriginKHR": 6030, "OpRayQueryGetWorldRayOriginKHR": 6030,
"OpRayQueryGetIntersectionObjectToWorldKHR": 6031, "OpRayQueryGetIntersectionObjectToWorldKHR": 6031,
"OpRayQueryGetIntersectionWorldToObjectKHR": 6032 "OpRayQueryGetIntersectionWorldToObjectKHR": 6032,
"OpAtomicFAddEXT": 6035
} }
} }
] ]
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
spv = { spv = {
MagicNumber = 0x07230203, MagicNumber = 0x07230203,
Version = 0x00010500, Version = 0x00010500,
Revision = 1, Revision = 3,
OpCodeMask = 0xffff, OpCodeMask = 0xffff,
WordCountShift = 16, WordCountShift = 16,
...@@ -155,6 +155,10 @@ spv = { ...@@ -155,6 +155,10 @@ spv = {
SampleInterlockUnorderedEXT = 5369, SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371, ShadingRateInterlockUnorderedEXT = 5371,
MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896,
}, },
StorageClass = { StorageClass = {
...@@ -185,6 +189,7 @@ spv = { ...@@ -185,6 +189,7 @@ spv = {
ShaderRecordBufferNV = 5343, ShaderRecordBufferNV = 5343,
PhysicalStorageBuffer = 5349, PhysicalStorageBuffer = 5349,
PhysicalStorageBufferEXT = 5349, PhysicalStorageBufferEXT = 5349,
CodeSectionINTEL = 5605,
}, },
Dim = { Dim = {
...@@ -450,11 +455,24 @@ spv = { ...@@ -450,11 +455,24 @@ spv = {
RestrictPointerEXT = 5355, RestrictPointerEXT = 5355,
AliasedPointer = 5356, AliasedPointer = 5356,
AliasedPointerEXT = 5356, AliasedPointerEXT = 5356,
ReferencedIndirectlyINTEL = 5602,
CounterBuffer = 5634, CounterBuffer = 5634,
HlslCounterBufferGOOGLE = 5634, HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635, HlslSemanticGOOGLE = 5635,
UserSemantic = 5635, UserSemantic = 5635,
UserTypeGOOGLE = 5636, UserTypeGOOGLE = 5636,
RegisterINTEL = 5825,
MemoryINTEL = 5826,
NumbanksINTEL = 5827,
BankwidthINTEL = 5828,
MaxPrivateCopiesINTEL = 5829,
SinglepumpINTEL = 5830,
DoublepumpINTEL = 5831,
MaxReplicatesINTEL = 5832,
SimpleDualPortINTEL = 5833,
MergeINTEL = 5834,
BankBitsINTEL = 5835,
ForcePow2DepthINTEL = 5836,
}, },
BuiltIn = { BuiltIn = {
...@@ -598,6 +616,13 @@ spv = { ...@@ -598,6 +616,13 @@ spv = {
IterationMultiple = 6, IterationMultiple = 6,
PeelCount = 7, PeelCount = 7,
PartialCount = 8, PartialCount = 8,
InitiationIntervalINTEL = 16,
MaxConcurrencyINTEL = 17,
DependencyArrayINTEL = 18,
PipelineEnableINTEL = 19,
LoopCoalesceINTEL = 20,
MaxInterleavingINTEL = 21,
SpeculatedIterationsINTEL = 22,
}, },
LoopControlMask = { LoopControlMask = {
...@@ -611,6 +636,13 @@ spv = { ...@@ -611,6 +636,13 @@ spv = {
IterationMultiple = 0x00000040, IterationMultiple = 0x00000040,
PeelCount = 0x00000080, PeelCount = 0x00000080,
PartialCount = 0x00000100, PartialCount = 0x00000100,
InitiationIntervalINTEL = 0x00010000,
MaxConcurrencyINTEL = 0x00020000,
DependencyArrayINTEL = 0x00040000,
PipelineEnableINTEL = 0x00080000,
LoopCoalesceINTEL = 0x00100000,
MaxInterleavingINTEL = 0x00200000,
SpeculatedIterationsINTEL = 0x00400000,
}, },
FunctionControlShift = { FunctionControlShift = {
...@@ -890,9 +922,20 @@ spv = { ...@@ -890,9 +922,20 @@ spv = {
SubgroupImageBlockIOINTEL = 5570, SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579, SubgroupImageMediaBlockIOINTEL = 5579,
IntegerFunctions2INTEL = 5584, IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604,
SubgroupAvcMotionEstimationINTEL = 5696, SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697, SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698, SubgroupAvcMotionEstimationChromaINTEL = 5698,
FPGAMemoryAttributesINTEL = 5824,
UnstructuredLoopControlsINTEL = 5886,
FPGALoopControlsINTEL = 5888,
KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897,
BlockingPipesINTEL = 5945,
FPGARegINTEL = 5948,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
}, },
RayFlagsShift = { RayFlagsShift = {
...@@ -1283,6 +1326,7 @@ spv = { ...@@ -1283,6 +1326,7 @@ spv = {
OpPtrEqual = 401, OpPtrEqual = 401,
OpPtrNotEqual = 402, OpPtrNotEqual = 402,
OpPtrDiff = 403, OpPtrDiff = 403,
OpTerminateInvocation = 4416,
OpSubgroupBallotKHR = 4421, OpSubgroupBallotKHR = 4421,
OpSubgroupFirstInvocationKHR = 4422, OpSubgroupFirstInvocationKHR = 4422,
OpSubgroupAllKHR = 4428, OpSubgroupAllKHR = 4428,
...@@ -1355,6 +1399,8 @@ spv = { ...@@ -1355,6 +1399,8 @@ spv = {
OpUSubSatINTEL = 5596, OpUSubSatINTEL = 5596,
OpIMul32x16INTEL = 5597, OpIMul32x16INTEL = 5597,
OpUMul32x16INTEL = 5598, OpUMul32x16INTEL = 5598,
OpFunctionPointerINTEL = 5600,
OpFunctionPointerCallINTEL = 5601,
OpDecorateString = 5632, OpDecorateString = 5632,
OpDecorateStringGOOGLE = 5632, OpDecorateStringGOOGLE = 5632,
OpMemberDecorateString = 5633, OpMemberDecorateString = 5633,
...@@ -1477,6 +1523,10 @@ spv = { ...@@ -1477,6 +1523,10 @@ spv = {
OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
OpLoopControlINTEL = 5887,
OpReadPipeBlockingINTEL = 5946,
OpWritePipeBlockingINTEL = 5947,
OpFPGARegINTEL = 5949,
OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayTMinKHR = 6016,
OpRayQueryGetRayFlagsKHR = 6017, OpRayQueryGetRayFlagsKHR = 6017,
OpRayQueryGetIntersectionTKHR = 6018, OpRayQueryGetIntersectionTKHR = 6018,
...@@ -1494,6 +1544,7 @@ spv = { ...@@ -1494,6 +1544,7 @@ spv = {
OpRayQueryGetWorldRayOriginKHR = 6030, OpRayQueryGetWorldRayOriginKHR = 6030,
OpRayQueryGetIntersectionObjectToWorldKHR = 6031, OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
OpRayQueryGetIntersectionWorldToObjectKHR = 6032, OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
OpAtomicFAddEXT = 6035,
}, },
} }
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
spv = { spv = {
'MagicNumber' : 0x07230203, 'MagicNumber' : 0x07230203,
'Version' : 0x00010500, 'Version' : 0x00010500,
'Revision' : 1, 'Revision' : 3,
'OpCodeMask' : 0xffff, 'OpCodeMask' : 0xffff,
'WordCountShift' : 16, 'WordCountShift' : 16,
...@@ -155,6 +155,10 @@ spv = { ...@@ -155,6 +155,10 @@ spv = {
'SampleInterlockUnorderedEXT' : 5369, 'SampleInterlockUnorderedEXT' : 5369,
'ShadingRateInterlockOrderedEXT' : 5370, 'ShadingRateInterlockOrderedEXT' : 5370,
'ShadingRateInterlockUnorderedEXT' : 5371, 'ShadingRateInterlockUnorderedEXT' : 5371,
'MaxWorkgroupSizeINTEL' : 5893,
'MaxWorkDimINTEL' : 5894,
'NoGlobalOffsetINTEL' : 5895,
'NumSIMDWorkitemsINTEL' : 5896,
}, },
'StorageClass' : { 'StorageClass' : {
...@@ -185,6 +189,7 @@ spv = { ...@@ -185,6 +189,7 @@ spv = {
'ShaderRecordBufferNV' : 5343, 'ShaderRecordBufferNV' : 5343,
'PhysicalStorageBuffer' : 5349, 'PhysicalStorageBuffer' : 5349,
'PhysicalStorageBufferEXT' : 5349, 'PhysicalStorageBufferEXT' : 5349,
'CodeSectionINTEL' : 5605,
}, },
'Dim' : { 'Dim' : {
...@@ -450,11 +455,24 @@ spv = { ...@@ -450,11 +455,24 @@ spv = {
'RestrictPointerEXT' : 5355, 'RestrictPointerEXT' : 5355,
'AliasedPointer' : 5356, 'AliasedPointer' : 5356,
'AliasedPointerEXT' : 5356, 'AliasedPointerEXT' : 5356,
'ReferencedIndirectlyINTEL' : 5602,
'CounterBuffer' : 5634, 'CounterBuffer' : 5634,
'HlslCounterBufferGOOGLE' : 5634, 'HlslCounterBufferGOOGLE' : 5634,
'HlslSemanticGOOGLE' : 5635, 'HlslSemanticGOOGLE' : 5635,
'UserSemantic' : 5635, 'UserSemantic' : 5635,
'UserTypeGOOGLE' : 5636, 'UserTypeGOOGLE' : 5636,
'RegisterINTEL' : 5825,
'MemoryINTEL' : 5826,
'NumbanksINTEL' : 5827,
'BankwidthINTEL' : 5828,
'MaxPrivateCopiesINTEL' : 5829,
'SinglepumpINTEL' : 5830,
'DoublepumpINTEL' : 5831,
'MaxReplicatesINTEL' : 5832,
'SimpleDualPortINTEL' : 5833,
'MergeINTEL' : 5834,
'BankBitsINTEL' : 5835,
'ForcePow2DepthINTEL' : 5836,
}, },
'BuiltIn' : { 'BuiltIn' : {
...@@ -598,6 +616,13 @@ spv = { ...@@ -598,6 +616,13 @@ spv = {
'IterationMultiple' : 6, 'IterationMultiple' : 6,
'PeelCount' : 7, 'PeelCount' : 7,
'PartialCount' : 8, 'PartialCount' : 8,
'InitiationIntervalINTEL' : 16,
'MaxConcurrencyINTEL' : 17,
'DependencyArrayINTEL' : 18,
'PipelineEnableINTEL' : 19,
'LoopCoalesceINTEL' : 20,
'MaxInterleavingINTEL' : 21,
'SpeculatedIterationsINTEL' : 22,
}, },
'LoopControlMask' : { 'LoopControlMask' : {
...@@ -611,6 +636,13 @@ spv = { ...@@ -611,6 +636,13 @@ spv = {
'IterationMultiple' : 0x00000040, 'IterationMultiple' : 0x00000040,
'PeelCount' : 0x00000080, 'PeelCount' : 0x00000080,
'PartialCount' : 0x00000100, 'PartialCount' : 0x00000100,
'InitiationIntervalINTEL' : 0x00010000,
'MaxConcurrencyINTEL' : 0x00020000,
'DependencyArrayINTEL' : 0x00040000,
'PipelineEnableINTEL' : 0x00080000,
'LoopCoalesceINTEL' : 0x00100000,
'MaxInterleavingINTEL' : 0x00200000,
'SpeculatedIterationsINTEL' : 0x00400000,
}, },
'FunctionControlShift' : { 'FunctionControlShift' : {
...@@ -890,9 +922,20 @@ spv = { ...@@ -890,9 +922,20 @@ spv = {
'SubgroupImageBlockIOINTEL' : 5570, 'SubgroupImageBlockIOINTEL' : 5570,
'SubgroupImageMediaBlockIOINTEL' : 5579, 'SubgroupImageMediaBlockIOINTEL' : 5579,
'IntegerFunctions2INTEL' : 5584, 'IntegerFunctions2INTEL' : 5584,
'FunctionPointersINTEL' : 5603,
'IndirectReferencesINTEL' : 5604,
'SubgroupAvcMotionEstimationINTEL' : 5696, 'SubgroupAvcMotionEstimationINTEL' : 5696,
'SubgroupAvcMotionEstimationIntraINTEL' : 5697, 'SubgroupAvcMotionEstimationIntraINTEL' : 5697,
'SubgroupAvcMotionEstimationChromaINTEL' : 5698, 'SubgroupAvcMotionEstimationChromaINTEL' : 5698,
'FPGAMemoryAttributesINTEL' : 5824,
'UnstructuredLoopControlsINTEL' : 5886,
'FPGALoopControlsINTEL' : 5888,
'KernelAttributesINTEL' : 5892,
'FPGAKernelAttributesINTEL' : 5897,
'BlockingPipesINTEL' : 5945,
'FPGARegINTEL' : 5948,
'AtomicFloat32AddEXT' : 6033,
'AtomicFloat64AddEXT' : 6034,
}, },
'RayFlagsShift' : { 'RayFlagsShift' : {
...@@ -1283,6 +1326,7 @@ spv = { ...@@ -1283,6 +1326,7 @@ spv = {
'OpPtrEqual' : 401, 'OpPtrEqual' : 401,
'OpPtrNotEqual' : 402, 'OpPtrNotEqual' : 402,
'OpPtrDiff' : 403, 'OpPtrDiff' : 403,
'OpTerminateInvocation' : 4416,
'OpSubgroupBallotKHR' : 4421, 'OpSubgroupBallotKHR' : 4421,
'OpSubgroupFirstInvocationKHR' : 4422, 'OpSubgroupFirstInvocationKHR' : 4422,
'OpSubgroupAllKHR' : 4428, 'OpSubgroupAllKHR' : 4428,
...@@ -1355,6 +1399,8 @@ spv = { ...@@ -1355,6 +1399,8 @@ spv = {
'OpUSubSatINTEL' : 5596, 'OpUSubSatINTEL' : 5596,
'OpIMul32x16INTEL' : 5597, 'OpIMul32x16INTEL' : 5597,
'OpUMul32x16INTEL' : 5598, 'OpUMul32x16INTEL' : 5598,
'OpFunctionPointerINTEL' : 5600,
'OpFunctionPointerCallINTEL' : 5601,
'OpDecorateString' : 5632, 'OpDecorateString' : 5632,
'OpDecorateStringGOOGLE' : 5632, 'OpDecorateStringGOOGLE' : 5632,
'OpMemberDecorateString' : 5633, 'OpMemberDecorateString' : 5633,
...@@ -1477,6 +1523,10 @@ spv = { ...@@ -1477,6 +1523,10 @@ spv = {
'OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL' : 5814, 'OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL' : 5814,
'OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL' : 5815, 'OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL' : 5815,
'OpSubgroupAvcSicGetInterRawSadsINTEL' : 5816, 'OpSubgroupAvcSicGetInterRawSadsINTEL' : 5816,
'OpLoopControlINTEL' : 5887,
'OpReadPipeBlockingINTEL' : 5946,
'OpWritePipeBlockingINTEL' : 5947,
'OpFPGARegINTEL' : 5949,
'OpRayQueryGetRayTMinKHR' : 6016, 'OpRayQueryGetRayTMinKHR' : 6016,
'OpRayQueryGetRayFlagsKHR' : 6017, 'OpRayQueryGetRayFlagsKHR' : 6017,
'OpRayQueryGetIntersectionTKHR' : 6018, 'OpRayQueryGetIntersectionTKHR' : 6018,
...@@ -1494,6 +1544,7 @@ spv = { ...@@ -1494,6 +1544,7 @@ spv = {
'OpRayQueryGetWorldRayOriginKHR' : 6030, 'OpRayQueryGetWorldRayOriginKHR' : 6030,
'OpRayQueryGetIntersectionObjectToWorldKHR' : 6031, 'OpRayQueryGetIntersectionObjectToWorldKHR' : 6031,
'OpRayQueryGetIntersectionWorldToObjectKHR' : 6032, 'OpRayQueryGetIntersectionWorldToObjectKHR' : 6032,
'OpAtomicFAddEXT' : 6035,
}, },
} }
......
...@@ -52,7 +52,7 @@ module spv; ...@@ -52,7 +52,7 @@ module spv;
enum uint MagicNumber = 0x07230203; enum uint MagicNumber = 0x07230203;
enum uint Version = 0x00010500; enum uint Version = 0x00010500;
enum uint Revision = 1; enum uint Revision = 3;
enum uint OpCodeMask = 0xffff; enum uint OpCodeMask = 0xffff;
enum uint WordCountShift = 16; enum uint WordCountShift = 16;
...@@ -167,6 +167,10 @@ enum ExecutionMode : uint ...@@ -167,6 +167,10 @@ enum ExecutionMode : uint
SampleInterlockUnorderedEXT = 5369, SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371, ShadingRateInterlockUnorderedEXT = 5371,
MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896,
} }
enum StorageClass : uint enum StorageClass : uint
...@@ -198,6 +202,7 @@ enum StorageClass : uint ...@@ -198,6 +202,7 @@ enum StorageClass : uint
ShaderRecordBufferNV = 5343, ShaderRecordBufferNV = 5343,
PhysicalStorageBuffer = 5349, PhysicalStorageBuffer = 5349,
PhysicalStorageBufferEXT = 5349, PhysicalStorageBufferEXT = 5349,
CodeSectionINTEL = 5605,
} }
enum Dim : uint enum Dim : uint
...@@ -478,11 +483,24 @@ enum Decoration : uint ...@@ -478,11 +483,24 @@ enum Decoration : uint
RestrictPointerEXT = 5355, RestrictPointerEXT = 5355,
AliasedPointer = 5356, AliasedPointer = 5356,
AliasedPointerEXT = 5356, AliasedPointerEXT = 5356,
ReferencedIndirectlyINTEL = 5602,
CounterBuffer = 5634, CounterBuffer = 5634,
HlslCounterBufferGOOGLE = 5634, HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635, HlslSemanticGOOGLE = 5635,
UserSemantic = 5635, UserSemantic = 5635,
UserTypeGOOGLE = 5636, UserTypeGOOGLE = 5636,
RegisterINTEL = 5825,
MemoryINTEL = 5826,
NumbanksINTEL = 5827,
BankwidthINTEL = 5828,
MaxPrivateCopiesINTEL = 5829,
SinglepumpINTEL = 5830,
DoublepumpINTEL = 5831,
MaxReplicatesINTEL = 5832,
SimpleDualPortINTEL = 5833,
MergeINTEL = 5834,
BankBitsINTEL = 5835,
ForcePow2DepthINTEL = 5836,
} }
enum BuiltIn : uint enum BuiltIn : uint
...@@ -630,6 +648,13 @@ enum LoopControlShift : uint ...@@ -630,6 +648,13 @@ enum LoopControlShift : uint
IterationMultiple = 6, IterationMultiple = 6,
PeelCount = 7, PeelCount = 7,
PartialCount = 8, PartialCount = 8,
InitiationIntervalINTEL = 16,
MaxConcurrencyINTEL = 17,
DependencyArrayINTEL = 18,
PipelineEnableINTEL = 19,
LoopCoalesceINTEL = 20,
MaxInterleavingINTEL = 21,
SpeculatedIterationsINTEL = 22,
} }
enum LoopControlMask : uint enum LoopControlMask : uint
...@@ -644,6 +669,13 @@ enum LoopControlMask : uint ...@@ -644,6 +669,13 @@ enum LoopControlMask : uint
IterationMultiple = 0x00000040, IterationMultiple = 0x00000040,
PeelCount = 0x00000080, PeelCount = 0x00000080,
PartialCount = 0x00000100, PartialCount = 0x00000100,
InitiationIntervalINTEL = 0x00010000,
MaxConcurrencyINTEL = 0x00020000,
DependencyArrayINTEL = 0x00040000,
PipelineEnableINTEL = 0x00080000,
LoopCoalesceINTEL = 0x00100000,
MaxInterleavingINTEL = 0x00200000,
SpeculatedIterationsINTEL = 0x00400000,
} }
enum FunctionControlShift : uint enum FunctionControlShift : uint
...@@ -935,9 +967,20 @@ enum Capability : uint ...@@ -935,9 +967,20 @@ enum Capability : uint
SubgroupImageBlockIOINTEL = 5570, SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579, SubgroupImageMediaBlockIOINTEL = 5579,
IntegerFunctions2INTEL = 5584, IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604,
SubgroupAvcMotionEstimationINTEL = 5696, SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697, SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698, SubgroupAvcMotionEstimationChromaINTEL = 5698,
FPGAMemoryAttributesINTEL = 5824,
UnstructuredLoopControlsINTEL = 5886,
FPGALoopControlsINTEL = 5888,
KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897,
BlockingPipesINTEL = 5945,
FPGARegINTEL = 5948,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
} }
enum RayFlagsShift : uint enum RayFlagsShift : uint
...@@ -1334,6 +1377,7 @@ enum Op : uint ...@@ -1334,6 +1377,7 @@ enum Op : uint
OpPtrEqual = 401, OpPtrEqual = 401,
OpPtrNotEqual = 402, OpPtrNotEqual = 402,
OpPtrDiff = 403, OpPtrDiff = 403,
OpTerminateInvocation = 4416,
OpSubgroupBallotKHR = 4421, OpSubgroupBallotKHR = 4421,
OpSubgroupFirstInvocationKHR = 4422, OpSubgroupFirstInvocationKHR = 4422,
OpSubgroupAllKHR = 4428, OpSubgroupAllKHR = 4428,
...@@ -1406,6 +1450,8 @@ enum Op : uint ...@@ -1406,6 +1450,8 @@ enum Op : uint
OpUSubSatINTEL = 5596, OpUSubSatINTEL = 5596,
OpIMul32x16INTEL = 5597, OpIMul32x16INTEL = 5597,
OpUMul32x16INTEL = 5598, OpUMul32x16INTEL = 5598,
OpFunctionPointerINTEL = 5600,
OpFunctionPointerCallINTEL = 5601,
OpDecorateString = 5632, OpDecorateString = 5632,
OpDecorateStringGOOGLE = 5632, OpDecorateStringGOOGLE = 5632,
OpMemberDecorateString = 5633, OpMemberDecorateString = 5633,
...@@ -1528,6 +1574,10 @@ enum Op : uint ...@@ -1528,6 +1574,10 @@ enum Op : uint
OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
OpLoopControlINTEL = 5887,
OpReadPipeBlockingINTEL = 5946,
OpWritePipeBlockingINTEL = 5947,
OpFPGARegINTEL = 5949,
OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayTMinKHR = 6016,
OpRayQueryGetRayFlagsKHR = 6017, OpRayQueryGetRayFlagsKHR = 6017,
OpRayQueryGetIntersectionTKHR = 6018, OpRayQueryGetIntersectionTKHR = 6018,
...@@ -1545,6 +1595,7 @@ enum Op : uint ...@@ -1545,6 +1595,7 @@ enum Op : uint
OpRayQueryGetWorldRayOriginKHR = 6030, OpRayQueryGetWorldRayOriginKHR = 6030,
OpRayQueryGetIntersectionObjectToWorldKHR = 6031, OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
OpRayQueryGetIntersectionWorldToObjectKHR = 6032, OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
OpAtomicFAddEXT = 6035,
} }
...@@ -70,8 +70,8 @@ namespace { ...@@ -70,8 +70,8 @@ namespace {
static const int DocMagicNumber = 0x07230203; static const int DocMagicNumber = 0x07230203;
static const int DocVersion = 0x00010500; static const int DocVersion = 0x00010500;
static const int DocRevision = 1; static const int DocRevision = 3;
#define DocRevisionString "1" #define DocRevisionString "3"
static const std::string DocCopyright; static const std::string DocCopyright;
static const std::string DocComment1; static const std::string DocComment1;
static const std::string DocComment2; static const std::string DocComment2;
......
...@@ -80,7 +80,7 @@ enum OperandClass { ...@@ -80,7 +80,7 @@ enum OperandClass {
OperandMemorySemantics, OperandMemorySemantics,
OperandMemoryOperands, OperandMemoryOperands,
OperandScope, OperandScope,
OperandGroupOperation, OperandGroupOperation,
OperandKernelEnqueueFlags, OperandKernelEnqueueFlags,
OperandKernelProfilingInfo, OperandKernelProfilingInfo,
OperandCapability, OperandCapability,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment