Commit d05681b3 by Ben Clayton

Squashed 'third_party/SPIRV-Headers/' changes from 104ecc356c1..8bb2420b44a

8bb2420b44a Merge pull request #176 from MrSidims/private/MrSidims/OtherExtensions 0dd29fb93ac Apply suggestions to Intel extensions PR b690b3e2174 Update generated files f9797ef9c1b Add SPV_INTEL_long_constant_composite extension 8987518da9e Add SPV_INTEL_loop_fuse extension 3fad4b35436 Add SPV_INTEL_fpga_cluster_attributes and SPV_INTEL_fp_fast_math_mode b6be746fc77 Update SPV_INTEL_fpga_loop_controls extension ad00ca3b55b Update SPV_INTEL_kernel_attributes extension 0c290562414 Update SPV_INTEL_function_pointers extension ea791133ee4 Upstream SPV_INTEL_float_controls2 extension 24e9c63e6dd Upstream SPV_INTEL_vector_compute extension 2b76471587f Upstream SPV_INTEL_fpga_memory_accesses extension 0e756817218 Upstream SPV_INTEL_io_pipes extension ef87dd18967 Upstream SPV_INTEL_variable_length_array extension e202eb89141 Upstream SPV_INTEL_usm_storage_classes extension a001134e417 Upstream SPV_INTEL_arbitrary_precision_integers extensions 7669e05273b Upstream SPV_INTEL_inline_assembly extension d5035de3d31 Upstream SPV_INTEL_fpga_buffer_location extension f027d53ded7 Merge pull request #184 from dgkoch/dkoch_remove_hittkhr bdd2aa34c45 remove HitTKHR git-subtree-dir: third_party/SPIRV-Headers git-subtree-split: 8bb2420b44af3c514480e63ac24439044706b583
parent ded361b4
...@@ -164,10 +164,16 @@ namespace Spv ...@@ -164,10 +164,16 @@ namespace Spv
SampleInterlockUnorderedEXT = 5369, SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371, ShadingRateInterlockUnorderedEXT = 5371,
SharedLocalMemorySizeINTEL = 5618,
RoundingModeRTPINTEL = 5620,
RoundingModeRTNINTEL = 5621,
FloatingPointModeALTINTEL = 5622,
FloatingPointModeIEEEINTEL = 5623,
MaxWorkgroupSizeINTEL = 5893, MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894, MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895, NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896, NumSIMDWorkitemsINTEL = 5896,
SchedulerTargetFmaxMhzINTEL = 5903,
} }
public enum StorageClass public enum StorageClass
...@@ -200,6 +206,8 @@ namespace Spv ...@@ -200,6 +206,8 @@ namespace Spv
PhysicalStorageBuffer = 5349, PhysicalStorageBuffer = 5349,
PhysicalStorageBufferEXT = 5349, PhysicalStorageBufferEXT = 5349,
CodeSectionINTEL = 5605, CodeSectionINTEL = 5605,
DeviceOnlyINTEL = 5936,
HostOnlyINTEL = 5937,
} }
public enum Dim public enum Dim
...@@ -371,6 +379,8 @@ namespace Spv ...@@ -371,6 +379,8 @@ namespace Spv
NSZ = 2, NSZ = 2,
AllowRecip = 3, AllowRecip = 3,
Fast = 4, Fast = 4,
AllowContractFastINTEL = 16,
AllowReassocINTEL = 17,
} }
public enum FPFastMathModeMask public enum FPFastMathModeMask
...@@ -381,6 +391,8 @@ namespace Spv ...@@ -381,6 +391,8 @@ namespace Spv
NSZ = 0x00000004, NSZ = 0x00000004,
AllowRecip = 0x00000008, AllowRecip = 0x00000008,
Fast = 0x00000010, Fast = 0x00000010,
AllowContractFastINTEL = 0x00010000,
AllowReassocINTEL = 0x00020000,
} }
public enum FPRoundingMode public enum FPRoundingMode
...@@ -391,6 +403,18 @@ namespace Spv ...@@ -391,6 +403,18 @@ namespace Spv
RTN = 3, RTN = 3,
} }
public enum FPDenormMode
{
Preserve = 0,
FlushToZero = 1,
}
public enum FPOperationMode
{
IEEE = 0,
ALT = 1,
}
public enum LinkageType public enum LinkageType
{ {
Export = 0, Export = 0,
...@@ -482,12 +506,22 @@ namespace Spv ...@@ -482,12 +506,22 @@ namespace Spv
RestrictPointerEXT = 5355, RestrictPointerEXT = 5355,
AliasedPointer = 5356, AliasedPointer = 5356,
AliasedPointerEXT = 5356, AliasedPointerEXT = 5356,
SIMTCallINTEL = 5599,
ReferencedIndirectlyINTEL = 5602, ReferencedIndirectlyINTEL = 5602,
ClobberINTEL = 5607,
SideEffectsINTEL = 5608,
VectorComputeVariableINTEL = 5624,
FuncParamIOKindINTEL = 5625,
VectorComputeFunctionINTEL = 5626,
StackCallINTEL = 5627,
GlobalVariableOffsetINTEL = 5628,
CounterBuffer = 5634, CounterBuffer = 5634,
HlslCounterBufferGOOGLE = 5634, HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635, HlslSemanticGOOGLE = 5635,
UserSemantic = 5635, UserSemantic = 5635,
UserTypeGOOGLE = 5636, UserTypeGOOGLE = 5636,
FunctionRoundingModeINTEL = 5822,
FunctionDenormModeINTEL = 5823,
RegisterINTEL = 5825, RegisterINTEL = 5825,
MemoryINTEL = 5826, MemoryINTEL = 5826,
NumbanksINTEL = 5827, NumbanksINTEL = 5827,
...@@ -500,6 +534,17 @@ namespace Spv ...@@ -500,6 +534,17 @@ namespace Spv
MergeINTEL = 5834, MergeINTEL = 5834,
BankBitsINTEL = 5835, BankBitsINTEL = 5835,
ForcePow2DepthINTEL = 5836, ForcePow2DepthINTEL = 5836,
BurstCoalesceINTEL = 5899,
CacheSizeINTEL = 5900,
DontStaticallyCoalesceINTEL = 5901,
PrefetchINTEL = 5902,
StallEnableINTEL = 5905,
FuseLoopsInFunctionINTEL = 5907,
BufferLocationINTEL = 5921,
IOPipeStorageINTEL = 5944,
FunctionFloatingPointModeINTEL = 6080,
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
} }
public enum BuiltIn public enum BuiltIn
...@@ -612,7 +657,6 @@ namespace Spv ...@@ -612,7 +657,6 @@ namespace Spv
ObjectToWorldNV = 5330, ObjectToWorldNV = 5330,
WorldToObjectKHR = 5331, WorldToObjectKHR = 5331,
WorldToObjectNV = 5331, WorldToObjectNV = 5331,
HitTKHR = 5332,
HitTNV = 5332, HitTNV = 5332,
HitKindKHR = 5333, HitKindKHR = 5333,
HitKindNV = 5333, HitKindNV = 5333,
...@@ -656,6 +700,7 @@ namespace Spv ...@@ -656,6 +700,7 @@ namespace Spv
LoopCoalesceINTEL = 20, LoopCoalesceINTEL = 20,
MaxInterleavingINTEL = 21, MaxInterleavingINTEL = 21,
SpeculatedIterationsINTEL = 22, SpeculatedIterationsINTEL = 22,
NoFusionINTEL = 23,
} }
public enum LoopControlMask public enum LoopControlMask
...@@ -677,6 +722,7 @@ namespace Spv ...@@ -677,6 +722,7 @@ namespace Spv
LoopCoalesceINTEL = 0x00100000, LoopCoalesceINTEL = 0x00100000,
MaxInterleavingINTEL = 0x00200000, MaxInterleavingINTEL = 0x00200000,
SpeculatedIterationsINTEL = 0x00400000, SpeculatedIterationsINTEL = 0x00400000,
NoFusionINTEL = 0x00800000,
} }
public enum FunctionControlShift public enum FunctionControlShift
...@@ -971,21 +1017,37 @@ namespace Spv ...@@ -971,21 +1017,37 @@ namespace Spv
SubgroupBufferBlockIOINTEL = 5569, SubgroupBufferBlockIOINTEL = 5569,
SubgroupImageBlockIOINTEL = 5570, SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579, SubgroupImageMediaBlockIOINTEL = 5579,
RoundToInfinityINTEL = 5582,
FloatingPointModeINTEL = 5583,
IntegerFunctions2INTEL = 5584, IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603, FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604, IndirectReferencesINTEL = 5604,
AsmINTEL = 5606,
VectorComputeINTEL = 5617,
VectorAnyINTEL = 5619,
SubgroupAvcMotionEstimationINTEL = 5696, SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697, SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698, SubgroupAvcMotionEstimationChromaINTEL = 5698,
VariableLengthArrayINTEL = 5817,
FunctionFloatControlINTEL = 5821,
FPGAMemoryAttributesINTEL = 5824, FPGAMemoryAttributesINTEL = 5824,
FPFastMathModeINTEL = 5837,
ArbitraryPrecisionIntegersINTEL = 5844,
UnstructuredLoopControlsINTEL = 5886, UnstructuredLoopControlsINTEL = 5886,
FPGALoopControlsINTEL = 5888, FPGALoopControlsINTEL = 5888,
KernelAttributesINTEL = 5892, KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897, FPGAKernelAttributesINTEL = 5897,
FPGAMemoryAccessesINTEL = 5898,
FPGAClusterAttributesINTEL = 5904,
LoopFuseINTEL = 5906,
FPGABufferLocationINTEL = 5920,
USMStorageClassesINTEL = 5935,
IOPipesINTEL = 5943,
BlockingPipesINTEL = 5945, BlockingPipesINTEL = 5945,
FPGARegINTEL = 5948, FPGARegINTEL = 5948,
AtomicFloat32AddEXT = 6033, AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034, AtomicFloat64AddEXT = 6034,
LongConstantCompositeINTEL = 6089,
} }
public enum RayFlagsShift public enum RayFlagsShift
...@@ -1473,8 +1535,11 @@ namespace Spv ...@@ -1473,8 +1535,11 @@ namespace Spv
OpUSubSatINTEL = 5596, OpUSubSatINTEL = 5596,
OpIMul32x16INTEL = 5597, OpIMul32x16INTEL = 5597,
OpUMul32x16INTEL = 5598, OpUMul32x16INTEL = 5598,
OpFunctionPointerINTEL = 5600, OpConstFunctionPointerINTEL = 5600,
OpFunctionPointerCallINTEL = 5601, OpFunctionPointerCallINTEL = 5601,
OpAsmTargetINTEL = 5609,
OpAsmINTEL = 5610,
OpAsmCallINTEL = 5611,
OpDecorateString = 5632, OpDecorateString = 5632,
OpDecorateStringGOOGLE = 5632, OpDecorateStringGOOGLE = 5632,
OpMemberDecorateString = 5633, OpMemberDecorateString = 5633,
...@@ -1597,7 +1662,12 @@ namespace Spv ...@@ -1597,7 +1662,12 @@ namespace Spv
OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
OpVariableLengthArrayINTEL = 5818,
OpSaveMemoryINTEL = 5819,
OpRestoreMemoryINTEL = 5820,
OpLoopControlINTEL = 5887, OpLoopControlINTEL = 5887,
OpPtrCastToCrossWorkgroupINTEL = 5934,
OpCrossWorkgroupCastToPtrINTEL = 5938,
OpReadPipeBlockingINTEL = 5946, OpReadPipeBlockingINTEL = 5946,
OpWritePipeBlockingINTEL = 5947, OpWritePipeBlockingINTEL = 5947,
OpFPGARegINTEL = 5949, OpFPGARegINTEL = 5949,
...@@ -1619,6 +1689,10 @@ namespace Spv ...@@ -1619,6 +1689,10 @@ namespace Spv
OpRayQueryGetIntersectionObjectToWorldKHR = 6031, OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
OpRayQueryGetIntersectionWorldToObjectKHR = 6032, OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
OpAtomicFAddEXT = 6035, OpAtomicFAddEXT = 6035,
OpTypeBufferSurfaceINTEL = 6086,
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
} }
} }
} }
......
...@@ -168,10 +168,16 @@ enum class ExecutionMode : unsigned { ...@@ -168,10 +168,16 @@ enum class ExecutionMode : unsigned {
SampleInterlockUnorderedEXT = 5369, SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371, ShadingRateInterlockUnorderedEXT = 5371,
SharedLocalMemorySizeINTEL = 5618,
RoundingModeRTPINTEL = 5620,
RoundingModeRTNINTEL = 5621,
FloatingPointModeALTINTEL = 5622,
FloatingPointModeIEEEINTEL = 5623,
MaxWorkgroupSizeINTEL = 5893, MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894, MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895, NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896, NumSIMDWorkitemsINTEL = 5896,
SchedulerTargetFmaxMhzINTEL = 5903,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
...@@ -204,6 +210,8 @@ enum class StorageClass : unsigned { ...@@ -204,6 +210,8 @@ enum class StorageClass : unsigned {
PhysicalStorageBuffer = 5349, PhysicalStorageBuffer = 5349,
PhysicalStorageBufferEXT = 5349, PhysicalStorageBufferEXT = 5349,
CodeSectionINTEL = 5605, CodeSectionINTEL = 5605,
DeviceOnlyINTEL = 5936,
HostOnlyINTEL = 5937,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
...@@ -374,6 +382,8 @@ enum class FPFastMathModeShift : unsigned { ...@@ -374,6 +382,8 @@ enum class FPFastMathModeShift : unsigned {
NSZ = 2, NSZ = 2,
AllowRecip = 3, AllowRecip = 3,
Fast = 4, Fast = 4,
AllowContractFastINTEL = 16,
AllowReassocINTEL = 17,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
...@@ -384,6 +394,8 @@ enum class FPFastMathModeMask : unsigned { ...@@ -384,6 +394,8 @@ enum class FPFastMathModeMask : unsigned {
NSZ = 0x00000004, NSZ = 0x00000004,
AllowRecip = 0x00000008, AllowRecip = 0x00000008,
Fast = 0x00000010, Fast = 0x00000010,
AllowContractFastINTEL = 0x00010000,
AllowReassocINTEL = 0x00020000,
}; };
enum class FPRoundingMode : unsigned { enum class FPRoundingMode : unsigned {
...@@ -394,6 +406,18 @@ enum class FPRoundingMode : unsigned { ...@@ -394,6 +406,18 @@ enum class FPRoundingMode : unsigned {
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
enum class FPDenormMode : unsigned {
Preserve = 0,
FlushToZero = 1,
Max = 0x7fffffff,
};
enum class FPOperationMode : unsigned {
IEEE = 0,
ALT = 1,
Max = 0x7fffffff,
};
enum class LinkageType : unsigned { enum class LinkageType : unsigned {
Export = 0, Export = 0,
Import = 1, Import = 1,
...@@ -484,12 +508,22 @@ enum class Decoration : unsigned { ...@@ -484,12 +508,22 @@ enum class Decoration : unsigned {
RestrictPointerEXT = 5355, RestrictPointerEXT = 5355,
AliasedPointer = 5356, AliasedPointer = 5356,
AliasedPointerEXT = 5356, AliasedPointerEXT = 5356,
SIMTCallINTEL = 5599,
ReferencedIndirectlyINTEL = 5602, ReferencedIndirectlyINTEL = 5602,
ClobberINTEL = 5607,
SideEffectsINTEL = 5608,
VectorComputeVariableINTEL = 5624,
FuncParamIOKindINTEL = 5625,
VectorComputeFunctionINTEL = 5626,
StackCallINTEL = 5627,
GlobalVariableOffsetINTEL = 5628,
CounterBuffer = 5634, CounterBuffer = 5634,
HlslCounterBufferGOOGLE = 5634, HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635, HlslSemanticGOOGLE = 5635,
UserSemantic = 5635, UserSemantic = 5635,
UserTypeGOOGLE = 5636, UserTypeGOOGLE = 5636,
FunctionRoundingModeINTEL = 5822,
FunctionDenormModeINTEL = 5823,
RegisterINTEL = 5825, RegisterINTEL = 5825,
MemoryINTEL = 5826, MemoryINTEL = 5826,
NumbanksINTEL = 5827, NumbanksINTEL = 5827,
...@@ -502,6 +536,17 @@ enum class Decoration : unsigned { ...@@ -502,6 +536,17 @@ enum class Decoration : unsigned {
MergeINTEL = 5834, MergeINTEL = 5834,
BankBitsINTEL = 5835, BankBitsINTEL = 5835,
ForcePow2DepthINTEL = 5836, ForcePow2DepthINTEL = 5836,
BurstCoalesceINTEL = 5899,
CacheSizeINTEL = 5900,
DontStaticallyCoalesceINTEL = 5901,
PrefetchINTEL = 5902,
StallEnableINTEL = 5905,
FuseLoopsInFunctionINTEL = 5907,
BufferLocationINTEL = 5921,
IOPipeStorageINTEL = 5944,
FunctionFloatingPointModeINTEL = 6080,
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
...@@ -614,7 +659,6 @@ enum class BuiltIn : unsigned { ...@@ -614,7 +659,6 @@ enum class BuiltIn : unsigned {
ObjectToWorldNV = 5330, ObjectToWorldNV = 5330,
WorldToObjectKHR = 5331, WorldToObjectKHR = 5331,
WorldToObjectNV = 5331, WorldToObjectNV = 5331,
HitTKHR = 5332,
HitTNV = 5332, HitTNV = 5332,
HitKindKHR = 5333, HitKindKHR = 5333,
HitKindNV = 5333, HitKindNV = 5333,
...@@ -657,6 +701,7 @@ enum class LoopControlShift : unsigned { ...@@ -657,6 +701,7 @@ enum class LoopControlShift : unsigned {
LoopCoalesceINTEL = 20, LoopCoalesceINTEL = 20,
MaxInterleavingINTEL = 21, MaxInterleavingINTEL = 21,
SpeculatedIterationsINTEL = 22, SpeculatedIterationsINTEL = 22,
NoFusionINTEL = 23,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
...@@ -678,6 +723,7 @@ enum class LoopControlMask : unsigned { ...@@ -678,6 +723,7 @@ enum class LoopControlMask : unsigned {
LoopCoalesceINTEL = 0x00100000, LoopCoalesceINTEL = 0x00100000,
MaxInterleavingINTEL = 0x00200000, MaxInterleavingINTEL = 0x00200000,
SpeculatedIterationsINTEL = 0x00400000, SpeculatedIterationsINTEL = 0x00400000,
NoFusionINTEL = 0x00800000,
}; };
enum class FunctionControlShift : unsigned { enum class FunctionControlShift : unsigned {
...@@ -967,21 +1013,37 @@ enum class Capability : unsigned { ...@@ -967,21 +1013,37 @@ enum class Capability : unsigned {
SubgroupBufferBlockIOINTEL = 5569, SubgroupBufferBlockIOINTEL = 5569,
SubgroupImageBlockIOINTEL = 5570, SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579, SubgroupImageMediaBlockIOINTEL = 5579,
RoundToInfinityINTEL = 5582,
FloatingPointModeINTEL = 5583,
IntegerFunctions2INTEL = 5584, IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603, FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604, IndirectReferencesINTEL = 5604,
AsmINTEL = 5606,
VectorComputeINTEL = 5617,
VectorAnyINTEL = 5619,
SubgroupAvcMotionEstimationINTEL = 5696, SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697, SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698, SubgroupAvcMotionEstimationChromaINTEL = 5698,
VariableLengthArrayINTEL = 5817,
FunctionFloatControlINTEL = 5821,
FPGAMemoryAttributesINTEL = 5824, FPGAMemoryAttributesINTEL = 5824,
FPFastMathModeINTEL = 5837,
ArbitraryPrecisionIntegersINTEL = 5844,
UnstructuredLoopControlsINTEL = 5886, UnstructuredLoopControlsINTEL = 5886,
FPGALoopControlsINTEL = 5888, FPGALoopControlsINTEL = 5888,
KernelAttributesINTEL = 5892, KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897, FPGAKernelAttributesINTEL = 5897,
FPGAMemoryAccessesINTEL = 5898,
FPGAClusterAttributesINTEL = 5904,
LoopFuseINTEL = 5906,
FPGABufferLocationINTEL = 5920,
USMStorageClassesINTEL = 5935,
IOPipesINTEL = 5943,
BlockingPipesINTEL = 5945, BlockingPipesINTEL = 5945,
FPGARegINTEL = 5948, FPGARegINTEL = 5948,
AtomicFloat32AddEXT = 6033, AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034, AtomicFloat64AddEXT = 6034,
LongConstantCompositeINTEL = 6089,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
...@@ -1467,8 +1529,11 @@ enum class Op : unsigned { ...@@ -1467,8 +1529,11 @@ enum class Op : unsigned {
OpUSubSatINTEL = 5596, OpUSubSatINTEL = 5596,
OpIMul32x16INTEL = 5597, OpIMul32x16INTEL = 5597,
OpUMul32x16INTEL = 5598, OpUMul32x16INTEL = 5598,
OpFunctionPointerINTEL = 5600, OpConstFunctionPointerINTEL = 5600,
OpFunctionPointerCallINTEL = 5601, OpFunctionPointerCallINTEL = 5601,
OpAsmTargetINTEL = 5609,
OpAsmINTEL = 5610,
OpAsmCallINTEL = 5611,
OpDecorateString = 5632, OpDecorateString = 5632,
OpDecorateStringGOOGLE = 5632, OpDecorateStringGOOGLE = 5632,
OpMemberDecorateString = 5633, OpMemberDecorateString = 5633,
...@@ -1591,7 +1656,12 @@ enum class Op : unsigned { ...@@ -1591,7 +1656,12 @@ enum class Op : unsigned {
OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
OpVariableLengthArrayINTEL = 5818,
OpSaveMemoryINTEL = 5819,
OpRestoreMemoryINTEL = 5820,
OpLoopControlINTEL = 5887, OpLoopControlINTEL = 5887,
OpPtrCastToCrossWorkgroupINTEL = 5934,
OpCrossWorkgroupCastToPtrINTEL = 5938,
OpReadPipeBlockingINTEL = 5946, OpReadPipeBlockingINTEL = 5946,
OpWritePipeBlockingINTEL = 5947, OpWritePipeBlockingINTEL = 5947,
OpFPGARegINTEL = 5949, OpFPGARegINTEL = 5949,
...@@ -1613,6 +1683,10 @@ enum class Op : unsigned { ...@@ -1613,6 +1683,10 @@ enum class Op : unsigned {
OpRayQueryGetIntersectionObjectToWorldKHR = 6031, OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
OpRayQueryGetIntersectionWorldToObjectKHR = 6032, OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
OpAtomicFAddEXT = 6035, OpAtomicFAddEXT = 6035,
OpTypeBufferSurfaceINTEL = 6086,
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
...@@ -2037,8 +2111,11 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { ...@@ -2037,8 +2111,11 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case Op::OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break; case Op::OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break; case Op::OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpConstFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpAsmINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpAsmCallINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpDecorateString: *hasResult = false; *hasResultType = false; break; case Op::OpDecorateString: *hasResult = false; *hasResultType = false; break;
case Op::OpMemberDecorateString: *hasResult = false; *hasResultType = false; break; case Op::OpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
case Op::OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
...@@ -2159,7 +2236,12 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { ...@@ -2159,7 +2236,12 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case Op::OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break;
case Op::OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break;
case Op::OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break;
...@@ -2181,6 +2263,10 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { ...@@ -2181,6 +2263,10 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case Op::OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break; case Op::OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
case Op::OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break; case Op::OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
case Op::OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break; case Op::OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break;
case Op::OpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break;
case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
} }
} }
#endif /* SPV_ENABLE_UTILITY_CODE */ #endif /* SPV_ENABLE_UTILITY_CODE */
......
...@@ -187,10 +187,16 @@ ...@@ -187,10 +187,16 @@
"SampleInterlockUnorderedEXT": 5369, "SampleInterlockUnorderedEXT": 5369,
"ShadingRateInterlockOrderedEXT": 5370, "ShadingRateInterlockOrderedEXT": 5370,
"ShadingRateInterlockUnorderedEXT": 5371, "ShadingRateInterlockUnorderedEXT": 5371,
"SharedLocalMemorySizeINTEL": 5618,
"RoundingModeRTPINTEL": 5620,
"RoundingModeRTNINTEL": 5621,
"FloatingPointModeALTINTEL": 5622,
"FloatingPointModeIEEEINTEL": 5623,
"MaxWorkgroupSizeINTEL": 5893, "MaxWorkgroupSizeINTEL": 5893,
"MaxWorkDimINTEL": 5894, "MaxWorkDimINTEL": 5894,
"NoGlobalOffsetINTEL": 5895, "NoGlobalOffsetINTEL": 5895,
"NumSIMDWorkitemsINTEL": 5896 "NumSIMDWorkitemsINTEL": 5896,
"SchedulerTargetFmaxMhzINTEL": 5903
} }
}, },
{ {
...@@ -225,7 +231,9 @@ ...@@ -225,7 +231,9 @@
"ShaderRecordBufferNV": 5343, "ShaderRecordBufferNV": 5343,
"PhysicalStorageBuffer": 5349, "PhysicalStorageBuffer": 5349,
"PhysicalStorageBufferEXT": 5349, "PhysicalStorageBufferEXT": 5349,
"CodeSectionINTEL": 5605 "CodeSectionINTEL": 5605,
"DeviceOnlyINTEL": 5936,
"HostOnlyINTEL": 5937
} }
}, },
{ {
...@@ -397,7 +405,9 @@ ...@@ -397,7 +405,9 @@
"NotInf": 1, "NotInf": 1,
"NSZ": 2, "NSZ": 2,
"AllowRecip": 3, "AllowRecip": 3,
"Fast": 4 "Fast": 4,
"AllowContractFastINTEL": 16,
"AllowReassocINTEL": 17
} }
}, },
{ {
...@@ -412,6 +422,24 @@ ...@@ -412,6 +422,24 @@
} }
}, },
{ {
"Name": "FPDenormMode",
"Type": "Value",
"Values":
{
"Preserve": 0,
"FlushToZero": 1
}
},
{
"Name": "FPOperationMode",
"Type": "Value",
"Values":
{
"IEEE": 0,
"ALT": 1
}
},
{
"Name": "LinkageType", "Name": "LinkageType",
"Type": "Value", "Type": "Value",
"Values": "Values":
...@@ -514,12 +542,22 @@ ...@@ -514,12 +542,22 @@
"RestrictPointerEXT": 5355, "RestrictPointerEXT": 5355,
"AliasedPointer": 5356, "AliasedPointer": 5356,
"AliasedPointerEXT": 5356, "AliasedPointerEXT": 5356,
"SIMTCallINTEL": 5599,
"ReferencedIndirectlyINTEL": 5602, "ReferencedIndirectlyINTEL": 5602,
"ClobberINTEL": 5607,
"SideEffectsINTEL": 5608,
"VectorComputeVariableINTEL": 5624,
"FuncParamIOKindINTEL": 5625,
"VectorComputeFunctionINTEL": 5626,
"StackCallINTEL": 5627,
"GlobalVariableOffsetINTEL": 5628,
"CounterBuffer": 5634, "CounterBuffer": 5634,
"HlslCounterBufferGOOGLE": 5634, "HlslCounterBufferGOOGLE": 5634,
"HlslSemanticGOOGLE": 5635, "HlslSemanticGOOGLE": 5635,
"UserSemantic": 5635, "UserSemantic": 5635,
"UserTypeGOOGLE": 5636, "UserTypeGOOGLE": 5636,
"FunctionRoundingModeINTEL": 5822,
"FunctionDenormModeINTEL": 5823,
"RegisterINTEL": 5825, "RegisterINTEL": 5825,
"MemoryINTEL": 5826, "MemoryINTEL": 5826,
"NumbanksINTEL": 5827, "NumbanksINTEL": 5827,
...@@ -531,7 +569,18 @@ ...@@ -531,7 +569,18 @@
"SimpleDualPortINTEL": 5833, "SimpleDualPortINTEL": 5833,
"MergeINTEL": 5834, "MergeINTEL": 5834,
"BankBitsINTEL": 5835, "BankBitsINTEL": 5835,
"ForcePow2DepthINTEL": 5836 "ForcePow2DepthINTEL": 5836,
"BurstCoalesceINTEL": 5899,
"CacheSizeINTEL": 5900,
"DontStaticallyCoalesceINTEL": 5901,
"PrefetchINTEL": 5902,
"StallEnableINTEL": 5905,
"FuseLoopsInFunctionINTEL": 5907,
"BufferLocationINTEL": 5921,
"IOPipeStorageINTEL": 5944,
"FunctionFloatingPointModeINTEL": 6080,
"SingleElementVectorINTEL": 6085,
"VectorComputeCallableFunctionINTEL": 6087
} }
}, },
{ {
...@@ -647,7 +696,6 @@ ...@@ -647,7 +696,6 @@
"ObjectToWorldNV": 5330, "ObjectToWorldNV": 5330,
"WorldToObjectKHR": 5331, "WorldToObjectKHR": 5331,
"WorldToObjectNV": 5331, "WorldToObjectNV": 5331,
"HitTKHR": 5332,
"HitTNV": 5332, "HitTNV": 5332,
"HitKindKHR": 5333, "HitKindKHR": 5333,
"HitKindNV": 5333, "HitKindNV": 5333,
...@@ -689,7 +737,8 @@ ...@@ -689,7 +737,8 @@
"PipelineEnableINTEL": 19, "PipelineEnableINTEL": 19,
"LoopCoalesceINTEL": 20, "LoopCoalesceINTEL": 20,
"MaxInterleavingINTEL": 21, "MaxInterleavingINTEL": 21,
"SpeculatedIterationsINTEL": 22 "SpeculatedIterationsINTEL": 22,
"NoFusionINTEL": 23
} }
}, },
{ {
...@@ -957,21 +1006,37 @@ ...@@ -957,21 +1006,37 @@
"SubgroupBufferBlockIOINTEL": 5569, "SubgroupBufferBlockIOINTEL": 5569,
"SubgroupImageBlockIOINTEL": 5570, "SubgroupImageBlockIOINTEL": 5570,
"SubgroupImageMediaBlockIOINTEL": 5579, "SubgroupImageMediaBlockIOINTEL": 5579,
"RoundToInfinityINTEL": 5582,
"FloatingPointModeINTEL": 5583,
"IntegerFunctions2INTEL": 5584, "IntegerFunctions2INTEL": 5584,
"FunctionPointersINTEL": 5603, "FunctionPointersINTEL": 5603,
"IndirectReferencesINTEL": 5604, "IndirectReferencesINTEL": 5604,
"AsmINTEL": 5606,
"VectorComputeINTEL": 5617,
"VectorAnyINTEL": 5619,
"SubgroupAvcMotionEstimationINTEL": 5696, "SubgroupAvcMotionEstimationINTEL": 5696,
"SubgroupAvcMotionEstimationIntraINTEL": 5697, "SubgroupAvcMotionEstimationIntraINTEL": 5697,
"SubgroupAvcMotionEstimationChromaINTEL": 5698, "SubgroupAvcMotionEstimationChromaINTEL": 5698,
"VariableLengthArrayINTEL": 5817,
"FunctionFloatControlINTEL": 5821,
"FPGAMemoryAttributesINTEL": 5824, "FPGAMemoryAttributesINTEL": 5824,
"FPFastMathModeINTEL": 5837,
"ArbitraryPrecisionIntegersINTEL": 5844,
"UnstructuredLoopControlsINTEL": 5886, "UnstructuredLoopControlsINTEL": 5886,
"FPGALoopControlsINTEL": 5888, "FPGALoopControlsINTEL": 5888,
"KernelAttributesINTEL": 5892, "KernelAttributesINTEL": 5892,
"FPGAKernelAttributesINTEL": 5897, "FPGAKernelAttributesINTEL": 5897,
"FPGAMemoryAccessesINTEL": 5898,
"FPGAClusterAttributesINTEL": 5904,
"LoopFuseINTEL": 5906,
"FPGABufferLocationINTEL": 5920,
"USMStorageClassesINTEL": 5935,
"IOPipesINTEL": 5943,
"BlockingPipesINTEL": 5945, "BlockingPipesINTEL": 5945,
"FPGARegINTEL": 5948, "FPGARegINTEL": 5948,
"AtomicFloat32AddEXT": 6033, "AtomicFloat32AddEXT": 6033,
"AtomicFloat64AddEXT": 6034 "AtomicFloat64AddEXT": 6034,
"LongConstantCompositeINTEL": 6089
} }
}, },
{ {
...@@ -1453,8 +1518,11 @@ ...@@ -1453,8 +1518,11 @@
"OpUSubSatINTEL": 5596, "OpUSubSatINTEL": 5596,
"OpIMul32x16INTEL": 5597, "OpIMul32x16INTEL": 5597,
"OpUMul32x16INTEL": 5598, "OpUMul32x16INTEL": 5598,
"OpFunctionPointerINTEL": 5600, "OpConstFunctionPointerINTEL": 5600,
"OpFunctionPointerCallINTEL": 5601, "OpFunctionPointerCallINTEL": 5601,
"OpAsmTargetINTEL": 5609,
"OpAsmINTEL": 5610,
"OpAsmCallINTEL": 5611,
"OpDecorateString": 5632, "OpDecorateString": 5632,
"OpDecorateStringGOOGLE": 5632, "OpDecorateStringGOOGLE": 5632,
"OpMemberDecorateString": 5633, "OpMemberDecorateString": 5633,
...@@ -1577,7 +1645,12 @@ ...@@ -1577,7 +1645,12 @@
"OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL": 5814, "OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL": 5814,
"OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL": 5815, "OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL": 5815,
"OpSubgroupAvcSicGetInterRawSadsINTEL": 5816, "OpSubgroupAvcSicGetInterRawSadsINTEL": 5816,
"OpVariableLengthArrayINTEL": 5818,
"OpSaveMemoryINTEL": 5819,
"OpRestoreMemoryINTEL": 5820,
"OpLoopControlINTEL": 5887, "OpLoopControlINTEL": 5887,
"OpPtrCastToCrossWorkgroupINTEL": 5934,
"OpCrossWorkgroupCastToPtrINTEL": 5938,
"OpReadPipeBlockingINTEL": 5946, "OpReadPipeBlockingINTEL": 5946,
"OpWritePipeBlockingINTEL": 5947, "OpWritePipeBlockingINTEL": 5947,
"OpFPGARegINTEL": 5949, "OpFPGARegINTEL": 5949,
...@@ -1598,7 +1671,11 @@ ...@@ -1598,7 +1671,11 @@
"OpRayQueryGetWorldRayOriginKHR": 6030, "OpRayQueryGetWorldRayOriginKHR": 6030,
"OpRayQueryGetIntersectionObjectToWorldKHR": 6031, "OpRayQueryGetIntersectionObjectToWorldKHR": 6031,
"OpRayQueryGetIntersectionWorldToObjectKHR": 6032, "OpRayQueryGetIntersectionWorldToObjectKHR": 6032,
"OpAtomicFAddEXT": 6035 "OpAtomicFAddEXT": 6035,
"OpTypeBufferSurfaceINTEL": 6086,
"OpTypeStructContinuedINTEL": 6090,
"OpConstantCompositeContinuedINTEL": 6091,
"OpSpecConstantCompositeContinuedINTEL": 6092
} }
} }
] ]
......
...@@ -155,10 +155,16 @@ spv = { ...@@ -155,10 +155,16 @@ spv = {
SampleInterlockUnorderedEXT = 5369, SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371, ShadingRateInterlockUnorderedEXT = 5371,
SharedLocalMemorySizeINTEL = 5618,
RoundingModeRTPINTEL = 5620,
RoundingModeRTNINTEL = 5621,
FloatingPointModeALTINTEL = 5622,
FloatingPointModeIEEEINTEL = 5623,
MaxWorkgroupSizeINTEL = 5893, MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894, MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895, NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896, NumSIMDWorkitemsINTEL = 5896,
SchedulerTargetFmaxMhzINTEL = 5903,
}, },
StorageClass = { StorageClass = {
...@@ -190,6 +196,8 @@ spv = { ...@@ -190,6 +196,8 @@ spv = {
PhysicalStorageBuffer = 5349, PhysicalStorageBuffer = 5349,
PhysicalStorageBufferEXT = 5349, PhysicalStorageBufferEXT = 5349,
CodeSectionINTEL = 5605, CodeSectionINTEL = 5605,
DeviceOnlyINTEL = 5936,
HostOnlyINTEL = 5937,
}, },
Dim = { Dim = {
...@@ -352,6 +360,8 @@ spv = { ...@@ -352,6 +360,8 @@ spv = {
NSZ = 2, NSZ = 2,
AllowRecip = 3, AllowRecip = 3,
Fast = 4, Fast = 4,
AllowContractFastINTEL = 16,
AllowReassocINTEL = 17,
}, },
FPFastMathModeMask = { FPFastMathModeMask = {
...@@ -361,6 +371,8 @@ spv = { ...@@ -361,6 +371,8 @@ spv = {
NSZ = 0x00000004, NSZ = 0x00000004,
AllowRecip = 0x00000008, AllowRecip = 0x00000008,
Fast = 0x00000010, Fast = 0x00000010,
AllowContractFastINTEL = 0x00010000,
AllowReassocINTEL = 0x00020000,
}, },
FPRoundingMode = { FPRoundingMode = {
...@@ -370,6 +382,16 @@ spv = { ...@@ -370,6 +382,16 @@ spv = {
RTN = 3, RTN = 3,
}, },
FPDenormMode = {
Preserve = 0,
FlushToZero = 1,
},
FPOperationMode = {
IEEE = 0,
ALT = 1,
},
LinkageType = { LinkageType = {
Export = 0, Export = 0,
Import = 1, Import = 1,
...@@ -457,12 +479,22 @@ spv = { ...@@ -457,12 +479,22 @@ spv = {
RestrictPointerEXT = 5355, RestrictPointerEXT = 5355,
AliasedPointer = 5356, AliasedPointer = 5356,
AliasedPointerEXT = 5356, AliasedPointerEXT = 5356,
SIMTCallINTEL = 5599,
ReferencedIndirectlyINTEL = 5602, ReferencedIndirectlyINTEL = 5602,
ClobberINTEL = 5607,
SideEffectsINTEL = 5608,
VectorComputeVariableINTEL = 5624,
FuncParamIOKindINTEL = 5625,
VectorComputeFunctionINTEL = 5626,
StackCallINTEL = 5627,
GlobalVariableOffsetINTEL = 5628,
CounterBuffer = 5634, CounterBuffer = 5634,
HlslCounterBufferGOOGLE = 5634, HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635, HlslSemanticGOOGLE = 5635,
UserSemantic = 5635, UserSemantic = 5635,
UserTypeGOOGLE = 5636, UserTypeGOOGLE = 5636,
FunctionRoundingModeINTEL = 5822,
FunctionDenormModeINTEL = 5823,
RegisterINTEL = 5825, RegisterINTEL = 5825,
MemoryINTEL = 5826, MemoryINTEL = 5826,
NumbanksINTEL = 5827, NumbanksINTEL = 5827,
...@@ -475,6 +507,17 @@ spv = { ...@@ -475,6 +507,17 @@ spv = {
MergeINTEL = 5834, MergeINTEL = 5834,
BankBitsINTEL = 5835, BankBitsINTEL = 5835,
ForcePow2DepthINTEL = 5836, ForcePow2DepthINTEL = 5836,
BurstCoalesceINTEL = 5899,
CacheSizeINTEL = 5900,
DontStaticallyCoalesceINTEL = 5901,
PrefetchINTEL = 5902,
StallEnableINTEL = 5905,
FuseLoopsInFunctionINTEL = 5907,
BufferLocationINTEL = 5921,
IOPipeStorageINTEL = 5944,
FunctionFloatingPointModeINTEL = 6080,
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
}, },
BuiltIn = { BuiltIn = {
...@@ -586,7 +629,6 @@ spv = { ...@@ -586,7 +629,6 @@ spv = {
ObjectToWorldNV = 5330, ObjectToWorldNV = 5330,
WorldToObjectKHR = 5331, WorldToObjectKHR = 5331,
WorldToObjectNV = 5331, WorldToObjectNV = 5331,
HitTKHR = 5332,
HitTNV = 5332, HitTNV = 5332,
HitKindKHR = 5333, HitKindKHR = 5333,
HitKindNV = 5333, HitKindNV = 5333,
...@@ -627,6 +669,7 @@ spv = { ...@@ -627,6 +669,7 @@ spv = {
LoopCoalesceINTEL = 20, LoopCoalesceINTEL = 20,
MaxInterleavingINTEL = 21, MaxInterleavingINTEL = 21,
SpeculatedIterationsINTEL = 22, SpeculatedIterationsINTEL = 22,
NoFusionINTEL = 23,
}, },
LoopControlMask = { LoopControlMask = {
...@@ -647,6 +690,7 @@ spv = { ...@@ -647,6 +690,7 @@ spv = {
LoopCoalesceINTEL = 0x00100000, LoopCoalesceINTEL = 0x00100000,
MaxInterleavingINTEL = 0x00200000, MaxInterleavingINTEL = 0x00200000,
SpeculatedIterationsINTEL = 0x00400000, SpeculatedIterationsINTEL = 0x00400000,
NoFusionINTEL = 0x00800000,
}, },
FunctionControlShift = { FunctionControlShift = {
...@@ -929,21 +973,37 @@ spv = { ...@@ -929,21 +973,37 @@ spv = {
SubgroupBufferBlockIOINTEL = 5569, SubgroupBufferBlockIOINTEL = 5569,
SubgroupImageBlockIOINTEL = 5570, SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579, SubgroupImageMediaBlockIOINTEL = 5579,
RoundToInfinityINTEL = 5582,
FloatingPointModeINTEL = 5583,
IntegerFunctions2INTEL = 5584, IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603, FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604, IndirectReferencesINTEL = 5604,
AsmINTEL = 5606,
VectorComputeINTEL = 5617,
VectorAnyINTEL = 5619,
SubgroupAvcMotionEstimationINTEL = 5696, SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697, SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698, SubgroupAvcMotionEstimationChromaINTEL = 5698,
VariableLengthArrayINTEL = 5817,
FunctionFloatControlINTEL = 5821,
FPGAMemoryAttributesINTEL = 5824, FPGAMemoryAttributesINTEL = 5824,
FPFastMathModeINTEL = 5837,
ArbitraryPrecisionIntegersINTEL = 5844,
UnstructuredLoopControlsINTEL = 5886, UnstructuredLoopControlsINTEL = 5886,
FPGALoopControlsINTEL = 5888, FPGALoopControlsINTEL = 5888,
KernelAttributesINTEL = 5892, KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897, FPGAKernelAttributesINTEL = 5897,
FPGAMemoryAccessesINTEL = 5898,
FPGAClusterAttributesINTEL = 5904,
LoopFuseINTEL = 5906,
FPGABufferLocationINTEL = 5920,
USMStorageClassesINTEL = 5935,
IOPipesINTEL = 5943,
BlockingPipesINTEL = 5945, BlockingPipesINTEL = 5945,
FPGARegINTEL = 5948, FPGARegINTEL = 5948,
AtomicFloat32AddEXT = 6033, AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034, AtomicFloat64AddEXT = 6034,
LongConstantCompositeINTEL = 6089,
}, },
RayFlagsShift = { RayFlagsShift = {
...@@ -1423,8 +1483,11 @@ spv = { ...@@ -1423,8 +1483,11 @@ spv = {
OpUSubSatINTEL = 5596, OpUSubSatINTEL = 5596,
OpIMul32x16INTEL = 5597, OpIMul32x16INTEL = 5597,
OpUMul32x16INTEL = 5598, OpUMul32x16INTEL = 5598,
OpFunctionPointerINTEL = 5600, OpConstFunctionPointerINTEL = 5600,
OpFunctionPointerCallINTEL = 5601, OpFunctionPointerCallINTEL = 5601,
OpAsmTargetINTEL = 5609,
OpAsmINTEL = 5610,
OpAsmCallINTEL = 5611,
OpDecorateString = 5632, OpDecorateString = 5632,
OpDecorateStringGOOGLE = 5632, OpDecorateStringGOOGLE = 5632,
OpMemberDecorateString = 5633, OpMemberDecorateString = 5633,
...@@ -1547,7 +1610,12 @@ spv = { ...@@ -1547,7 +1610,12 @@ spv = {
OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
OpVariableLengthArrayINTEL = 5818,
OpSaveMemoryINTEL = 5819,
OpRestoreMemoryINTEL = 5820,
OpLoopControlINTEL = 5887, OpLoopControlINTEL = 5887,
OpPtrCastToCrossWorkgroupINTEL = 5934,
OpCrossWorkgroupCastToPtrINTEL = 5938,
OpReadPipeBlockingINTEL = 5946, OpReadPipeBlockingINTEL = 5946,
OpWritePipeBlockingINTEL = 5947, OpWritePipeBlockingINTEL = 5947,
OpFPGARegINTEL = 5949, OpFPGARegINTEL = 5949,
...@@ -1569,6 +1637,10 @@ spv = { ...@@ -1569,6 +1637,10 @@ spv = {
OpRayQueryGetIntersectionObjectToWorldKHR = 6031, OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
OpRayQueryGetIntersectionWorldToObjectKHR = 6032, OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
OpAtomicFAddEXT = 6035, OpAtomicFAddEXT = 6035,
OpTypeBufferSurfaceINTEL = 6086,
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
}, },
} }
......
...@@ -155,10 +155,16 @@ spv = { ...@@ -155,10 +155,16 @@ spv = {
'SampleInterlockUnorderedEXT' : 5369, 'SampleInterlockUnorderedEXT' : 5369,
'ShadingRateInterlockOrderedEXT' : 5370, 'ShadingRateInterlockOrderedEXT' : 5370,
'ShadingRateInterlockUnorderedEXT' : 5371, 'ShadingRateInterlockUnorderedEXT' : 5371,
'SharedLocalMemorySizeINTEL' : 5618,
'RoundingModeRTPINTEL' : 5620,
'RoundingModeRTNINTEL' : 5621,
'FloatingPointModeALTINTEL' : 5622,
'FloatingPointModeIEEEINTEL' : 5623,
'MaxWorkgroupSizeINTEL' : 5893, 'MaxWorkgroupSizeINTEL' : 5893,
'MaxWorkDimINTEL' : 5894, 'MaxWorkDimINTEL' : 5894,
'NoGlobalOffsetINTEL' : 5895, 'NoGlobalOffsetINTEL' : 5895,
'NumSIMDWorkitemsINTEL' : 5896, 'NumSIMDWorkitemsINTEL' : 5896,
'SchedulerTargetFmaxMhzINTEL' : 5903,
}, },
'StorageClass' : { 'StorageClass' : {
...@@ -190,6 +196,8 @@ spv = { ...@@ -190,6 +196,8 @@ spv = {
'PhysicalStorageBuffer' : 5349, 'PhysicalStorageBuffer' : 5349,
'PhysicalStorageBufferEXT' : 5349, 'PhysicalStorageBufferEXT' : 5349,
'CodeSectionINTEL' : 5605, 'CodeSectionINTEL' : 5605,
'DeviceOnlyINTEL' : 5936,
'HostOnlyINTEL' : 5937,
}, },
'Dim' : { 'Dim' : {
...@@ -352,6 +360,8 @@ spv = { ...@@ -352,6 +360,8 @@ spv = {
'NSZ' : 2, 'NSZ' : 2,
'AllowRecip' : 3, 'AllowRecip' : 3,
'Fast' : 4, 'Fast' : 4,
'AllowContractFastINTEL' : 16,
'AllowReassocINTEL' : 17,
}, },
'FPFastMathModeMask' : { 'FPFastMathModeMask' : {
...@@ -361,6 +371,8 @@ spv = { ...@@ -361,6 +371,8 @@ spv = {
'NSZ' : 0x00000004, 'NSZ' : 0x00000004,
'AllowRecip' : 0x00000008, 'AllowRecip' : 0x00000008,
'Fast' : 0x00000010, 'Fast' : 0x00000010,
'AllowContractFastINTEL' : 0x00010000,
'AllowReassocINTEL' : 0x00020000,
}, },
'FPRoundingMode' : { 'FPRoundingMode' : {
...@@ -370,6 +382,16 @@ spv = { ...@@ -370,6 +382,16 @@ spv = {
'RTN' : 3, 'RTN' : 3,
}, },
'FPDenormMode' : {
'Preserve' : 0,
'FlushToZero' : 1,
},
'FPOperationMode' : {
'IEEE' : 0,
'ALT' : 1,
},
'LinkageType' : { 'LinkageType' : {
'Export' : 0, 'Export' : 0,
'Import' : 1, 'Import' : 1,
...@@ -457,12 +479,22 @@ spv = { ...@@ -457,12 +479,22 @@ spv = {
'RestrictPointerEXT' : 5355, 'RestrictPointerEXT' : 5355,
'AliasedPointer' : 5356, 'AliasedPointer' : 5356,
'AliasedPointerEXT' : 5356, 'AliasedPointerEXT' : 5356,
'SIMTCallINTEL' : 5599,
'ReferencedIndirectlyINTEL' : 5602, 'ReferencedIndirectlyINTEL' : 5602,
'ClobberINTEL' : 5607,
'SideEffectsINTEL' : 5608,
'VectorComputeVariableINTEL' : 5624,
'FuncParamIOKindINTEL' : 5625,
'VectorComputeFunctionINTEL' : 5626,
'StackCallINTEL' : 5627,
'GlobalVariableOffsetINTEL' : 5628,
'CounterBuffer' : 5634, 'CounterBuffer' : 5634,
'HlslCounterBufferGOOGLE' : 5634, 'HlslCounterBufferGOOGLE' : 5634,
'HlslSemanticGOOGLE' : 5635, 'HlslSemanticGOOGLE' : 5635,
'UserSemantic' : 5635, 'UserSemantic' : 5635,
'UserTypeGOOGLE' : 5636, 'UserTypeGOOGLE' : 5636,
'FunctionRoundingModeINTEL' : 5822,
'FunctionDenormModeINTEL' : 5823,
'RegisterINTEL' : 5825, 'RegisterINTEL' : 5825,
'MemoryINTEL' : 5826, 'MemoryINTEL' : 5826,
'NumbanksINTEL' : 5827, 'NumbanksINTEL' : 5827,
...@@ -475,6 +507,17 @@ spv = { ...@@ -475,6 +507,17 @@ spv = {
'MergeINTEL' : 5834, 'MergeINTEL' : 5834,
'BankBitsINTEL' : 5835, 'BankBitsINTEL' : 5835,
'ForcePow2DepthINTEL' : 5836, 'ForcePow2DepthINTEL' : 5836,
'BurstCoalesceINTEL' : 5899,
'CacheSizeINTEL' : 5900,
'DontStaticallyCoalesceINTEL' : 5901,
'PrefetchINTEL' : 5902,
'StallEnableINTEL' : 5905,
'FuseLoopsInFunctionINTEL' : 5907,
'BufferLocationINTEL' : 5921,
'IOPipeStorageINTEL' : 5944,
'FunctionFloatingPointModeINTEL' : 6080,
'SingleElementVectorINTEL' : 6085,
'VectorComputeCallableFunctionINTEL' : 6087,
}, },
'BuiltIn' : { 'BuiltIn' : {
...@@ -586,7 +629,6 @@ spv = { ...@@ -586,7 +629,6 @@ spv = {
'ObjectToWorldNV' : 5330, 'ObjectToWorldNV' : 5330,
'WorldToObjectKHR' : 5331, 'WorldToObjectKHR' : 5331,
'WorldToObjectNV' : 5331, 'WorldToObjectNV' : 5331,
'HitTKHR' : 5332,
'HitTNV' : 5332, 'HitTNV' : 5332,
'HitKindKHR' : 5333, 'HitKindKHR' : 5333,
'HitKindNV' : 5333, 'HitKindNV' : 5333,
...@@ -627,6 +669,7 @@ spv = { ...@@ -627,6 +669,7 @@ spv = {
'LoopCoalesceINTEL' : 20, 'LoopCoalesceINTEL' : 20,
'MaxInterleavingINTEL' : 21, 'MaxInterleavingINTEL' : 21,
'SpeculatedIterationsINTEL' : 22, 'SpeculatedIterationsINTEL' : 22,
'NoFusionINTEL' : 23,
}, },
'LoopControlMask' : { 'LoopControlMask' : {
...@@ -647,6 +690,7 @@ spv = { ...@@ -647,6 +690,7 @@ spv = {
'LoopCoalesceINTEL' : 0x00100000, 'LoopCoalesceINTEL' : 0x00100000,
'MaxInterleavingINTEL' : 0x00200000, 'MaxInterleavingINTEL' : 0x00200000,
'SpeculatedIterationsINTEL' : 0x00400000, 'SpeculatedIterationsINTEL' : 0x00400000,
'NoFusionINTEL' : 0x00800000,
}, },
'FunctionControlShift' : { 'FunctionControlShift' : {
...@@ -929,21 +973,37 @@ spv = { ...@@ -929,21 +973,37 @@ spv = {
'SubgroupBufferBlockIOINTEL' : 5569, 'SubgroupBufferBlockIOINTEL' : 5569,
'SubgroupImageBlockIOINTEL' : 5570, 'SubgroupImageBlockIOINTEL' : 5570,
'SubgroupImageMediaBlockIOINTEL' : 5579, 'SubgroupImageMediaBlockIOINTEL' : 5579,
'RoundToInfinityINTEL' : 5582,
'FloatingPointModeINTEL' : 5583,
'IntegerFunctions2INTEL' : 5584, 'IntegerFunctions2INTEL' : 5584,
'FunctionPointersINTEL' : 5603, 'FunctionPointersINTEL' : 5603,
'IndirectReferencesINTEL' : 5604, 'IndirectReferencesINTEL' : 5604,
'AsmINTEL' : 5606,
'VectorComputeINTEL' : 5617,
'VectorAnyINTEL' : 5619,
'SubgroupAvcMotionEstimationINTEL' : 5696, 'SubgroupAvcMotionEstimationINTEL' : 5696,
'SubgroupAvcMotionEstimationIntraINTEL' : 5697, 'SubgroupAvcMotionEstimationIntraINTEL' : 5697,
'SubgroupAvcMotionEstimationChromaINTEL' : 5698, 'SubgroupAvcMotionEstimationChromaINTEL' : 5698,
'VariableLengthArrayINTEL' : 5817,
'FunctionFloatControlINTEL' : 5821,
'FPGAMemoryAttributesINTEL' : 5824, 'FPGAMemoryAttributesINTEL' : 5824,
'FPFastMathModeINTEL' : 5837,
'ArbitraryPrecisionIntegersINTEL' : 5844,
'UnstructuredLoopControlsINTEL' : 5886, 'UnstructuredLoopControlsINTEL' : 5886,
'FPGALoopControlsINTEL' : 5888, 'FPGALoopControlsINTEL' : 5888,
'KernelAttributesINTEL' : 5892, 'KernelAttributesINTEL' : 5892,
'FPGAKernelAttributesINTEL' : 5897, 'FPGAKernelAttributesINTEL' : 5897,
'FPGAMemoryAccessesINTEL' : 5898,
'FPGAClusterAttributesINTEL' : 5904,
'LoopFuseINTEL' : 5906,
'FPGABufferLocationINTEL' : 5920,
'USMStorageClassesINTEL' : 5935,
'IOPipesINTEL' : 5943,
'BlockingPipesINTEL' : 5945, 'BlockingPipesINTEL' : 5945,
'FPGARegINTEL' : 5948, 'FPGARegINTEL' : 5948,
'AtomicFloat32AddEXT' : 6033, 'AtomicFloat32AddEXT' : 6033,
'AtomicFloat64AddEXT' : 6034, 'AtomicFloat64AddEXT' : 6034,
'LongConstantCompositeINTEL' : 6089,
}, },
'RayFlagsShift' : { 'RayFlagsShift' : {
...@@ -1423,8 +1483,11 @@ spv = { ...@@ -1423,8 +1483,11 @@ spv = {
'OpUSubSatINTEL' : 5596, 'OpUSubSatINTEL' : 5596,
'OpIMul32x16INTEL' : 5597, 'OpIMul32x16INTEL' : 5597,
'OpUMul32x16INTEL' : 5598, 'OpUMul32x16INTEL' : 5598,
'OpFunctionPointerINTEL' : 5600, 'OpConstFunctionPointerINTEL' : 5600,
'OpFunctionPointerCallINTEL' : 5601, 'OpFunctionPointerCallINTEL' : 5601,
'OpAsmTargetINTEL' : 5609,
'OpAsmINTEL' : 5610,
'OpAsmCallINTEL' : 5611,
'OpDecorateString' : 5632, 'OpDecorateString' : 5632,
'OpDecorateStringGOOGLE' : 5632, 'OpDecorateStringGOOGLE' : 5632,
'OpMemberDecorateString' : 5633, 'OpMemberDecorateString' : 5633,
...@@ -1547,7 +1610,12 @@ spv = { ...@@ -1547,7 +1610,12 @@ spv = {
'OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL' : 5814, 'OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL' : 5814,
'OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL' : 5815, 'OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL' : 5815,
'OpSubgroupAvcSicGetInterRawSadsINTEL' : 5816, 'OpSubgroupAvcSicGetInterRawSadsINTEL' : 5816,
'OpVariableLengthArrayINTEL' : 5818,
'OpSaveMemoryINTEL' : 5819,
'OpRestoreMemoryINTEL' : 5820,
'OpLoopControlINTEL' : 5887, 'OpLoopControlINTEL' : 5887,
'OpPtrCastToCrossWorkgroupINTEL' : 5934,
'OpCrossWorkgroupCastToPtrINTEL' : 5938,
'OpReadPipeBlockingINTEL' : 5946, 'OpReadPipeBlockingINTEL' : 5946,
'OpWritePipeBlockingINTEL' : 5947, 'OpWritePipeBlockingINTEL' : 5947,
'OpFPGARegINTEL' : 5949, 'OpFPGARegINTEL' : 5949,
...@@ -1569,6 +1637,10 @@ spv = { ...@@ -1569,6 +1637,10 @@ spv = {
'OpRayQueryGetIntersectionObjectToWorldKHR' : 6031, 'OpRayQueryGetIntersectionObjectToWorldKHR' : 6031,
'OpRayQueryGetIntersectionWorldToObjectKHR' : 6032, 'OpRayQueryGetIntersectionWorldToObjectKHR' : 6032,
'OpAtomicFAddEXT' : 6035, 'OpAtomicFAddEXT' : 6035,
'OpTypeBufferSurfaceINTEL' : 6086,
'OpTypeStructContinuedINTEL' : 6090,
'OpConstantCompositeContinuedINTEL' : 6091,
'OpSpecConstantCompositeContinuedINTEL' : 6092,
}, },
} }
......
...@@ -167,10 +167,16 @@ enum ExecutionMode : uint ...@@ -167,10 +167,16 @@ enum ExecutionMode : uint
SampleInterlockUnorderedEXT = 5369, SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371, ShadingRateInterlockUnorderedEXT = 5371,
SharedLocalMemorySizeINTEL = 5618,
RoundingModeRTPINTEL = 5620,
RoundingModeRTNINTEL = 5621,
FloatingPointModeALTINTEL = 5622,
FloatingPointModeIEEEINTEL = 5623,
MaxWorkgroupSizeINTEL = 5893, MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894, MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895, NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896, NumSIMDWorkitemsINTEL = 5896,
SchedulerTargetFmaxMhzINTEL = 5903,
} }
enum StorageClass : uint enum StorageClass : uint
...@@ -203,6 +209,8 @@ enum StorageClass : uint ...@@ -203,6 +209,8 @@ enum StorageClass : uint
PhysicalStorageBuffer = 5349, PhysicalStorageBuffer = 5349,
PhysicalStorageBufferEXT = 5349, PhysicalStorageBufferEXT = 5349,
CodeSectionINTEL = 5605, CodeSectionINTEL = 5605,
DeviceOnlyINTEL = 5936,
HostOnlyINTEL = 5937,
} }
enum Dim : uint enum Dim : uint
...@@ -374,6 +382,8 @@ enum FPFastMathModeShift : uint ...@@ -374,6 +382,8 @@ enum FPFastMathModeShift : uint
NSZ = 2, NSZ = 2,
AllowRecip = 3, AllowRecip = 3,
Fast = 4, Fast = 4,
AllowContractFastINTEL = 16,
AllowReassocINTEL = 17,
} }
enum FPFastMathModeMask : uint enum FPFastMathModeMask : uint
...@@ -384,6 +394,8 @@ enum FPFastMathModeMask : uint ...@@ -384,6 +394,8 @@ enum FPFastMathModeMask : uint
NSZ = 0x00000004, NSZ = 0x00000004,
AllowRecip = 0x00000008, AllowRecip = 0x00000008,
Fast = 0x00000010, Fast = 0x00000010,
AllowContractFastINTEL = 0x00010000,
AllowReassocINTEL = 0x00020000,
} }
enum FPRoundingMode : uint enum FPRoundingMode : uint
...@@ -394,6 +406,18 @@ enum FPRoundingMode : uint ...@@ -394,6 +406,18 @@ enum FPRoundingMode : uint
RTN = 3, RTN = 3,
} }
enum FPDenormMode : uint
{
Preserve = 0,
FlushToZero = 1,
}
enum FPOperationMode : uint
{
IEEE = 0,
ALT = 1,
}
enum LinkageType : uint enum LinkageType : uint
{ {
Export = 0, Export = 0,
...@@ -485,12 +509,22 @@ enum Decoration : uint ...@@ -485,12 +509,22 @@ enum Decoration : uint
RestrictPointerEXT = 5355, RestrictPointerEXT = 5355,
AliasedPointer = 5356, AliasedPointer = 5356,
AliasedPointerEXT = 5356, AliasedPointerEXT = 5356,
SIMTCallINTEL = 5599,
ReferencedIndirectlyINTEL = 5602, ReferencedIndirectlyINTEL = 5602,
ClobberINTEL = 5607,
SideEffectsINTEL = 5608,
VectorComputeVariableINTEL = 5624,
FuncParamIOKindINTEL = 5625,
VectorComputeFunctionINTEL = 5626,
StackCallINTEL = 5627,
GlobalVariableOffsetINTEL = 5628,
CounterBuffer = 5634, CounterBuffer = 5634,
HlslCounterBufferGOOGLE = 5634, HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635, HlslSemanticGOOGLE = 5635,
UserSemantic = 5635, UserSemantic = 5635,
UserTypeGOOGLE = 5636, UserTypeGOOGLE = 5636,
FunctionRoundingModeINTEL = 5822,
FunctionDenormModeINTEL = 5823,
RegisterINTEL = 5825, RegisterINTEL = 5825,
MemoryINTEL = 5826, MemoryINTEL = 5826,
NumbanksINTEL = 5827, NumbanksINTEL = 5827,
...@@ -503,6 +537,17 @@ enum Decoration : uint ...@@ -503,6 +537,17 @@ enum Decoration : uint
MergeINTEL = 5834, MergeINTEL = 5834,
BankBitsINTEL = 5835, BankBitsINTEL = 5835,
ForcePow2DepthINTEL = 5836, ForcePow2DepthINTEL = 5836,
BurstCoalesceINTEL = 5899,
CacheSizeINTEL = 5900,
DontStaticallyCoalesceINTEL = 5901,
PrefetchINTEL = 5902,
StallEnableINTEL = 5905,
FuseLoopsInFunctionINTEL = 5907,
BufferLocationINTEL = 5921,
IOPipeStorageINTEL = 5944,
FunctionFloatingPointModeINTEL = 6080,
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
} }
enum BuiltIn : uint enum BuiltIn : uint
...@@ -615,7 +660,6 @@ enum BuiltIn : uint ...@@ -615,7 +660,6 @@ enum BuiltIn : uint
ObjectToWorldNV = 5330, ObjectToWorldNV = 5330,
WorldToObjectKHR = 5331, WorldToObjectKHR = 5331,
WorldToObjectNV = 5331, WorldToObjectNV = 5331,
HitTKHR = 5332,
HitTNV = 5332, HitTNV = 5332,
HitKindKHR = 5333, HitKindKHR = 5333,
HitKindNV = 5333, HitKindNV = 5333,
...@@ -659,6 +703,7 @@ enum LoopControlShift : uint ...@@ -659,6 +703,7 @@ enum LoopControlShift : uint
LoopCoalesceINTEL = 20, LoopCoalesceINTEL = 20,
MaxInterleavingINTEL = 21, MaxInterleavingINTEL = 21,
SpeculatedIterationsINTEL = 22, SpeculatedIterationsINTEL = 22,
NoFusionINTEL = 23,
} }
enum LoopControlMask : uint enum LoopControlMask : uint
...@@ -680,6 +725,7 @@ enum LoopControlMask : uint ...@@ -680,6 +725,7 @@ enum LoopControlMask : uint
LoopCoalesceINTEL = 0x00100000, LoopCoalesceINTEL = 0x00100000,
MaxInterleavingINTEL = 0x00200000, MaxInterleavingINTEL = 0x00200000,
SpeculatedIterationsINTEL = 0x00400000, SpeculatedIterationsINTEL = 0x00400000,
NoFusionINTEL = 0x00800000,
} }
enum FunctionControlShift : uint enum FunctionControlShift : uint
...@@ -974,21 +1020,37 @@ enum Capability : uint ...@@ -974,21 +1020,37 @@ enum Capability : uint
SubgroupBufferBlockIOINTEL = 5569, SubgroupBufferBlockIOINTEL = 5569,
SubgroupImageBlockIOINTEL = 5570, SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579, SubgroupImageMediaBlockIOINTEL = 5579,
RoundToInfinityINTEL = 5582,
FloatingPointModeINTEL = 5583,
IntegerFunctions2INTEL = 5584, IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603, FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604, IndirectReferencesINTEL = 5604,
AsmINTEL = 5606,
VectorComputeINTEL = 5617,
VectorAnyINTEL = 5619,
SubgroupAvcMotionEstimationINTEL = 5696, SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697, SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698, SubgroupAvcMotionEstimationChromaINTEL = 5698,
VariableLengthArrayINTEL = 5817,
FunctionFloatControlINTEL = 5821,
FPGAMemoryAttributesINTEL = 5824, FPGAMemoryAttributesINTEL = 5824,
FPFastMathModeINTEL = 5837,
ArbitraryPrecisionIntegersINTEL = 5844,
UnstructuredLoopControlsINTEL = 5886, UnstructuredLoopControlsINTEL = 5886,
FPGALoopControlsINTEL = 5888, FPGALoopControlsINTEL = 5888,
KernelAttributesINTEL = 5892, KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897, FPGAKernelAttributesINTEL = 5897,
FPGAMemoryAccessesINTEL = 5898,
FPGAClusterAttributesINTEL = 5904,
LoopFuseINTEL = 5906,
FPGABufferLocationINTEL = 5920,
USMStorageClassesINTEL = 5935,
IOPipesINTEL = 5943,
BlockingPipesINTEL = 5945, BlockingPipesINTEL = 5945,
FPGARegINTEL = 5948, FPGARegINTEL = 5948,
AtomicFloat32AddEXT = 6033, AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034, AtomicFloat64AddEXT = 6034,
LongConstantCompositeINTEL = 6089,
} }
enum RayFlagsShift : uint enum RayFlagsShift : uint
...@@ -1476,8 +1538,11 @@ enum Op : uint ...@@ -1476,8 +1538,11 @@ enum Op : uint
OpUSubSatINTEL = 5596, OpUSubSatINTEL = 5596,
OpIMul32x16INTEL = 5597, OpIMul32x16INTEL = 5597,
OpUMul32x16INTEL = 5598, OpUMul32x16INTEL = 5598,
OpFunctionPointerINTEL = 5600, OpConstFunctionPointerINTEL = 5600,
OpFunctionPointerCallINTEL = 5601, OpFunctionPointerCallINTEL = 5601,
OpAsmTargetINTEL = 5609,
OpAsmINTEL = 5610,
OpAsmCallINTEL = 5611,
OpDecorateString = 5632, OpDecorateString = 5632,
OpDecorateStringGOOGLE = 5632, OpDecorateStringGOOGLE = 5632,
OpMemberDecorateString = 5633, OpMemberDecorateString = 5633,
...@@ -1600,7 +1665,12 @@ enum Op : uint ...@@ -1600,7 +1665,12 @@ enum Op : uint
OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
OpVariableLengthArrayINTEL = 5818,
OpSaveMemoryINTEL = 5819,
OpRestoreMemoryINTEL = 5820,
OpLoopControlINTEL = 5887, OpLoopControlINTEL = 5887,
OpPtrCastToCrossWorkgroupINTEL = 5934,
OpCrossWorkgroupCastToPtrINTEL = 5938,
OpReadPipeBlockingINTEL = 5946, OpReadPipeBlockingINTEL = 5946,
OpWritePipeBlockingINTEL = 5947, OpWritePipeBlockingINTEL = 5947,
OpFPGARegINTEL = 5949, OpFPGARegINTEL = 5949,
...@@ -1622,6 +1692,10 @@ enum Op : uint ...@@ -1622,6 +1692,10 @@ enum Op : uint
OpRayQueryGetIntersectionObjectToWorldKHR = 6031, OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
OpRayQueryGetIntersectionWorldToObjectKHR = 6032, OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
OpAtomicFAddEXT = 6035, OpAtomicFAddEXT = 6035,
OpTypeBufferSurfaceINTEL = 6086,
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
} }
...@@ -61,6 +61,8 @@ EnumValues ImageChannelDataTypeParams; ...@@ -61,6 +61,8 @@ EnumValues ImageChannelDataTypeParams;
EnumValues ImageOperandsParams; EnumValues ImageOperandsParams;
EnumValues FPFastMathParams; EnumValues FPFastMathParams;
EnumValues FPRoundingModeParams; EnumValues FPRoundingModeParams;
EnumValues FPDenormModeParams;
EnumValues FPOperationModeParams;
EnumValues LinkageTypeParams; EnumValues LinkageTypeParams;
EnumValues DecorationParams; EnumValues DecorationParams;
EnumValues BuiltInParams; EnumValues BuiltInParams;
...@@ -178,6 +180,10 @@ ClassOptionality ToOperandClassAndOptionality(const std::string& operandKind, co ...@@ -178,6 +180,10 @@ ClassOptionality ToOperandClassAndOptionality(const std::string& operandKind, co
type = OperandImageChannelDataType; type = OperandImageChannelDataType;
} else if (operandKind == "FPRoundingMode") { } else if (operandKind == "FPRoundingMode") {
type = OperandFPRoundingMode; type = OperandFPRoundingMode;
} else if (operandKind == "FPDenormMode") {
type = OperandFPDenormMode;
} else if (operandKind == "FPOperationMode") {
type = OperandFPOperationMode;
} else if (operandKind == "LinkageType") { } else if (operandKind == "LinkageType") {
type = OperandLinkageType; type = OperandLinkageType;
} else if (operandKind == "AccessQualifier") { } else if (operandKind == "AccessQualifier") {
...@@ -452,6 +458,10 @@ void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders) ...@@ -452,6 +458,10 @@ void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders)
establishOperandClass(enumName, OperandFPFastMath, &FPFastMathParams, operandEnum, category); establishOperandClass(enumName, OperandFPFastMath, &FPFastMathParams, operandEnum, category);
} else if (enumName == "FPRoundingMode") { } else if (enumName == "FPRoundingMode") {
establishOperandClass(enumName, OperandFPRoundingMode, &FPRoundingModeParams, operandEnum, category); establishOperandClass(enumName, OperandFPRoundingMode, &FPRoundingModeParams, operandEnum, category);
} else if (enumName == "FPDenormMode") {
establishOperandClass(enumName, OperandFPDenormMode, &FPDenormModeParams, operandEnum, category);
} else if (enumName == "FPOperationMode") {
establishOperandClass(enumName, OperandFPOperationMode, &FPOperationModeParams, operandEnum, category);
} else if (enumName == "LinkageType") { } else if (enumName == "LinkageType") {
establishOperandClass(enumName, OperandLinkageType, &LinkageTypeParams, operandEnum, category); establishOperandClass(enumName, OperandLinkageType, &LinkageTypeParams, operandEnum, category);
} else if (enumName == "FunctionParameterAttribute") { } else if (enumName == "FunctionParameterAttribute") {
......
...@@ -69,6 +69,8 @@ enum OperandClass { ...@@ -69,6 +69,8 @@ enum OperandClass {
OperandImageOperands, OperandImageOperands,
OperandFPFastMath, OperandFPFastMath,
OperandFPRoundingMode, OperandFPRoundingMode,
OperandFPDenormMode,
OperandFPOperationMode,
OperandLinkageType, OperandLinkageType,
OperandAccessQualifier, OperandAccessQualifier,
OperandFuncParamAttr, OperandFuncParamAttr,
......
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