aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kessenich <cepheus@frii.com>2018-09-19 10:44:50 -0600
committerJohn Kessenich <cepheus@frii.com>2018-09-19 10:44:50 -0600
commit0350b1d426709a8ea6a9d4988e256fbc58cebf57 (patch)
treebbf7d672ecb4c195edb87543afe0393a4d40cced
parentdcf23bdabacc3c54b83b1f9367e7a8adb27f8d87 (diff)
downloadspirv-headers-0350b1d426709a8ea6a9d4988e256fbc58cebf57.tar.gz
Add enumerants for six Nvidia extensions:
SPV_NV_fragment_shader_barycentric SPV_NV_compute_shader_derivatives SPV_NV_shader_image_footprint SPV_NV_shading_rate SPV_NV_mesh_shader SPV_NVX_Raytracing
-rwxr-xr-xinclude/spirv/unified1/spirv.core.grammar.json438
-rw-r--r--include/spirv/unified1/spirv.h60
-rw-r--r--include/spirv/unified1/spirv.hpp60
-rw-r--r--include/spirv/unified1/spirv.hpp1160
-rw-r--r--include/spirv/unified1/spirv.json68
-rw-r--r--include/spirv/unified1/spirv.lua60
-rwxr-xr-xinclude/spirv/unified1/spirv.py60
7 files changed, 794 insertions, 12 deletions
diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json
index 978353a..39668e3 100755
--- a/include/spirv/unified1/spirv.core.grammar.json
+++ b/include/spirv/unified1/spirv.core.grammar.json
@@ -3814,6 +3814,72 @@
"version" : "None"
},
{
+ "opname" : "OpWritePackedPrimitiveIndices4x8NV",
+ "opcode" : 5299,
+ "operands" : [
+ { "kind" : "IdRef", "name" : "'Index Offset'" },
+ { "kind" : "IdRef", "name" : "'Packed Indices'" }
+ ],
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "opname" : "OpReportIntersectionNVX",
+ "opcode" : 5334,
+ "operands" : [
+ { "kind" : "IdResultType" },
+ { "kind" : "IdResult" },
+ { "kind" : "IdRef", "name" : "'Hit'" },
+ { "kind" : "IdRef", "name" : "'HitKind'" }
+ ],
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "opname" : "OpIgnoreIntersectionNVX",
+ "opcode" : 5335,
+
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "opname" : "OpTerminateRayNVX",
+ "opcode" : 5336,
+
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "opname" : "OpTraceNVX",
+ "opcode" : 5337,
+ "operands" : [
+
+ { "kind" : "IdRef", "name" : "'Accel'" },
+ { "kind" : "IdRef", "name" : "'Ray Flags'" },
+ { "kind" : "IdRef", "name" : "'Cull Mask'" },
+ { "kind" : "IdRef", "name" : "'SBT Offset'" },
+ { "kind" : "IdRef", "name" : "'SBT Stride'" },
+ { "kind" : "IdRef", "name" : "'Miss Index'" },
+ { "kind" : "IdRef", "name" : "'Ray Origin'" },
+ { "kind" : "IdRef", "name" : "'Ray Tmin'" },
+ { "kind" : "IdRef", "name" : "'Ray Direction'" },
+ { "kind" : "IdRef", "name" : "'Ray Tmax'" },
+ { "kind" : "IdRef", "name" : "'PayloadId'" }
+ ],
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "opname" : "OpTypeAccelerationStructureNVX",
+ "opcode" : 5341,
+ "operands" : [
+ { "kind" : "IdResult" }
+ ],
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
"opname" : "OpSubgroupShuffleINTEL",
"opcode" : 5571,
"operands" : [
@@ -3939,6 +4005,22 @@
"capabilities" : [ "GroupNonUniformPartitionedNV" ],
"extensions" : [ "SPV_NV_shader_subgroup_partitioned" ],
"version" : "None"
+ },
+ {
+ "opname" : "OpImageSampleFootprintNV",
+ "opcode" : 5283,
+ "operands" : [
+ { "kind" : "IdResultType" },
+ { "kind" : "IdResult" },
+ { "kind" : "IdRef", "name" : "'Sampled Image'" },
+ { "kind" : "IdRef", "name" : "'Coordinate'" },
+ { "kind" : "IdRef", "name" : "'Granularity'" },
+ { "kind" : "IdRef", "name" : "'Coarse'" },
+ { "kind" : "ImageOperands", "quantifier" : "?" }
+ ],
+ "capabilities" : [ "ImageFootprintNV" ],
+ "extensions" : [ "SPV_NV_shader_image_footprint" ],
+ "version" : "None"
}
],
"operand_kinds" : [
@@ -4349,6 +4431,46 @@
"enumerant" : "Kernel",
"value" : 6,
"capabilities" : [ "Kernel" ]
+ },
+ {
+ "enumerant" : "TaskNV",
+ "value" : 5267,
+ "capabilities" : [ "MeshShadingNV" ]
+ },
+ {
+ "enumerant" : "MeshNV",
+ "value" : 5268,
+ "capabilities" : [ "MeshShadingNV" ]
+ },
+ {
+ "enumerant" : "RayGenerationNVX",
+ "value" : 5313,
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+ {
+ "enumerant" : "IntersectionNVX",
+ "value" : 5314,
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+ {
+ "enumerant" : "AnyHitNVX",
+ "value" : 5315,
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+ {
+ "enumerant" : "ClosestHitNVX",
+ "value" : 5316,
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+ {
+ "enumerant" : "MissNVX",
+ "value" : 5317,
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+ {
+ "enumerant" : "CallableNVX",
+ "value" : 5318,
+ "capabilities" : [ "RaytracingNVX" ]
}
]
},
@@ -4542,7 +4664,7 @@
{
"enumerant" : "OutputVertices",
"value" : 26,
- "capabilities" : [ "Geometry", "Tessellation" ],
+ "capabilities" : [ "Geometry", "Tessellation", "MeshShadingNV" ],
"parameters" : [
{ "kind" : "LiteralInteger", "name" : "'Vertex count'" }
]
@@ -4550,7 +4672,7 @@
{
"enumerant" : "OutputPoints",
"value" : 27,
- "capabilities" : [ "Geometry" ]
+ "capabilities" : [ "Geometry", "MeshShadingNV" ]
},
{
"enumerant" : "OutputLineStrip",
@@ -4646,6 +4768,44 @@
"capabilities" : [ "StencilExportEXT" ],
"extensions" : [ "SPV_EXT_shader_stencil_export" ],
"version" : "None"
+ },
+ {
+ "enumerant" : "OutputLinesNV",
+ "value" : 5269,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "OutputPrimitivesNV",
+ "value" : 5270,
+ "capabilities" : [ "MeshShadingNV" ],
+ "parameters" : [
+ { "kind" : "LiteralInteger", "name" : "'Primitive count'" }
+ ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "DerivativeGroupQuadsNV",
+ "value" : 5289,
+ "capabilities" : [ "ComputeDerivativeGroupQuadsNV" ],
+ "extensions" : [ "SPV_NV_compute_shader_derivatives" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "DerivativeGroupLinearNV",
+ "value" : 5290,
+ "capabilities" : [ "ComputeDerivativeGroupLinearNV" ],
+ "extensions" : [ "SPV_NV_compute_shader_derivatives" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "OutputTrianglesNV",
+ "value" : 5298,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
}
]
},
@@ -4716,6 +4876,30 @@
],
"capabilities" : [ "Shader" ],
"version" : "1.3"
+ },
+ {
+ "enumerant" : "RayPayloadNVX",
+ "value" : 5338,
+ "extensions" : [ "SPV_NVX_raytracing" ],
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+ {
+ "enumerant" : "HitAttributeNVX",
+ "value" : 5339,
+ "extensions" : [ "SPV_NVX_raytracing" ],
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+ {
+ "enumerant" : "IncomingRayPayloadNVX",
+ "value" : 5342,
+ "extensions" : [ "SPV_NVX_raytracing" ],
+ "capabilities" : [ "RaytracingNVX" ]
+ },
+{
+ "enumerant" : "ShaderRecordBufferNVX",
+ "value" : 5343,
+ "extensions" : [ "SPV_NVX_raytracing" ],
+ "capabilities" : [ "RaytracingNVX" ]
}
]
},
@@ -5646,6 +5830,34 @@
]
},
{
+ "enumerant" : "PerPrimitiveNV",
+ "value" : 5271,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "PerViewNV",
+ "value" : 5272,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "PerTaskNV",
+ "value" : 5273,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "PerVertexNV",
+ "value" : 5285,
+ "capabilities" : [ "FragmentBarycentricNV" ],
+ "extensions" : [ "SPV_NV_fragment_shader_barycentric" ],
+ "version" : "None"
+ },
+ {
"enumerant" : "NonUniformEXT",
"value" : 5300,
"capabilities" : [ "ShaderNonUniformEXT" ]
@@ -5707,7 +5919,7 @@
{
"enumerant" : "PrimitiveId",
"value" : 7,
- "capabilities" : [ "Geometry", "Tessellation" ]
+ "capabilities" : [ "Geometry", "Tessellation", "RaytracingNVX" ]
},
{
"enumerant" : "InvocationId",
@@ -5955,8 +6167,8 @@
{
"enumerant" : "DrawIndex",
"value" : 4426,
- "capabilities" : [ "DrawParameters" ],
- "extensions" : [ "SPV_KHR_shader_draw_parameters" ],
+ "capabilities" : [ "DrawParameters", "MeshShadingNV" ],
+ "extensions" : [ "SPV_KHR_shader_draw_parameters", "SPV_NV_mesh_shader" ],
"version" : "1.3"
},
{
@@ -6025,7 +6237,8 @@
{
"enumerant" : "ViewportMaskNV",
"value" : 5253,
- "capabilities" : [ "ShaderViewportMaskNV" ],
+ "capabilities" : [ "ShaderViewportMaskNV", "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_viewport_array2", "SPV_NV_mesh_shader" ],
"version" : "None"
},
{
@@ -6045,13 +6258,15 @@
{
"enumerant" : "PositionPerViewNV",
"value" : 5261,
- "capabilities" : [ "PerViewAttributesNV" ],
+ "capabilities" : [ "PerViewAttributesNV", "MeshShadingNV" ],
+ "extensions" : [ "SPV_NVX_multiview_per_view_attributes", "SPV_NV_mesh_shader" ],
"version" : "None"
},
{
"enumerant" : "ViewportMaskPerViewNV",
"value" : 5262,
- "capabilities" : [ "PerViewAttributesNV" ],
+ "capabilities" : [ "PerViewAttributesNV", "MeshShadingNV" ],
+ "extensions" : [ "SPV_NVX_multiview_per_view_attributes", "SPV_NV_mesh_shader" ],
"version" : "None"
},
{
@@ -6060,6 +6275,168 @@
"capabilities" : [ "FragmentFullyCoveredEXT" ],
"extensions" : [ "SPV_EXT_fragment_fully_covered" ],
"version" : "None"
+ },
+ {
+ "enumerant" : "TaskCountNV",
+ "value" : 5274,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "PrimitiveCountNV",
+ "value" : 5275,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "PrimitiveIndicesNV",
+ "value" : 5276,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "ClipDistancePerViewNV",
+ "value" : 5277,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "CullDistancePerViewNV",
+ "value" : 5278,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "LayerPerViewNV",
+ "value" : 5279,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "MeshViewCountNV",
+ "value" : 5280,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "MeshViewIndicesNV",
+ "value" : 5281,
+ "capabilities" : [ "MeshShadingNV" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "BaryCoordNV",
+ "value" : 5286,
+ "capabilities" : [ "FragmentBarycentricNV" ],
+ "extensions" : [ "SPV_NV_fragment_shader_barycentric" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "BaryCoordNoPerspNV",
+ "value" : 5287,
+ "capabilities" : [ "FragmentBarycentricNV" ],
+ "extensions" : [ "SPV_NV_fragment_shader_barycentric" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "FragmentSizeNV",
+ "value" : 5292 ,
+ "capabilities" : [ "ShadingRateNV" ],
+ "extensions" : [ "SPV_NV_shading_rate" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "InvocationsPerPixelNV",
+ "value" : 5293,
+ "capabilities" : [ "ShadingRateNV" ],
+ "extensions" : [ "SPV_NV_shading_rate" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "LaunchIDNVX",
+ "value" : 5319,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "LaunchSizeNVX",
+ "value" : 5320,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "WorldRayOriginNVX",
+ "value" : 5321,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "WorldRayDirectionNVX",
+ "value" : 5322,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "ObjectRayOriginNVX",
+ "value" : 5323,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "ObjectRayDirectionNVX",
+ "value" : 5324,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "RayTminNVX",
+ "value" : 5325,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "RayTmaxNVX",
+ "value" : 5326,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "InstanceCustomIndexNVX",
+ "value" : 5327,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "ObjectToWorldNVX",
+ "value" : 5330,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "WorldToObjectNVX",
+ "value" : 5331,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "HitTNVX",
+ "value" : 5332,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
+ },
+ {
+ "enumerant" : "HitKindNVX",
+ "value" : 5333,
+ "capabilities" : [ "RaytracingNVX" ],
+ "extensions" : [ "SPV_NVX_raytracing" ]
}
]
},
@@ -6713,6 +7090,13 @@
"version" : "None"
},
{
+ "enumerant" : "MeshShadingNV",
+ "value" : 5266,
+ "capabilities" : [ "Shader" ],
+ "extensions" : [ "SPV_NV_mesh_shader" ],
+ "version" : "None"
+ },
+ {
"enumerant" : "ShaderNonUniformEXT",
"value" : 5301,
"capabilities" : [ "Shader" ],
@@ -6797,6 +7181,13 @@
"version" : "None"
},
{
+ "enumerant" : "RaytracingNVX",
+ "value" : 5340,
+ "capabilities" : [ "Shader" ],
+ "extensions" : [ "SPV_NVX_raytracing" ],
+ "version" : "None"
+ },
+ {
"enumerant" : "SubgroupShuffleINTEL",
"value" : 5568,
"extensions" : [ "SPV_INTEL_subgroups" ],
@@ -6831,6 +7222,37 @@
"value" : 5346,
"extensions" : [ "SPV_KHR_vulkan_memory_model" ],
"version" : "None"
+ },
+ {
+ "enumerant" : "ImageFootprintNV",
+ "value" : 5282,
+ "extensions" : [ "SPV_NV_shader_image_footprint" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "FragmentBarycentricNV",
+ "value" : 5284,
+ "extensions" : [ "SPV_NV_fragment_shader_barycentric" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "ComputeDerivativeGroupQuadsNV",
+ "value" : 5288,
+ "extensions" : [ "SPV_NV_compute_shader_derivatives" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "ComputeDerivativeGroupLinearNV",
+ "value" : 5350,
+ "extensions" : [ "SPV_NV_compute_shader_derivatives" ],
+ "version" : "None"
+ },
+ {
+ "enumerant" : "ShadingRateNV",
+ "value" : 5291,
+ "capabilities" : [ "Shader" ],
+ "extensions" : [ "SPV_NV_shading_rate" ],
+ "version" : "None"
}
]
},
diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h
index 314c5f9..8f76fd2 100644
--- a/include/spirv/unified1/spirv.h
+++ b/include/spirv/unified1/spirv.h
@@ -77,6 +77,14 @@ typedef enum SpvExecutionModel_ {
SpvExecutionModelFragment = 4,
SpvExecutionModelGLCompute = 5,
SpvExecutionModelKernel = 6,
+ SpvExecutionModelTaskNV = 5267,
+ SpvExecutionModelMeshNV = 5268,
+ SpvExecutionModelRayGenerationNVX = 5313,
+ SpvExecutionModelIntersectionNVX = 5314,
+ SpvExecutionModelAnyHitNVX = 5315,
+ SpvExecutionModelClosestHitNVX = 5316,
+ SpvExecutionModelMissNVX = 5317,
+ SpvExecutionModelCallableNVX = 5318,
SpvExecutionModelMax = 0x7fffffff,
} SpvExecutionModel;
@@ -136,6 +144,11 @@ typedef enum SpvExecutionMode_ {
SpvExecutionModeLocalSizeHintId = 39,
SpvExecutionModePostDepthCoverage = 4446,
SpvExecutionModeStencilRefReplacingEXT = 5027,
+ SpvExecutionModeOutputLinesNV = 5269,
+ SpvExecutionModeOutputPrimitivesNV = 5270,
+ SpvExecutionModeDerivativeGroupQuadsNV = 5289,
+ SpvExecutionModeDerivativeGroupLinearNV = 5290,
+ SpvExecutionModeOutputTrianglesNV = 5298,
SpvExecutionModeMax = 0x7fffffff,
} SpvExecutionMode;
@@ -153,6 +166,10 @@ typedef enum SpvStorageClass_ {
SpvStorageClassAtomicCounter = 10,
SpvStorageClassImage = 11,
SpvStorageClassStorageBuffer = 12,
+ SpvStorageClassRayPayloadNVX = 5338,
+ SpvStorageClassHitAttributeNVX = 5339,
+ SpvStorageClassIncomingRayPayloadNVX = 5342,
+ SpvStorageClassShaderRecordBufferNVX = 5343,
SpvStorageClassMax = 0x7fffffff,
} SpvStorageClass;
@@ -406,6 +423,10 @@ typedef enum SpvDecoration_ {
SpvDecorationPassthroughNV = 5250,
SpvDecorationViewportRelativeNV = 5252,
SpvDecorationSecondaryViewportRelativeNV = 5256,
+ SpvDecorationPerPrimitiveNV = 5271,
+ SpvDecorationPerViewNV = 5272,
+ SpvDecorationPerTaskNV = 5273,
+ SpvDecorationPerVertexNV = 5285,
SpvDecorationNonUniformEXT = 5300,
SpvDecorationHlslCounterBufferGOOGLE = 5634,
SpvDecorationHlslSemanticGOOGLE = 5635,
@@ -483,6 +504,31 @@ typedef enum SpvBuiltIn_ {
SpvBuiltInPositionPerViewNV = 5261,
SpvBuiltInViewportMaskPerViewNV = 5262,
SpvBuiltInFullyCoveredEXT = 5264,
+ SpvBuiltInTaskCountNV = 5274,
+ SpvBuiltInPrimitiveCountNV = 5275,
+ SpvBuiltInPrimitiveIndicesNV = 5276,
+ SpvBuiltInClipDistancePerViewNV = 5277,
+ SpvBuiltInCullDistancePerViewNV = 5278,
+ SpvBuiltInLayerPerViewNV = 5279,
+ SpvBuiltInMeshViewCountNV = 5280,
+ SpvBuiltInMeshViewIndicesNV = 5281,
+ SpvBuiltInBaryCoordNV = 5286,
+ SpvBuiltInBaryCoordNoPerspNV = 5287,
+ SpvBuiltInFragmentSizeNV = 5292,
+ SpvBuiltInInvocationsPerPixelNV = 5293,
+ SpvBuiltInLaunchIDNVX = 5319,
+ SpvBuiltInLaunchSizeNVX = 5320,
+ SpvBuiltInWorldRayOriginNVX = 5321,
+ SpvBuiltInWorldRayDirectionNVX = 5322,
+ SpvBuiltInObjectRayOriginNVX = 5323,
+ SpvBuiltInObjectRayDirectionNVX = 5324,
+ SpvBuiltInRayTminNVX = 5325,
+ SpvBuiltInRayTmaxNVX = 5326,
+ SpvBuiltInInstanceCustomIndexNVX = 5327,
+ SpvBuiltInObjectToWorldNVX = 5330,
+ SpvBuiltInWorldToObjectNVX = 5331,
+ SpvBuiltInHitTNVX = 5332,
+ SpvBuiltInHitKindNVX = 5333,
SpvBuiltInMax = 0x7fffffff,
} SpvBuiltIn;
@@ -721,6 +767,11 @@ typedef enum SpvCapability_ {
SpvCapabilityShaderStereoViewNV = 5259,
SpvCapabilityPerViewAttributesNV = 5260,
SpvCapabilityFragmentFullyCoveredEXT = 5265,
+ SpvCapabilityMeshShadingNV = 5266,
+ SpvCapabilityImageFootprintNV = 5282,
+ SpvCapabilityFragmentBarycentricNV = 5284,
+ SpvCapabilityComputeDerivativeGroupQuadsNV = 5288,
+ SpvCapabilityShadingRateNV = 5291,
SpvCapabilityGroupNonUniformPartitionedNV = 5297,
SpvCapabilityShaderNonUniformEXT = 5301,
SpvCapabilityRuntimeDescriptorArrayEXT = 5302,
@@ -734,8 +785,10 @@ typedef enum SpvCapability_ {
SpvCapabilityInputAttachmentArrayNonUniformIndexingEXT = 5310,
SpvCapabilityUniformTexelBufferArrayNonUniformIndexingEXT = 5311,
SpvCapabilityStorageTexelBufferArrayNonUniformIndexingEXT = 5312,
+ SpvCapabilityRaytracingNVX = 5340,
SpvCapabilityVulkanMemoryModelKHR = 5345,
SpvCapabilityVulkanMemoryModelDeviceScopeKHR = 5346,
+ SpvCapabilityComputeDerivativeGroupLinearNV = 5350,
SpvCapabilitySubgroupShuffleINTEL = 5568,
SpvCapabilitySubgroupBufferBlockIOINTEL = 5569,
SpvCapabilitySubgroupImageBlockIOINTEL = 5570,
@@ -1099,7 +1152,14 @@ typedef enum SpvOp_ {
SpvOpGroupSMaxNonUniformAMD = 5007,
SpvOpFragmentMaskFetchAMD = 5011,
SpvOpFragmentFetchAMD = 5012,
+ SpvOpImageSampleFootprintNV = 5283,
SpvOpGroupNonUniformPartitionNV = 5296,
+ SpvOpWritePackedPrimitiveIndices4x8NV = 5299,
+ SpvOpReportIntersectionNVX = 5334,
+ SpvOpIgnoreIntersectionNVX = 5335,
+ SpvOpTerminateRayNVX = 5336,
+ SpvOpTraceNVX = 5337,
+ SpvOpTypeAccelerationStructureNVX = 5341,
SpvOpSubgroupShuffleINTEL = 5571,
SpvOpSubgroupShuffleDownINTEL = 5572,
SpvOpSubgroupShuffleUpINTEL = 5573,
diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp
index 8b7977c..0499bc8 100644
--- a/include/spirv/unified1/spirv.hpp
+++ b/include/spirv/unified1/spirv.hpp
@@ -73,6 +73,14 @@ enum ExecutionModel {
ExecutionModelFragment = 4,
ExecutionModelGLCompute = 5,
ExecutionModelKernel = 6,
+ ExecutionModelTaskNV = 5267,
+ ExecutionModelMeshNV = 5268,
+ ExecutionModelRayGenerationNVX = 5313,
+ ExecutionModelIntersectionNVX = 5314,
+ ExecutionModelAnyHitNVX = 5315,
+ ExecutionModelClosestHitNVX = 5316,
+ ExecutionModelMissNVX = 5317,
+ ExecutionModelCallableNVX = 5318,
ExecutionModelMax = 0x7fffffff,
};
@@ -132,6 +140,11 @@ enum ExecutionMode {
ExecutionModeLocalSizeHintId = 39,
ExecutionModePostDepthCoverage = 4446,
ExecutionModeStencilRefReplacingEXT = 5027,
+ ExecutionModeOutputLinesNV = 5269,
+ ExecutionModeOutputPrimitivesNV = 5270,
+ ExecutionModeDerivativeGroupQuadsNV = 5289,
+ ExecutionModeDerivativeGroupLinearNV = 5290,
+ ExecutionModeOutputTrianglesNV = 5298,
ExecutionModeMax = 0x7fffffff,
};
@@ -149,6 +162,10 @@ enum StorageClass {
StorageClassAtomicCounter = 10,
StorageClassImage = 11,
StorageClassStorageBuffer = 12,
+ StorageClassRayPayloadNVX = 5338,
+ StorageClassHitAttributeNVX = 5339,
+ StorageClassIncomingRayPayloadNVX = 5342,
+ StorageClassShaderRecordBufferNVX = 5343,
StorageClassMax = 0x7fffffff,
};
@@ -402,6 +419,10 @@ enum Decoration {
DecorationPassthroughNV = 5250,
DecorationViewportRelativeNV = 5252,
DecorationSecondaryViewportRelativeNV = 5256,
+ DecorationPerPrimitiveNV = 5271,
+ DecorationPerViewNV = 5272,
+ DecorationPerTaskNV = 5273,
+ DecorationPerVertexNV = 5285,
DecorationNonUniformEXT = 5300,
DecorationHlslCounterBufferGOOGLE = 5634,
DecorationHlslSemanticGOOGLE = 5635,
@@ -479,6 +500,31 @@ enum BuiltIn {
BuiltInPositionPerViewNV = 5261,
BuiltInViewportMaskPerViewNV = 5262,
BuiltInFullyCoveredEXT = 5264,
+ BuiltInTaskCountNV = 5274,
+ BuiltInPrimitiveCountNV = 5275,
+ BuiltInPrimitiveIndicesNV = 5276,
+ BuiltInClipDistancePerViewNV = 5277,
+ BuiltInCullDistancePerViewNV = 5278,
+ BuiltInLayerPerViewNV = 5279,
+ BuiltInMeshViewCountNV = 5280,
+ BuiltInMeshViewIndicesNV = 5281,
+ BuiltInBaryCoordNV = 5286,
+ BuiltInBaryCoordNoPerspNV = 5287,
+ BuiltInFragmentSizeNV = 5292,
+ BuiltInInvocationsPerPixelNV = 5293,
+ BuiltInLaunchIDNVX = 5319,
+ BuiltInLaunchSizeNVX = 5320,
+ BuiltInWorldRayOriginNVX = 5321,
+ BuiltInWorldRayDirectionNVX = 5322,
+ BuiltInObjectRayOriginNVX = 5323,
+ BuiltInObjectRayDirectionNVX = 5324,
+ BuiltInRayTminNVX = 5325,
+ BuiltInRayTmaxNVX = 5326,
+ BuiltInInstanceCustomIndexNVX = 5327,
+ BuiltInObjectToWorldNVX = 5330,
+ BuiltInWorldToObjectNVX = 5331,
+ BuiltInHitTNVX = 5332,
+ BuiltInHitKindNVX = 5333,
BuiltInMax = 0x7fffffff,
};
@@ -717,6 +763,11 @@ enum Capability {
CapabilityShaderStereoViewNV = 5259,
CapabilityPerViewAttributesNV = 5260,
CapabilityFragmentFullyCoveredEXT = 5265,
+ CapabilityMeshShadingNV = 5266,
+ CapabilityImageFootprintNV = 5282,
+ CapabilityFragmentBarycentricNV = 5284,
+ CapabilityComputeDerivativeGroupQuadsNV = 5288,
+ CapabilityShadingRateNV = 5291,
CapabilityGroupNonUniformPartitionedNV = 5297,
CapabilityShaderNonUniformEXT = 5301,
CapabilityRuntimeDescriptorArrayEXT = 5302,
@@ -730,8 +781,10 @@ enum Capability {
CapabilityInputAttachmentArrayNonUniformIndexingEXT = 5310,
CapabilityUniformTexelBufferArrayNonUniformIndexingEXT = 5311,
CapabilityStorageTexelBufferArrayNonUniformIndexingEXT = 5312,
+ CapabilityRaytracingNVX = 5340,
CapabilityVulkanMemoryModelKHR = 5345,
CapabilityVulkanMemoryModelDeviceScopeKHR = 5346,
+ CapabilityComputeDerivativeGroupLinearNV = 5350,
CapabilitySubgroupShuffleINTEL = 5568,
CapabilitySubgroupBufferBlockIOINTEL = 5569,
CapabilitySubgroupImageBlockIOINTEL = 5570,
@@ -1095,7 +1148,14 @@ enum Op {
OpGroupSMaxNonUniformAMD = 5007,
OpFragmentMaskFetchAMD = 5011,
OpFragmentFetchAMD = 5012,
+ OpImageSampleFootprintNV = 5283,
OpGroupNonUniformPartitionNV = 5296,
+ OpWritePackedPrimitiveIndices4x8NV = 5299,
+ OpReportIntersectionNVX = 5334,
+ OpIgnoreIntersectionNVX = 5335,
+ OpTerminateRayNVX = 5336,
+ OpTraceNVX = 5337,
+ OpTypeAccelerationStructureNVX = 5341,
OpSubgroupShuffleINTEL = 5571,
OpSubgroupShuffleDownINTEL = 5572,
OpSubgroupShuffleUpINTEL = 5573,
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11
index 16e7a1d..6c4a2e6 100644
--- a/include/spirv/unified1/spirv.hpp11
+++ b/include/spirv/unified1/spirv.hpp11
@@ -73,6 +73,14 @@ enum class ExecutionModel : unsigned {
Fragment = 4,
GLCompute = 5,
Kernel = 6,
+ TaskNV = 5267,
+ MeshNV = 5268,
+ RayGenerationNVX = 5313,
+ IntersectionNVX = 5314,
+ AnyHitNVX = 5315,
+ ClosestHitNVX = 5316,
+ MissNVX = 5317,
+ CallableNVX = 5318,
Max = 0x7fffffff,
};
@@ -132,6 +140,11 @@ enum class ExecutionMode : unsigned {
LocalSizeHintId = 39,
PostDepthCoverage = 4446,
StencilRefReplacingEXT = 5027,
+ OutputLinesNV = 5269,
+ OutputPrimitivesNV = 5270,
+ DerivativeGroupQuadsNV = 5289,
+ DerivativeGroupLinearNV = 5290,
+ OutputTrianglesNV = 5298,
Max = 0x7fffffff,
};
@@ -149,6 +162,10 @@ enum class StorageClass : unsigned {
AtomicCounter = 10,
Image = 11,
StorageBuffer = 12,
+ RayPayloadNVX = 5338,
+ HitAttributeNVX = 5339,
+ IncomingRayPayloadNVX = 5342,
+ ShaderRecordBufferNVX = 5343,
Max = 0x7fffffff,
};
@@ -402,6 +419,10 @@ enum class Decoration : unsigned {
PassthroughNV = 5250,
ViewportRelativeNV = 5252,
SecondaryViewportRelativeNV = 5256,
+ PerPrimitiveNV = 5271,
+ PerViewNV = 5272,
+ PerTaskNV = 5273,
+ PerVertexNV = 5285,
NonUniformEXT = 5300,
HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635,
@@ -479,6 +500,31 @@ enum class BuiltIn : unsigned {
PositionPerViewNV = 5261,
ViewportMaskPerViewNV = 5262,
FullyCoveredEXT = 5264,
+ TaskCountNV = 5274,
+ PrimitiveCountNV = 5275,
+ PrimitiveIndicesNV = 5276,
+ ClipDistancePerViewNV = 5277,
+ CullDistancePerViewNV = 5278,
+ LayerPerViewNV = 5279,
+ MeshViewCountNV = 5280,
+ MeshViewIndicesNV = 5281,
+ BaryCoordNV = 5286,
+ 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,
Max = 0x7fffffff,
};
@@ -717,6 +763,11 @@ enum class Capability : unsigned {
ShaderStereoViewNV = 5259,
PerViewAttributesNV = 5260,
FragmentFullyCoveredEXT = 5265,
+ MeshShadingNV = 5266,
+ ImageFootprintNV = 5282,
+ FragmentBarycentricNV = 5284,
+ ComputeDerivativeGroupQuadsNV = 5288,
+ ShadingRateNV = 5291,
GroupNonUniformPartitionedNV = 5297,
ShaderNonUniformEXT = 5301,
RuntimeDescriptorArrayEXT = 5302,
@@ -730,8 +781,10 @@ enum class Capability : unsigned {
InputAttachmentArrayNonUniformIndexingEXT = 5310,
UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
+ RaytracingNVX = 5340,
VulkanMemoryModelKHR = 5345,
VulkanMemoryModelDeviceScopeKHR = 5346,
+ ComputeDerivativeGroupLinearNV = 5350,
SubgroupShuffleINTEL = 5568,
SubgroupBufferBlockIOINTEL = 5569,
SubgroupImageBlockIOINTEL = 5570,
@@ -1095,7 +1148,14 @@ enum class Op : unsigned {
OpGroupSMaxNonUniformAMD = 5007,
OpFragmentMaskFetchAMD = 5011,
OpFragmentFetchAMD = 5012,
+ OpImageSampleFootprintNV = 5283,
OpGroupNonUniformPartitionNV = 5296,
+ OpWritePackedPrimitiveIndices4x8NV = 5299,
+ OpReportIntersectionNVX = 5334,
+ OpIgnoreIntersectionNVX = 5335,
+ OpTerminateRayNVX = 5336,
+ OpTraceNVX = 5337,
+ OpTypeAccelerationStructureNVX = 5341,
OpSubgroupShuffleINTEL = 5571,
OpSubgroupShuffleDownINTEL = 5572,
OpSubgroupShuffleUpINTEL = 5573,
diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json
index ea1fc6d..a331139 100644
--- a/include/spirv/unified1/spirv.json
+++ b/include/spirv/unified1/spirv.json
@@ -82,7 +82,15 @@
"Geometry": 3,
"Fragment": 4,
"GLCompute": 5,
- "Kernel": 6
+ "Kernel": 6,
+ "TaskNV": 5267,
+ "MeshNV": 5268,
+ "RayGenerationNVX": 5313,
+ "IntersectionNVX": 5314,
+ "AnyHitNVX": 5315,
+ "ClosestHitNVX": 5316,
+ "MissNVX": 5317,
+ "CallableNVX": 5318
}
},
{
@@ -150,7 +158,12 @@
"LocalSizeId": 38,
"LocalSizeHintId": 39,
"PostDepthCoverage": 4446,
- "StencilRefReplacingEXT": 5027
+ "StencilRefReplacingEXT": 5027,
+ "OutputLinesNV": 5269,
+ "OutputPrimitivesNV": 5270,
+ "DerivativeGroupQuadsNV": 5289,
+ "DerivativeGroupLinearNV": 5290,
+ "OutputTrianglesNV": 5298
}
},
{
@@ -170,7 +183,11 @@
"PushConstant": 9,
"AtomicCounter": 10,
"Image": 11,
- "StorageBuffer": 12
+ "StorageBuffer": 12,
+ "RayPayloadNVX": 5338,
+ "HitAttributeNVX": 5339,
+ "IncomingRayPayloadNVX": 5342,
+ "ShaderRecordBufferNVX": 5343
}
},
{
@@ -438,6 +455,10 @@
"PassthroughNV": 5250,
"ViewportRelativeNV": 5252,
"SecondaryViewportRelativeNV": 5256,
+ "PerPrimitiveNV": 5271,
+ "PerViewNV": 5272,
+ "PerTaskNV": 5273,
+ "PerVertexNV": 5285,
"NonUniformEXT": 5300,
"HlslCounterBufferGOOGLE": 5634,
"HlslSemanticGOOGLE": 5635
@@ -517,7 +538,32 @@
"SecondaryViewportMaskNV": 5258,
"PositionPerViewNV": 5261,
"ViewportMaskPerViewNV": 5262,
- "FullyCoveredEXT": 5264
+ "FullyCoveredEXT": 5264,
+ "TaskCountNV": 5274,
+ "PrimitiveCountNV": 5275,
+ "PrimitiveIndicesNV": 5276,
+ "ClipDistancePerViewNV": 5277,
+ "CullDistancePerViewNV": 5278,
+ "LayerPerViewNV": 5279,
+ "MeshViewCountNV": 5280,
+ "MeshViewIndicesNV": 5281,
+ "BaryCoordNV": 5286,
+ "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
}
},
{
@@ -732,6 +778,11 @@
"ShaderStereoViewNV": 5259,
"PerViewAttributesNV": 5260,
"FragmentFullyCoveredEXT": 5265,
+ "MeshShadingNV": 5266,
+ "ImageFootprintNV": 5282,
+ "FragmentBarycentricNV": 5284,
+ "ComputeDerivativeGroupQuadsNV": 5288,
+ "ShadingRateNV": 5291,
"GroupNonUniformPartitionedNV": 5297,
"ShaderNonUniformEXT": 5301,
"RuntimeDescriptorArrayEXT": 5302,
@@ -745,8 +796,10 @@
"InputAttachmentArrayNonUniformIndexingEXT": 5310,
"UniformTexelBufferArrayNonUniformIndexingEXT": 5311,
"StorageTexelBufferArrayNonUniformIndexingEXT": 5312,
+ "RaytracingNVX": 5340,
"VulkanMemoryModelKHR": 5345,
"VulkanMemoryModelDeviceScopeKHR": 5346,
+ "ComputeDerivativeGroupLinearNV": 5350,
"SubgroupShuffleINTEL": 5568,
"SubgroupBufferBlockIOINTEL": 5569,
"SubgroupImageBlockIOINTEL": 5570
@@ -1113,7 +1166,14 @@
"OpGroupSMaxNonUniformAMD": 5007,
"OpFragmentMaskFetchAMD": 5011,
"OpFragmentFetchAMD": 5012,
+ "OpImageSampleFootprintNV": 5283,
"OpGroupNonUniformPartitionNV": 5296,
+ "OpWritePackedPrimitiveIndices4x8NV": 5299,
+ "OpReportIntersectionNVX": 5334,
+ "OpIgnoreIntersectionNVX": 5335,
+ "OpTerminateRayNVX": 5336,
+ "OpTraceNVX": 5337,
+ "OpTypeAccelerationStructureNVX": 5341,
"OpSubgroupShuffleINTEL": 5571,
"OpSubgroupShuffleDownINTEL": 5572,
"OpSubgroupShuffleUpINTEL": 5573,
diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua
index b3292d5..285513a 100644
--- a/include/spirv/unified1/spirv.lua
+++ b/include/spirv/unified1/spirv.lua
@@ -63,6 +63,14 @@ spv = {
Fragment = 4,
GLCompute = 5,
Kernel = 6,
+ TaskNV = 5267,
+ MeshNV = 5268,
+ RayGenerationNVX = 5313,
+ IntersectionNVX = 5314,
+ AnyHitNVX = 5315,
+ ClosestHitNVX = 5316,
+ MissNVX = 5317,
+ CallableNVX = 5318,
},
AddressingModel = {
@@ -119,6 +127,11 @@ spv = {
LocalSizeHintId = 39,
PostDepthCoverage = 4446,
StencilRefReplacingEXT = 5027,
+ OutputLinesNV = 5269,
+ OutputPrimitivesNV = 5270,
+ DerivativeGroupQuadsNV = 5289,
+ DerivativeGroupLinearNV = 5290,
+ OutputTrianglesNV = 5298,
},
StorageClass = {
@@ -135,6 +148,10 @@ spv = {
AtomicCounter = 10,
Image = 11,
StorageBuffer = 12,
+ RayPayloadNVX = 5338,
+ HitAttributeNVX = 5339,
+ IncomingRayPayloadNVX = 5342,
+ ShaderRecordBufferNVX = 5343,
},
Dim = {
@@ -375,6 +392,10 @@ spv = {
PassthroughNV = 5250,
ViewportRelativeNV = 5252,
SecondaryViewportRelativeNV = 5256,
+ PerPrimitiveNV = 5271,
+ PerViewNV = 5272,
+ PerTaskNV = 5273,
+ PerVertexNV = 5285,
NonUniformEXT = 5300,
HlslCounterBufferGOOGLE = 5634,
HlslSemanticGOOGLE = 5635,
@@ -451,6 +472,31 @@ spv = {
PositionPerViewNV = 5261,
ViewportMaskPerViewNV = 5262,
FullyCoveredEXT = 5264,
+ TaskCountNV = 5274,
+ PrimitiveCountNV = 5275,
+ PrimitiveIndicesNV = 5276,
+ ClipDistancePerViewNV = 5277,
+ CullDistancePerViewNV = 5278,
+ LayerPerViewNV = 5279,
+ MeshViewCountNV = 5280,
+ MeshViewIndicesNV = 5281,
+ BaryCoordNV = 5286,
+ 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,
},
SelectionControlShift = {
@@ -679,6 +725,11 @@ spv = {
ShaderStereoViewNV = 5259,
PerViewAttributesNV = 5260,
FragmentFullyCoveredEXT = 5265,
+ MeshShadingNV = 5266,
+ ImageFootprintNV = 5282,
+ FragmentBarycentricNV = 5284,
+ ComputeDerivativeGroupQuadsNV = 5288,
+ ShadingRateNV = 5291,
GroupNonUniformPartitionedNV = 5297,
ShaderNonUniformEXT = 5301,
RuntimeDescriptorArrayEXT = 5302,
@@ -692,8 +743,10 @@ spv = {
InputAttachmentArrayNonUniformIndexingEXT = 5310,
UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
+ RaytracingNVX = 5340,
VulkanMemoryModelKHR = 5345,
VulkanMemoryModelDeviceScopeKHR = 5346,
+ ComputeDerivativeGroupLinearNV = 5350,
SubgroupShuffleINTEL = 5568,
SubgroupBufferBlockIOINTEL = 5569,
SubgroupImageBlockIOINTEL = 5570,
@@ -1056,7 +1109,14 @@ spv = {
OpGroupSMaxNonUniformAMD = 5007,
OpFragmentMaskFetchAMD = 5011,
OpFragmentFetchAMD = 5012,
+ OpImageSampleFootprintNV = 5283,
OpGroupNonUniformPartitionNV = 5296,
+ OpWritePackedPrimitiveIndices4x8NV = 5299,
+ OpReportIntersectionNVX = 5334,
+ OpIgnoreIntersectionNVX = 5335,
+ OpTerminateRayNVX = 5336,
+ OpTraceNVX = 5337,
+ OpTypeAccelerationStructureNVX = 5341,
OpSubgroupShuffleINTEL = 5571,
OpSubgroupShuffleDownINTEL = 5572,
OpSubgroupShuffleUpINTEL = 5573,
diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py
index 2b43905..db5a9fb 100755
--- a/include/spirv/unified1/spirv.py
+++ b/include/spirv/unified1/spirv.py
@@ -63,6 +63,14 @@ spv = {
'Fragment' : 4,
'GLCompute' : 5,
'Kernel' : 6,
+ 'TaskNV' : 5267,
+ 'MeshNV' : 5268,
+ 'RayGenerationNVX' : 5313,
+ 'IntersectionNVX' : 5314,
+ 'AnyHitNVX' : 5315,
+ 'ClosestHitNVX' : 5316,
+ 'MissNVX' : 5317,
+ 'CallableNVX' : 5318,
},
'AddressingModel' : {
@@ -119,6 +127,11 @@ spv = {
'LocalSizeHintId' : 39,
'PostDepthCoverage' : 4446,
'StencilRefReplacingEXT' : 5027,
+ 'OutputLinesNV' : 5269,
+ 'OutputPrimitivesNV' : 5270,
+ 'DerivativeGroupQuadsNV' : 5289,
+ 'DerivativeGroupLinearNV' : 5290,
+ 'OutputTrianglesNV' : 5298,
},
'StorageClass' : {
@@ -135,6 +148,10 @@ spv = {
'AtomicCounter' : 10,
'Image' : 11,
'StorageBuffer' : 12,
+ 'RayPayloadNVX' : 5338,
+ 'HitAttributeNVX' : 5339,
+ 'IncomingRayPayloadNVX' : 5342,
+ 'ShaderRecordBufferNVX' : 5343,
},
'Dim' : {
@@ -375,6 +392,10 @@ spv = {
'PassthroughNV' : 5250,
'ViewportRelativeNV' : 5252,
'SecondaryViewportRelativeNV' : 5256,
+ 'PerPrimitiveNV' : 5271,
+ 'PerViewNV' : 5272,
+ 'PerTaskNV' : 5273,
+ 'PerVertexNV' : 5285,
'NonUniformEXT' : 5300,
'HlslCounterBufferGOOGLE' : 5634,
'HlslSemanticGOOGLE' : 5635,
@@ -451,6 +472,31 @@ spv = {
'PositionPerViewNV' : 5261,
'ViewportMaskPerViewNV' : 5262,
'FullyCoveredEXT' : 5264,
+ 'TaskCountNV' : 5274,
+ 'PrimitiveCountNV' : 5275,
+ 'PrimitiveIndicesNV' : 5276,
+ 'ClipDistancePerViewNV' : 5277,
+ 'CullDistancePerViewNV' : 5278,
+ 'LayerPerViewNV' : 5279,
+ 'MeshViewCountNV' : 5280,
+ 'MeshViewIndicesNV' : 5281,
+ 'BaryCoordNV' : 5286,
+ '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,
},
'SelectionControlShift' : {
@@ -679,6 +725,11 @@ spv = {
'ShaderStereoViewNV' : 5259,
'PerViewAttributesNV' : 5260,
'FragmentFullyCoveredEXT' : 5265,
+ 'MeshShadingNV' : 5266,
+ 'ImageFootprintNV' : 5282,
+ 'FragmentBarycentricNV' : 5284,
+ 'ComputeDerivativeGroupQuadsNV' : 5288,
+ 'ShadingRateNV' : 5291,
'GroupNonUniformPartitionedNV' : 5297,
'ShaderNonUniformEXT' : 5301,
'RuntimeDescriptorArrayEXT' : 5302,
@@ -692,8 +743,10 @@ spv = {
'InputAttachmentArrayNonUniformIndexingEXT' : 5310,
'UniformTexelBufferArrayNonUniformIndexingEXT' : 5311,
'StorageTexelBufferArrayNonUniformIndexingEXT' : 5312,
+ 'RaytracingNVX' : 5340,
'VulkanMemoryModelKHR' : 5345,
'VulkanMemoryModelDeviceScopeKHR' : 5346,
+ 'ComputeDerivativeGroupLinearNV' : 5350,
'SubgroupShuffleINTEL' : 5568,
'SubgroupBufferBlockIOINTEL' : 5569,
'SubgroupImageBlockIOINTEL' : 5570,
@@ -1056,7 +1109,14 @@ spv = {
'OpGroupSMaxNonUniformAMD' : 5007,
'OpFragmentMaskFetchAMD' : 5011,
'OpFragmentFetchAMD' : 5012,
+ 'OpImageSampleFootprintNV' : 5283,
'OpGroupNonUniformPartitionNV' : 5296,
+ 'OpWritePackedPrimitiveIndices4x8NV' : 5299,
+ 'OpReportIntersectionNVX' : 5334,
+ 'OpIgnoreIntersectionNVX' : 5335,
+ 'OpTerminateRayNVX' : 5336,
+ 'OpTraceNVX' : 5337,
+ 'OpTypeAccelerationStructureNVX' : 5341,
'OpSubgroupShuffleINTEL' : 5571,
'OpSubgroupShuffleDownINTEL' : 5572,
'OpSubgroupShuffleUpINTEL' : 5573,