ID3D11PixelShader::SetScanConverterModeControl Method

Modifies the properties of a pixel shader; adjusts how the scan converter rasterization pattern works when running this pixel shader.

Syntax

public:
void SetScanConverterModeControl(
         BOOL ForceEovCountdownEnable,
         BOOL ForceEovReZEnable,
         BOOL EnableOutOfOrderRasterization,
         UINT OutOfOrderRasterizationWaterMark
)  

Parameters

ForceEovCountdownEnable
Type: BOOL 

When TRUE, enables terminating pixel vectors early based on a fixed cycle count programmed into the hardware. The default is TRUE.

ForceEovReZEnable
Type: BOOL 

When TRUE, enables terminating pixel vectors early based on the hardware detecting a hang condition related to ReZ operation. The default is TRUE. If a title sets this to FALSE, the title cannot use this pixel shader in conjunction with Re-Z, or the GPU will hang.

EnableOutOfOrderRasterization
Type: BOOL 

When true, enables Out-of-Order (OoO) Rasterization. OoO rasterization can improve performance by executing pixel shaders within the same draw call out-of-order such that primitive ordering is no longer guaranteed. Out-of-Order Rasterization should only be enabled for non-alpha-blended draw calls.

OutOfOrderRasterizationWaterMark
Type: UINT 

When OoO rasterization is enabled (that is, when EnableOutOfOrderRasterization is true), OutOfOrderRasterizationWaterMark controls a trade-off between parameter cache pressure and texture locality. A watermark value of 0 favors parameter cache performance by switching between primitive groups more frequently; a value of 7 favors texture locality by keeping primitive groups together longer. Watermark values between 0 and 7 split between the two extremes.

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

ID3D11PixelShader

ID3D11PixelShader Members