Output Depth Register

The pixel shader output depth register (oDepth) is a write-only scalar register that returns a new depth value for a depth test against the depth-stencil buffer.

Syntax

oDepth

Where:

Name Description
oDepth New depth value for a depth test against the depth-stencil buffer

Remarks

ps_2_0 and ps_2_x Restrictions

ps_3_0 Restrictions