Condividi tramite


Version Token

Un token di versione descrive il numero di versione del codice dello shader e informa il driver se il codice dello shader è per un pixel o un vertex shader. Il token di versione è costituito dai bit seguenti:

Bit

[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. Per un pixel shader, il valore è 0xFFFF. Per un vertex shader, il valore è 0xFFFE.

Fabbisogno

Disponibile in Windows Vista e versioni successive dei sistemi operativi Windows.