emitThenCut (sm4 - asm)

Equivalent to an emit command followed by a cut command.

emitThenCut

 

Remarks

This command is useful when knowingly outputting the last vertex in a topology.

If streams have been declared, you must use emitthencut_stream.

This instruction applies to the following shader stages:

Vertex Shader Geometry Shader Pixel Shader
x

 

Minimum Shader Model

This function is supported in the following shader models.

Shader Model Supported
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

 

Shader Model 4 Assembly (DirectX HLSL)