대상 매개 변수 토큰은 대상 레지스터의 속성을 설명하고 다음 비트로 구성됩니다.
비트
[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.
[13] For vertex shader (VS) version 3_0 and later, bit 13 indicates whether relative addressing mode is used. If set to 1, relative addressing applies.
3_0 이전의 모든 PS(픽셀 셰이더) 버전 및 꼭짓점 셰이더 버전의 경우 비트 13이 예약되고 0x0 설정됩니다.
[15:14] Reserved. 이 값은 0x0 설정됩니다.
[19:16] Write mask. 이 마스크의 비트에는 다음과 같은 구성 요소가 있습니다.
| Bit | Component |
|---|---|
16 |
구성 요소 0(X;빨강) |
17 |
구성 요소 1(Y; 녹색) |
18 |
구성 요소 2(Z; 파랑) |
19 |
구성 요소 3(W; Alpha) |
[23:20] Bits 20 through 23 indicate the result modifier. 여러 결과 한정자를 사용할 수 있습니다. 다음 결과 한정자 형식은 이 4비트 값에서 함께 ORed할 수 있습니다.
| Value | 결과 한정자 형식 |
|---|---|
0x1 |
채도(꼭짓점 셰이더) |
0x2 |
부분 정밀도(픽셀 셰이더) |
0x4 |
Centroid(픽셀 셰이더) |
[27:24] For PS versions earlier than 2_0, bits 24 through 27 specify the result shift scale (signed shift). PS 버전 2_0 이상 및 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비트 값을 형성합니다. 레지스터 형식에 대한 자세한 내용은 셰이더 레지스터 형식을 참조하세요.
요구 사항
Windows Vista 이상 버전의 Windows 운영 체제에서 사용할 수 있습니다.