Dependencies
This extension is written against the SPIR-V Specification, Version 1.1 Revision 4.
This extension requires SPIR-V 1.0.
Overview
This extension adds a new variable decoration to support the OpenGL GL_NV_geometry_shader_passthrough and the Vulkan VK_NV_geometry_shader_passthrough extensions in SPIR-V.
The PassthroughNV decoration corresponds to the passthrough layout qualifier.
The new functionality is enabled under the GeometryShaderPassthroughNV capability.
Extension Name
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_NV_geometry_shader_passthrough"
New Capabilities
This extension introduces a new capability:
GeometryShaderPassthroughNV
that depends on the Geometry capability.
Modifications to the SPIR-V Specification, Version 1.1
- (Modify Section 3.20, Decoration, adding a row to the Decoration table)
-
Decoration Enabling Capabilities Extra Operands 5250
PassthroughNV
Apply to an object or a member of a structure type. Indictates a variable that is passed through a shader stage unmodified. Only valid for the Input Storage Class.GeometryShaderPassthroughNV
- (Modify Section 3.31, Capability, adding a row to the Capability table)
-
Capability Implicitly Declares Enabled by Extension 5251
GeometryShaderPassthroughNV
Geometry
SPV_NV_geometry_shader_passthrough