次の方法で共有


Label Token

ラベル トークンは、特定の操作 (D3DSIO_CALLNZ など) にのみ使用され、次のビットで構成されます。

ビット

[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). この値は 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.

コメント

ラベル トークンの形式は、レジスタ番号と型フィールドのみが使用される点を除き、 ソース パラメーター トークン と同じです。

ビット 28、29、30、11、および 12 は、レジスタの種類を示す 5 ビット値を形成します。 レジスタタイプの詳細については、「 シェーダーレジスタタイプ」を参照してください。 ラベル トークンのレジスタの種類は、D3DSPR_LABELとして指定する必要があります。

必要条件

Windows Vista 以降のバージョンの Windows オペレーティング システムで使用できます。