dcl_stream (sm5 - asm)

Declare a geometry shader output stream.

dcl_stream m#
Item Description
[in] Stream 0..3 (m0..m3).


A given stream can only be declared once.

If no streams are declared, output and output topology declarations are assumed to be for stream 0.

The first dcl_stream cannot appear after any dcl_output or dcl_outputTopology statements.

Any dcl_output or dcl_outputToplogy statements after any dcl_stream m# statement define the outputs for stream m#.

This instruction applies to the following shader stages:

Vertex Hull Domain Geometry Pixel Compute

Minimum Shader Model

This instruction is supported in the following shader models:

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

Shader Model 5 Assembly (DirectX HLSL)