次の方法で共有


Version Token

バージョン トークンはシェーダー コードのバージョン番号を記述し、シェーダー コードがピクセル シェーダー用か頂点シェーダー用かをドライバーに通知します。 バージョン トークンは、次のビットで構成されます。

ビット

[07:00] Bits 0 through 7 indicate the minor version number or the code.

[15:08] Bits 8 through 15 specify the major version number or the code.

[31:16] Bits 16 through 31 specify whether the code is for a pixel or vertex shader. ピクセル シェーダーの場合、値は0xFFFF。 頂点シェーダーの場合、値は0xFFFE。

必要条件

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