Predicate Register
Microsoft DirectX 9.0 SDK Update (October 2004)

Predicate Register


This pixel shader output register contains a per-channel boolean value.

Syntax

Predicate Register 

Remarks

A predicate register is supported by the following versions:

Pixel shader versions1_11_21_31_42_02_sw2_x3_03_sw
predicate registerxxx

Here are the register properties.

Register typeCountR/W# Read ports# Reads/instDimensionRelAddrDefaultsRequires DCL
Predicate(p)1R/W114N/ANoneN

The predicate register can be modified with setp_comp - ps. There are no default values for this register; an application needs to set the register before it is used.

Instruction Information

Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.