emit (sm4 - asm)

Emit a vertex.




emit causes all declared o# registers to be read out of the Geometry Shader to generate a vertex.

As multiple emit calls are issued, primitives are generated.

emit can appear any number of times in a Geometry Shader, including within flow control.

If streams have been declared, you must use emit_stream.

This instruction applies to the following shader stages:

Vertex ShaderGeometry ShaderPixel Shader


Minimum Shader Model

This function is supported in the following shader models.

Shader ModelSupported
Shader Model 5 yes
Shader Model 4.1 yes
Shader Model 4 yes
Shader Model 3 (DirectX HLSL) no
Shader Model 2 (DirectX HLSL) no
Shader Model 1 (DirectX HLSL) no




Community Additions

© 2014 Microsoft