Label Token

Token etykiety jest używany tylko w przypadku niektórych operacji (na przykład D3DSIO_CALLNZ) i składa się z następujących bitów:

Bitów

[10:00] Bits 0 through 10 indicate the register number (offset in register file).

[12:11] Bits 11 and 12 are the fourth and fifth bits [3,4] for indicating the register type.

[27:13] Reserved for all versions of pixel shader (PS) and vertex shader (VS). Ta wartość jest ustawiona na wartość 0x0.

[30:28] Bits 28 through 30 are the first three bits [0,1,2] for indicating the register type.

[31] Bit 31 is 0x1.

komentarze

Format tokenu etykiety jest taki sam jak token parametru źródłowego , z tą różnicą, że są używane tylko pola numeru i typu rejestru.

Bity 28, 29, 30, 11 i 12 tworzą wartość 5-bitową wskazującą typ rejestru. Aby uzyskać informacje o typach rejestrów, zobacz Typy rejestru cieniowania. Typ rejestracji tokenu etykiety musi być określony jako D3DSPR_LABEL.

Wymagania

Dostępne w systemie Windows Vista i nowszych wersjach systemów operacyjnych Windows.