버전 토큰은 셰이더 코드의 버전 번호를 설명하고 셰이더 코드가 픽셀 또는 꼭짓점 셰이더용인지 여부를 드라이버에 알릴 수 있습니다. 버전 토큰은 다음 비트로 구성됩니다.
비트
[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 운영 체제에서 사용할 수 있습니다.