aboutsummaryrefslogtreecommitdiff
path: root/include/spirv/unified1/spirv.lua
diff options
context:
space:
mode:
authorAshwin Lele <alele@nvidia.com>2018-10-22 17:06:06 -0700
committerAshwin Lele <alele@nvidia.com>2018-10-22 17:06:06 -0700
commit5c69a90de3ff04f40e97ef2aabfa388460395f42 (patch)
treea662704e0ffd27b9b23702de2f73c2576ba4546d /include/spirv/unified1/spirv.lua
parent801cca8104245c07e8cc53292da87ee1b76946fe (diff)
downloadSPIRV-Headers-5c69a90de3ff04f40e97ef2aabfa388460395f42.tar.gz
Add support for nv-raytracing (non-experimental)
Diffstat (limited to 'include/spirv/unified1/spirv.lua')
-rw-r--r--include/spirv/unified1/spirv.lua65
1 files changed, 35 insertions, 30 deletions
diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua
index 647a595..57ddd68 100644
--- a/include/spirv/unified1/spirv.lua
+++ b/include/spirv/unified1/spirv.lua
@@ -26,13 +26,14 @@
-- the Binary Section of the SPIR-V specification.
-- Enumeration tokens for SPIR-V, in various styles:
--- C, C++, C++11, JSON, Lua, Python
+-- C, C++, C++11, JSON, Lua, Python, C#
--
-- - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL
-- - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL
-- - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL
-- - Lua will use tables, e.g.: spv.SourceLanguage.GLSL
-- - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL']
+-- - C# will use enum classes in the Specification class located in the "Spv" namespace, e.g.: Spv.Specification.SourceLanguage.GLSL
--
-- Some tokens act like mask values, which can be OR'd together,
-- while others are mutually exclusive. The mask-like ones have
@@ -65,12 +66,12 @@ spv = {
Kernel = 6,
TaskNV = 5267,
MeshNV = 5268,
- RayGenerationNVX = 5313,
- IntersectionNVX = 5314,
- AnyHitNVX = 5315,
- ClosestHitNVX = 5316,
- MissNVX = 5317,
- CallableNVX = 5318,
+ RayGenerationNV = 5313,
+ IntersectionNV = 5314,
+ AnyHitNV = 5315,
+ ClosestHitNV = 5316,
+ MissNV = 5317,
+ CallableNV = 5318,
},
AddressingModel = {
@@ -148,10 +149,12 @@ spv = {
AtomicCounter = 10,
Image = 11,
StorageBuffer = 12,
- RayPayloadNVX = 5338,
- HitAttributeNVX = 5339,
- IncomingRayPayloadNVX = 5342,
- ShaderRecordBufferNVX = 5343,
+ CallableDataNV = 5328,
+ IncomingCallableDataNV = 5329,
+ RayPayloadNV = 5338,
+ HitAttributeNV = 5339,
+ IncomingRayPayloadNV = 5342,
+ ShaderRecordBufferNV = 5343,
},
Dim = {
@@ -484,19 +487,20 @@ spv = {
BaryCoordNoPerspNV = 5287,
FragmentSizeNV = 5292,
InvocationsPerPixelNV = 5293,
- LaunchIdNVX = 5319,
- LaunchSizeNVX = 5320,
- WorldRayOriginNVX = 5321,
- WorldRayDirectionNVX = 5322,
- ObjectRayOriginNVX = 5323,
- ObjectRayDirectionNVX = 5324,
- RayTminNVX = 5325,
- RayTmaxNVX = 5326,
- InstanceCustomIndexNVX = 5327,
- ObjectToWorldNVX = 5330,
- WorldToObjectNVX = 5331,
- HitTNVX = 5332,
- HitKindNVX = 5333,
+ LaunchIdNV = 5319,
+ LaunchSizeNV = 5320,
+ WorldRayOriginNV = 5321,
+ WorldRayDirectionNV = 5322,
+ ObjectRayOriginNV = 5323,
+ ObjectRayDirectionNV = 5324,
+ RayTminNV = 5325,
+ RayTmaxNV = 5326,
+ InstanceCustomIndexNV = 5327,
+ ObjectToWorldNV = 5330,
+ WorldToObjectNV = 5331,
+ HitTNV = 5332,
+ HitKindNV = 5333,
+ IncomingRayFlagsNV = 5351,
},
SelectionControlShift = {
@@ -743,7 +747,7 @@ spv = {
InputAttachmentArrayNonUniformIndexingEXT = 5310,
UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
- RaytracingNVX = 5340,
+ RaytracingNV = 5340,
VulkanMemoryModelKHR = 5345,
VulkanMemoryModelDeviceScopeKHR = 5346,
ComputeDerivativeGroupLinearNV = 5350,
@@ -1112,11 +1116,12 @@ spv = {
OpImageSampleFootprintNV = 5283,
OpGroupNonUniformPartitionNV = 5296,
OpWritePackedPrimitiveIndices4x8NV = 5299,
- OpReportIntersectionNVX = 5334,
- OpIgnoreIntersectionNVX = 5335,
- OpTerminateRayNVX = 5336,
- OpTraceNVX = 5337,
- OpTypeAccelerationStructureNVX = 5341,
+ OpReportIntersectionNV = 5334,
+ OpIgnoreIntersectionNV = 5335,
+ OpTerminateRayNV = 5336,
+ OpTraceNV = 5337,
+ OpTypeAccelerationStructureNV = 5341,
+ OpExecuteCallableNV = 5344,
OpSubgroupShuffleINTEL = 5571,
OpSubgroupShuffleDownINTEL = 5572,
OpSubgroupShuffleUpINTEL = 5573,